1 2014-04-16 Alan Modra <amodra@gmail.com>
5 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6 * math/libm-test.inc (frexp_test_data): Add tests.
7 * NEWS: Update fixed bug list.
9 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11 * benchtests/Makefile: Depend on libraries in build directory.
12 (bench-math): Separate out math tests.
13 (bench-pthread): Separate out pthread tests.
14 (bench): Include math and pthread tests.
16 2014-04-14 Carlos O'Donell <carlos@redhat.com>
19 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22 2014-04-14 Carlos O'Donell <carlos@redhat.com>
24 * configure.ac: Remove SELinux header check.
25 * configure: Regenerate.
26 * nscd/selinux.c (perms): Array of const char* to permission names.
27 (nscd_request_avc_has_perm): Call security_deny_unknown to find
28 default policy. Call string_to_security_class and string_to_av_perm to
29 translate strings. Enforce default policy and call avs_has_perm with
30 results of translated strings.
32 2014-04-13 David S. Miller <davem@davemloft.net>
34 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36 2014-04-12 Allan McRae <allan@archlinux.org>
39 * manual/string.texi (Collation Functions): Fix qsort argument
41 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
45 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
46 Make the test a no-op if there are no exceptions defined.
48 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
50 * elf/Makefile (tests): make tst-dlopen-aout conditional on
51 enable-hardcoded-path-in-tests
53 2014-04-11 Will Newton <will.newton@linaro.org>
55 * benchtests/Makefile (extra-objs): Add json-lib.o.
56 (bench-func): Tidy up JSON output.
57 * benchtests/bench-skeleton.c: Include json-lib.h.
58 (main): Use JSON library functions to do output of
60 * benchtests/bench-timing-type.c (main): Output the
61 timing type simply, leaving formatting to the user.
62 * benchtests/json-lib.c: New file.
63 * benchtests/json-lib.h: Likewise.
65 2014-04-11 Torvald Riegel <triegel@redhat.com>
68 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
69 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
70 memory barriers. Add comments.
71 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
72 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
73 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
74 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
75 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
76 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
78 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
80 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
81 * sysdeps/s390/s390-64/configure.ac: ... this ...
82 * sysdeps/s390/configure.ac: ... to here.
83 * sysdeps/s390/s390-32/configure: Delete file.
84 * sysdeps/s390/s390-64/configure: Delete file.
85 * sysdeps/s390/configure: Regenerate.
87 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
89 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
91 2014-04-11 Will Newton <will.newton@linaro.org>
93 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
94 to zero if it is not defined elsewhere. (mtrim): Test
95 the value of MALLOC_DEBUG with #if rather than #ifdef.
97 2014-04-10 Torvald Riegel <triegel@redhat.com>
99 * benchtests/pthread_once-inputs: New file.
100 * benchtests/pthread_once-source.c: New file.
101 * benchtests/README: Update documentation.
103 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
104 H.J. Lu <hongjiu.lu@intel.com>
106 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
107 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
108 * sysdeps/x86_64/configure: Regenerated.
109 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
111 (REGISTER_SAVE_RAX): Likewise.
112 (REGISTER_SAVE_RCX): Likewise.
113 (REGISTER_SAVE_RDX): Likewise.
114 (REGISTER_SAVE_RSI): Likewise.
115 (REGISTER_SAVE_RDI): Likewise.
116 (REGISTER_SAVE_R8): Likewise.
117 (REGISTER_SAVE_R9): Likewise.
118 (REGISTER_SAVE_BND0): Likewise.
119 (REGISTER_SAVE_BND1): Likewise.
120 (REGISTER_SAVE_BND2): Likewise.
121 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
122 bound registers when calling _dl_fixup.
124 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
126 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
127 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
129 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
130 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
131 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
132 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
133 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
134 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
135 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
137 2014-04-09 Peter Brett <peter@peter-b.co.uk>
140 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
141 pathconf(_PC_NAME_MAX).
143 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
145 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
147 (__PTHREAD_SPINS): Move definition to ...
148 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
149 (__PTHREAD_SPINS): ... here.
150 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
151 (__PTHREAD_SPIN): Likewise.
152 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
153 (__PTHREAD_SPIN): Likewise.
154 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
155 (__PTHREAD_SPIN): Likewise.
156 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
157 (__PTHREAD_SPIN): Likewise.
158 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
159 (__PTHREAD_SPIN): Likewise.
160 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
161 (__PTHREAD_SPIN): Likewise.
162 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
163 (__PTHREAD_SPIN): Likewise.
164 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
165 (__PTHREAD_SPIN): Likewise.
166 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
167 (__PTHREAD_SPIN): Likewise.
168 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
169 (__PTHREAD_SPIN): Likewise.
170 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
171 (__PTHREAD_SPIN): Likewise.
172 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
173 (__PTHREAD_SPIN): Likewise.
175 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
177 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
178 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
179 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
180 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
182 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
183 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
184 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
185 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
187 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
188 strlen symbol for non multi-arch builds.
189 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
190 missing hidden_def and weak_alias.
192 2014-04-08 Carlos O'Donell <carlos@redhat.com>
194 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
196 2014-04-07 Will Newton <will.newton@linaro.org>
198 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
199 and contents. [!_LIBC] Remove #ifndef and contents.
200 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
201 * string/memccpy.c (__memccpy): Use ANSI prototype.
202 * string/memfrob.c (memfrob): Likewise.
203 * string/strcoll.c (STRCOLL): Likewise.
204 * string/strlen.c (strlen): Likewise.
205 * string/strtok.c (STRTOK): Likewise.
206 * string/strcat.c: Remove unused #include of memcopy.h.
207 (strcat): Use ANSI prototype.
208 * string/strchr.c: Remove unused #include of memcopy.h.
209 (strchr): Use ANSI prototype.
210 * string/strcmp.c: Remove unused #include of memcopy.h.
211 (strcmp): Use ANSI prototype.
212 * string/strcpy.c: Remove unused #include of memcopy.h.
213 (strcpy): Use ANSI prototype.
215 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
217 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
218 * config.make.in (config-extra-cppflags): Set it from
220 * configure.ac (libc_extra_cflags): Make it accumulate over
222 (libc_extra_cppflags): New flag.
223 * configure. Regenerate.
224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
225 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
226 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
229 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
232 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
233 result for FE_DOWNWARD rounding mode.
234 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
238 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
240 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
241 in function argument name.
243 2014-04-03 David Svoboda <svoboda@cert.org>
246 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
249 2014-04-03 Roland McGrath <roland@hack.frob.com>
251 * elf/dl-unmap-segments.h: New file.
252 * sysdeps/generic/ldsodefs.h
253 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
254 * elf/dl-close.c: Include <dl-unmap-segments.h>.
255 * elf/dl-fptr.c: Likewise.
256 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
257 * sysdeps/aarch64/tlsdesc.c: Likewise.
258 * sysdeps/arm/tlsdesc.c: Likewise.
259 * sysdeps/i386/tlsdesc.c: Likewise.
260 * sysdeps/tile/dl-runtime.c: Likewise.
261 * sysdeps/x86_64/tlsdesc.c: Likewise.
262 * elf/dl-load.h: New file.
263 * elf/dl-load.c: Include it.
264 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
265 Macros moved to dl-load.h.
266 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
267 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
268 Use _dl_unmap_segments in place of __munmap.
269 Break out segment-mapping loop into ...
270 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
272 2014-04-03 Will Newton <will.newton@linaro.org>
274 * elf/dl-lookup.c (do_lookup_x): Remove comment
275 referring to nested function and move variable
276 declarations down to before first use.
278 2014-04-02 Joseph Myers <joseph@codesourcery.com>
282 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
284 * math/s_catanf.c (__catanf): Likewise.
285 * math/s_catanh.c (__catanh): Likewise.
286 * math/s_catanhf.c (__catanhf): Likewise.
287 * math/s_catanhl.c (__catanhl): Likewise.
288 * math/s_catanl.c (__catanl): Likewise.
289 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
290 by positive zero when computing -Inf result.
291 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
292 (catanh_test): Likewise.
293 * sysdeps/i386/fpu/libm-test-ulps: Update.
294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
297 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
298 instead of using underflowing value in computing result.
299 * math/s_clog10.c (__clog10): Likewise.
300 * math/s_clog10f.c (__clog10f): Likewise.
301 * math/s_clog10l.c (__clog10l): Likewise.
302 * math/s_clogf.c (__clogf): Likewise.
303 * math/s_clogl.c (__clogl): Likewise.
304 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
305 (clog10_test): Likewise.
306 * sysdeps/i386/fpu/libm-test-ulps: Update.
307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
309 2014-04-02 Alan Modra <amodra@gmail.com>
312 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
313 output when value is near a power of two. Use int64_t for lx and
314 remove casts. Use decimal rather than hex exponent constants.
315 Don't use long double multiplication when double will suffice.
316 * math/libm-test.inc (nextafter_test_data): Add tests.
317 * NEWS: Add 16739 and 16786 to bug list.
319 2014-04-02 Alan Modra <amodra@gmail.com>
321 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
323 2014-04-02 Alan Modra <amodra@gmail.com>
325 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
327 2014-04-01 Will Newton <will.newton@linaro.org>
329 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
330 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
332 2014-04-01 Florian Weimer <fweimer@redhat.com>
335 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
336 * nptl/tst-setuid2.c: New file.
337 * nptl/Makefile (xtests): Add tst-setuid2.
339 2014-04-01 Alan Modra <amodra@gmail.com>
342 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
344 2014-03-31 Joseph Myers <joseph@codesourcery.com>
348 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
349 set errno as appropriate.
350 * math/w_scalbf.c (__scalbf): Likewise.
351 * math/w_scalbl.c (__scalbl): Likewise.
352 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
353 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
354 * math/libm-test.inc (scalb_test_data): Add errno expectations.
358 * math/w_atan2.c: Include <errno.h>.
359 (__atan2): Set errno for result underflowing to zero.
360 * math/w_atan2f.c: Include <errno.h>.
361 (__atan2f): Set errno for result underflowing to zero.
362 * math/w_atan2l.c: Include <errno.h>.
363 (__atan2l): Set errno for result underflowing to zero.
364 * math/auto-libm-test-in: Don't allow missing errno for some atan2
366 * math/auto-libm-test-out: Regenerated.
368 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
370 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
371 Encode instruction correctly in little endian.
372 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
374 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
376 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
378 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
381 2014-03-31 Joseph Myers <joseph@codesourcery.com>
384 * sysdeps/unix/sysv/linux/kernel-features.h
385 [__sparc__ && !__arch64__ && !__sparc_v9__]
386 (__ASSUME_SET_ROBUST_LIST): Do not define.
387 [__sparc__ && !__arch64__ && !__sparc_v9__]
388 (__ASSUME_FUTEX_LOCK_PI): Likewise.
389 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
391 * sysdeps/unix/sysv/linux/arm/kernel-features.h
392 (__ASSUME_FUTEX_LOCK_PI): Undefine.
393 (__ASSUME_REQUEUE_PI): Likewise.
394 (__ASSUME_SET_ROBUST_LIST): Likewise.
395 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
396 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
398 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
399 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
401 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
403 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
405 * sysdeps/unix/sysv/linux/mips/kernel-features.h
406 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
408 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
409 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
413 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
414 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
415 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
417 2014-03-31 Will Newton <will.newton@linaro.org>
419 * benchtests/Makefile (bench): Add ffs and ffsll to list
421 * benchtests/ffs-inputs: New file.
422 * benchtests/ffsll-inputs: Likewise.
424 2014-03-29 Joseph Myers <joseph@codesourcery.com>
427 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
428 too large before casting to int.
429 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
430 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
431 * math/libm-test.inc (scalb_test_data): Add more tests.
433 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
435 * benchtests/Makefile (DETAILED_OPT): New make option.
436 (bench-func): Run benchmark program with -d if DETAILED_OPT is
438 * benchtests/bench-skeleton.c: Include stdbool.h.
439 (main): Store and print timings per input.
440 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
441 member to each argument value.
442 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
443 (_print_arg_data): Initialize per-input timing to 0.
445 * benchtests/Makefile (timing-type): New binary.
446 (bench-clean): Also remove bench-timing-type.
447 (bench): New target for timing-type.
448 (bench-func): Print output in JSON format.
449 * benchtests/bench-skeleton.c (main): Print output in JSON
451 * benchtests/bench-timing-type.c: New file.
452 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
453 (TIMING_PRINT_STATS): Remove.
454 * benchtests/scripts/bench.py (_print_arg_data): Store variant
457 * benchtests/bench-modf.c: Remove.
458 * benchtests/modf-inputs: New inputs file.
460 2014-03-28 Joseph Myers <joseph@codesourcery.com>
463 * math/s_clog10.c (M_PI_LOG10E): New macro.
464 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
465 imaginary parts are 0.
466 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
467 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
468 imaginary parts are 0.
469 * math/s_clog10l.c (M_PI_LOG10El): New macro.
470 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
471 imaginary parts are 0.
472 * math/libm-test.inc (clog10_test_data): Update expected results
473 for when real and imaginary parts are 0.
475 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
477 * elf/dl-load.c: Finish conversion of __builtin_expect into
480 2014-03-27 Joseph Myers <joseph@codesourcery.com>
483 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
484 1+x for argument with exponent below -67.
485 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
487 * math/auto-libm-test-in: Add more tests of exp.
488 * math/auto-libm-test-out: Regenerated.
490 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
493 * inet/getnetgrent_r.c (get_nonempty_val): New function.
494 (nscd_getnetgrent): Use it.
497 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
500 2014-03-27 Andi Kleen <ak@linux.intel.com>
502 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
503 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
504 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
505 Remove out of line section. Use cfi intrinsics.
506 (LLL_STUB_UNWIND_INFO*): Remove.
507 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
508 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
509 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
510 Remove out of line section. Use cfi intrinsics.
511 (LLL_STUB_UNWIND_INFO*): Remove.
513 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
516 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
519 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
521 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
523 2014-03-26 Joseph Myers <joseph@codesourcery.com>
526 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
528 * math/test-fenv-preserve.c: New file.
529 * math/Makefile (tests): Add test-fenv-preserve.
531 2014-03-26 Will Newton <will.newton@linaro.org>
533 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
535 2014-03-25 Roland McGrath <roland@hack.frob.com>
537 * scripts/versionlist.awk: Partition the version sets and emit all
538 GLIBC_* (sorted) before all others (sorted).
540 2014-03-25 Joseph Myers <joseph@codesourcery.com>
542 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
545 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
547 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
550 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
552 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
555 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
559 2014-03-25 Andreas Schwab <schwab@suse.de>
561 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
562 label to be used after in6ailist is initialized.
564 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
566 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
567 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
569 2014-03-25 Joseph Myers <joseph@codesourcery.com>
573 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
575 (fp_formats): Update initializers.
576 (init_fp_formats): Initialize new field.
577 (output_for_one_input_case): Allow underflow for results up to
579 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
580 * math/auto-libm-test-in: Don't mark some underflows from asin and
582 * math/auto-libm-test-out: Regenerated.
583 * sysdeps/i386/fpu/libm-test-ulps: Update.
584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
586 2014-03-25 Andreas Schwab <schwab@suse.de>
588 * libio/Makefile (tst-ftell-partial-wide-ENV)
589 (tst-ftell-active-handler-ENV): Define.
591 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
593 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
595 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
597 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
599 2014-03-24 Joseph Myers <joseph@codesourcery.com>
601 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
602 * sysdeps/x86_64/fpu/multiarch/e_exp.c
603 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
605 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
608 * elf/dl-load.c (open_verify): Add mode parameter.
609 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
610 (open_path): Change from boolean 'secure' to complete flag 'mode'
611 (_dl_map_object): Adjust.
612 * elf/Makefile (tests): Add tst-dlopen-aout.
613 * elf/tst-dlopen-aout.c: New test.
615 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
618 * sysdeps/unix/sysv/linux/s390/bits/stat.h
619 (struct stat): Rename member pad0 to __glibc_reserved0.
621 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
624 * sysdeps/s390/s390-32/bits/wordsize.h
625 (__WORDSIZE32_SIZE_ULONG): New define.
626 * sysdeps/s390/s390-64/bits/wordsize.h
627 (__WORDSIZE32_SIZE_ULONG): Likewise.
628 * sysdeps/generic/stdint.h (SIZE_MAX):
629 Define as UL if __WORDSIZE32_SIZE_ULONG.
631 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
634 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
635 (__glibc_reserved0): New variable.
636 (sa_flags): Change type to int.
638 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
640 * posix/Makefile (before-compile): Use += before-compile instead
643 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
645 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
646 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
648 2014-03-20 Andreas Schwab <schwab@suse.de>
651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
652 non-matching result from nscd.
654 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
656 * scripts/bench.py: Moved to ...
657 * benchtests/scripts/bench.py: ... here.
658 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
660 2014-03-24 Andreas Schwab <schwab@suse.de>
663 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
664 alloca_account and account alloca use for struct in6ailist.
666 2014-03-24 Joseph Myers <joseph@codesourcery.com>
669 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
670 rounding mode to recompute results that overflow to infinity or
672 * math/auto-libm-test-in: Don't mark tests as expected to fail for
674 * math/auto-libm-test-out: Regenerated.
675 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
676 (ccosh_test): Likewise.
677 (csin_test_data): Use plus_oflow.
678 (csin_test): Use ALL_RM_TEST.
679 (csinh_test_data): Use plus_oflow.
680 (csinh_test): Use ALL_RM_TEST.
681 * sysdeps/i386/fpu/libm-test-ulps: Update.
682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
684 2014-03-21 Joseph Myers <joseph@codesourcery.com>
686 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
687 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
688 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
691 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
693 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
694 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
695 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
696 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
698 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
699 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
701 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
702 * sysdeps/i386/fpu/libm-test-ulps: Update.
703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
705 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
707 * scripts/bench.pl: Remove file.
708 * scripts/bench.py: New benchmark script.
709 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
710 * benchtests/README: Mention python dependency.
711 * scripts/pylintrc: New file.
712 * scripts/pylint: New file.
714 * bits/mathdef.h: Use #ifdef instead of #if.
715 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
716 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
717 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
718 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
719 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
720 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
722 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
723 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
725 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
726 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
727 and strpbrk-ppc64 objects.
728 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
729 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
730 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
731 multiarch strpbrk for POWER7.
732 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
733 multiarch strpbrk for PPC64.
734 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
736 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
739 2014-03-20 Joseph Myers <joseph@codesourcery.com>
741 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
742 (atan_test): Likewise.
743 (atanh_test_data): Use NO_TEST_INLINE for two tests.
744 (atanh_test): Use ALL_RM_TEST.
745 (atan2_test_data): Likewise.
746 (cabs_test): Likewise.
747 (cacosh_test): Likewise.
748 (carg_test): Likewise.
749 (casin_test): Likewise.
750 (casinh_test): Likewise.
751 (cbrt_test): Likewise.
752 (csqrt_test): Likewise.
753 (erf_test): Likewise.
754 (erfc_test): Likewise.
755 (pow10_test): Likewise.
756 (exp2_test): Likewise.
757 (hypot_test): Likewise.
760 (lgamma_test): Likewise.
761 (gamma_test): Likewise.
762 (sincos_test): Likewise.
763 (tanh_test): Likewise.
766 * sysdeps/i386/fpu/libm-test-ulps: Update.
767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
769 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
771 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
773 and strcspn-ppc64 objects.
774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
775 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
776 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
777 multiarch strcspn for POWER7.
778 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
779 multiarch strcspn for PPC64.
780 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
782 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
785 2014-03-20 Joseph Myers <joseph@codesourcery.com>
787 * math/gen-libm-test.pl (generate_testfile): Expect only function
788 name as argument to AUTO_TESTS_* and pass results for all rounding
790 (parse_auto_input): Separate inputs of automatic tests from
791 outputs before storing in %auto_tests.
792 * math/libm-test.inc (acos_test_data): Update call to
794 (acos_test): Use ALL_RM_TEST.
795 (acos_tonearest_test_data): Remove.
796 (acos_test_tonearest): Likewise.
797 (acos_towardzero_test_data): Likewise.
798 (acos_test_towardzero): Likewise.
799 (acos_downward_test_data): Likewise.
800 (acos_test_downward): Likewise.
801 (acos_upward_test_data): Likewise.
802 (acos_test_upward): Likewise.
803 (acosh_test_data): Update call to AUTO_TESTS_f_f.
804 (asin_test_data): Likewise.
805 (asin_test): Use ALL_RM_TEST.
806 (asin_tonearest_test_data): Remove.
807 (asin_test_tonearest): Likewise.
808 (asin_towardzero_test_data): Likewise.
809 (asin_test_towardzero): Likewise.
810 (asin_downward_test_data): Likewise.
811 (asin_test_downward): Likewise.
812 (asin_upward_test_data): Likewise.
813 (asin_test_upward): Likewise.
814 (asinh_test_data): Update call to AUTO_TESTS_f_f.
815 (atan_test_data): Likewise.
816 (atanh_test_data): Likewise.
817 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
818 (cabs_test_data): Update call to AUTO_TESTS_c_f.
819 (carg_test_data): Likewise.
820 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
821 (ccos_test_data): Update call to AUTO_TESTS_c_c.
822 (ccosh_test_data): Likewise.
823 (cexp_test_data): Likewise.
824 (clog_test_data): Likewise.
825 (clog10_test_data): Likewise.
826 (cos_test_data): Update call to AUTO_TESTS_f_f.
827 (cos_test): Use ALL_RM_TEST.
828 (cos_tonearest_test_data): Remove.
829 (cos_test_tonearest): Likewise.
830 (cos_towardzero_test_data): Likewise.
831 (cos_test_towardzero): Likewise.
832 (cos_downward_test_data): Likewise.
833 (cos_test_downward): Likewise.
834 (cos_upward_test_data): Likewise.
835 (cos_test_upward): Likewise.
836 (cosh_test_data): Update call to AUTO_TESTS_f_f.
837 (cosh_test): Use ALL_RM_TEST.
838 (cosh_tonearest_test_data): Remove.
839 (cosh_test_tonearest): Likewise.
840 (cosh_towardzero_test_data): Likewise.
841 (cosh_test_towardzero): Likewise.
842 (cosh_downward_test_data): Likewise.
843 (cosh_test_downward): Likewise.
844 (cosh_upward_test_data): Likewise.
845 (cosh_test_upward): Likewise.
846 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
847 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
848 (ctan_test_data): Likewise.
849 (ctan_test): Use ALL_RM_TEST.
850 (ctan_tonearest_test_data): Remove.
851 (ctan_test_tonearest): Likewise.
852 (ctan_towardzero_test_data): Likewise.
853 (ctan_test_towardzero): Likewise.
854 (ctan_downward_test_data): Likewise.
855 (ctan_test_downward): Likewise.
856 (ctan_upward_test_data): Likewise.
857 (ctan_test_upward): Likewise.
858 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
859 (ctanh_test): Use ALL_RM_TEST.
860 (ctanh_tonearest_test_data): Remove.
861 (ctanh_test_tonearest): Likewise.
862 (ctanh_towardzero_test_data): Likewise.
863 (ctanh_test_towardzero): Likewise.
864 (ctanh_downward_test_data): Likewise.
865 (ctanh_test_downward): Likewise.
866 (ctanh_upward_test_data): Likewise.
867 (ctanh_test_upward): Likewise.
868 (erf_test_data): Update call to AUTO_TESTS_f_f.
869 (erfc_test_data): Likewise.
870 (exp_test_data): Likewise.
871 (exp_test): Use ALL_RM_TEST.
872 (exp_tonearest_test_data): Remove.
873 (exp_test_tonearest): Likewise.
874 (exp_towardzero_test_data): Likewise.
875 (exp_test_towardzero): Likewise.
876 (exp_downward_test_data): Likewise.
877 (exp_test_downward): Likewise.
878 (exp_upward_test_data): Likewise.
879 (exp_test_upward): Likewise.
880 (exp10_test_data): Update call to AUTO_TESTS_f_f.
881 (exp10_test): Use ALL_RM_TEST.
882 (exp10_tonearest_test_data): Remove.
883 (exp10_test_tonearest): Likewise.
884 (exp10_towardzero_test_data): Likewise.
885 (exp10_test_towardzero): Likewise.
886 (exp10_downward_test_data): Likewise.
887 (exp10_test_downward): Likewise.
888 (exp10_upward_test_data): Likewise.
889 (exp10_test_upward): Likewise.
890 (exp2_test_data): Update call to AUTO_TESTS_f_f.
891 (expm1_test_data): Likewise.
892 (expm1_test): Use ALL_RM_TEST.
893 (expm1_tonearest_test_data): Remove.
894 (expm1_test_tonearest): Likewise.
895 (expm1_towardzero_test_data): Likewise.
896 (expm1_test_towardzero): Likewise.
897 (expm1_downward_test_data): Likewise.
898 (expm1_test_downward): Likewise.
899 (expm1_upward_test_data): Likewise.
900 (expm1_test_upward): Likewise.
901 (fma_test_data): Update call to AUTO_TESTS_fff_f.
902 (fma_test): Use ALL_RM_TEST.
903 (fma_towardzero_test_data): Remove.
904 (fma_test_towardzero): Likewise.
905 (fma_downward_test_data): Likewise.
906 (fma_test_downward): Likewise.
907 (fma_upward_test_data): Likewise.
908 (fma_test_upward): Likewise.
909 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
910 (j0_test_data): Update call to AUTO_TESTS_f_f.
911 (j1_test_data): Likewise.
912 (jn_test_data): Update call to AUTO_TESTS_if_f.
913 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
914 (log_test_data): Update call to AUTO_TESTS_f_f.
915 (log10_test_data): Likewise.
916 (log1p_test_data): Likewise.
917 (log2_test_data): Likewise.
918 (pow_test_data): Update call to AUTO_TESTS_ff_f.
919 (pow_tonearest_test_data): Likewise.
920 (sin_test_data): Update call to AUTO_TESTS_f_f.
921 (sin_test): Use ALL_RM_TEST.
922 (sin_tonearest_test_data): Remove.
923 (sin_test_tonearest): Likewise.
924 (sin_towardzero_test_data): Likewise.
925 (sin_test_towardzero): Likewise.
926 (sin_downward_test_data): Likewise.
927 (sin_test_downward): Likewise.
928 (sin_upward_test_data): Likewise.
929 (sin_test_upward): Likewise.
930 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
931 (sinh_test_data): Update call to AUTO_TESTS_f_f.
932 (sinh_test): Use ALL_RM_TEST.
933 (sinh_tonearest_test_data): Remove.
934 (sinh_test_tonearest): Likewise.
935 (sinh_towardzero_test_data): Likewise.
936 (sinh_test_towardzero): Likewise.
937 (sinh_downward_test_data): Likewise.
938 (sinh_test_downward): Likewise.
939 (sinh_upward_test_data): Likewise.
940 (sinh_test_upward): Likewise.
941 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
942 (sqrt_test): Use ALL_RM_TEST.
943 (sqrt_tonearest_test_data): Remove.
944 (sqrt_test_tonearest): Likewise.
945 (sqrt_towardzero_test_data): Likewise.
946 (sqrt_test_towardzero): Likewise.
947 (sqrt_downward_test_data): Likewise.
948 (sqrt_test_downward): Likewise.
949 (sqrt_upward_test_data): Likewise.
950 (sqrt_test_upward): Likewise.
951 (tan_test_data): Update call to AUTO_TESTS_f_f.
952 (tan_test): Use ALL_RM_TEST.
953 (tan_tonearest_test_data): Remove.
954 (tan_test_tonearest): Likewise.
955 (tan_towardzero_test_data): Likewise.
956 (tan_test_towardzero): Likewise.
957 (tan_downward_test_data): Likewise.
958 (tan_test_downward): Likewise.
959 (tan_upward_test_data): Likewise.
960 (tan_test_upward): Likewise.
961 (tanh_test_data): Update call to AUTO_TESTS_f_f.
962 (tgamma_test_data): Likewise.
963 (y0_test_data): Likewise.
964 (y1_test_data): Likewise.
965 (yn_test_data): Update call to AUTO_TESTS_if_f.
966 (main): Do not call removed functions.
968 2014-03-19 Joseph Myers <joseph@codesourcery.com>
970 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
971 (ldexp_test_data): Remove.
972 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
974 (scalb_test): Use ALL_RM_TEST.
976 2014-03-19 Andreas Schwab <schwab@suse.de>
978 * nscd/nscd.service: Also invalidate netgroup cache on reload.
980 2014-03-19 Joseph Myers <joseph@codesourcery.com>
983 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
984 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
985 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
986 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
987 (__ASSUME_PREADV): Undefine.
988 (__ASSUME_PWRITEV): Likewise.
990 2014-03-18 Roland McGrath <roland@hack.frob.com>
992 * bits/mman-linux.h: Add comment about non-Linux use.
993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
994 bits/mman-linux.h resting place.
996 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
997 * bits/mman-linux.h: ... here.
999 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1001 * conform/conformtest.pl: Add standard definition when calling C
1002 preprocessor on data files.
1003 (checknamespace): Remove unused variable.
1005 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1007 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1008 minus_oflow, plus_uflow and minus_uflow in expected results.
1009 * math/libm-test.inc (scalbn_test_data): Add more tests of
1010 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1012 (scalbn_test): Use ALL_RM_TEST.
1013 (scalbln_test_data): Add more tests of negative arguments. Use
1014 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1015 (scalbln_test): Use ALL_RM_TEST.
1017 2014-03-18 Roland McGrath <roland@hack.frob.com>
1019 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1021 2014-03-18 Will Newton <will.newton@linaro.org>
1023 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1026 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1028 * Makerules [!subdir] (check-abi): Exit with error status if a
1031 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1033 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1034 for rint. Include results for all rounding modes.
1035 (nearbyint_test): Use ALL_RM_TEST.
1036 (rint_test_data): Include all tests used for nearbyint.
1038 2014-03-17 Will Newton <will.newton@linaro.org>
1040 * nptl/sysdeps/pthread/pthread.h: Revert previous
1043 * sysdeps/generic/ldsodefs.h: Revert previous
1046 * libio/genops.c: Revert previous change.
1047 * libio/libioP.h: Likewise.
1048 * stdio-common/vfprintf.c: Likewise.
1050 * sysdeps/generic/math_private.h: Revert previous
1053 * sysdeps/generic/math_private.h: Check whether
1054 HAVE_RM_CTX is defined with #ifdef rather
1057 * argp/argp-fmtstream.h: Check whether
1058 __STRICT_ANSI__ is defined with #ifdef rather
1060 * argp/argp.h: Likewise.
1062 * libio/genops.c: Check whether
1063 _IO_JUMPS_OFFSET is defined with #ifdef rather
1065 * libio/libioP.h: Likewise.
1066 * stdio-common/vfprintf.c: Likewise.
1068 * sysdeps/generic/ldsodefs.h: Check whether
1069 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1072 * nptl/sysdeps/pthread/pthread.h: Check
1073 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1076 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1078 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1080 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1084 * libio/fileops.c (_IO_file_open): Seek to end of file but
1085 don't cache the offset.
1086 (get_file_offset): Remove function.
1087 (do_ftell): Use cached offset when available.
1088 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1089 don't cache the offset.
1090 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1092 (do_one_test): Call it.
1093 (do_ftell_test): Fix up expected old offset for a+ mode.
1094 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1097 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1098 up test status with function return status.
1099 (do_write_test): Likewise.
1100 (do_append_test): Likewise.
1102 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1103 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1106 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1108 * math/gen-libm-test.pl (parse_args): Handle results specified for
1109 each rounding mode separately.
1110 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1111 tests and results from lrint_tonearest_test_data,
1112 lrint_towardzero_test_data, lrint_downward_test_data and
1113 lrint_upward_test_data.
1114 (lrint_test): Use ALL_RM_TEST.
1115 (lrint_tonearest_test_data): Remove.
1116 (lrint_test_tonearest): Likewise.
1117 (lrint_towardzero_test_data): Likewise.
1118 (lrint_test_towardzero): Likewise.
1119 (lrint_downward_test_data): Likewise.
1120 (lrint_test_downward): Likewise.
1121 (lrint_upward_test_data): Likewise.
1122 (lrint_test_upward): Likewise.
1123 (llrint_test_data): Merge in per-rounding-mode tests and results
1124 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1125 llrint_downward_test_data and llrint_upward_test_data.
1126 (llrint_test): Use ALL_RM_TEST.
1127 (llrint_tonearest_test_data): Remove.
1128 (llrint_test_tonearest): Likewise.
1129 (llrint_towardzero_test_data): Likewise.
1130 (llrint_test_towardzero): Likewise.
1131 (llrint_downward_test_data): Likewise.
1132 (llrint_test_downward): Likewise.
1133 (llrint_upward_test_data): Likewise.
1134 (llrint_test_upward): Likewise.
1135 (rint_test_data): Merge in per-rounding-mode tests and results
1136 from rint_tonearest_test_data, rint_towardzero_test_data,
1137 rint_downward_test_data and rint_upward_test_data. Add
1138 per-rounding-mode results for tests not in those arrays.
1139 (rint_test): Use ALL_RM_TEST.
1140 (rint_tonearest_test_data): Remove.
1141 (rint_test_tonearest): Likewise.
1142 (rint_towardzero_test_data): Likewise.
1143 (rint_test_towardzero): Likewise.
1144 (rint_downward_test_data): Likewise.
1145 (rint_test_downward): Likewise.
1146 (rint_upward_test_data): Likewise.
1147 (rint_test_upward): Likewise.
1148 (main): Don't call removed functions.
1150 2014-03-14 Roland McGrath <roland@hack.frob.com>
1152 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1153 "Compiled on ..." crapola. It is anti-useful.
1155 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1157 * scripts/evaluate-test.sh: Handle fourth argument to determine
1158 whether test run should stop on failure.
1159 * Makeconfig (stop-on-test-failure): New variable.
1160 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1161 $(stop-on-test-failure).
1162 * Makefile (tests): Give a summary of results from testing and
1163 exit with failure status if they include an ERROR or FAIL.
1165 * manual/install.texi (Configuring and compiling): Mention
1166 stop-on-test-failure=y.
1167 * INSTALL: Regenerated.
1169 2014-03-14 Roland McGrath <roland@hack.frob.com>
1171 * scripts/versionlist.awk: New file.
1172 * Makerules [$(build-shared) = yes]
1173 (postclean-generated): Add Versions.def, not Versions.def.v and
1175 ($(common-objpfx)Versions.def.v.i): Target removed.
1176 ($(common-objpfx)Versions.def): New target.
1177 ($(common-objpfx)Versions.all): Depend on that rather that
1178 $(common-objpfx)Versions.def.v.
1179 * Versions.def: File removed.
1181 * Makeconfig (+gccwarn): Add -Wundef.
1182 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1183 a dl-sysdep.h breaking its contract.
1184 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1185 * include/stackinfo.h: New file.
1186 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1187 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1188 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1189 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1190 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1191 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1192 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1193 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1194 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1195 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1196 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1197 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1198 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1199 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1200 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1202 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1205 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1207 * math/libm-test.inc (round_test_data): Add more tests.
1209 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1212 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1214 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1216 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1219 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1221 * math/libm-test.inc (ceil_test_data): Add more tests.
1223 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1225 * math/libm-test.inc (trunc_test_data): Add more tests related to
1228 2014-03-14 Roland McGrath <roland@hack.frob.com>
1230 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1231 with #if rather than #ifdef.
1232 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1234 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1236 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1237 first. Disable AVX-512 GCC support if assembler doesn't support
1239 * sysdeps/x86_64/configure: Regenerated.
1241 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1243 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1244 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1245 (__old_pthread_attr_setstack): Likewise.
1246 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1247 [!_STACK_GROWS_DOWN]: Likewise.
1249 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1251 * config.make.in (have-bash2): Delete.
1252 * configure.ac (libc_cv_have_bash2): Delete.
1253 * configure: Regenerate.
1254 * elf/Makefile (common-ldd-rewrite): Rename to ...
1255 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1256 (sh-ldd-rewrite): Delete.
1257 (bash-ldd-rewrite): Delete.
1258 (have-bash2): Delete checks.
1259 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1261 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1263 * config.make.in (have-ksh): Delete.
1265 * configure.ac (libc_cv_have_ksh): Delete.
1266 * configure: Regenerate.
1268 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1270 * elf/Makefile: Delete $(have-ksh) check.
1271 ($(objpfx)sotruss): Change KSH to BASH.
1272 * elf/sotruss.ksh: Rename to ...
1273 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1274 function style to match POSIX. Drop ksh vim mode setting.
1276 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1278 * manual/time.texi (Specifying the Time Zone with TZ): Change
1279 Tuesday to Thursday.
1281 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1283 * debug/tst-longjmp_chk2.c: Update header comment.
1284 (stackoverflow_handler): Add comment. Call assert on pass value.
1286 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1288 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1289 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1290 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1291 (La_x86_64_vector): Add zmm.
1292 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1293 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1294 ($(objpfx)tst-audit10): New target.
1295 ($(objpfx)tst-audit10.out): Likewise.
1296 (tst-audit10-ENV): New.
1297 (AVX512-CFLAGS): Likewise.
1298 (CFLAGS-tst-audit10.c): Likewise.
1299 (CFLAGS-tst-auditmod10a.c): Likewise.
1300 (CFLAGS-tst-auditmod10b.c): Likewise.
1301 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1302 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1303 * sysdeps/x86_64/configure: Regenerated.
1304 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1305 AVX-512 zmm register support.
1306 (_dl_x86_64_save_sse): Likewise.
1307 (_dl_x86_64_restore_sse): Likewise.
1308 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1309 size vector registers.
1310 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1311 (ZMM_SIZE): Likewise.
1312 * sysdeps/x86_64/tst-audit10.c: New file.
1313 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1314 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1316 2014-03-13 Roland McGrath <roland@hack.frob.com>
1318 * configure.ac (HAVE_EHDR_START): New check.
1319 * configure: Regenerated.
1320 * config.h.in (HAVE_EHDR_START): New #undef.
1321 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1322 assuming the lowest-addressed segment maps the start of the file.
1324 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1326 * INSTALL: Regenerated.
1328 2014-03-13 Will Newton <will.newton@linaro.org>
1330 * manual/setjmp.texi (System V contexts): Improve
1331 clarity and grammar of documentation.
1333 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1336 * elf/Makefile (tests): Add tst-pie2.
1337 (tests-pie): Add tst-pie2.
1338 * elf/tst-pie2.c: New file.
1339 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1341 * elf/rtld.c (map_doit): Load executable as lt_executable.
1342 (dl_main): Likewise.
1344 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1347 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1348 (__ASSUME_PSELECT): Undefine.
1350 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1353 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1354 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1356 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1357 selector for static builds.
1359 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1362 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1365 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1367 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1368 selector for static builds.
1370 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1372 * sysdeps/mips/math_private.h [__mips_hard_float]
1373 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1374 libc_feresetround_mips_ctx.
1375 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1376 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1377 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1380 * math/s_nextafter.c (__nextafter): Do not return value from
1381 overflowing computation.
1382 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1383 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1384 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1386 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1388 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1389 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1391 2014-03-11 Roland McGrath <roland@hack.frob.com>
1393 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1394 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1395 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1396 the new mov targetting sp.
1398 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1401 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1402 Define it for static builds as well.
1403 (NO_BZERO_IMPL): Likewise.
1405 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1407 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1408 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1409 multiarch strspn for PPC64.
1410 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1411 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1413 (__libc_ifunc_impl_list): Likewise.
1414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1415 multiarch optimizations
1416 * string/strspn.c (strspn): Using macro to redefine symbol name.
1418 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1419 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1421 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1422 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1423 multiarch strncat for PPC64.
1424 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1425 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1427 (__libc_ifunc_impl_list): Likewise.
1428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1429 multiarch optimizations
1431 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1434 * nscd/nscd.service: Make service type forking.
1436 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1438 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1439 sign in non default rounding modes.
1440 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1442 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1444 * math/libm-test.inc (ALL_RM_TEST): New macro.
1445 (ceil_test): Use ALL_RM_TEST.
1446 (cimag_test): Likewise.
1447 (conj_test): Likewise.
1448 (copysign_test): Likewise.
1449 (cproj_test): Likewise.
1450 (creal_test): Likewise.
1451 (fabs_test): Likewise.
1452 (floor_test): Likewise.
1453 (fmax_test): Likewise.
1454 (fmin_test): Likewise.
1455 (fmod_test): Likewise.
1456 (fpclassify_test): Likewise.
1457 (frexp_test): Likewise.
1458 (ilogb_test): Likewise.
1459 (isfinite_test): Likewise.
1460 (finite_test): Likewise.
1461 (isgreater_test): Likewise.
1462 (isgreaterequal_test): Likewise.
1463 (isinf_test): Likewise.
1464 (isless_test): Likewise.
1465 (islessequal_test): Likewise.
1466 (islessgreater_test): Likewise.
1467 (isnan_test): Likewise.
1468 (isnormal_test): Likewise.
1469 (issignaling_test): Likewise.
1470 (isunordered_test): Likewise.
1471 (logb_test): Likewise.
1472 (logb_downward_test_data): Remove.
1473 (logb_test_downward): Likewise.
1474 (lround_test): Use ALL_RM_TEST.
1475 (llround_test): Likewise.
1476 (modf_test): Likewise.
1477 (nexttoward_test): Likewise.
1478 (remainder_test): Likewise.
1479 (drem_test): Likewise.
1480 (remainder_tonearest_test_data): Likewise.
1481 (remainder_test_tonearest): Likewise.
1482 (drem_test_tonearest): Likewise.
1483 (remainder_towardzero_test_data): Likewise.
1484 (remainder_test_towardzero): Likewise.
1485 (drem_test_towardzero): Likewise.
1486 (remainder_downward_test_data): Likewise.
1487 (remainder_test_downward): Likewise.
1488 (drem_test_downward): Likewise.
1489 (remainder_upward_test_data): Likewise.
1490 (remainder_test_upward): Likewise.
1491 (drem_test_upward): Likewise.
1492 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1493 (round_test): Use ALL_RM_TEST.
1494 (signbit_test): Likewise.
1495 (trunc_test): Likewise.
1496 (significand_test): Likewise.
1497 (main): Don't call removed functions.
1499 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1502 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1504 (ILL_ILLOPN): Likewise.
1505 (ILL_ILLADR): Likewise.
1506 (ILL_ILLTRP): Likewise.
1507 (ILL_PRVOPC): Likewise.
1508 (ILL_PRVREG): Likewise.
1509 (ILL_COPROC): Likewise.
1510 (ILL_BADSTK): Likewise.
1511 (FPE_INTDIV): Likewise.
1512 (FPE_INTOVF): Likewise.
1513 (FPE_FLTDIV): Likewise.
1514 (FPE_FLTOVF): Likewise.
1515 (FPE_FLTUND): Likewise.
1516 (FPE_FLTRES): Likewise.
1517 (FPE_FLTINV): Likewise.
1518 (FPE_FLTSUB): Likewise.
1519 (SEGV_MAPERR): Likewise.
1520 (SEGV_ACCERR): Likewise.
1521 (BUS_ADRALN): Likewise.
1522 (BUS_ADRERR): Likewise.
1523 (BUS_OBJERR): Likewise.
1524 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1525 (TRAP_TRACE): Likewise.
1526 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1528 (CLD_KILLED): Likewise.
1529 (CLD_DUMPED): Likewise.
1530 (CLD_TRAPPED): Likewise.
1531 (CLD_STOPPED): Likewise.
1532 (CLD_CONTINUED): Likewise.
1533 (POLL_IN): Likewise.
1534 (POLL_OUT): Likewise.
1535 (POLL_MSG): Likewise.
1536 (POLL_ERR): Likewise.
1537 (POLL_PRI): Likewise.
1538 (POLL_HUP): Likewise.
1539 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1541 (ILL_ILLOPN): Likewise.
1542 (ILL_ILLADR): Likewise.
1543 (ILL_ILLTRP): Likewise.
1544 (ILL_PRVOPC): Likewise.
1545 (ILL_PRVREG): Likewise.
1546 (ILL_COPROC): Likewise.
1547 (ILL_BADSTK): Likewise.
1548 (FPE_INTDIV): Likewise.
1549 (FPE_INTOVF): Likewise.
1550 (FPE_FLTDIV): Likewise.
1551 (FPE_FLTOVF): Likewise.
1552 (FPE_FLTUND): Likewise.
1553 (FPE_FLTRES): Likewise.
1554 (FPE_FLTINV): Likewise.
1555 (FPE_FLTSUB): Likewise.
1556 (SEGV_MAPERR): Likewise.
1557 (SEGV_ACCERR): Likewise.
1558 (BUS_ADRALN): Likewise.
1559 (BUS_ADRERR): Likewise.
1560 (BUS_OBJERR): Likewise.
1561 (BUS_MCEERR_AR): Likewise.
1562 (BUS_MCEERR_AO): Likewise.
1563 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1564 (TRAP_TRACE): Likewise.
1565 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1567 (CLD_KILLED): Likewise.
1568 (CLD_DUMPED): Likewise.
1569 (CLD_TRAPPED): Likewise.
1570 (CLD_STOPPED): Likewise.
1571 (CLD_CONTINUED): Likewise.
1572 (POLL_IN): Likewise.
1573 (POLL_OUT): Likewise.
1574 (POLL_MSG): Likewise.
1575 (POLL_ERR): Likewise.
1576 (POLL_PRI): Likewise.
1577 (POLL_HUP): Likewise.
1578 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1579 (ILL_ILLOPN): Likewise.
1580 (ILL_ILLADR): Likewise.
1581 (ILL_ILLTRP): Likewise.
1582 (ILL_PRVOPC): Likewise.
1583 (ILL_PRVREG): Likewise.
1584 (ILL_COPROC): Likewise.
1585 (ILL_BADSTK): Likewise.
1586 (FPE_INTDIV): Likewise.
1587 (FPE_INTOVF): Likewise.
1588 (FPE_FLTDIV): Likewise.
1589 (FPE_FLTOVF): Likewise.
1590 (FPE_FLTUND): Likewise.
1591 (FPE_FLTRES): Likewise.
1592 (FPE_FLTINV): Likewise.
1593 (FPE_FLTSUB): Likewise.
1594 (SEGV_MAPERR): Likewise.
1595 (SEGV_ACCERR): Likewise.
1596 (BUS_ADRALN): Likewise.
1597 (BUS_ADRERR): Likewise.
1598 (BUS_OBJERR): Likewise.
1599 (BUS_MCEERR_AR): Likewise.
1600 (BUS_MCEERR_AO): Likewise.
1601 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1602 (TRAP_TRACE): Likewise.
1603 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1605 (CLD_KILLED): Likewise.
1606 (CLD_DUMPED): Likewise.
1607 (CLD_TRAPPED): Likewise.
1608 (CLD_STOPPED): Likewise.
1609 (CLD_CONTINUED): Likewise.
1610 (POLL_IN): Likewise.
1611 (POLL_OUT): Likewise.
1612 (POLL_MSG): Likewise.
1613 (POLL_ERR): Likewise.
1614 (POLL_PRI): Likewise.
1615 (POLL_HUP): Likewise.
1616 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1618 (ILL_ILLOPN): Likewise.
1619 (ILL_ILLADR): Likewise.
1620 (ILL_ILLTRP): Likewise.
1621 (ILL_PRVOPC): Likewise.
1622 (ILL_PRVREG): Likewise.
1623 (ILL_COPROC): Likewise.
1624 (ILL_BADSTK): Likewise.
1625 (ILL_BADIADDR): Likewise.
1626 (ILL_BREAK): Likewise.
1627 (FPE_INTDIV): Likewise.
1628 (FPE_INTOVF): Likewise.
1629 (FPE_FLTDIV): Likewise.
1630 (FPE_FLTOVF): Likewise.
1631 (FPE_FLTUND): Likewise.
1632 (FPE_FLTRES): Likewise.
1633 (FPE_FLTINV): Likewise.
1634 (FPE_FLTSUB): Likewise.
1635 (FPE_DECOVF): Likewise.
1636 (FPE_DECDIV): Likewise.
1637 (FPE_DECERR): Likewise.
1638 (FPE_INVASC): Likewise.
1639 (FPE_INVDEC): Likewise.
1640 (SEGV_MAPERR): Likewise.
1641 (SEGV_ACCERR): Likewise.
1642 (SEGV_PSTKOVF): Likewise.
1643 (BUS_ADRALN): Likewise.
1644 (BUS_ADRERR): Likewise.
1645 (BUS_OBJERR): Likewise.
1646 (BUS_MCEERR_AR): Likewise.
1647 (BUS_MCEERR_AO): Likewise.
1648 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1649 (TRAP_TRACE): Likewise.
1650 (TRAP_BRANCH): Likewise.
1651 (TRAP_HWBKPT): Likewise.
1652 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1654 (CLD_KILLED): Likewise.
1655 (CLD_DUMPED): Likewise.
1656 (CLD_TRAPPED): Likewise.
1657 (CLD_STOPPED): Likewise.
1658 (CLD_CONTINUED): Likewise.
1659 (POLL_IN): Likewise.
1660 (POLL_OUT): Likewise.
1661 (POLL_MSG): Likewise.
1662 (POLL_ERR): Likewise.
1663 (POLL_PRI): Likewise.
1664 (POLL_HUP): Likewise.
1665 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1666 (ILL_ILLOPN): Likewise.
1667 (ILL_ILLADR): Likewise.
1668 (ILL_ILLTRP): Likewise.
1669 (ILL_PRVOPC): Likewise.
1670 (ILL_PRVREG): Likewise.
1671 (ILL_COPROC): Likewise.
1672 (ILL_BADSTK): Likewise.
1673 (FPE_INTDIV): Likewise.
1674 (FPE_INTOVF): Likewise.
1675 (FPE_FLTDIV): Likewise.
1676 (FPE_FLTOVF): Likewise.
1677 (FPE_FLTUND): Likewise.
1678 (FPE_FLTRES): Likewise.
1679 (FPE_FLTINV): Likewise.
1680 (FPE_FLTSUB): Likewise.
1681 (SEGV_MAPERR): Likewise.
1682 (SEGV_ACCERR): Likewise.
1683 (BUS_ADRALN): Likewise.
1684 (BUS_ADRERR): Likewise.
1685 (BUS_OBJERR): Likewise.
1686 (BUS_MCEERR_AR): Likewise.
1687 (BUS_MCEERR_AO): Likewise.
1688 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1689 (TRAP_TRACE): Likewise.
1690 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1692 (CLD_KILLED): Likewise.
1693 (CLD_DUMPED): Likewise.
1694 (CLD_TRAPPED): Likewise.
1695 (CLD_STOPPED): Likewise.
1696 (CLD_CONTINUED): Likewise.
1697 (POLL_IN): Likewise.
1698 (POLL_OUT): Likewise.
1699 (POLL_MSG): Likewise.
1700 (POLL_ERR): Likewise.
1701 (POLL_PRI): Likewise.
1702 (POLL_HUP): Likewise.
1703 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1704 (ILL_ILLOPN): Likewise.
1705 (ILL_ILLADR): Likewise.
1706 (ILL_ILLTRP): Likewise.
1707 (ILL_PRVOPC): Likewise.
1708 (ILL_PRVREG): Likewise.
1709 (ILL_COPROC): Likewise.
1710 (ILL_BADSTK): Likewise.
1711 (FPE_INTDIV): Likewise.
1712 (FPE_INTOVF): Likewise.
1713 (FPE_FLTDIV): Likewise.
1714 (FPE_FLTOVF): Likewise.
1715 (FPE_FLTUND): Likewise.
1716 (FPE_FLTRES): Likewise.
1717 (FPE_FLTINV): Likewise.
1718 (FPE_FLTSUB): Likewise.
1719 (SEGV_MAPERR): Likewise.
1720 (SEGV_ACCERR): Likewise.
1721 (BUS_ADRALN): Likewise.
1722 (BUS_ADRERR): Likewise.
1723 (BUS_OBJERR): Likewise.
1724 (BUS_MCEERR_AR): Likewise.
1725 (BUS_MCEERR_AO): Likewise.
1726 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1727 (TRAP_TRACE): Likewise.
1728 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1730 (CLD_KILLED): Likewise.
1731 (CLD_DUMPED): Likewise.
1732 (CLD_TRAPPED): Likewise.
1733 (CLD_STOPPED): Likewise.
1734 (CLD_CONTINUED): Likewise.
1735 (POLL_IN): Likewise.
1736 (POLL_OUT): Likewise.
1737 (POLL_MSG): Likewise.
1738 (POLL_ERR): Likewise.
1739 (POLL_PRI): Likewise.
1740 (POLL_HUP): Likewise.
1741 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1742 (ILL_ILLOPN): Likewise.
1743 (ILL_ILLADR): Likewise.
1744 (ILL_ILLTRP): Likewise.
1745 (ILL_PRVOPC): Likewise.
1746 (ILL_PRVREG): Likewise.
1747 (ILL_COPROC): Likewise.
1748 (ILL_BADSTK): Likewise.
1749 (FPE_INTDIV): Likewise.
1750 (FPE_INTOVF): Likewise.
1751 (FPE_FLTDIV): Likewise.
1752 (FPE_FLTOVF): Likewise.
1753 (FPE_FLTUND): Likewise.
1754 (FPE_FLTRES): Likewise.
1755 (FPE_FLTINV): Likewise.
1756 (FPE_FLTSUB): Likewise.
1757 (SEGV_MAPERR): Likewise.
1758 (SEGV_ACCERR): Likewise.
1759 (BUS_ADRALN): Likewise.
1760 (BUS_ADRERR): Likewise.
1761 (BUS_OBJERR): Likewise.
1762 (BUS_MCEERR_AR): Likewise.
1763 (BUS_MCEERR_AO): Likewise.
1764 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1765 (TRAP_TRACE): Likewise.
1766 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1768 (CLD_KILLED): Likewise.
1769 (CLD_DUMPED): Likewise.
1770 (CLD_TRAPPED): Likewise.
1771 (CLD_STOPPED): Likewise.
1772 (CLD_CONTINUED): Likewise.
1773 (POLL_IN): Likewise.
1774 (POLL_OUT): Likewise.
1775 (POLL_MSG): Likewise.
1776 (POLL_ERR): Likewise.
1777 (POLL_PRI): Likewise.
1778 (POLL_HUP): Likewise.
1779 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1780 (ILL_ILLOPN): Likewise.
1781 (ILL_ILLADR): Likewise.
1782 (ILL_ILLTRP): Likewise.
1783 (ILL_PRVOPC): Likewise.
1784 (ILL_PRVREG): Likewise.
1785 (ILL_COPROC): Likewise.
1786 (ILL_BADSTK): Likewise.
1787 (ILL_DBLFLT): Likewise.
1788 (ILL_HARDWALL): Likewise.
1789 (FPE_INTDIV): Likewise.
1790 (FPE_INTOVF): Likewise.
1791 (FPE_FLTDIV): Likewise.
1792 (FPE_FLTOVF): Likewise.
1793 (FPE_FLTUND): Likewise.
1794 (FPE_FLTRES): Likewise.
1795 (FPE_FLTINV): Likewise.
1796 (FPE_FLTSUB): Likewise.
1797 (SEGV_MAPERR): Likewise.
1798 (SEGV_ACCERR): Likewise.
1799 (BUS_ADRALN): Likewise.
1800 (BUS_ADRERR): Likewise.
1801 (BUS_OBJERR): Likewise.
1802 (BUS_MCEERR_AR): Likewise.
1803 (BUS_MCEERR_AO): Likewise.
1804 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1805 (TRAP_TRACE): Likewise.
1806 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1808 (CLD_KILLED): Likewise.
1809 (CLD_DUMPED): Likewise.
1810 (CLD_TRAPPED): Likewise.
1811 (CLD_STOPPED): Likewise.
1812 (CLD_CONTINUED): Likewise.
1813 (POLL_IN): Likewise.
1814 (POLL_OUT): Likewise.
1815 (POLL_MSG): Likewise.
1816 (POLL_ERR): Likewise.
1817 (POLL_PRI): Likewise.
1818 (POLL_HUP): Likewise.
1819 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1820 (ILL_ILLOPN): Likewise.
1821 (ILL_ILLADR): Likewise.
1822 (ILL_ILLTRP): Likewise.
1823 (ILL_PRVOPC): Likewise.
1824 (ILL_PRVREG): Likewise.
1825 (ILL_COPROC): Likewise.
1826 (ILL_BADSTK): Likewise.
1827 (FPE_INTDIV): Likewise.
1828 (FPE_INTOVF): Likewise.
1829 (FPE_FLTDIV): Likewise.
1830 (FPE_FLTOVF): Likewise.
1831 (FPE_FLTUND): Likewise.
1832 (FPE_FLTRES): Likewise.
1833 (FPE_FLTINV): Likewise.
1834 (FPE_FLTSUB): Likewise.
1835 (SEGV_MAPERR): Likewise.
1836 (SEGV_ACCERR): Likewise.
1837 (BUS_ADRALN): Likewise.
1838 (BUS_ADRERR): Likewise.
1839 (BUS_OBJERR): Likewise.
1840 (BUS_MCEERR_AR): Likewise.
1841 (BUS_MCEERR_AO): Likewise.
1842 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1843 (TRAP_TRACE): Likewise.
1844 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1846 (CLD_KILLED): Likewise.
1847 (CLD_DUMPED): Likewise.
1848 (CLD_TRAPPED): Likewise.
1849 (CLD_STOPPED): Likewise.
1850 (CLD_CONTINUED): Likewise.
1851 (POLL_IN): Likewise.
1852 (POLL_OUT): Likewise.
1853 (POLL_MSG): Likewise.
1854 (POLL_ERR): Likewise.
1855 (POLL_PRI): Likewise.
1856 (POLL_HUP): Likewise.
1857 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1858 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1861 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1862 before #include of <time.h>.
1863 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1864 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1865 (test-xfail-UNIX98/sched.h/conform): Likewise.
1867 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1869 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1870 error absence of trapping exception support.
1871 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1873 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1875 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1876 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1877 * timezone/Makefile (testdata): Move definition above include of
1879 (test-zones): New variable.
1880 (tests-special): Add zone files.
1881 (build-testdata): Use $(evaluate-test).
1883 * elf/Makefile (tests-special): Rename tests to end with .out.
1884 ($(objpfx)noload-mem): Likewise.
1885 ($(objpfx)tst-leaks1-mem): Likewise.
1886 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1887 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1888 $(objpfx)test-iconvconfig.out.
1889 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1890 set -e inside subshell and redirect output to file.
1891 * iconvdata/Makefile (generated): Rename tests to end with .out.
1893 (tests-special): Rename tests to end with .out.
1894 ($(objpfx)mtrace-tst-loading): Likewise.
1895 * intl/Makefile (generated): Likewise.
1896 (tests-special): Likewise.
1897 ($(objpfx)mtrace-tst-gettext): Likewise.
1898 * misc/Makefile (generated): Likewise.
1899 (tests-special): Likewise.
1900 ($(objpfx)tst-error1-mem): Likewise.
1901 * nptl/Makefile (tests-special): Likewise.
1902 ($(objpfx)tst-stack3-mem): Likewise.
1903 (generated): Likewise.
1904 * posix/Makefile (generated): Likewise.
1905 (tests-special): Likewise.
1906 (xtests-special): Likewise.
1907 ($(objpfx)tst-fnmatch-mem): Likewise.
1908 ($(objpfx)bug-regex2-mem): Likewise.
1909 ($(objpfx)bug-regex14-mem): Likewise.
1910 ($(objpfx)bug-regex21-mem): Likewise.
1911 ($(objpfx)bug-regex31-mem): Likewise.
1912 ($(objpfx)tst-vfork3-mem): Likewise.
1913 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1914 ($(objpfx)tst-pcre-mem): Likewise.
1915 ($(objpfx)tst-boost-mem): Likewise.
1916 ($(objpfx)bug-ga2-mem): Likewise.
1917 ($(objpfx)bug-glob2-mem): Likewise.
1918 * resolv/Makefile (generate): Likewise.
1919 (tests-special): Likewise.
1920 (xtests-special): Likewise.
1921 (generated): Likewise.
1922 ($(objpfx)mtrace-tst-leaks): Likewise.
1923 ($(objpfx)mtrace-tst-leaks2): Likewise.
1925 * scripts/merge-test-results.sh: New file.
1926 * Makefile (tests-special-notdir): New variable.
1927 (tests): Run merge-test-results.sh.
1929 * Rules (tests-special-notdir): New variable.
1930 (xtests-special-notdir): Likewise.
1931 (tests): Run merge-test-results.sh
1934 * Makeconfig (test-xfail-name): New variable.
1935 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1936 compute variable name for expected failures.
1937 * conform/Makefile (conformtest-headers-data): New variable.
1938 (conformtest-standards): Likewise.
1939 (conformtest-headers-ISO): Likewise.
1940 (conformtest-headers-ISO99): Likewise.
1941 (conformtest-headers-ISO11): Likewise.
1942 (conformtest-headers-POSIX): Likewise.
1943 (conformtest-headers-XPG3): Likewise.
1944 (conformtest-headers-XPG4): Likewise.
1945 (conformtest-headers-UNIX98): Likewise.
1946 (conformtest-headers-XOPEN2K): Likewise.
1947 (conformtest-headers-POSIX2008): Likewise.
1948 (conformtest-headers-XOPEN2K8): Likewise.
1949 (conformtest-header-list-base): Likewise.
1950 (conformtest-header-list-tests): Likewise.
1951 (conformtest-header-base): Likewise.
1952 (conformtest-header-tests): Likewise.
1953 (tests-special): Add $(conformtest-header-list-tests). If
1954 [$(fast-check) && !$(cross-compiling)], add
1955 $(conformtest-header-tests) instead of
1956 $(objpfx)run-conformtest.out.
1957 (generated): Add $(conformtest-header-list-base). If
1958 [$(fast-check) && !$(cross-compiling)], add
1959 $(conformtest-header-base). Remove previous setting.
1960 ($(conformtest-header-list-tests)): New target.
1961 (test-xfail-run-conformtest): Remove variable.
1962 ($(objpfx)run-conformtest.out): Remove target.
1963 (test-xfail-ISO11/complex.h/conform): New variable.
1964 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1965 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1966 (test-xfail-XPG3/varargs.h/conform): Likewise.
1967 (test-xfail-XPG4/varargs.h/conform): Likewise.
1968 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1969 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1970 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1971 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1972 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1973 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1974 (test-xfail-XPG3/ftw.h/conform): Likewise.
1975 (test-xfail-XPG3/grp.h/conform): Likewise.
1976 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1977 (test-xfail-XPG3/limits.h/conform): Likewise.
1978 (test-xfail-XPG3/pwd.h/conform): Likewise.
1979 (test-xfail-XPG3/search.h/conform): Likewise.
1980 (test-xfail-XPG3/signal.h/conform): Likewise.
1981 (test-xfail-XPG3/stdio.h/conform): Likewise.
1982 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1983 (test-xfail-XPG3/string.h/conform): Likewise.
1984 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1985 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1986 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1987 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1988 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1989 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1990 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1991 (test-xfail-XPG3/termios.h/conform): Likewise.
1992 (test-xfail-XPG3/time.h/conform): Likewise.
1993 (test-xfail-XPG3/unistd.h/conform): Likewise.
1994 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1995 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1996 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1997 (test-xfail-XPG4/netdb.h/conform): Likewise.
1998 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1999 (test-xfail-XPG4/signal.h/conform): Likewise.
2000 (test-xfail-XPG4/stdio.h/conform): Likewise.
2001 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2002 (test-xfail-XPG4/stropts.h/conform): Likewise.
2003 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2004 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2005 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2006 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2007 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2008 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2009 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2010 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2011 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2012 (test-xfail-XPG4/termios.h/conform): Likewise.
2013 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2014 (test-xfail-XPG4/unistd.h/conform): Likewise.
2015 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2016 (test-xfail-POSIX/sched.h/conform): Likewise.
2017 (test-xfail-POSIX/signal.h/conform): Likewise.
2018 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2019 (test-xfail-POSIX/tar.h/conform): Likewise.
2020 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2021 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2022 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2023 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2024 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2025 (test-xfail-UNIX98/sched.h/conform): Likewise.
2026 (test-xfail-UNIX98/signal.h/conform): Likewise.
2027 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2028 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2029 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2030 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2031 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2032 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2033 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2034 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2035 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2036 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2037 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2038 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2039 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2040 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2041 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2042 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2043 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2044 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2045 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2046 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2047 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2048 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2049 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2050 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2051 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2052 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2053 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2054 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2055 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2056 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2057 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2058 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2059 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2060 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2061 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2062 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2063 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2064 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2065 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2066 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2067 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2068 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2069 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2070 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2071 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2072 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2073 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2074 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2075 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2076 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2077 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2078 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2079 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2080 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2081 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2082 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2083 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2084 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2085 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2086 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2087 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2088 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2089 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2090 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2091 (conformtest-cc-flags): Likewise.
2092 ($(conformtest-header-tests): New target.
2093 * conform/check-header-lists.sh: New file.
2094 * conform/run-conformtest.sh: Remove.
2096 * conform/conformtest.pl: Allow ' and \ in values given for
2098 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2100 [POSIX] (sys/types.h): Likewise.
2101 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2103 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2105 * conform/data/signal.h-data (SIGIO): Remove expectation.
2106 [XPG3] (SIGBUS): Do not expect.
2107 [POSIX || XPG3] (SIGPOLL): Likewise.
2108 [POSIX || XPG3] (SIGPROF): Likewise.
2109 [POSIX || XPG3] (SIGSYS): Likewise.
2110 [XPG3] (SIGTRAP): Likewise.
2111 [POSIX || XPG3] (SIGURG): Likewise.
2112 [POSIX || XPG3] (SIGVTALRM): Likewise.
2113 [POSIX || XPG3] (SIGXCPU): Likewise.
2114 [POSIX || XPG3] (SIGXFSZ): Likewise.
2115 [POSIX] (SA_SIGINFO): Expect.
2116 [XPG3] (siginfo_t): Do not expect type or contents.
2117 [POSIX] (si_pid): Do not expect element.
2118 [POSIX] (si_uid): Likewise.
2119 [POSIX] (si_addr): Likewise.
2120 [POSIX] (si_status): Likewise.
2121 [POSIX] (si_band): Likewise.
2122 [XPG4] (si_value): Likewise.
2123 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2124 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2125 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2126 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2127 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2128 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2129 [POSIX || XPG3] (ILL_COPROC): Likewise.
2130 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2131 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2132 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2133 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2134 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2135 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2136 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2137 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2138 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2139 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2140 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2141 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2142 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2143 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2144 [POSIX || XPG3] (CLD_EXITED): Likewise.
2145 [POSIX || XPG3] (CLD_KILLED): Likewise.
2146 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2147 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2148 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2149 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2150 [POSIX || XPG3] (POLL_IN): Likewise.
2151 [POSIX || XPG3] (POLL_OUT): Likewise.
2152 [POSIX || XPG3] (POLL_MSG): Likewise.
2153 [POSIX || XPG3] (POLL_ERR): Likewise.
2154 [POSIX || XPG3] (POLL_PRI): Likewise.
2155 [POSIX || XPG3] (POLL_HUP): Likewise.
2156 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2157 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2158 (SIG*): Do not allow.
2159 [XPG3] (si_*): Likewise.
2160 [XPG3] (SI_*): Likewise.
2161 [XPG3 || XPG4] (sigev_*): Likewise.
2162 [XPG3 || XPG4] (SIGEV_*): Likewise.
2163 [XPG3 || XPG4] (sival_*): Likewise.
2164 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2165 [POSIX || XPG3] (BUS_*): Likewise.
2166 [POSIX || XPG3] (CLD_*): Likewise.
2167 [POSIX || XPG3] (FPE_*): Likewise.
2168 [POSIX || XPG3] (ILL_*): Likewise.
2169 [POSIX || XPG3] (POLL_*): Likewise.
2170 [POSIX || XPG3] (SEGV_*): Likewise.
2171 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2172 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2173 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2174 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2175 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2176 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2177 Specify type and value.
2178 (TVERSLEN): Likewise.
2179 (REGTYPE): Likewise.
2180 (AREGTYPE): Likewise.
2181 (LNKTYPE): Likewise.
2182 (SYMTYPE): Likewise.
2183 (CHRTYPE): Likewise.
2184 (BLKTYPE): Likewise.
2185 (DIRTYPE): Likewise.
2186 (FIFOTYPE): Likewise.
2187 (CONTTYPE): Likewise.
2192 (TUWRITE): Likewise.
2195 (TGWRITE): Likewise.
2198 (TOWRITE): Likewise.
2200 [POSIX] (TSVTX): Expect constant.
2202 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2204 * Makefile (tests): Change dependencies to ....
2205 (tests-special): ... additions to this variable.
2206 (tests): Depend on $(tests-special).
2207 * Makerules (check-abi-list): New variable.
2208 (check-abi): Depend on $(check-abi-list).
2209 [$(subdir) = elf] (tests-special): Add
2210 $(objpfx)check-abi-libc.out.
2211 [$(build-shared) = yes && subdir] (tests-special): Add
2213 [$(build-shared) = yes && subdir] (tests): Do not depend on
2215 * Rules (tests): Depend on $(tests-special).
2216 (xtests): Depend on $(xtests-special).
2217 * catgets/Makefile (tests): Change dependencies to ....
2218 (tests-special): ... additions to this variable.
2219 * conform/Makefile (tests): Change dependencies to ....
2220 (tests-special): ... additions to this variable.
2221 * elf/Makefile (tests): Change dependencies to ....
2222 (tests-special): ... additions to this variable.
2223 * grp/Makefile (tests): Change dependencies to ....
2224 (tests-special): ... additions to this variable.
2225 * iconv/Makefile (xtests): Change dependencies to ....
2226 (xtests-special): ... additions to this variable.
2227 * iconvdata/Makefile (tests): Change dependencies to ....
2228 (tests-special): ... additions to this variable.
2229 * intl/Makefile (tests): Change dependencies to ....
2230 (tests-special): ... additions to this variable. Also add
2231 $(objpfx)tst-gettext.out.
2232 * io/Makefile (tests): Change dependencies to ....
2233 (tests-special): ... additions to this variable.
2234 * libio/Makefile (tests): Change dependencies to ....
2235 (tests-special): ... additions to this variable.
2236 * malloc/Makefile (tests): Change dependencies to ....
2237 (tests-special): ... additions to this variable.
2238 * misc/Makefile (tests): Change dependencies to ....
2239 (tests-special): ... additions to this variable.
2240 * nptl/Makefile (tests): Change dependencies to ....
2241 (tests-special): ... additions to this variable.
2242 * nptl_db/Makefile (tests): Change dependencies to ....
2243 (tests-special): ... additions to this variable.
2244 * posix/Makefile (tests): Change dependencies to ....
2245 (tests-special): ... additions to this variable.
2246 (xtests): Change dependencies to ....
2247 (xtests-special): ... additions to this variable.
2248 * resolv/Makefile (tests): Change dependencies to ....
2249 (tests-special): ... additions to this variable.
2250 (xtests): Change dependencies to ....
2251 (xtests-special): ... additions to this variable.
2252 * stdio-common/Makefile (tests): Change dependencies to ....
2253 (tests-special): ... additions to this variable.
2254 (do-tst-unbputc): Remove target.
2255 (do-tst-printf): Likewise.
2256 * stdlib/Makefile (tests): Change dependencies to ....
2257 (tests-special): ... additions to this variable.
2258 * string/Makefile (tests): Change dependencies to ....
2259 (tests-special): ... additions to this variable.
2260 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2261 (tests-special): ... additions to this variable.
2263 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2265 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2267 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2268 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2270 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2271 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2272 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2273 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2274 * conform/data/libgen.h-data [XPG3]: Likewise.
2275 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2276 * conform/data/ndbm.h-data [XPG3]: Likewise.
2277 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2278 * conform/data/netdb.h-data [XPG3]: Likewise.
2279 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2280 * conform/data/poll.h-data [XPG3]: Likewise.
2281 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2282 * conform/data/strings.h-data [XPG3]: Likewise.
2283 * conform/data/stropts.h-data [XPG3]: Likewise.
2284 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2285 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2286 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2288 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2289 * conform/data/sys/time.h-data [XPG3]: Likewise.
2290 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2291 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2292 * conform/data/sys/un.h-data [XPG3]: Likewise.
2293 * conform/data/syslog.h-data [XPG3]: Likewise.
2294 * conform/data/ucontext.h-data [XPG3]: Likewise.
2295 * conform/data/utmpx.h-data [XPG3]: Likewise.
2296 * conform/data/varargs.h-data [UNIX98]: Enable file.
2298 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2300 * math/libm-test.inc (struct test_f_f_data): Move expected results
2301 into structure for each rounding mode.
2302 (struct test_ff_f_data): Likewise.
2303 (struct test_ff_f_data_nexttoward): Likewise.
2304 (struct test_fi_f_data): Likewise.
2305 (struct test_fl_f_data): Likewise.
2306 (struct test_if_f_data): Likewise.
2307 (struct test_fff_f_data): Likewise.
2308 (struct test_c_f_data): Likewise.
2309 (struct test_f_f1_data): Likewise.
2310 (struct test_fF_f1_data): Likewise.
2311 (struct test_ffI_f1_data): Likewise.
2312 (struct test_c_c_data): Likewise.
2313 (struct test_cc_c_data): Likewise.
2314 (struct test_f_i_data): Likewise.
2315 (struct test_ff_i_data): Likewise.
2316 (struct test_f_l_data): Likewise.
2317 (struct test_f_L_data): Likewise.
2318 (struct test_fFF_11_data): Likewise.
2320 (RM_FE_DOWNWARD): Likewise.
2321 (RM_FE_TONEAREST): Likewise.
2322 (RM_FE_TOWARDZERO): Likewise.
2323 (RM_FE_UPWARD): Likewise.
2324 (RUN_TEST_LOOP_f_f): Update references to expected results.
2325 (RUN_TEST_LOOP_2_f): Likewise.
2326 (RUN_TEST_LOOP_fff_f): Likewise.
2327 (RUN_TEST_LOOP_c_f): Likewise.
2328 (RUN_TEST_LOOP_f_f1): Likewise.
2329 (RUN_TEST_LOOP_fF_f1): Likewise.
2330 (RUN_TEST_LOOP_fI_f1): Likewise.
2331 (RUN_TEST_LOOP_ffI_f1): Likewise.
2332 (RUN_TEST_LOOP_c_c): Likewise.
2333 (RUN_TEST_LOOP_cc_c): Likewise.
2334 (RUN_TEST_LOOP_f_i): Likewise.
2335 (RUN_TEST_LOOP_f_i_tg): Likewise.
2336 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2337 (RUN_TEST_LOOP_f_b): Likewise.
2338 (RUN_TEST_LOOP_f_b_tg): Likewise.
2339 (RUN_TEST_LOOP_f_l): Likewise.
2340 (RUN_TEST_LOOP_f_L): Likewise.
2341 (RUN_TEST_LOOP_fFF_11): Likewise.
2342 * math/gen-libm-test.pl (parse_args): Output four copies of
2343 expected results for each test.
2345 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2346 (__ASSUME_UTIMES): Remove.
2347 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2348 (__ASSUME_UTIMES): Likewise.
2350 * math/gen-auto-libm-tests.c: Update comment on output format.
2351 (output_for_one_input_case): Generate before-rounding and
2352 after-rounding information as conditions on output flags not
2353 floating-point format.
2354 * math/auto-libm-test-out: Regenerated.
2355 * math/gen-libm-test.pl (cond_value): New function.
2356 (or_cond_value): Use cond_value.
2357 (generate_testfile): Handle conditional exceptions.
2359 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2361 * math/libm-test.inc (max_valid_error): New variable.
2362 (init_max_error): Take new argument specifying whether function
2363 results are exactly determined. Set max_valid_error and bound
2364 other variables for errors based on this argument.
2365 (set_max_error): Do not record results above max_valid_error.
2366 (check_float_internal): Only accept errors of up to 0.5ulps if
2367 also at most max_valid_error.
2368 (START): Take new argument EXACT and pass it to init_max_error.
2369 (acos_test): Update call to START.
2370 (acos_test_tonearest): Likewise.
2371 (acos_test_towardzero): Likewise.
2372 (acos_test_downward): Likewise.
2373 (acos_test_upward): Likewise.
2374 (acosh_test): Likewise.
2375 (asin_test): Likewise.
2376 (asin_test_tonearest): Likewise.
2377 (asin_test_towardzero): Likewise.
2378 (asin_test_downward): Likewise.
2379 (asin_test_upward): Likewise.
2380 (asinh_test): Likewise.
2381 (atan_test): Likewise.
2382 (atanh_test): Likewise.
2383 (atan2_test): Likewise.
2384 (cabs_test): Likewise.
2385 (cacos_test): Likewise.
2386 (cacosh_test): Likewise.
2387 (carg_test): Likewise.
2388 (casin_test): Likewise.
2389 (casinh_test): Likewise.
2390 (catan_test): Likewise.
2391 (catanh_test): Likewise.
2392 (cbrt_test): Likewise.
2393 (ccos_test): Likewise.
2394 (ccosh_test): Likewise.
2395 (ceil_test): Likewise.
2396 (cexp_test): Likewise.
2397 (cimag_test): Likewise.
2398 (clog_test): Likewise.
2399 (clog10_test): Likewise.
2400 (conj_test): Likewise.
2401 (copysign_test): Likewise.
2402 (cos_test): Likewise.
2403 (cos_test_tonearest): Likewise.
2404 (cos_test_towardzero): Likewise.
2405 (cos_test_downward): Likewise.
2406 (cos_test_upward): Likewise.
2407 (cosh_test): Likewise.
2408 (cosh_test_tonearest): Likewise.
2409 (cosh_test_towardzero): Likewise.
2410 (cosh_test_downward): Likewise.
2411 (cosh_test_upward): Likewise.
2412 (cpow_test): Likewise.
2413 (cproj_test): Likewise.
2414 (creal_test): Likewise.
2415 (csin_test): Likewise.
2416 (csinh_test): Likewise.
2417 (csqrt_test): Likewise.
2418 (ctan_test): Likewise.
2419 (ctan_test_tonearest): Likewise.
2420 (ctan_test_towardzero): Likewise.
2421 (ctan_test_downward): Likewise.
2422 (ctan_test_upward): Likewise.
2423 (ctanh_test): Likewise.
2424 (ctanh_test_tonearest): Likewise.
2425 (ctanh_test_towardzero): Likewise.
2426 (ctanh_test_downward): Likewise.
2427 (ctanh_test_upward): Likewise.
2428 (erf_test): Likewise.
2429 (erfc_test): Likewise.
2430 (exp_test): Likewise.
2431 (exp_test_tonearest): Likewise.
2432 (exp_test_towardzero): Likewise.
2433 (exp_test_downward): Likewise.
2434 (exp_test_upward): Likewise.
2435 (exp10_test): Likewise.
2436 (exp10_test_tonearest): Likewise.
2437 (exp10_test_towardzero): Likewise.
2438 (exp10_test_downward): Likewise.
2439 (exp10_test_upward): Likewise.
2440 (pow10_test): Likewise.
2441 (exp2_test): Likewise.
2442 (expm1_test): Likewise.
2443 (expm1_test_tonearest): Likewise.
2444 (expm1_test_towardzero): Likewise.
2445 (expm1_test_downward): Likewise.
2446 (expm1_test_upward): Likewise.
2447 (fabs_test): Likewise.
2448 (fdim_test): Likewise.
2449 (floor_test): Likewise.
2450 (fma_test): Likewise.
2451 (fma_test_towardzero): Likewise.
2452 (fma_test_downward): Likewise.
2453 (fma_test_upward): Likewise.
2454 (fmax_test): Likewise.
2455 (fmin_test): Likewise.
2456 (fmod_test): Likewise.
2457 (fpclassify_test): Likewise.
2458 (frexp_test): Likewise.
2459 (hypot_test): Likewise.
2460 (ilogb_test): Likewise.
2461 (isfinite_test): Likewise.
2462 (finite_test): Likewise.
2463 (isgreater_test): Likewise.
2464 (isgreaterequal_test): Likewise.
2465 (isinf_test): Likewise.
2466 (isless_test): Likewise.
2467 (islessequal_test): Likewise.
2468 (islessgreater_test): Likewise.
2469 (isnan_test): Likewise.
2470 (isnormal_test): Likewise.
2471 (issignaling_test): Likewise.
2472 (isunordered_test): Likewise.
2473 (j0_test): Likewise.
2474 (j1_test): Likewise.
2475 (jn_test): Likewise.
2476 (ldexp_test): Likewise.
2477 (lgamma_test): Likewise.
2478 (gamma_test): Likewise.
2479 (lrint_test): Likewise.
2480 (lrint_test_tonearest): Likewise.
2481 (lrint_test_towardzero): Likewise.
2482 (lrint_test_downward): Likewise.
2483 (lrint_test_upward): Likewise.
2484 (llrint_test): Likewise.
2485 (llrint_test_tonearest): Likewise.
2486 (llrint_test_towardzero): Likewise.
2487 (llrint_test_downward): Likewise.
2488 (llrint_test_upward): Likewise.
2489 (log_test): Likewise.
2490 (log10_test): Likewise.
2491 (log1p_test): Likewise.
2492 (log2_test): Likewise.
2493 (logb_test): Likewise.
2494 (logb_test_downward): Likewise.
2495 (lround_test): Likewise.
2496 (llround_test): Likewise.
2497 (modf_test): Likewise.
2498 (nearbyint_test): Likewise.
2499 (nextafter_test): Likewise.
2500 (nexttoward_test): Likewise.
2501 (pow_test): Likewise.
2502 (pow_test_tonearest): Likewise.
2503 (pow_test_towardzero): Likewise.
2504 (pow_test_downward): Likewise.
2505 (pow_test_upward): Likewise.
2506 (remainder_test): Likewise.
2507 (drem_test): Likewise.
2508 (remainder_test_tonearest): Likewise.
2509 (drem_test_tonearest): Likewise.
2510 (remainder_test_towardzero): Likewise.
2511 (drem_test_towardzero): Likewise.
2512 (remainder_test_downward): Likewise.
2513 (drem_test_downward): Likewise.
2514 (remainder_test_upward): Likewise.
2515 (drem_test_upward): Likewise.
2516 (remquo_test): Likewise.
2517 (rint_test): Likewise.
2518 (rint_test_tonearest): Likewise.
2519 (rint_test_towardzero): Likewise.
2520 (rint_test_downward): Likewise.
2521 (rint_test_upward): Likewise.
2522 (round_test): Likewise.
2523 (scalb_test): Likewise.
2524 (scalbn_test): Likewise.
2525 (scalbln_test): Likewise.
2526 (signbit_test): Likewise.
2527 (sin_test): Likewise.
2528 (sin_test_tonearest): Likewise.
2529 (sin_test_towardzero): Likewise.
2530 (sin_test_downward): Likewise.
2531 (sin_test_upward): Likewise.
2532 (sincos_test): Likewise.
2533 (sinh_test): Likewise.
2534 (sinh_test_tonearest): Likewise.
2535 (sinh_test_towardzero): Likewise.
2536 (sinh_test_downward): Likewise.
2537 (sinh_test_upward): Likewise.
2538 (sqrt_test): Likewise.
2539 (sqrt_test_tonearest): Likewise.
2540 (sqrt_test_towardzero): Likewise.
2541 (sqrt_test_downward): Likewise.
2542 (sqrt_test_upward): Likewise.
2543 (tan_test): Likewise.
2544 (tan_test_tonearest): Likewise.
2545 (tan_test_towardzero): Likewise.
2546 (tan_test_downward): Likewise.
2547 (tan_test_upward): Likewise.
2548 (tanh_test): Likewise.
2549 (tgamma_test): Likewise.
2550 (trunc_test): Likewise.
2551 (y0_test): Likewise.
2552 (y1_test): Likewise.
2553 (yn_test): Likewise.
2554 (significand_test): Likewise.
2556 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2557 individual tests in comment.
2558 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2559 (prev_max_error): New variable.
2560 (prev_real_max_error): Likewise.
2561 (prev_imag_max_error): Likewise.
2562 (compare_ulp_data): Don't refer to test names in comment.
2563 (find_test_ulps): Remove function.
2564 (find_function_ulps): Likewise.
2565 (find_complex_function_ulps): Likewise.
2566 (init_max_error): Take function name as argument. Look up ulps
2568 (print_ulps): Remove function.
2569 (print_max_error): Use prev_max_error instead of calling
2571 (print_complex_max_error): Use prev_real_max_error and
2572 prev_imag_max_error instead of calling find_complex_function_ulps.
2573 (check_float_internal): Take max_ulp parameter instead of calling
2574 find_test_ulps. Don't call print_ulps.
2575 (check_float): Update call to check_float_internal.
2576 (check_complex): Update calls to check_float_internal.
2577 (START): Pass argument to init_max_error.
2578 * math/gen-libm-test.pl (%results): Don't include "kind"
2580 (parse_ulps): Don't handle ulps of individual tests.
2581 (print_ulps_file): Likewise.
2582 (output_ulps): Likewise.
2583 * math/README.libm-test: Update.
2584 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2586 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2587 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2588 * sysdeps/arm/libm-test-ulps: Likewise.
2589 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2590 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2591 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2592 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2593 * sysdeps/microblaze/libm-test-ulps: Likewise.
2594 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2595 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2596 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2597 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2598 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2599 * sysdeps/sh/libm-test-ulps: Likewise.
2600 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2601 * sysdeps/tile/libm-test-ulps: Likewise.
2602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2604 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2606 * math/libm-test.inc (print_complex_max_error): Check separately
2607 whether real and imaginary errors are within allowed range and
2608 pass 0 to print_complex_function_ulps instead of value within
2611 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2613 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2615 (get_handles_fopen): Likewise.
2616 (do_write_test): Likewise.
2618 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2620 * libio/fileops.c (do_ftell): Use cached offset when
2622 * libio/iofwide.c (do_ftell_wide): Likewise.
2623 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2625 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2628 * libio/libioP.h (get_file_offset): New function.
2629 * libio/fileops.c (get_file_offset): Likewise.
2630 (do_ftell): Likewise.
2631 (_IO_new_file_seekoff): Split out ftell logic.
2632 * libio/wfileops.c (do_ftell_wide): Likewise.
2633 (_IO_wfile_seekoff): Split out ftell logic.
2634 * libio/tst-ftell-active-handler.c: New test case.
2635 * libio/Makefile (tests): Add it.
2637 2014-03-03 Roland McGrath <roland@hack.frob.com>
2639 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2640 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2642 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2645 * nscd/connections.c (nscd_init): Call do_exit.
2646 (start_threads): Call do_exit and notify_parent.
2647 (begin_drop_privileges): Call do_exit.
2648 (finish_drop_privileges): Likewise.
2649 * nscd/selinux.c (preserve_capabilities): Likewise.
2650 (install_real_capabilities): Likewise.
2651 (nscd_selinux_enabled): Likewise.
2652 (avc_create_thread): Likewise.
2653 (avc_alloc_lock): Likewise.
2654 (nscd_avc_init): Likewise.
2655 * nscd/nscd.c (parent_fd): New static variable.
2656 (main): Create a pipe between parent and child processes.
2657 Skip closing parent_fd.
2658 (monitor_child): New function.
2659 (do_exit): Likewise.
2660 (notify_parent): Likewise.
2661 * nscd/nscd.h (notify_parent): Likewise.
2662 (do_exit): Likewise.
2664 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2666 * malloc/malloc.c (__libc_calloc): Revert last change.
2668 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2672 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2674 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2678 (__libc_ifunc_impl_list): Likewise.
2679 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2680 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2681 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2682 * string/strrchr.c: Define STRRCHR.
2684 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2686 * benchtest/bench-strtok.c (simple_strtok): Delete.
2687 (strtok_string): Use as benchmark.
2688 * string/strtok (STRTOK): New macro.
2690 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2692 * manual/threads.texi: Add header and standard comments to all
2695 * elf/dl-lookup.c (check_match): New function.
2696 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2697 (do_lookup_x): Remove nested function check_match. Use non-nested
2698 function check_match.
2700 2014-02-28 Roland McGrath <roland@hack.frob.com>
2702 * csu/Makefile (generated, before-compile): Use += rather than =.
2703 * catgets/Makefile (generated, generated-dirs): Likewise.
2704 * debug/Makefile (generated): Likewise.
2705 * dlfcn/Makefile (generated): Likewise.
2706 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2707 * iconvdata/Makefile (before-compile, generated): Likewise.
2708 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2709 * libio/Makefile (generated): Likewise.
2710 * malloc/Makefile (generated): Likewise.
2711 * manual/Makefile (generated, generated-dirs): Likewise.
2712 * misc/Makefile (generated): Likewise.
2713 * posix/Makefile (generated): Likewise.
2714 * resolv/Makefile (generated): Likewise.
2715 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2716 * timezone/Makefile (generated, generated-dirs): Likewise.
2718 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2720 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2722 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2725 POWER8 llround ifunc implementation.
2726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2727 POWER8 implementation.
2728 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2729 POWER8 llround implementation.
2731 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2733 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2736 POWER8 llrint ifunc implementation.
2737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2738 POWER8 implementation.
2739 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2740 POWER8 llrint implementation.
2742 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2744 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2747 POWER8 finite ifunc implementation.
2748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2749 POWER8 implementation.
2750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2752 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2753 POWER8 finite implementation.
2754 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2756 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2758 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2761 POWER8 isinf ifunc implementation.
2762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2763 POWER8 implementation.
2764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2766 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2767 POWER8 isinf implementation.
2768 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2770 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2772 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2773 Add hwcap2 initialization.
2774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2777 POWER8 isnan ifunc implementation.
2778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2779 POWER8 implementation.
2780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2782 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2783 POWER8 isnan implementation.
2784 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2786 2014-02-27 Joey Ye <joey.ye@arm.com>
2788 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2789 (_FP_NANFRAC_Q): Set to zero.
2791 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2794 * math/auto-libm-test-in: New test inputs.
2795 * math/auto-libm-test-out: Regenerate.
2796 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2799 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2801 2014-02-27 Joseph Myers <joseph@codesourcery.com>
2803 * scripts/evaluate-test.sh: Take new argument indicating whether
2804 failure is expected.
2805 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2806 indicating whether failure is expected.
2807 * conform/Makefile (test-xfail-run-conformtest): New variable.
2808 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2810 * posix/Makefile (test-xfail-annexc): New variable.
2811 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2813 2014-02-26 Joseph Myers <joseph@codesourcery.com>
2815 * argp/Makefile: Include Makeconfig immediately after defining
2817 * assert/Makefile: Likewise.
2818 * benchtests/Makefile: Likewise.
2819 * catgets/Makefile: Likewise.
2820 * conform/Makefile: Likewise.
2821 * crypt/Makefile: Likewise.
2822 * csu/Makefile: Likewise.
2823 (all): Remove target.
2824 * ctype/Makefile: Include Makeconfig immediately after defining
2826 * debug/Makefile: Likewise.
2827 * dirent/Makefile: Likewise.
2828 * dlfcn/Makefile: Likewise.
2829 * gmon/Makefile: Likewise.
2830 * gnulib/Makefile: Likewise.
2831 * grp/Makefile: Likewise.
2832 * gshadow/Makefile: Likewise.
2833 * hesiod/Makefile: Likewise.
2834 * hurd/Makefile: Likewise.
2835 (all): Remove target.
2836 * iconvdata/Makefile: Include Makeconfig immediately after
2838 * inet/Makefile: Likewise.
2839 * intl/Makefile: Likewise.
2840 * io/Makefile: Likewise.
2841 * libio/Makefile: Likewise.
2842 (all): Remove target.
2843 * locale/Makefile: Include Makeconfig immediately after defining
2845 * login/Makefile: Likewise.
2846 * mach/Makefile: Likewise.
2847 (all): Remove target.
2848 * malloc/Makefile: Include Makeconfig immediately after defining
2850 (all): Remove target.
2851 * manual/Makefile: Include Makeconfig immediately after defining
2853 * math/Makefile: Likewise.
2854 * misc/Makefile: Likewise.
2855 * nis/Makefile: Likewise.
2856 * nss/Makefile: Likewise.
2857 * po/Makefile: Likewise.
2858 (all): Remove target.
2859 * posix/Makefile: Include Makeconfig immediately after defining
2861 * pwd/Makefile: Likewise.
2862 * resolv/Makefile: Likewise.
2863 * resource/Makefile: Likewise.
2864 * rt/Makefile: Likewise.
2865 * setjmp/Makefile: Likewise.
2866 * shadow/Makefile: Likewise.
2867 * signal/Makefile: Likewise.
2868 * socket/Makefile: Likewise.
2869 * soft-fp/Makefile: Likewise.
2870 * stdio-common/Makefile: Likewise.
2871 * stdlib/Makefile: Likewise.
2872 * streams/Makefile: Likewise.
2873 * string/Makefile: Likewise.
2874 * sunrpc/Makefile: Likewise.
2875 (all): Remove target.
2876 * sysvipc/Makefile: Include Makeconfig immediately after defining
2878 * termios/Makefile: Likewise.
2879 * time/Makefile: Likewise.
2880 * timezone/Makefile: Likewise.
2881 (all): Remove target.
2882 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2884 * wctype/Makefile: Likewise.
2886 2014-02-26 Steve Ellcey <sellcey@mips.com>
2888 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2889 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2890 (libc_feholdexcept_setround_mips): Ditto.
2891 (libc_feholdsetround): New.
2892 (libc_feholdsetroundf): New.
2893 (libc_feholdsetroundl): New.
2894 (libc_feupdateenv_test_mips): New.
2895 (libc_feupdateenv_test): New.
2896 (libc_feupdateenv_testf): New.
2897 (libc_feupdateenv_testl): New.
2898 (libc_feresetround): New.
2899 (libc_feresetroundf): New.
2900 (libc_feresetroundl): New.
2901 (libc_fetestexcept_mips): New.
2902 (libc_fetestexcept): New.
2903 (libc_fetestexceptf): New.
2904 (libc_fetestexceptl): New.
2906 (libc_feholdexcept_setround_mips_ctx): New.
2907 (libc_feholdexcept_setround_ctx): New.
2908 (libc_feholdexcept_setroundf_ctx): New.
2909 (libc_feholdexcept_setroundl_ctx): New.
2910 (libc_fesetenv_mips_ctx): New.
2911 (libc_fesetenv_ctx): New.
2912 (libc_fesetenv_ctxf): New.
2913 (libc_fesetenv_ctxl): New.
2914 (libc_feupdateenv_mips_ctx): New.
2915 (libc_feupdateenv_ctx): New.
2916 (libc_feupdateenvf_ctx): New.
2917 (libc_feupdateenvl_ctx): New.
2918 (libc_feholdsetround_mips_ctx): New.
2919 (libc_feholdsetround_ctx): New.
2920 (libc_feholdsetroundf_ctx): New.
2921 (libc_feholdsetroundl_ctx): New.
2922 (libc_feresetround_mips_ctx): New.
2923 (libc_feresetround_ctx): New.
2924 (libc_feresetroundf_ctx): New.
2925 (libc_feresetroundl_ctx): New.
2927 2014-02-26 Carlos O'Donell <carlos@redhat.com>
2929 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2931 * manual/ipc.texi: New file.
2932 * manual/Makefile (chapters): Add ipc.
2933 * manual/job.texi: Add "Inter-Process Communication" to next.
2934 * manual/process.texi: Add "Inter-Process Communication" to prev.
2936 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2940 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
2942 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2944 * manual/arith.texi: Fix spaces after sentences.
2945 * manual/charset.texi: Likewise.
2946 * manual/errno.texi: Likewise.
2947 * manual/install.texi: Likewise.
2948 * manual/llio.texi: Likewise.
2949 * manual/locale.texi: Likewise.
2950 * manual/maint.texi: Likewise.
2951 * manual/math.texi: Likewise.
2952 * manual/memory.texi: Likewise.
2953 * manual/message.texi: Likewise.
2954 * manual/probes.texi: Likewise.
2955 * manual/resource.texi: Likewise.
2956 * manual/signal.texi: Likewise.
2957 * manual/socket.texi: Likewise.
2958 * manual/stdio.texi: Likewise.
2959 * manual/string.texi: Likewise.
2960 * manual/time.texi: Likewise.
2961 * manual/users.texi: Likewise.
2963 2014-02-25 Carlos O'Donell <carlos@redhat.com>
2966 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2967 _DEFAULT_SOURCE is defined.
2969 2014-02-25 Ulrich Drepper <drepper@gmail.com>
2970 Carlos O'Donell <carlos@redhat.com>
2973 * elf/dl-tls.c (_dl_count_modids): New function.
2974 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2975 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2976 audit library and increment generation counter.
2977 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2978 * elf/tst-audit9.c: New file.
2979 * elf/tst-auditmod9a.c: New file.
2980 * elf/tst-auditmod9b.c: New file.
2981 * elf/Makefile: Add rules to build and run tst-audit9.
2983 2014-02-25 Florian Weimer <fweimer@redhat.com>
2986 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2988 2014-02-25 Will Newton <will.newton@linaro.org>
2990 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2991 (__longjmp): Restore sp and lr before restoring callee
2992 saved registers. Add longjmp and longjmp_target
2993 SystemTap probe point.
2994 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2995 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2996 Define to zero to match jmpbuf layout.
2997 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2998 (__sigsetjmp): Save sp and lr before saving callee
2999 saved registers. Add setjmp SystemTap probe point.
3001 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3003 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3005 2014-02-24 Andreas Schwab <schwab@suse.de>
3008 * elf/pldd.c (wait_for_ptrace_stop): New function.
3009 (main): Call it after attaching.
3011 2014-02-22 Roland McGrath <roland@hack.frob.com>
3013 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3014 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3015 Versions files is now verboten.
3016 * hurd/Versions (libc: GLIBC_2.0):
3017 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3018 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3019 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3020 * mach/Versions: Likewise.
3022 * csu/Versions: Remove unused %include.
3023 * resolv/Versions: Likewise.
3025 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3027 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3028 ($(objpfx)check-local-headers.out): Likewise.
3029 ($(objpfx)begin-end-check.out): Likewise.
3030 * Makerules (check-abi-%.out): Likewise.
3031 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3032 ($(objpfx)test2.cat): Likewise.
3033 ($(objpfx)de/libc.cat): Likewise.
3034 ($(objpfx)test-gencat.out): Likewise.
3035 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3036 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3037 ($(objpfx)noload-mem): Likewise.
3038 ($(objpfx)tst-pathopt.out): Likewise.
3039 ($(objpfx)tst-rtld-load-self.out): Likewise.
3040 ($(objpfx)tst-array1-cmp.out): Likewise.
3041 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3042 ($(objpfx)tst-array2-cmp.out): Likewise.
3043 ($(objpfx)tst-array3-cmp.out): Likewise.
3044 ($(objpfx)tst-array4-cmp.out): Likewise.
3045 ($(objpfx)tst-array5-cmp.out): Likewise.
3046 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3047 ($(objpfx)check-textrel.out): Likewise.
3048 ($(objpfx)check-execstack.out): Likewise.
3049 ($(objpfx)check-localplt.out): Likewise.
3050 ($(objpfx)order2-cmp.out): Likewise.
3051 ($(objpfx)tst-leaks1-mem): Likewise.
3052 ($(objpfx)tst-leaks1-static-mem): Likewise.
3053 ($(objpfx)tst-initorder-cmp.out): Likewise.
3054 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3055 ($(objpfx)tst-unused-dep.out): Likewise.
3056 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3057 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3058 * iconv/Makefile (test-iconvconfig): Likewise.
3059 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3060 ($(objpfx)iconv-test.out): Likewise.
3061 ($(objpfx)tst-tables.out): Likewise.
3062 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3063 ($(objpfx)tst-gettext.out): Likewise.
3064 ($(objpfx)tst-translit.out): Likewise.
3065 ($(objpfx)tst-gettext2.out): Likewise.
3066 ($(objpfx)tst-gettext4.out): Likewise.
3067 ($(objpfx)tst-gettext6.out): Likewise.
3068 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3069 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3070 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3071 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3072 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3073 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3074 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3075 ($(objpfx)wordexp-tst.out): Likewise.
3076 ($(objpfx)annexc.out): Likewise.
3077 ($(objpfx)tst-fnmatch-mem): Likewise.
3078 ($(objpfx)bug-regex2-mem): Likewise.
3079 ($(objpfx)bug-regex14-mem): Likewise.
3080 ($(objpfx)bug-regex21-mem): Likewise.
3081 ($(objpfx)bug-regex31-mem): Likewise.
3082 ($(objpfx)tst-vfork3-mem): Likewise.
3083 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3084 ($(objpfx)tst-pcre-mem): Likewise.
3085 ($(objpfx)tst-boost-mem): Likewise.
3086 ($(objpfx)tst-getconf.out): Likewise.
3087 ($(objpfx)bug-ga2-mem): Likewise.
3088 ($(objpfx)bug-glob2-mem): Likewise.
3089 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3090 ($(objpfx)mtrace-tst-leaks2): Likewise.
3091 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3092 ($(objpfx)tst-printf.out): Likewise.
3093 ($(objpfx)tst-setvbuf1.out): Likewise.
3094 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3095 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3096 ($(objpfx)tst-fmtmsg.out): Likewise.
3097 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3098 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3100 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3101 * bits/sigaction.h [__USE_MISC]: Likewise.
3102 * bits/waitstatus.h: Update #endif comments.
3103 * ctype/ctype.h: Likewise.
3104 * dirent/dirent.h: Likewise.
3105 [__USE_MISC]: Remove redundant conditionals.
3106 * grp/grp.h: Update #endif comments.
3107 [__USE_GNU]: Remove redundant conditionals.
3108 [__USE_MISC]: Likewise.
3109 * inet/netinet/in.h [__USE_GNU]: Likewise.
3110 * io/sys/stat.h [__USE_MISC]: Likewise.
3111 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3112 * libio/bits/stdio.h: Update #endif comments.
3113 [__USE_MISC]: Remove redundant conditionals.
3114 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3115 * libio/stdio.h: Update #endif comments.
3116 [__USE_MISC]: Remove redundant conditionals.
3117 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3118 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3119 * math/math.h: Update #else and #endif comments.
3120 [__USE_MISC]: Remove redundant conditionals.
3121 * misc/sys/uio.h: Update #endif comments.
3122 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3123 * posix/glob.h [__USE_MISC]: Likewise.
3124 * posix/sys/types.h: Update #endif comments.
3125 [__USE_MISC]: Remove redundant conditionals.
3126 * posix/sys/wait.h: Update #endif comments.
3127 [__USE_MISC]: Remove redundant conditionals.
3128 * posix/unistd.h: Update #endif comments.
3129 [__USE_MISC]: Remove redundant conditionals.
3130 * pwd/pwd.h [__USE_GNU]: Likewise.
3131 [__USE_MISC]: Likewise.
3132 * resolv/netdb.h [__USE_GNU]: Likewise.
3133 * signal/signal.h: Update #endif comments.
3134 [__USE_MISC]: Remove redundant conditionals.
3135 * stdlib/stdlib.h: Update #else and #endif comments.
3136 [__USE_MISC]: Remove redundant conditionals.
3137 [__USE_GNU]: Likewise.
3138 * string/bits/string2.h [__USE_MISC]: Likewise.
3139 * string/string.h: Update #endif comments.
3140 [__USE_MISC]: Remove redundant conditionals.
3141 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3143 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3144 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3145 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3147 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3149 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3151 [__USE_MISC]: Remove redundant conditionals.
3152 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3153 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3154 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3155 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3156 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3158 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3159 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3161 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3162 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3164 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3166 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3167 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3169 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3171 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3172 * sysdeps/x86/bits/string.h: Update #endif comments.
3173 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3175 * time/sys/time.h: Update #endif comments.
3176 * time/time.h: Likewise.
3177 [__USE_MISC]: Remove redundant conditionals.
3179 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3182 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3184 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3186 * Versions.def (librt): Add GLIBC_2.17.
3188 2014-02-21 Adam Conrad <adconrad@0c3.net>
3190 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3191 synonym for _SYS_AUXV_H to allow direct inclusion.
3192 * sysdeps/sparc/bits/hwcap.h: Likewise.
3193 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3194 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3195 * sysdeps/sparc/sysdep.h: Likewise.
3197 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3199 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3201 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3203 * benchtests/bench-strrchr.c: Print length instead of position.
3205 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3208 * sysdeps/unix/sysv/linux/kernel-features.h
3209 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3210 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3211 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3212 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3214 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3215 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3216 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3217 (__ASSUME_SENDMMSG): Define instead of using previous
3218 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3219 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3220 (__ASSUME_SENDMMSG_SYSCALL): Define.
3221 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3222 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3224 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3225 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3227 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3228 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3230 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3231 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3232 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3233 [__ASSUME_SENDMMSG]: Change conditionals to
3234 [__ASSUME_SENDMMSG_SOCKETCALL].
3235 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3236 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3238 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3239 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3241 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3242 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3243 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3244 [!__ASSUME_SENDMMSG]: Change conditional to
3245 [!__ASSUME_SENDMMSG_SOCKETCALL].
3246 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3247 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3251 * sysdeps/unix/sysv/linux/kernel-features.h
3252 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3253 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3254 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3255 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3256 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3257 [__i386__ || __sparc__]
3258 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3259 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3260 (__ASSUME_RECVMMSG): Define instead of using previous
3261 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3262 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3263 (__ASSUME_RECVMMSG_SYSCALL): Define.
3264 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3265 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3267 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3268 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3270 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3271 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3273 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3274 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3275 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3276 [__ASSUME_RECVMMSG]: Change condition to
3277 [__ASSUME_RECVMMSG_SOCKETCALL].
3278 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3279 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3281 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3282 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3283 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3285 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3286 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3287 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3288 [!__ASSUME_RECVMMSG]: Change condition to
3289 [!__ASSUME_RECVMMSG_SOCKETCALL].
3290 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3291 (__ASSUME_RECVMMSG_SYSCALL): Define.
3294 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3295 __powerpc__ || __s390__ || __sh__ || __sparc__]
3296 (__ASSUME_SOCKETCALL): Define.
3297 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3298 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3299 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3300 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3301 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3302 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3303 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3304 (__ASSUME_ACCEPT4): Define instead of using previous
3305 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3306 __powerpc__ || __sparc__ || __s390__)] condition.
3307 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3308 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3309 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3310 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3311 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3312 [!__ASSUME_ACCEPT4]: Change condition to
3313 [!__ASSUME_ACCEPT4_SOCKETCALL].
3314 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3315 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3316 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3317 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3318 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3319 __ASSUME_ACCEPT4_SYSCALL.
3320 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3321 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3322 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3323 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3324 __ASSUME_ACCEPT4_SYSCALL.
3325 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3326 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3327 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3328 [__ASSUME_ACCEPT4]: Change condition to
3329 [__ASSUME_ACCEPT4_SOCKETCALL].
3330 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3331 (__ASSUME_SOCKETCALL): Define.
3332 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3333 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3334 (__ASSUME_SOCKETCALL): Define.
3335 (__ASSUME_ACCEPT4): Remove.
3336 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3338 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3339 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3341 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3342 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3344 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3346 (HWCAP_ARM_LPAE): Likewise.
3347 (HWCAP_ARM_EVTSTRM): Likewise.
3348 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3349 Add vpfd32, lpae and evtstrm.
3350 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3353 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3355 * math/auto-libm-test-in: Add tests of clog10.
3356 * math/auto-libm-test-out: Regenerated.
3357 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3358 * sysdeps/i386/fpu/libm-test-ulps: Update.
3359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3361 2014-02-18 Andreas Schwab <schwab@suse.de>
3364 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3365 Store non-zero if the second buffer was newly allocated.
3366 (send_dg): Likewise.
3367 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3368 to send_vc and send_dg.
3369 (res_nsend): Pass NULL for ansp2_malloced.
3370 * resolv/res_query.c (__libc_res_nquery): Add parameter
3371 answerp2_malloced and pass it down to __libc_res_nsend.
3372 (res_nquery): Pass additional NULL to __libc_res_nquery.
3373 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3374 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3375 second answer buffer if answerp2_malloced was set.
3376 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3377 (__libc_res_nquerydomain): Add parameter
3378 answerp2_malloced and pass it down to __libc_res_nquery.
3379 (res_nquerydomain): Pass additional NULL to
3380 __libc_res_nquerydomain.
3381 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3382 additional NULL to __libc_res_nsend and __libc_res_nquery.
3383 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3384 additional NULL to __libc_res_nsearch.
3385 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3386 parameter of __libc_res_nsearch to check for separately allocated
3388 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3390 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3391 additional NULL to __libc_res_nquery.
3392 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3394 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3395 * include/resolv.h: Update prototypes of __libc_res_nquery,
3396 __libc_res_nsearch, __libc_res_nsend.
3398 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3400 * math/auto-libm-test-in: Add tests of fma.
3401 * math/auto-libm-test-out: Regenerated.
3402 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3403 (fma_towardzero_test_data): Likewise.
3404 (fma_downward_test_data): Likewise.
3405 (fma_upward_test_data): Likewise.
3406 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3408 (rounding_modes): Add values for new field.
3409 (func_calc_method): Add value mpfr_fff_f.
3410 (func_calc_desc): Add mpfr_fff_f union field.
3411 (test_function): Add field exact_args.
3412 (FUNC): Add macro argument EXACT_ARGS.
3413 (FUNC_mpfr_f_f): Update call to FUNC.
3414 (FUNC_mpfr_f_f): Likewise.
3415 (FUNC_mpfr_ff_f): Likewise.
3416 (FUNC_mpfr_if_f): Likewise.
3417 (FUNC_mpc_c_f): Likewise.
3418 (FUNC_mpc_c_c): Likewise.
3419 (test_functions): Add fma. Update calls to FUNC.
3420 (handle_input_arg): Add argument exact_args.
3421 (add_test): Update call to handle_input_arg.
3422 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3423 (output_for_one_input_case): Update call to calc_generic_results.
3424 Recalculate exact zero results in each rounding mode.
3426 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3427 non-negative before setting low bit.
3428 * math/auto-libm-test-in: Mark one asin test possibly having
3430 * math/auto-libm-test-out: Regenerated.
3431 * sysdeps/i386/fpu/libm-test-ulps: Update.
3432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3434 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3436 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3437 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3438 ports/sysdeps/unix/sysv/linux/microblaze.
3439 * README: Add missing listing for microblaze*-*-linux-gnu.
3441 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3443 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3444 * sysdeps/unix/sysv/linux/ia64: Move directory from
3445 ports/sysdeps/unix/sysv/linux/ia64.
3446 * README: Update listing for ia64-*-linux-gnu.
3448 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3449 Joseph Myers <joseph@codesourcery.com>
3451 * Makeconfig (test-name): New variable.
3452 (evaluate-test): Likewise.
3453 * Makerules (do-test-clean): Remove .test-result files.
3454 (common-mostlyclean): Likewise.
3455 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3456 * scripts/evaluate-test.sh: New file.
3458 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3460 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3461 separate $(objpfx)tst-fopenloc-cmp.out and
3462 $(objpfx)tst-fopenloc-mem.out targets.
3463 (tests): Update dependencies.
3464 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3465 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3466 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3467 (tst-rxspencer-no-utf8-ARGS): New variable.
3468 (tst-rxspencer-no-utf8-ENV): Likewise.
3469 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3470 instead of $(objpfx)tst-rxspencer-mem.
3471 ($(objpfx)tst-rxspencer-mem): Change target to
3472 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3473 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3474 * posix/tst-rxspencer-no-utf8.c: New file.
3476 * elf/Makefile ($(objpfx)order.out): Remove rule.
3477 [$(run-built-tests) = yes] (tests): Depend on
3478 $(objpfx)order-cmp.out.
3479 ($(objpfx)order-cmp.out): New rule.
3480 [$(run-built-tests) = yes] (tests): Depend on
3481 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3482 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3483 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3484 $(objpfx)tst-array5-static-cmp.out.
3485 ($(objpfx)tst-array1.out): Remove rule.
3486 ($(objpfx)tst-array1-cmp.out): New rule.
3487 ($(objpfx)tst-array1-static.out): Remove rule.
3488 ($(objpfx)tst-array1-static-cmp.out): New rule.
3489 ($(objpfx)tst-array2.out): Remove rule.
3490 ($(objpfx)tst-array2-cmp.out): New rule.
3491 ($(objpfx)tst-array3.out): Remove rule.
3492 ($(objpfx)tst-array3-cmp.out): New rule.
3493 ($(objpfx)tst-array4.out): Remove rule.
3494 ($(objpfx)tst-array4-cmp.out): New rule.
3495 ($(objpfx)tst-array5.out): Remove rule.
3496 ($(objpfx)tst-array5-cmp.out): New rule.
3497 ($(objpfx)tst-array5-static.out): Remove rule.
3498 ($(objpfx)tst-array5-static-cmp.out): New rule.
3499 [$(run-built-tests) = yes] (tests): Depend on
3500 $(objpfx)order2-cmp.out.
3501 ($(objpfx)order2.out): Remove rule.
3502 ($(objpfx)order2-cmp.out): New rule.
3503 ($(objpfx)tst-initorder.out): Remove rule.
3504 [$(run-built-tests) = yes] (tests): Depend on
3505 $(objpfx)tst-initorder-cmp.out.
3506 ($(objpfx)tst-initorder-cmp.out): New rule.
3507 ($(objpfx)tst-initorder2.out): Remove rule.
3508 [$(run-built-tests) = yes] (tests): Depend on
3509 $(objpfx)tst-initorder2-cmp.out.
3510 ($(objpfx)tst-initorder2-cmp.out): New rule.
3511 [$(run-built-tests) = yes] (tests): Depend on
3512 $(objpfx)tst-unused-dep-cmp.out.
3513 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3514 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3515 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3516 on $(objpfx)tst-setvbuf1-cmp.out.
3517 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3518 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3519 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3520 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3521 ($(objpfx)tst-svc.out): Remove rule.
3522 ($(objpfx)tst-svc-cmp.out): New rule.
3524 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3526 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3527 * ctype/ctype.h [__USE_MISC]: Likewise.
3528 * dirent/dirent.h [__USE_MISC]: Likewise.
3529 * grp/grp.h [__USE_MISC]: Likewise.
3530 * io/fcntl.h [__USE_MISC]: Likewise.
3531 * io/sys/stat.h [__USE_MISC]: Likewise.
3532 * libio/stdio.h [__USE_MISC]: Likewise.
3533 * posix/unistd.h [__USE_MISC]: Likewise.
3534 * pwd/pwd.h [__USE_MISC]: Likewise.
3535 * stdlib.h [__USE_MISC]: Likewise.
3536 * string/bits/string2.h [__USE_MISC]: Likewise.
3537 * string/string.h [__USE_MISC]: Likewise.
3538 * time/time.h [__USE_MISC]: Likewise.
3540 2014-02-13 Andreas Schwab <schwab@suse.de>
3543 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3544 second answer buffer if it was separately allocated.
3546 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3548 * sysdeps/mips/math-tests.h: Include <features.h>.
3549 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3550 (ROUNDING_TESTS_long_double): Do not define.
3551 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3552 (EXCEPTION_TESTS_long_double): Likewise.
3553 * sysdeps/mips/mips64/libm-test-ulps: Update.
3555 * include/features.h (__USE_BSD): Remove macro definitions.
3556 (__USE_SVID): Likewise.
3557 (_BSD_SOURCE): Likewise.
3558 (_SVID_SOURCE): Likewise.
3559 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3560 from definition of _DEFAULT_SOURCE.
3561 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3563 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3564 * bits/mman.h [__USE_BSD]: Likewise.
3565 * bits/termios.h [__USE_BSD]: Likewise.
3566 * bits/waitstatus.h [__USE_BSD]: Likewise.
3567 * ctype/ctype.h [__USE_SVID]: Likewise.
3568 * dirent/dirent.h [__USE_BSD]: Likewise.
3569 * grp/grp.h [__USE_SVID]: Likewise.
3570 [__USE_BSD]: Likewise.
3571 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3572 * io/fcntl.h [__USE_BSD]: Likewise.
3573 * io/ftw.h [__USE_BSD]: Likewise.
3574 * io/sys/stat.h [__USE_BSD]: Likewise.
3575 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3576 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3577 * libio/stdio.h [__USE_SVID]: Likewise.
3578 [__USE_BSD]: Likewise.
3579 * math/math.h [__USE_SVID]: Likewise.
3580 [__USE_BSD]: Likewise.
3581 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3582 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3583 * misc/search.h [__USE_SVID]: Likewise.
3584 * misc/sys/mman.h [__USE_BSD]: Likewise.
3585 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3586 * misc/sys/uio.h [__USE_BSD]: Likewise.
3587 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3588 * posix/glob.h [__USE_BSD]: Likewise.
3589 * posix/regex.h [__USE_BSD]: Likewise.
3590 * posix/sys/types.h [__USE_BSD]: Likewise.
3591 [__USE_SVID]: Likewise.
3592 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3593 * posix/sys/wait.h [__USE_BSD]: Likewise.
3594 [__USE_SVID]: Likewise.
3595 * posix/unistd.h [__USE_BSD]: Likewise.
3596 [__USE_SVID]: Likewise.
3597 * pwd/pwd.h [__USE_SVID]: Likewise.
3598 * resolv/netdb.h [__USE_BSD]: Likewise.
3599 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3600 * signal/signal.h [__USE_BSD]: Likewise.
3601 [__USE_SVID]: Likewise.
3602 * socket/sys/socket.h [__USE_BSD]: Likewise.
3603 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3604 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3605 [__USE_SVID]: Likewise.
3606 * string/bits/string2.h [__USE_BSD]: Likewise.
3607 [__USE_SVID]: Likewise.
3608 * string/bits/string3.h [__USE_BSD]: Likewise.
3609 * string/endian.h [__USE_BSD]: Likewise.
3610 * string/string.h [__USE_SVID]: Likewise.
3611 [__USE_BSD]: Likewise.
3612 * string/strings.h [__USE_BSD]: Likewise.
3613 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3614 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3615 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3616 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3617 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3618 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3620 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3622 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3623 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3625 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3626 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3628 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3630 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3631 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3632 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3634 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3636 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3637 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3638 * termios/termios.h [__USE_BSD]: Likewise.
3639 * time/sys/time.h [__USE_BSD]: Likewise.
3640 * time/time.h [__USE_BSD]: Likewise.
3641 [__USE_SVID]: Likewise.
3643 * Makefile (subdir_targets): Remove subdir_lint.out.
3645 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3646 (do-tst-printf): Likewise.
3647 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3648 $(objpfx)tst-printf.out.
3650 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3652 * Makerules (check-abi-%): Change target to
3653 $(objpfx)check-abi-%.out.
3654 (check-abi target): Update dependencies.
3655 (check-abi-pattern variable): Redirect output of diff to $@.
3656 (check-abi variable): Likewise.
3657 * elf/Makefile (check-abi): Update dependencies.
3659 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3661 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3662 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3664 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3665 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3666 value has largest subnormal exponent.
3667 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3668 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3669 * sysdeps/aarch64/soft-fp/sfp-machine.h
3670 (_FP_TININESS_AFTER_ROUNDING): New macro.
3671 * sysdeps/alpha/soft-fp/sfp-machine.h
3672 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3673 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3675 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3676 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3677 * sysdeps/mips/soft-fp/sfp-machine.h
3678 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3679 * sysdeps/powerpc/soft-fp/sfp-machine.h
3680 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3681 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3683 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3684 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3685 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3686 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3687 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3690 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3693 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3696 2014-02-12 Richard Henderson <rth@redhat.com>
3698 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3699 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3700 * sysdeps/unix/sysv/linux/alpha: Move directory from
3701 ports/sysdeps/unix/sysv/linux/alpha.
3702 * README: Update listing for alpha-*-linux-gnu.
3704 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3706 * include/features.h: Update comment documenting feature test
3708 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3710 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3711 (_SVID_SOURCE): Likewise.
3712 (_DEFAULT_SOURCE): Update description of default features.
3713 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3715 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3716 (S_ISVTX): Likewise.
3717 * manual/math.texi (Mathematical Constants): Likewise.
3718 * manual/signal.texi (Interrupted Primitives): Likewise.
3719 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3720 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3721 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3722 Don't refer to _SVID_SOURCE in warning text.
3724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3726 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3728 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3729 * sysdeps/mips/dl-lookup.c: Remove.
3730 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3732 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3735 * math/auto-libm-test-in: Add testcase for expl.
3736 * math/auto-libm-test-out: Regenerate.
3737 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3738 calculation of unsafe.
3739 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3741 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3743 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3744 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3745 ports/sysdeps/unix/sysv/linux/aarch64.
3746 * README: Update listing for aarch64*-*-linux-gnu.
3748 2014-02-11 Will Newton <will.newton@linaro.org>
3750 * manual/probes.texi (Mathematical Function Probes): Use
3751 "triggered" instead of "hit".
3753 2014-02-11 Will Newton <will.newton@linaro.org>
3755 * manual/probes.texi (Internal Probes): Add documentation
3756 of setjmp, longjmp and longjmp_target probes.
3758 2014-02-11 Will Newton <will.newton@linaro.org>
3760 * include/stap-probe.h: Add comment about probe argument
3763 2014-02-11 Will Newton <will.newton@linaro.org>
3765 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3766 definition. (tr_where, tr_freehook, tr_mallochook,
3767 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3769 2014-02-11 David S. Miller <davem@davemloft.net>
3771 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3772 processing int_tests.
3774 2014-02-10 Joseph Myers <joseph@codesourcery.com>
3776 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3777 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3778 * sysdeps/unix/sysv/linux/mips: Move directory from
3779 ports/sysdeps/unix/sysv/linux/mips.
3780 * README: Update listing for mips-*-linux-gnu and
3783 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3785 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3786 * sysdeps/unix/sysv/linux/m68k: Move directory from
3787 ports/sysdeps/unix/sysv/linux/m68k.
3788 * README: Update listing for m68k-*-linux-gnu.
3790 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3792 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3793 * sysdeps/unix/sysv/linux/generic: Move directory from
3794 ports/sysdeps/unix/sysv/linux/generic.
3795 * sysdeps/unix/sysv/linux/tile: Move directory from
3796 ports/sysdeps/unix/sysv/linux/tile.
3797 * README: Update listing for tile*-*-linux-gnu.
3799 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3801 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3802 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3803 * catgets/open_catalog.c (__open_catalog): Likewise.
3804 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3805 * debug/confstr_chk.c: Likewise.
3806 * debug/fread_chk.c (__fread_chk): Likewise.
3807 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3808 * debug/getgroups_chk.c: Likewise.
3809 * debug/mbsnrtowcs_chk.c: Likewise.
3810 * debug/mbsrtowcs_chk.c: Likewise.
3811 * debug/mbstowcs_chk.c: Likewise.
3812 * debug/memcpy_chk.c: Likewise.
3813 * debug/memmove_chk.c: Likewise.
3814 * debug/mempcpy_chk.c: Likewise.
3815 * debug/memset_chk.c: Likewise.
3816 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3817 * debug/strcat_chk.c (__strcat_chk): Likewise.
3818 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3819 * debug/strncat_chk.c (__strncat_chk): Likewise.
3820 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3821 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3822 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3823 * debug/wcpncpy_chk.c: Likewise.
3824 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3825 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3826 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3827 * debug/wcsncpy_chk.c: Likewise.
3828 * debug/wcsnrtombs_chk.c: Likewise.
3829 * debug/wcsrtombs_chk.c: Likewise.
3830 * debug/wcstombs_chk.c: Likewise.
3831 * debug/wmemcpy_chk.c: Likewise.
3832 * debug/wmemmove_chk.c: Likewise.
3833 * debug/wmempcpy_chk.c: Likewise.
3834 * debug/wmemset_chk.c: Likewise.
3835 * dirent/scandirat.c (SCANDIRAT): Likewise.
3836 * dlfcn/dladdr1.c (dladdr1): Likewise.
3837 * dlfcn/dladdr.c (dladdr): Likewise.
3838 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3839 * dlfcn/dlerror.c (__dlerror): Likewise.
3840 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3841 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3842 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3843 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3844 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3845 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3846 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3847 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3849 * elf/dl-conflict.c: Likewise.
3850 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3851 * elf/dl-dst.h: Likewise.
3852 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3853 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3854 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3855 * elf/dl-init.c (call_init, _dl_init): Likewise.
3856 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3857 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3858 _dl_map_object_from_fd, open_verify, open_path,
3859 _dl_map_object): Likewise.
3860 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3862 * elf/dl-minimal.c (__libc_memalign): Likewise.
3863 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3864 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3865 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3866 * elf/dl-sym.c (do_sym): Likewise.
3867 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3868 _dl_tls_get_addr_soft): Likewise.
3869 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3870 * elf/dl-writev.h (_dl_writev): Likewise.
3871 * elf/ldconfig.c (search_dir): Likewise.
3872 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3874 * elf/setup-vdso.h (setup_vdso): Likewise.
3875 * grp/compat-initgroups.c (compat_call): Likewise.
3876 * grp/fgetgrent.c (fgetgrent): Likewise.
3877 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3878 * grp/putgrent.c (putgrent): Likewise.
3879 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3881 * hurd/hurdinit.c: Likewise.
3882 * iconvdata/8bit-gap.c (struct): Likewise.
3883 * iconvdata/ansi_x3.110.c : Likewise.
3884 * iconvdata/big5.c : Likewise.
3885 * iconvdata/big5hkscs.c : Likewise.
3886 * iconvdata/cp1255.c: Likewise.
3887 * iconvdata/cp1258.c : Likewise.
3888 * iconvdata/cp932.c : Likewise.
3889 * iconvdata/euc-cn.c: Likewise.
3890 * iconvdata/euc-jisx0213.c : Likewise.
3891 * iconvdata/euc-jp.c: Likewise.
3892 * iconvdata/euc-jp-ms.c : Likewise.
3893 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3894 * iconvdata/gb18030.c : Likewise.
3895 * iconvdata/gbbig5.c (const): Likewise.
3896 * iconvdata/gbgbk.c: Likewise.
3897 * iconvdata/gbk.c : Likewise.
3898 * iconvdata/ibm1364.c : Likewise.
3899 * iconvdata/ibm930.c : Likewise.
3900 * iconvdata/ibm932.c: Likewise.
3901 * iconvdata/ibm933.c : Likewise.
3902 * iconvdata/ibm935.c : Likewise.
3903 * iconvdata/ibm937.c : Likewise.
3904 * iconvdata/ibm939.c : Likewise.
3905 * iconvdata/ibm943.c: Likewise.
3906 * iconvdata/iso_11548-1.c: Likewise.
3907 * iconvdata/iso-2022-cn.c : Likewise.
3908 * iconvdata/iso-2022-cn-ext.c : Likewise.
3909 * iconvdata/iso-2022-jp-3.c: Likewise.
3910 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3911 * iconvdata/iso-2022-kr.c : Likewise.
3912 * iconvdata/iso646.c (gconv_end): Likewise.
3913 * iconvdata/iso_6937-2.c : Likewise.
3914 * iconvdata/iso_6937.c : Likewise.
3915 * iconvdata/iso8859-1.c: Likewise.
3916 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3917 * iconvdata/shift_jisx0213.c : Likewise.
3918 * iconvdata/sjis.c : Likewise.
3919 * iconvdata/t.61.c : Likewise.
3920 * iconvdata/tcvn5712-1.c : Likewise.
3921 * iconvdata/tscii.c: Likewise.
3922 * iconvdata/uhc.c : Likewise.
3923 * iconvdata/unicode.c (gconv_end): Likewise.
3924 * iconvdata/utf-16.c (gconv_end): Likewise.
3925 * iconvdata/utf-32.c (gconv_end): Likewise.
3926 * iconvdata/utf-7.c (base64): Likewise.
3927 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3928 * iconv/gconv_close.c (__gconv_close): Likewise.
3929 * iconv/gconv_open.c (__gconv_open): Likewise.
3930 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3931 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3932 internal_ucs4le_loop_single, ucs4le_internal_loop,
3933 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3934 * iconv/iconv.c (iconv): Likewise.
3935 * iconv/iconv_close.c: Likewise.
3936 * iconv/loop.c (SINGLE): Likewise.
3937 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3938 * include/atomic.h: Likewise.
3939 * inet/inet6_option.c (option_alloc): Likewise.
3940 * intl/bindtextdom.c (set_binding_values): Likewise.
3941 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3942 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3943 * intl/localealias.c (read_alias_file): Likewise.
3944 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3945 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3946 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3947 * libio/fmemopen.c (fmemopen): Likewise.
3948 * libio/iofgets.c (_IO_fgets): Likewise.
3949 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3950 * libio/iofgetws.c (fgetws): Likewise.
3951 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3952 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3953 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3954 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3955 * locale/findlocale.c (_nl_find_locale): Likewise.
3956 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3957 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3959 * locale/setlocale.c (setlocale): Likewise.
3960 * login/programs/pt_chown.c (main): Likewise.
3961 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3962 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3963 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3964 mmap, mmap64, mremap, munmap): Likewise.
3965 * math/e_exp2l.c: Likewise.
3966 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3967 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3968 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3969 * math/s_catan.c (__catan): Likewise.
3970 * math/s_catanf.c (__catanf): Likewise.
3971 * math/s_catanh.c (__catanh): Likewise.
3972 * math/s_catanhf.c (__catanhf): Likewise.
3973 * math/s_catanhl.c (__catanhl): Likewise.
3974 * math/s_catanl.c (__catanl): Likewise.
3975 * math/s_ccosh.c (__ccosh): Likewise.
3976 * math/s_ccoshf.c (__ccoshf): Likewise.
3977 * math/s_ccoshl.c (__ccoshl): Likewise.
3978 * math/s_cexp.c (__cexp): Likewise.
3979 * math/s_cexpf.c (__cexpf): Likewise.
3980 * math/s_cexpl.c (__cexpl): Likewise.
3981 * math/s_clog10.c (__clog10): Likewise.
3982 * math/s_clog10f.c (__clog10f): Likewise.
3983 * math/s_clog10l.c (__clog10l): Likewise.
3984 * math/s_clog.c (__clog): Likewise.
3985 * math/s_clogf.c (__clogf): Likewise.
3986 * math/s_clogl.c (__clogl): Likewise.
3987 * math/s_csin.c (__csin): Likewise.
3988 * math/s_csinf.c (__csinf): Likewise.
3989 * math/s_csinh.c (__csinh): Likewise.
3990 * math/s_csinhf.c (__csinhf): Likewise.
3991 * math/s_csinhl.c (__csinhl): Likewise.
3992 * math/s_csinl.c (__csinl): Likewise.
3993 * math/s_csqrt.c (__csqrt): Likewise.
3994 * math/s_csqrtf.c (__csqrtf): Likewise.
3995 * math/s_csqrtl.c (__csqrtl): Likewise.
3996 * math/s_ctan.c (__ctan): Likewise.
3997 * math/s_ctanf.c (__ctanf): Likewise.
3998 * math/s_ctanh.c (__ctanh): Likewise.
3999 * math/s_ctanhf.c (__ctanhf): Likewise.
4000 * math/s_ctanhl.c (__ctanhl): Likewise.
4001 * math/s_ctanl.c (__ctanl): Likewise.
4002 * math/w_pow.c: Likewise.
4003 * math/w_powf.c: Likewise.
4004 * math/w_powl.c: Likewise.
4005 * math/w_scalb.c (sysv_scalb): Likewise.
4006 * math/w_scalbf.c (sysv_scalbf): Likewise.
4007 * math/w_scalbl.c (sysv_scalbl): Likewise.
4008 * misc/error.c (error_tail): Likewise.
4009 * misc/pselect.c (__pselect): Likewise.
4010 * nis/nis_callback.c (__nis_create_callback): Likewise.
4011 * nis/nis_call.c (__nisfind_server): Likewise.
4012 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4013 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4014 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4015 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4016 * nis/nis_lookup.c (nis_lookup): Likewise.
4017 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4018 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4019 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4020 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4021 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4022 internal_getgrgid_r): Likewise.
4023 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4025 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4026 internal_getpwuid_r): Likewise.
4027 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4028 internal_getspnam_r): Likewise.
4029 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4030 _nss_nis_getaliasbyname_r): Likewise.
4031 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4032 _nss_nis_getntohost_r): Likewise.
4033 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4034 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4036 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4037 internal_nis_gethostent_r, internal_gethostbyname2_r,
4038 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4039 _nss_nis_gethostbyname4_r): Likewise.
4040 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4041 initgroups_netid): Likewise.
4042 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4043 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4044 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4045 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4046 _nss_nis_getprotobynumber_r): Likewise.
4047 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4048 _nss_nis_getsecretkey): Likewise.
4049 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4050 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4052 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4053 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4054 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4055 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4056 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4057 _nss_nis_getspnam_r): Likewise.
4058 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4060 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4061 _nss_nisplus_getntohost_r): Likewise.
4062 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4063 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4064 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4065 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4066 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4068 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4069 _nss_nisplus_getnetbyaddr_r): Likewise.
4070 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4071 _nss_nisplus_getprotobynumber_r): Likewise.
4072 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4073 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4074 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4076 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4077 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4078 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4079 _nss_nisplus_getspnam_r): Likewise.
4080 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4081 * nscd/aicache.c (addhstaiX): Likewise.
4082 * nscd/cache.c (cache_search, prune_cache): Likewise.
4083 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4084 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4085 * nscd/grpcache.c (addgrbyX): Likewise.
4086 * nscd/hstcache.c (addhstbyX): Likewise.
4087 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4088 * nscd/mem.c (gc, mempool_alloc): Likewise.
4089 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4091 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4093 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4094 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4095 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4097 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4098 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4099 * nscd/nscd_helper.c (__readvall, open_socket,
4100 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4101 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4102 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4103 * nscd/pwdcache.c (addpwbyX): Likewise.
4104 * nscd/selinux.c (preserve_capabilities): Likewise.
4105 * nscd/servicescache.c (addservbyX): Likewise.
4106 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4107 * posix/fnmatch.c (fnmatch): Likewise.
4108 * posix/getopt.c (_getopt_internal_r): Likewise.
4109 * posix/glob.c (glob, glob_in_dir): Likewise.
4110 * posix/wordexp.c (exec_comm_child): Likewise.
4111 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4112 gaih_getanswer_slice): Likewise.
4113 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4114 * resolv/res_init.c: Likewise.
4115 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4116 * resolv/res_query.c (__libc_res_nquery): Likewise.
4117 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4119 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4120 * stdio-common/perror.c (perror): Likewise.
4121 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4122 * stdio-common/tmpnam.c (tmpnam): Likewise.
4123 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4124 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4125 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4126 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4127 * stdlib/putenv.c (putenv): Likewise.
4128 * stdlib/setenv.c (__add_to_environ): Likewise.
4129 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4130 * stdlib/strtol_l.c (INTERNAL): Likewise.
4131 * string/memmem.c (memmem): Likewise.
4132 * string/strerror.c (strerror): Likewise.
4133 * string/strnlen.c (__strnlen): Likewise.
4134 * string/test-memmem.c (simple_memmem): Likewise.
4135 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4136 * sunrpc/pm_getport.c (__get_socket): Likewise.
4137 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4138 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4139 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4140 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4142 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4143 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4144 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4145 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4146 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4147 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4148 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4149 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4150 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4151 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4152 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4153 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4155 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4156 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4157 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4158 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4159 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4160 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4162 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4164 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4166 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4167 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4168 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4169 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4170 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4171 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4172 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4173 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4174 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4175 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4176 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4177 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4178 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4179 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4180 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4181 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4182 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4184 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4186 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4188 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4189 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4190 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4192 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4193 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4194 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4195 * sysdeps/posix/sleep.c: Likewise.
4196 * sysdeps/posix/tempname.c: Likewise.
4197 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4198 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4200 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4201 elf_machine_rela): Likewise.
4202 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4203 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4204 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4205 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4207 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4208 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4209 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4210 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4211 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4212 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4213 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4214 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4215 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4216 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4217 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4218 elf_machine_lazy_rel): Likewise.
4219 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4220 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4221 elf_machine_lazy_rel): Likewise.
4222 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4223 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4224 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4225 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4226 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4227 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4228 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4229 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4231 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4232 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4233 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4234 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4235 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4236 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4237 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4238 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4239 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4240 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4241 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4243 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4244 (__posix_fallocate64_l64): Likewise.
4245 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4246 (posix_fallocate): Likewise.
4247 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4248 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4249 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4250 getifaddrs_internal): Likewise.
4251 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4252 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4253 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4254 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4255 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4256 (__posix_fallocate64_l64): Likewise.
4257 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4259 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4260 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4262 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4263 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4264 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4265 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4266 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4267 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4268 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4269 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4271 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4272 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4273 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4274 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4275 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4276 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4277 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4279 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4280 (posix_fallocate): Likewise.
4281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4282 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4283 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4284 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4285 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4287 * time/asctime.c (asctime_internal): Likewise.
4288 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4289 * time/tzset.c (__tzset_parse_tz): Likewise.
4290 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4291 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4292 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4293 * wcsmbs/wcsmbsload.h: Likewise.
4295 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4298 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4300 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4302 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4303 arena_get2): Remove THREAD_STATS conditionals.
4304 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4305 __malloc_stats, int): Likewise.
4307 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4309 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4310 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4312 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4314 * manual/setjmp.texi: Fix typos/grammar errors.
4316 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4318 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4319 Only return early when n is <= 0. Delete unused return statement.
4321 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4323 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4324 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4325 * debug/tst-longjmp_chk3.c: New file.
4327 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4329 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4330 (test_main): Replace code with set_fortify_handler call.
4331 * debug/test-strcpy_chk.c: Likewise.
4332 * debug/tst-chk1.c: Likewise.
4333 * debug/tst-longjmp_chk.c: Likewise.
4334 * test-skeleton.c: Include fcntl.h & paths.h
4335 (set_fortify_handler): Define.
4337 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4339 * debug/tst-longjmp_chk.c: Add header comment and include
4341 (do_test): Mark static.
4342 (TEST_FUNCTION): Define.
4344 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4346 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4347 (IP_PMTUDISC_INTERFACE): Likewise.
4348 (IP_MULTICAST_IF): Likewise.
4349 (IP_MULTICAST_TTL): Likewise.
4350 (IP_MULTICAST_LOOP): Likewise.
4351 (IP_ADD_MEMBERSHIP): Likewise.
4352 (IP_DROP_MEMBERSHIP): Likewise.
4353 (IP_UNBLOCK_SOURCE): Likewise.
4354 (IP_BLOCK_SOURCE): Likewise.
4355 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4356 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4357 (IP_MSFILTER): Likewise.
4358 (MCAST_JOIN_GROUP): Likewise.
4359 (MCAST_BLOCK_SOURCE): Likewise.
4360 (MCAST_UNBLOCK_SOURCE): Likewise.
4361 (MCAST_LEAVE_GROUP): Likewise.
4362 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4363 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4364 (MCAST_MSFILTER): Likewise.
4365 (IP_MULTICAST_ALL): Likewise.
4366 (IP_UNICAST_IF): Likewise.
4368 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4370 * timezone/Makefile: Delete $(have-ksh) check.
4371 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4372 * timezone/tzselect.ksh: Add +x mode bits.
4374 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4376 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4377 (ANON_INODE_FS_MAGIC): Likewise.
4378 (BDEVFS_MAGIC): Likewise.
4379 (BINFMTFS_MAGIC): Likewise.
4380 (BTRFS_TEST_MAGIC): Likewise.
4381 (CRAMFS_MAGIC_WEND): Likewise.
4382 (DEBUGFS_MAGIC): Likewise.
4383 (ECRYPTFS_SUPER_MAGIC): Likewise.
4384 (EXT3_SUPER_MAGIC): Likewise.
4385 (EXT4_SUPER_MAGIC): Likewise.
4386 (FUTEXFS_SUPER_MAGIC): Likewise.
4387 (HOSTFS_SUPER_MAGIC): Likewise.
4388 (HUGETLBFS_MAGIC): Likewise.
4389 (MINIX3_SUPER_MAGIC): Likewise.
4390 (MTD_INODE_FS_MAGIC): Likewise.
4391 (NILFS_SUPER_MAGIC): Likewise.
4392 (OPENPROM_SUPER_MAGIC): Likewise.
4393 (PIPEFS_MAGIC): Likewise.
4394 (PSTOREFS_MAGIC): Likewise.
4395 (QNX6_SUPER_MAGIC): Likewise.
4396 (RAMFS_MAGIC): Likewise.
4397 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4398 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4399 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4400 (SECURITYFS_MAGIC): Likewise.
4401 (SELINUX_MAGIC): Likewise.
4402 (SMACK_MAGIC): Likewise.
4403 (SOCKFS_MAGIC): Likewise.
4404 (SQUASHFS_MAGIC): Likewise.
4405 (STACK_END_MAGIC): Likewise.
4406 (TMPFS_MAGIC): Likewise.
4407 (USBDEVICE_SUPER_MAGIC): Likewise.
4408 (V9FS_MAGIC): Likewise.
4409 (XENFS_SUPER_MAGIC): Likewise.
4410 (CRAMFS_MAGIC): Fix typo in comment.
4411 (EXT2_SUPER_MAGIC): Update comment.
4412 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4414 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4416 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4417 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4418 * sysdeps/unix/sysv/linux/arm: Move directory from
4419 ports/sysdeps/unix/sysv/linux/arm.
4420 * README: Update listing for arm-*-linux-gnueabi.
4422 * README: Remove mention of am33.
4424 2014-02-07 Roland McGrath <roland@hack.frob.com>
4426 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4427 than the comma operator, to avoid "rhs of comma has no effect"
4429 (__sigfillset, __sigandset, __sigorset): Likewise.
4430 * include/signal.h (__sigemptyset): Likewise.
4431 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4433 2014-02-07 Allan McRae <allan@archlinux.org>
4435 * version.h (RELEASE): Set to "development".
4436 (VERSION): Set to "2.19.90"
4437 * NEWS: Add 2.20 section.
4439 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4442 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4444 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4446 * manual/contrib.texi: Update entry for Carlos O'Donell,
4447 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4449 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4451 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4453 * sysdeps/unix/sysv/linux/kernel-features.h
4454 [__LINUX_KERNEL_VERSION >= 0x020621]
4455 (__ASSUME_PROC_PID_TASK_COMM): Define.
4457 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4460 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4461 conversion when destination buffer does not have enough space.
4462 * libio/tst-ftell-partial-wide.c: New test case.
4463 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4465 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4466 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4467 Leonard and Allan McRae.
4469 2014-02-04 David S. Miller <davem@davemloft.net>
4471 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4474 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4503 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4505 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4506 * shlib-versions: Likewise.
4508 2014-02-04 Roland McGrath <roland@hack.frob.com>
4509 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4511 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4512 (abilist-pattern): New variable, set to %-le.abilist.
4514 * Makerules (abilist-pattern): New variable.
4515 (vpath): Use $(abilist-pattern) in place of %.abilist.
4516 (check-abi-% pattern rule): Likewise.
4517 (check-abi, update-abi): Likewise.
4519 2014-02-04 Eric Wong <normalperson@yhbt.net>
4521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4523 2014-02-04 Eric Wong <normalperson@yhbt.net>
4525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4527 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4529 * manual/startup.texi: Add next, previous, and top entries for
4530 the `Program Arguments' and `Environment Variables' nodes.
4532 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4534 * manual/macros.texi: Add comments before MTASC-safety macros.
4536 * manual/users.texi: Document MTASC-safety properties.
4538 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4539 pthread_getspecific, pthread_setspecific): Format with
4540 @deftypefun, and add @safety note.
4541 * manual/signal.texi: Move comments that analyze the above
4542 functions to their home place.
4544 2014-02-03 Allan McRae <allan@archlinux.org>
4546 * po/sl.po: Update Slovenian translation from translation project.
4548 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4550 * manual/time.texi (timegm): Add missing blank after @c.
4551 Reported by Joseph Myers <joseph@codesourcery.com>.
4553 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4555 * manual/check-safety.sh: New.
4556 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4558 * manual/terminal.texi: Document MTASC-safety properties.
4560 * manual/filesys.texi: Document MTASC-safety properties.
4562 * manual/errno.texi: Document MTASC-safety properties.
4564 * manual/intro.texi: Document safety identifiers and
4567 * manual/string.texi (wcstok): Fix prototype.
4568 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4570 * manual/time.texi: Document MTASC-safety properties.
4572 * manual/string.texi: Document MTASC-safety properties.
4574 * manual/threads.texi: Document MTASC-safety properties.
4576 * manual/stdio.texi: Document MTASC-safety properties.
4578 * manual/syslog.texi: Document MTASC-safety properties.
4580 * manual/sysinfo.texi: Document MTASC-safety properties.
4582 * manual/startup.texi: Document MTASC-safety properties.
4584 * manual/socket.texi: Document MTASC-safety properties.
4586 * manual/signal.texi: Document MTASC-safety properties.
4588 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4590 * manual/setjmp.texi: Document MTASC-safety properties.
4592 * manual/search.texi: Document MTASC-safety properties.
4594 * manual/resource.texi: Document MTASC-safety properties.
4596 * manual/process.texi: Document MTASC-safety properties.
4598 * manual/platform.texi: Document MTASC-safety properties.
4600 * manual/pipe.texi: Document MTASC-safety properties.
4602 * manual/pattern.texi: Document MTASC-safety properties.
4604 * manual/message.texi: Document MTASC-safety properties.
4607 * manual/memory.texi: Document MTASC-safety properties.
4609 * manual/math.texi: Document MTASC-safety properties.
4611 * manual/locale.texi: Document MTASC-safety properties.
4613 * manual/llio.texi: Document MTASC-safety properties.
4615 * manual/libdl.texi: New.
4617 * manual/lang.texi: Document MTASC-safety properties.
4619 * manual/job.texi: Document MTASC-safety properties.
4621 * manual/getopt.texi: Document MTASC-safety properties.
4623 * manual/ctype.texi: Document MTASC-safety properties.
4625 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4628 * csu/libc-tls.c (static_map): Remove variable.
4629 (__libc_setup_tls): Use main executable's link map for TLS data.
4630 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4631 casing for LM_ID_BASE and GL(dl_nns).
4632 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4633 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4634 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4635 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4636 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4638 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4641 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4643 * manual/debug.texi: Document MTASC-safety properties.
4645 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4648 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4649 of __x86_64__ when disabling x87 inline functions.
4651 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4653 * manual/charset.texi: Document MTASC-safety properties.
4655 * manual/crypt.texi: Document MTASC-safety properties.
4657 * manual/conf.texi: Document MTASC-safety properties.
4659 * manual/arith.texi: Document MTASC-safety properties.
4661 * manual/argp.texi: Document MTASC-safety properties.
4663 * manual/macros.texi: Introduce macros to document multi
4664 thread, asynchronous signal and asynchronous cancellation
4666 * manual/intro.texi: Introduce the properties themselves.
4668 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4670 * sysdeps/sh/sh4/Makefile: New file.
4672 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4674 * math/gen-libm-test.pl ($srcdir): New variable.
4675 ($auto_input): Use it.
4677 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4680 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4681 access beyond array bounds when parsing netgroups file.
4683 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4684 the old buffer before realloc.
4686 2014-01-27 Allan McRae <allan@archlinux.org>
4688 * po/fr.po: Update French translation from translation project.
4690 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4692 * sysdeps/sh/libm-test-ulps: Regenerate.
4694 2014-01-24 David S. Miller <davem@davemloft.net>
4696 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4698 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4700 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4701 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4703 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4706 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4707 string pointers after reallocation.
4709 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4711 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4712 __SH4A__ instead of __SH_FPU_ANY__.
4714 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4716 * sysdeps/sh/fpu_control.h: New file.
4717 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4718 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4719 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4720 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4721 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4722 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4723 * sysdeps/sh/sys/ucontext.h: Remove.
4724 * sysdeps/sh/sys: Remove directory.
4726 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4728 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4729 s390/sys/ucontext.h.
4730 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4731 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4733 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4736 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4738 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4741 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4742 Adjust the vDSO correctly for internal calls.
4743 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4745 2014-01-20 Allan McRae <allan@archlinux.org>
4747 * po/ca.po: Update Catalan translation from translation project.
4749 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4751 * sysdeps/s390/sotruss-lib.c: New file.
4753 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4756 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4757 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4758 local calls issues by not having a PLT stub required for IFUNC calls.
4759 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4761 2014-01-16 Joseph Myers <joseph@codesourcery.com>
4763 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4764 * math/test-fpucw-static.c: Likewise.
4766 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4769 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4771 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4773 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4774 implementation for powerpc.
4776 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
4779 * sysdeps/posix/system.c (__libc_system): Do not enable
4780 asynchronous cancellation.
4782 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4785 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4786 handling only for numbers special also in the IEEE case.
4788 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4790 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4792 2014-01-11 Allan McRae <allan@archlinux.org>
4794 * po/bg.po: Update Bulgarian translation from translation project.
4796 * po/de.po: Update German translation from translation project.
4798 2014-01-10 Roland McGrath <roland@hack.frob.com>
4800 * sysdeps/generic/gcc-compat.h: New file.
4802 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4804 * benchtests/asin-inputs: Correct slow inputs.
4805 * benchtests/acos-inputs: Likewise.
4807 2014-01-10 Allan McRae <allan@archlinux.org>
4809 * po:sv.po: Update Swedish translation from translation project.
4811 * po/vi.po: Update Vietnamese translation from translation project.
4813 * po/eo.po: Update Esperanto translation from translation project.
4815 * po/cs.po: Update Czech translation from translation project.
4817 * po/nl.po: Update Dutch translation from translation project.
4819 * po/pl.po: Update Polish translation from translation project.
4821 * po/ru.po: Update Russian translation from translation project.
4823 * po/uk.po: Update Ukrainian translation from translation project.
4825 2014-01-08 Brooks Moses <bmoses@google.com>
4827 * elf/dl-load.c: Fix comment typo.
4829 2014-01-08 Carlos O'Donell <carlos@redhat.com>
4831 * po/header.pot: Rename to...
4832 * po/pot.header: ... this.
4833 * po/Makefile: Use pot.header.
4835 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4836 Maxim Kuvyrkov <maxim@kugelworks.com>
4839 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4840 SRC and DEST against LEN.
4842 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4845 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4847 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4849 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4853 2014-01-08 Joseph Myers <joseph@codesourcery.com>
4856 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4857 for large positive arguments.
4859 2014-01-07 Joseph Myers <joseph@codesourcery.com>
4861 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4863 * math/auto-libm-test-in: Mark various tests with
4864 xfail-rounding:ldbl-128ibm.
4865 * math/auto-libm-test-out: Regenerated.
4868 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4869 Increase overflow threshold.
4871 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
4874 * stdio-common/vfprintf.c: Check for integer overflow.
4876 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4878 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4879 the first argument and return value of __tls_get_addr_internal.
4881 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4883 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4884 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4886 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4888 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4889 * sysdeps/s390/rtld-global-offsets.sym: New file.
4890 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4892 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4893 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4894 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4896 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4897 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4903 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4904 halfs of GPRs for high_gprs contexts.
4905 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4906 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4908 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4910 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4912 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4913 for high GPRs (uc_high_gprs) and for future extensions
4915 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4916 for future extensions (__reserved).
4917 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4919 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4920 SC_HIGHGPRS offset definition.
4921 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4922 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4924 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4926 * Versions.def: Add GLIBC_2.19 for libpthread.
4927 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4928 siglongjmp for libpthread with GLIBC_2.19 symver.
4929 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4930 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4931 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4932 * sysdeps/s390/__longjmp.c: New file.
4933 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4934 * sysdeps/s390/longjmp.c: New file.
4935 * sysdeps/s390/setjmp.S: New file.
4936 * sysdeps/s390/sigjmp.S: New file.
4937 * sysdeps/s390/v1-longjmp.c: New file.
4938 * sysdeps/s390/v1-setjmp.h: New file.
4939 * sysdeps/s390/v1-sigjmp.c: New file.
4940 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4941 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4943 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4944 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4945 versioned symbols for ____longjmp_chk.
4946 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4956 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4957 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4958 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4959 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4960 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4961 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4962 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4963 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4964 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4965 * sysdeps/s390/rtld-__longjmp.c: New file.
4966 * sysdeps/s390/rtld-setjmp.S: New file.
4968 2014-01-06 Joseph Myers <joseph@codesourcery.com>
4971 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4972 Return -__logl (x) for small positive arguments without evaluating
4975 2014-01-06 Mike Frysinger <vapier@gentoo.org>
4977 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4979 (__ptrace_peeksiginfo_args): ... this.
4980 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4981 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4984 2014-01-06 Allan McRae <allan@archlinux.org>
4986 * inet/netinet/in.h: Fix typo in comment.
4988 2014-01-05 Andreas Jaeger <aj@suse.de>
4990 * sysdeps/i386/fpu/libm-test-ulps: Update.
4992 2014-01-05 Allan McRae <allan@archlinux.org>
4994 * po/libc.pot: Regenerated.
4996 * malloc/memusagestat.c: Fix gettext call formatting.
4998 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5000 * nscd/nscd.c: Improve usage() output.
5002 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5004 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5005 * sysdeps/unix/sysv/linux/configure: Regenerated.
5006 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5007 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5009 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5012 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5013 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5015 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5017 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5018 extra tokens at end of #undef directive.
5019 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5020 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5021 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5023 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5025 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5027 * math/auto-libm-test-in: Mark various tests with
5028 xfail-rounding:ldbl-128ibm.
5029 * math/auto-libm-test-out: Regenerated.
5031 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5034 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5035 numbers with subnormal high part when calculating exponent.
5038 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5042 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5044 (__ieee754_acoshl): Use __log1pl not __log1p.
5046 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5048 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5049 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5050 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5051 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5052 Convert to GNU style.
5053 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5054 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5055 memalign_check, __malloc_set_state): Likewise.
5056 * malloc/mallocbug.c (main): Likewise.
5057 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5058 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5059 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5060 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5061 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5062 * malloc/malloc.h: Likewise.
5063 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5064 memalignhook, reallochook, mabort): Likewise.
5065 * malloc/mcheck.h: Likewise.
5066 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5067 mmap64, mremap, munmap, dest): Likewise.
5068 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5069 * malloc/morecore.c (__default_morecore): Likewise.
5070 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5071 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5072 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5073 print_and_abort): Likewise.
5074 * malloc/obstack.h: Likewise.
5075 * malloc/set-freeres.c (__libc_freeres): Likewise.
5076 * malloc/tst-mallocstate.c (main): Likewise.
5077 * malloc/tst-mtrace.c (main): Likewise.
5078 * malloc/tst-realloc.c (do_test): Likewise.
5080 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5083 * nscd/netgroupcache.c (do_notfound): New function.
5084 (addgetnetgrentX): Use it.
5087 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5088 NSS_STATUS_NOTFOUND.
5090 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5092 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5095 2014-01-01 Allan McRae <allan@archlinux.org>
5097 * scripts/update-copyrights: Update configure input file suffix.
5099 * NEWS: Update copyright year.
5100 * catgets/gencat.c: Likewise.
5101 * csu/version.c: Likewise.
5102 * debug/catchsegv.sh: Likewise.
5103 * debug/pcprofiledump.c: Likewise.
5104 * debug/xtrace.sh: Likewise.
5105 * elf/ldconfig.c: Likewise.
5106 * elf/ldd.bash.in: Likewise.
5107 * elf/pldd.c: Likewise.
5108 * elf/sotruss.ksh: Likewise.
5109 * elf/sprof.c: Likewise.
5110 * iconv/iconv_prog.c: Likewise.
5111 * iconv/iconvconfig.c: Likewise.
5112 * locale/programs/locale.c: Likewise.
5113 * locale/programs/localedef.c: Likewise.
5114 * login/programs/pt_chown.c: Likewise.
5115 * malloc/memusage.sh: Likewise.
5116 * malloc/memusagestat.c: Likewise.
5117 * malloc/mtrace.pl: Likewise.
5118 * manual/libc.texinfo: Likewise.
5119 * nscd/nscd.c: Likewise.
5120 * nss/getent.c: Likewise.
5121 * nss/makedb.c: Likewise.
5122 * posix/getconf.c: Likewise.
5123 * scripts/test-installation.pl: Likewise.
5125 * All files with FSF copyright notices: Update copyright dates
5126 using scripts/update-copyrights.
5127 * intl/plural.c: Regenerated.
5128 * locale/programs/charmap-kw.h: Likewise.
5129 * locale/programs/locfile-kw.h: Likewise.
5131 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5133 * sysdeps/unix/sysv/linux/configure: Regenerated.
5134 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5135 the linux/fanotify.h header.
5136 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5137 HAVE_LINUX_FANOTIFY_H is defined.
5139 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5141 * benchtests/cos-inputs: New inputs.
5142 * benchtests/sin-inputs: Likewise.
5144 * benchtests/atan-inputs: New inputs. Fix name of multiple
5145 precision fallback inputs.
5147 * benchtests/atanh-inputs: New inputs.
5148 * benchtests/tanh-inputs: Likewise.
5150 * benchtests/acosh-inputs: New inputs.
5151 * benchtests/asinh-inputs: Likewise.
5153 * benchtests/cosh-inputs: New inputs.
5154 * benchtests/sinh-inputs: Likewise.
5156 * benchtests/acos-inputs: Add more inputs.
5157 * benchtests/asin-inputs: Likewise.
5159 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5162 * manual/arith.texi: Fix spelling.
5163 * manual/charset.texi: Likewise.
5164 * manual/errno.texi: Likewise.
5165 * manual/filesys.texi: Likewise.
5166 * manual/lang.texi: Likewise.
5167 * manual/llio.texi: Likewise.
5168 * manual/locale.texi: Likewise.
5169 * manual/message.texi: Likewise.
5170 * manual/resource.texi: Likewise.
5171 * manual/search.texi: Likewise.
5172 * manual/setjmp.texi: Likewise.
5173 * manual/stdio.texi: Likewise.
5174 * manual/string.texi: Likewise.
5175 * manual/sysinfo.texi: Likewise.
5176 * manual/time.texi: Likewise.
5178 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5180 * po/sl.po: New file.
5182 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5184 * .gitignore: Add core/.gdbinit/.gdb_history.
5186 2013-12-27 Allan McRae <allan@archlinux.org>
5189 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5190 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5192 2013-12-24 Brooks Moses <bmoses@google.com>
5194 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5195 all compilers that claim C++98 compliance, not just GCC.
5196 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5199 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5201 * NEWS: Restore accidentally deleted bug-fix entries.
5203 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5204 Ondřej Bílka <neleai@seznam.cz>
5207 * malloc/malloc.c (_int_free): Perform sanity check only if we
5210 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5213 * manual/stdio.texi (String Input Conversions): Clarify that character
5214 classes are not supported.
5216 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5220 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5223 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5224 Calculate results for small negative arguments directly rather
5225 than using reflection formula with special underflow handling.
5227 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5228 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5229 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5230 (fchflags): Likewise.
5232 (setlogin): Likewise.
5233 (sigaltstack): Likewise.
5236 (sigsetmask): Likewise.
5238 (waitpid): Likewise.
5239 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5240 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5242 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5243 * sysdeps/unix/bsd/Makefile: ... here.
5244 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5245 * sysdeps/unix/bsd/Versions: ... here.
5246 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5247 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5248 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5249 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5250 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5251 * sysdeps/unix/bsd/sigblock.c: ... here.
5252 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5253 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5254 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5255 * sysdeps/unix/bsd/sigvec.c: ... here.
5256 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5257 * sysdeps/unix/bsd/tcdrain.c: ... here.
5258 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5259 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5260 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5261 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5262 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5263 * sysdeps/unix/bsd/wait.c: ... here.
5264 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5265 * sysdeps/unix/bsd/wait3.c: ... here.
5266 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5267 * sysdeps/unix/bsd/waitpid.c: ... here.
5269 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5272 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5273 round-to-nearest for [!USE_AS_EXPM1L].
5274 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5275 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5276 more tests of exp and exp10. Expect some exp10 tests to miss
5277 exceptions or fail in directed rounding modes.
5278 * math/auto-libm-test-out: Regenerated.
5279 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5280 (exp10_test_tonearest): New function.
5281 (exp10_towardzero_test_data): New array.
5282 (exp10_test_towardzero): New function.
5283 (exp10_downward_test_data): New array.
5284 (exp10_test_downward): New function.
5285 (exp10_upward_test_data): New array.
5286 (exp10_test_upward): New function.
5287 (main): Call the new functions.
5288 * sysdeps/i386/fpu/libm-test-ulps: Update.
5289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5291 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5293 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5294 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5295 * math/auto-libm-test-out: Regenerated.
5296 * math/libm-test.inc (acosh_test_data): Add more tests.
5297 (atanh_test_data): Likewise.
5298 (ceil_test_data): Likewise.
5299 (copysign_test_data): Likewise.
5300 * sysdeps/i386/fpu/libm-test-ulps: Update.
5301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5303 * timezone/checktab.awk: Update from tzcode 2013i.
5304 * timezone/private.h: Likewise.
5305 * timezone/scheck.c: Likewise.
5306 * timezone/tzfile.h: Likewise.
5307 * timezone/tzselect.ksh: Likewise.
5308 * timezone/zdump.c: Likewise.
5309 * timezone/zic.c: Likewise.
5311 * math/auto-libm-test-in: Add tests of cpow.
5312 * math/auto-libm-test-out: Regenerated.
5313 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5314 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5316 (func_calc_desc): Add mpc_cc_c union field.
5317 (test_functions): Add cpow.
5318 (special_fill_2pi): New function.
5319 (special_real_inputs): Add 2pi.
5320 (calc_generic_results): Handle mpc_cc_c.
5321 * sysdeps/i386/fpu/libm-test-ulps: Update.
5322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5324 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5325 csqrt, ctan and ctanh.
5326 * math/auto-libm-test-out: Regenerated.
5327 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5328 (TEST_COND_x86): Likewise.
5329 (ccos_test_data): Use AUTO_TESTS_c_c.
5330 (ccosh_test_data): Likewise.
5331 (cexp_test_data): Likewise.
5332 (clog_test_data): Likewise.
5333 (csqrt_test_data): Likewise.
5334 (ctan_test_data): Likewise.
5335 (ctan_tonearest_test_data): Likewise.
5336 (ctan_towardzero_test_data): Likewise.
5337 (ctan_downward_test_data): Likewise.
5338 (ctan_upward_test_data): Likewise.
5339 (ctanh_test_data): Likewise.
5340 (ctanh_tonearest_test_data): Likewise.
5341 (ctanh_towardzero_test_data): Likewise.
5342 (ctanh_downward_test_data): Likewise.
5343 (ctanh_upward_test_data): Likewise.
5344 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5346 (func_calc_desc): Add mpc_c_c union field.
5347 (FUNC_mpc_c_c): New macro.
5348 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5349 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5351 (special_fill_min_subnorm_p120): New function.
5352 (special_real_inputs): Add min_subnorm_p120.
5353 (calc_generic_results): Handle mpc_c_c.
5354 * sysdeps/i386/fpu/libm-test-ulps: Update.
5355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5357 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5359 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5360 do_sin_slow): New functions.
5361 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5362 cslow2, csloww1, csloww2): Use the new functions.
5364 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5365 Use M to change sign of result instead of X. Assume X is
5367 (csloww1): Likewise.
5371 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5376 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5378 (sloww1): Don't adjust sign of DX.
5379 (csloww1): Likewise.
5380 (sloww2): Use X directly and don't adjust sign of DX.
5381 (csloww2): Likewise.
5383 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5385 * math/auto-libm-test-in: Add tests of cabs and carg.
5386 * math/auto-libm-test-out: Regenerated.
5387 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5388 (carg_test_data): Likewise.
5389 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5391 (func_calc_desc): Add mpc_c_f union field.
5392 (test_functions): Add cabs and carg.
5393 (calc_generic_results): Handle mpc_c_f.
5395 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5396 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5397 as a macro and a compat symbol.
5398 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5399 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5400 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5401 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5402 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5403 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5405 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5407 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5409 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5411 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5413 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5415 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5416 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5419 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5423 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5425 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5426 trailing whitespace removed.
5427 * scripts/config.guess: Update to version 2013-11-29.
5428 * scripts/config.sub: Update to version 2013-10-01.
5430 * math/auto-libm-test-in: Add tests of sincos.
5431 * math/auto-libm-test-out: Regenerated.
5432 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5433 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5435 (func_calc_desc): Add mpfr_f_11 union field.
5436 (test_functions): Add sincos.
5437 (calc_generic_results): Handle mpfr_f_11.
5438 * sysdeps/i386/fpu/libm-test-ulps: Update.
5439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5441 2013-12-19 Andreas Schwab <schwab@suse.de>
5443 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5445 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5446 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5447 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5449 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5451 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5452 * sysdeps/i386/fpu/libm-test-ulps: Update.
5453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5456 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5457 round-to-nearest mode when using frndint.
5458 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5459 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5460 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5462 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5464 * math/auto-libm-test-out: Regenerated.
5465 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5466 (TEST_COND_x86): Likewise.
5467 (expm1_tonearest_test_data): New array.
5468 (expm1_test_tonearest): New function.
5469 (expm1_towardzero_test_data): New array.
5470 (expm1_test_towardzero): New function.
5471 (expm1_downward_test_data): New array.
5472 (expm1_test_downward): New function.
5473 (expm1_upward_test_data): New array.
5474 (expm1_test_upward): New function.
5475 (main): Run the new test functions.
5476 * sysdeps/i386/fpu/libm-test-ulps: Update.
5477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5479 * include/features.h: Update comment documenting feature test
5480 macros. Mention _DEFAULT_SOURCE in comment.
5481 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5482 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5483 _BSD_SOURCE and _SVID_SOURCE.
5484 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5485 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5486 !_SVID_SOURCE]: Likewise.
5487 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5488 (__USE_POSIX_IMPLICITLY): Define.
5489 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5490 (_POSIX_SOURCE): Undefine and redefine.
5491 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5492 (_POSIX_C_SOURCE): Likewise.
5493 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5494 (Feature Test Macros): Update documentation of default features.
5496 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5498 * benchtests/Makefile: Add bench-strtok.
5499 * benchtests/bench-strtok.c: New file: strtok benchtest.
5501 2013-12-19 Allan McRae <allan@archlinux.org>
5503 * manual/install.texi: Suppress menu for plain text output.
5504 * INSTALL: Regenerated.
5506 2013-12-18 Brooks Moses <bmoses@google.com>
5509 * misc/getauxval.c: Include errno.h.
5510 (__getauxval): Set errno to ENOENT if the requested type is not
5512 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5513 don't declare with __attribute_const__.
5514 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5515 * manual/startup.texi: Document that getauxval sets errno.
5517 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5519 * math/auto-libm-test-in: Add tests of jn and yn.
5520 * math/auto-libm-test-out: Regenerated.
5521 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5522 (yn_test_data): Likewise.
5523 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5525 (func_calc_desc): Add mpfr_if_f union field.
5526 (FUNC_mpfr_if_f): New macro.
5527 (test_functions): Add jn and yn.
5528 (calc_generic_results): Assert type of second input for
5529 mpfr_ff_f. Handle mpfr_if_f.
5530 (output_for_one_input_case): Disable all checking for arguments
5531 fitting floating-point types in case of an integer argument.
5532 * sysdeps/i386/fpu/libm-test-ulps: Update.
5533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5536 Don't expect fegetround reference in libm.so.
5538 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5540 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5541 $(config-cflags-nofma).
5543 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5545 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5546 * math/auto-libm-test-out: Regenerated.
5549 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5550 to determine exponent and adjust argument to have exponent of -1.
5551 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5553 * math/auto-libm-test-out: Regenerated.
5554 * sysdeps/i386/fpu/libm-test-ulps: Update.
5555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5557 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5559 * manual/probes.texi: Remove cases when per-thread arenas are
5562 2013-12-18 Andreas Schwab <schwab@suse.de>
5564 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5565 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5566 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5567 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5568 * sysdeps/i386/i686/multiarch/Makefile: Update.
5569 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5571 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5573 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5574 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5576 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5579 Support TZ transition times < 00:00:00.
5580 This is needed for version-3 tz-format files; it supports time
5581 stamps past 2037 for America/Godthab (the only entry in the tz
5582 database for which this change is relevant).
5583 * manual/time.texi (TZ Variable): Document transition times
5584 from -167:59:59 through -00:00:01.
5585 * time/tzset.c (tz_rule): Time of day is now signed.
5586 (__tzset_parse_tz): Parse negative time of day.
5588 Document TZ transition times >= 25:00:00.
5589 * manual/time.texi (TZ Variable): Document transition times from
5590 25:00:00 through 167:59:59. These are already supported, and this
5591 support will help with version-3 tz-format files.
5593 * manual/time.texi (TZ Variable): Modernize North America example
5594 to reflect current (i.e., 2007-and-later) daylight saving rules.
5596 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5598 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5600 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5601 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5602 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5603 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5604 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5605 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5606 * sysdeps/unix/bsd/clock.c: Likewise.
5607 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5608 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5609 * sysdeps/unix/bsd/init-posix.c: Likewise.
5610 * sysdeps/unix/bsd/poll.c: Likewise.
5611 * sysdeps/unix/bsd/ptsname.c: Likewise.
5612 * sysdeps/unix/bsd/seekdir.c: Likewise.
5613 * sysdeps/unix/bsd/setegid.c: Likewise.
5614 * sysdeps/unix/bsd/seteuid.c: Likewise.
5615 * sysdeps/unix/bsd/setgid.c: Likewise.
5616 * sysdeps/unix/bsd/setrgid.c: Likewise.
5617 * sysdeps/unix/bsd/setruid.c: Likewise.
5618 * sysdeps/unix/bsd/setsid.c: Likewise.
5619 * sysdeps/unix/bsd/setuid.c: Likewise.
5620 * sysdeps/unix/bsd/sigaction.c: Likewise.
5621 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5622 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5623 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5624 * sysdeps/unix/bsd/telldir.c: Likewise.
5625 * sysdeps/unix/bsd/times.c: Likewise.
5626 * sysdeps/unix/bsd/usleep.c: Likewise.
5628 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5629 ($(objpfx)libbsd-compat.a): Remove rule.
5631 * include/features.h (__FAVOR_BSD): Do not define.
5632 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5633 features conflicting with POSIX.
5634 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5635 (_BSD_SOURCE): Remove description of not being a subset of other
5636 feature test macros.
5637 * manual/job.texi (getpgrp): Do not document BSD version.
5638 (getpgid): Do not document by reference to BSD getpgrp.
5639 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5640 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5641 * signal/signal.h [__FAVOR_BSD]: Likewise.
5642 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5643 instead of making contents conditional on [__FAVOR_BSD].
5644 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5646 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5650 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5653 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5654 values below 2**-450, not 2**-500.
5655 * math/auto-libm-test-in: Don't allow spurious underflow from
5657 * math/auto-libm-test-out: Regenerated.
5661 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5662 values of ha and hb and sort them after adjusting subnormal
5664 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5666 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5667 values of ea and eb and sort them after adjusting subnormal
5669 * math/auto-libm-test-in: Do not expect some hypot tests of
5670 subnormals to fail. Add more hypot tests.
5671 * math/auto-libm-test-out: Regenerated.
5673 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5676 * sysdeps/sh/s_fma.c: New file.
5677 * sysdeps/sh/s_fmaf.c: New file.
5678 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5680 * sysdeps/sh/Implies: Add sh/soft-fp.
5682 2013-12-16 Roland McGrath <roland@hack.frob.com>
5684 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5685 level of indirection to members `objname', `errstring', `malloced'.
5686 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5687 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5688 it as the __longjmp argument (just pass 1 instead).
5689 (_dl_catch_error): Initialize C with argument pointers and address of
5690 volatile local ERRCODE rather than copying values out of C at return.
5692 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5694 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5695 * math/auto-libm-test-out: Regenerated.
5696 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5697 (hypot_test_data): Likewise.
5698 (pow_test_data): Likewise.
5699 (pow_tonearest_test_data): Likewise.
5700 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5702 (func_calc_desc): Add mpfr_ff_f union field.
5703 (FUNC_mpfr_ff_f): New macro.
5704 (test_functions): Add atan2, hypot and pow.
5705 (special_fill_min): New function.
5706 (special_fill_minus_min): Likewise.
5707 (special_fill_min_subnorm): Likewise.
5708 (special_fill_minus_min_subnorm): Likewise.
5709 (special_real_inputs): Add min, -min, min_subnorm and
5711 (calc_generic_results): Handle mpfr_ff_f.
5712 * sysdeps/i386/fpu/libm-test-ulps: Update.
5713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5715 2013-12-16 Will Newton <will.newton@linaro.org>
5717 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5718 (Aligned Memory Blocks): Add documentation for aligned_alloc
5719 and suggest it as an alternative to posix_memalign.
5720 (Hooks for Malloc): Document __memalign_hook is also called
5721 for aligned_alloc. (Summary of Malloc): Add summary for
5722 aligned alloc. Document __memalign_hook is also called
5725 2013-12-16 Will Newton <will.newton@linaro.org>
5727 * manual/memory.texi (Malloc Examples): Clarify default
5728 alignment documentation. Suggest posix_memalign rather
5729 than memalign or valloc.
5730 (Aligned Memory Blocks): Remove suggestion to use memalign
5731 or valloc. Remove obsolete comment about BSD.
5732 Document memalign errno values and mark the function obsolete.
5733 Document posix_memalign returned error codes. Mark valloc
5734 as obsolete. (Hooks for Malloc): __memalign_hook is also
5735 called for posix_memalign and valloc.
5736 (Summary of Malloc): Add posix_memalign to function summary.
5737 __memalign_hook is also called for posix_memalign and valloc.
5739 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5741 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5745 (sloww): Use mynumber union. Expand ternary operator into
5747 (cslow): use mynumber union.
5749 2013-12-16 Allan McRae <allan@archlinux.org>
5751 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5752 * configure: Regenerated.
5754 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5757 * configure.ac: Added --enable-maintainer-mode. Check for
5758 autoconf when enabled.
5759 * configure: Regenerated.
5761 * nscd/nscd.service: New file.
5762 * nscd/nscd.tmpfiles: New file.
5764 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
5767 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5768 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5769 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5770 (strstr): Add __strstr_sse2_unaligned ifunc.
5771 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5772 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5773 (strcasestr): Remove __strcasestr_sse42 ifunc.
5774 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5775 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5778 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5780 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5781 * sysdeps/sh/bits/fenv.h: ... here.
5782 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5784 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5786 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5788 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5790 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5791 hypotf multiarch implementations.
5792 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5793 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5794 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5795 multiarch hypot for PPC64.
5796 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5797 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5798 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5799 multiarch hypotf for PPC64.
5801 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5803 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5804 modff multiarch implementations.
5805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5808 multiarch modf for PPC64.
5809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5812 multiarch modff for PPC64.
5814 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5817 and logl multiarch implementations.
5818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5821 multiarch logb for PPC64.
5822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5825 multiarch logb for PPC64.
5826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5829 multiarch logb for PPC64.
5831 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5833 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5834 isinff multiarch implementation.
5835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5839 multiarch isinf for PPC64.
5840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5843 multiarch isinff for PPC64.
5845 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5847 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5848 finitef multiarch implementation.
5849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5853 multiarch finite for PPC64.
5854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5857 multiarch finitef for PPC64.
5859 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5862 lrint multiarch implementation.
5863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5867 multiarch llrint for PPC64.
5868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5869 multiarch lrint for PPC64.
5871 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5873 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5874 copysignf multiarch implementation.
5875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5880 multiarch copysign for PPC64.
5881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5882 multiarch copysignf for PPC64.
5884 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5886 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5887 multiarch implementation.
5888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5896 multiarch llround for PPC64.
5897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5898 multiarch trunc for PPC64.
5899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5900 multiarch truncf for PPC64.
5902 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5905 multiarch implementation.
5906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5914 multiarch llround for PPC64.
5915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5916 multiarch round for PPC64.
5917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5918 multiarch roundf for PPC64.
5920 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5922 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5923 multiarch implementation.
5924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5932 multiarch llround for PPC64.
5933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5934 multiarch floor for PPC64.
5935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5936 multiarch floorf for PPC64.
5938 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5941 multiarch implementation.
5942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5950 multiarch llround for PPC64.
5951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5952 multiarch ceil for PPC64.
5953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5954 multiarch ceilf for PPC64.
5956 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5959 multiarch implementation.
5960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5967 multiarch llround for PPC64.
5968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5969 multiarch lround for PPC64.
5971 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5973 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5974 multiarch implementation.
5975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5982 multiarch isnan for PPC64.
5983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5984 multiarch isnanf for PPC64.
5986 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5988 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5989 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5990 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5991 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5992 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5995 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5997 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5998 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5999 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6000 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6002 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6004 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6005 multiarch implementations.
6006 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6007 (__libc_ifunc_impl_list): Likewise.
6008 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6009 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6010 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6011 multiarch stpcpy for PPC64.
6013 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6016 multiarch implementations.
6017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6018 (__libc_ifunc_impl_list): Likewise.
6019 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6020 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6021 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6022 multiarch strcpy for PPC64.
6024 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6026 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6027 redefine function name.
6028 (_wordcopy_fwd_dest_aligned): Likewise.
6029 (_wordcopy_bwd_aligned): Likewise.
6030 (_wordcopy_bwd_dest_aligned): Likewise.
6031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6032 multiarch implementations.
6033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6034 (__libc_ifunc_impl_list): Likewise.
6035 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6036 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6037 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6038 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6039 multiarch wcscpy for PPC64.
6041 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6044 multiarch implementations.
6045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6046 (__libc_ifunc_impl_list): Likewise.
6047 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6048 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6049 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6050 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6051 multiarch wcscpy for PPC64.
6053 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6056 multiarch implementations.
6057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6058 (__libc_ifunc_impl_list): Likewise.
6059 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6060 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6061 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6062 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6063 multiarch wcsrchr for PPC64.
6065 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6068 multiarch implementations.
6069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6070 (__libc_ifunc_impl_list): Likewise.
6071 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6072 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6073 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6074 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6075 multiarch wcschr for PPC64.
6077 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6080 multiarch implementations.
6081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6082 (__libc_ifunc_impl_list): Likewise.
6083 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6084 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6085 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6086 multiarch strchrnul for PPC64.
6088 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6093 (__libc_ifunc_impl_list): Likewise.
6094 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6095 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6096 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6097 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6100 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6105 (__libc_ifunc_impl_list): Likewise.
6106 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6107 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6108 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6109 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6112 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6115 multiarch implementations.
6116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6117 (__libc_ifunc_impl_list): Likewise.
6118 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6119 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6120 strncasecmp for PPC64.
6121 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6122 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6123 multiarch strncasecmp_l for PPC64.
6125 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6128 multiarch implementations.
6129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6130 (__libc_ifunc_impl_list): Likewise.
6131 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6132 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6133 multiarch strcasecmp for PPC64.
6134 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6136 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6137 multiarch strcasecmp_l for PPC64.
6139 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6144 (__libc_ifunc_impl_list): Likewise.
6145 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6146 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6147 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6150 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6155 (__libc_ifunc_impl_list): Likewise.
6156 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6157 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6158 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6161 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6166 (__libc_ifunc_impl_list): Likewise.
6167 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6168 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6169 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6170 rawmemrchr for PPC64.
6172 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6177 (__libc_ifunc_impl_list): Likewise.
6178 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6179 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6180 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6183 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6188 (__libc_ifunc_impl_list): Likewise.
6189 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6190 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6191 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6194 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6199 (__libc_ifunc_impl_list): Likewise.
6200 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6201 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6202 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6205 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6207 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6208 avoid cretion of __bzero symbol.
6209 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6211 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6213 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6216 multiarch implementations.
6217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6218 (__libc_ifunc_impl_list): Likewise.
6219 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6220 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6221 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6222 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6224 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6225 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6226 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6227 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6228 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6230 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6232 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6234 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6238 (__libc_ifunc_impl_list): Likewise.
6239 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6240 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6241 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6242 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6245 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6248 multiarch for POWER/PPC64.
6249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6250 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6251 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6252 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6253 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6254 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6255 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6256 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6257 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6260 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6262 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6263 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6264 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6265 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6266 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6267 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6268 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6269 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6270 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6271 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6272 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6273 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6274 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6275 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6276 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6285 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6287 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6289 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6291 * benchtests/Makefile (bench): Add exp2 and log2.
6292 (LDLIBS-bench-exp2): Add -lm.
6293 (LDLIBS-bench-log2): Likewise.
6294 * benchtests/exp2-inputs: New inputs file.
6295 * benchtests/log2-inputs: New inputs file.
6296 * benchtests/log-inputs: Add new inputs.
6297 * benchtests/tan-inputs: Likewise.
6299 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6301 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6303 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6304 csloww1, csloww2): ... from here.
6306 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6307 instead of structures.
6308 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6309 (POLYNOMIAL): Likewise.
6310 (TAYLOR_SLOW): Likewise.
6318 (bsloww1): Likewise.
6319 (bsloww2): Likewise.
6322 (csloww1): Likewise.
6323 (csloww2): Likewise.
6325 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6327 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6328 (__malloc_assert, __libc_realloc, __libc_calloc,
6329 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6331 * malloc/hooks.c (realloc_check): Likewise.
6333 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6335 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6336 * malloc/arena.c: Remove PER_THREAD conditional.
6337 [!PER_THREAD]: Remove code.
6338 (ptmalloc_unlock_all2): Likewise.
6339 (ptmalloc_init): Likewise.
6340 (_int_new_arena): Likewise.
6341 (arena_get2): Likewise.
6342 * malloc/hooks.c (__malloc_get_state): Likewise.
6343 (__malloc_set_state): Likewise.
6344 * malloc/malloc.c: Likewise.
6345 (struct malloc_state): Likewise.
6346 (struct malloc_par): Likewise.
6347 (__libc_realloc): Likewise.
6348 (__libc_mallopt): Likewise.
6350 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6352 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6354 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6356 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6357 macro to a function. Check for zero perturb_byte.
6358 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6360 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6362 * malloc/malloc.c: (force_reg): Remove.
6363 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6364 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6365 force_reg by atomic_forced_read.
6366 * malloc/arena.c (ptmalloc_init): Likewise.
6367 * malloc/hooks.c (top_check): Likewise.
6369 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6373 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6377 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6379 * math/auto-libm-test-in: Add tests of lgamma.
6380 * math/auto-libm-test-out: Regenerated.
6381 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6382 (M_LOG_2_SQRT_PIl): Likewise.
6383 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6384 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6386 (func_calc_desc): Add mpfr_f_f1 union field.
6395 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6396 (test_functions): Add lgamma.
6397 (calc_generic_results): Handle mpfr_f_f1.
6398 * sysdeps/i386/fpu/libm-test-ulps: Update.
6399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6401 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6403 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6404 __mpn_add_n for PowerPC64/POWER7.
6405 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6406 __mpn_sub_n for PowerPC64/POWER7.
6408 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6410 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6411 __mpn_addmul_1 for PowerPC64.
6412 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6413 __mpn_submul_1 for PowerPC64.
6414 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6416 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6419 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6422 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6424 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6426 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6428 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6430 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6431 add multiarch folders.
6432 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6433 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6434 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6435 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6436 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6437 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6438 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6439 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6440 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6441 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6442 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6450 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6453 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6459 multiarch __ieee754_hypot for PowerPC32.
6460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6465 multiarch __ieee754_hypotf for PowerPC32.
6467 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6469 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6470 long_double_symbol only if __logbl is defined.
6471 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6472 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6473 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6474 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6475 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6476 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6477 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6478 path for implementation.
6479 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6480 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6482 logb, and logbl multiarch implementations for PowerPC32.
6483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6488 multiarch logb for PowerPC32.
6489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6494 multiarch logbf for PowerPC32.
6495 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6499 multiarch logbl implementation for PowerPC32.
6501 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6504 and modff multiarch implementations.
6505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6510 multiarch modf for PowerPC32.
6511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6516 multiarch modff for PowerPC32.
6518 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6521 and lrintf multiarch implementations.
6522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6527 multiarch lrint for PowerPC32.
6528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6529 file: multiarch lrintf for PowerPC32.
6531 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6534 and lroundf multiarch implementations.
6535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6542 multiarch lround for PowerPC32.
6543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6544 file: multiarch lroundf for PowerPC32.
6546 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6549 copysign and copysignf multiarch implementations.
6550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6555 file: multiarch copysign for PowerPC32.
6556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6557 file: multiarch copysignf for PowerPC32.
6559 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6562 and truncf multiarch implementations.
6563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6568 multiarch trunc for PowerPC32.
6569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6574 multiarch truncf for PowerPC32.
6576 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6579 and roundf multiarch implementations.
6580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6585 multiarch round for PowerPC32.
6586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6591 multiarch roundf for PowerPC32.
6593 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6596 and floorf multiarch implementations.
6597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6602 multiarch floor for PowerPC32.
6603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6608 multiarch floorf for PowerPC32.
6610 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6613 and ceilf multiarch implementations.
6614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6619 multiarch ceil for PowerPC32.
6620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6625 multiarch ceilf for PowerPC32.
6627 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6629 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6631 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6634 and finitef multiarch implementations.
6635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6640 multiarch finite for PowerPC32.
6641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6644 file: multiarch finitef for PowerPC32.
6646 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6649 and isinff multiarch implementations.
6650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6655 multiarch isinf for PowerPC32.
6656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6659 multiarch isinff for PowerPC32.
6661 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6663 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6664 alias when __isnan is defined.
6665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6666 and isnanf multiarch implementations.
6667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6676 multiarch isnan for PowerPC32.
6677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6682 multiarch isnanf for PowerPC32.
6684 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6687 and sqrtf multiarch implementations.
6688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6693 multiarch sqrt for PowerPC32.
6694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6699 multiarch sqrtf for PowerPC32.
6701 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6704 and llroundf multiarch implementations.
6705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6712 file: multiarch llround for PowerPC32.
6713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6714 file: multiarch llroundf for PowerPC32.
6716 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6719 multiarch PowerPC32 fpu implementations.
6720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6725 multiarch llrint for PowerPC32.
6726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6733 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6737 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6739 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6741 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6743 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6745 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6746 multiarch wordcopy for PPC32.
6747 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6749 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6750 (__libc_ifunc_impl_list): Likewise.
6751 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6752 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6753 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6754 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6755 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6756 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6758 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6760 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6761 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6763 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6765 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6767 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6768 multiarch wcscpy for PPC32.
6769 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6771 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6772 (__libc_ifunc_impl_list): Likewise.
6773 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6774 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6775 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6776 sysdeps/powerpc/power6/wcscpy.c.
6778 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6780 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6781 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6783 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6785 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6787 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6788 multiarch wcsrchr for PPC32.
6789 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6791 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6792 (__libc_ifunc_impl_list): Likewise.
6793 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6794 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6795 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6796 sysdeps/powerpc/power6/wcsrchr.c.
6798 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6800 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6802 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6805 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6806 multiarch wcschr for PPc32.
6807 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6809 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6810 (__libc_ifunc_impl_list): Likewise.
6811 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6812 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6813 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6814 sysdeps/powerpc/power6/wcschr.c.
6816 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6818 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6819 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6821 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6822 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6823 file: multiarch strchr for PPC32.
6824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6827 (__libc_ifunc_impl_list): Likewise.
6829 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6831 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6833 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6835 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6837 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6838 multiarch strchrnul for PPC32.
6839 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6841 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6842 (__libc_ifunc_impl_list): Likewise.
6844 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6846 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6848 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6849 multiarch strncasecmp for PPC32.
6850 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6852 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6853 multiarch strncasecmp_l for PPC32.
6854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6855 strncasecmp multiarch objects.
6856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6857 (__libc_ifunc_impl_list): Likewise.
6859 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6861 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6863 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6864 multiarch strncasecmp for PPC32.
6865 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6867 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6868 multiarch strcasecmp_l for PPC32.
6869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6872 (__libc_ifunc_impl_list): Likewise.
6874 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6876 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6878 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6880 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6881 multiarch strncmp for PPC32.
6882 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6884 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6885 (__libc_ifunc_impl_list): Likewise.
6887 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6889 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6890 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6892 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6893 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6897 (__libc_ifunc_impl_list): Likewise.
6899 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6901 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6903 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6905 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6909 (__libc_ifunc_impl_list): Likewise.
6911 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6913 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6915 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6917 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6918 multiarch rawmemchr for PPC32.
6919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6922 (__libc_ifunc_impl_list): Likewise.
6924 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6926 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6928 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6930 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6931 file: memrchr multiarch for PPC32.
6932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6935 (__libc_ifunc_impl_list): Likewise.
6937 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6939 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6942 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6943 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6944 multiarch memchr for PPC32.
6945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6948 (__libc_ifunc_impl_list): Likewise.
6950 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6952 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6953 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6955 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6958 file: multiarch mempcpy for PPC32.
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6961 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6962 (__libc_ifunc_impl_list): Likewise.
6964 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6966 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6967 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6969 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6970 multiarch bzero for PPC32.
6971 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6973 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6975 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6976 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6977 file: multiarch memset for PPC32.
6978 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6980 memset multiarch objects.
6981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6982 (__libc_ifunc_impl_list): Likewise.
6984 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6986 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6988 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6989 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6991 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6992 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6994 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6995 (__libc_ifunc_impl_list): Likewise.
6997 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6999 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7000 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7001 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7003 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7005 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7007 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7008 multiarch memcpy for PPC32.
7009 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7011 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7012 (__libc_ifunc_impl_list): Likewise.
7014 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7017 support multiarch for POWER/PPC32.
7018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7020 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7022 Implies file to make multiarch folder appers before the fpu and
7023 default folder for power4 configuration.
7025 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7027 * scripts/bench.pl: Append volatile keyword to type.
7029 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7031 * sysdeps/sh/sotruss-lib.c: New file.
7032 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7034 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7038 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7041 * math/w_tgamma.c: Include <errno.h>.
7042 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7043 * math/w_tgammaf.c: Include <errno.h>.
7044 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7045 * math/w_tgammal.c: Include <errno.h>.
7046 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7047 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7048 underflow. Add more tgamma tests.
7049 * math/auto-libm-test-out: Regenerated.
7050 * sysdeps/i386/fpu/libm-test-ulps: Update.
7051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7053 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7054 sin, sinh, tan, tanh, tgamma, y0 and y1.
7055 * math/auto-libm-test-out: Regenerated.
7056 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7057 (TEST_COND_x86): Likewise.
7058 (M_E2l): Remove macro.
7060 (M_2_SQRT_PIl): Likewise.
7061 (M_SQRT_PIl): Likewise.
7062 (M_1_DIV_El): Likewise.
7063 (log_test_data): Use AUTO_TESTS_f_f.
7064 (log10_test_data): Likewise.
7065 (log1p_test_data): Likewise.
7066 (log2_test_data): Likewise.
7067 (sin_test_data): Likewise.
7068 (sin_tonearest_test_data): Likewise.
7069 (sin_towardzero_test_data): Likewise.
7070 (sin_downward_test_data): Likewise.
7071 (sin_upward_test_data): Likewise.
7072 (sinh_test_data): Likewise.
7073 (sinh_tonearest_test_data): Likewise.
7074 (sinh_towardzero_test_data): Likewise.
7075 (sinh_downward_test_data): Likewise.
7076 (sinh_upward_test_data): Likewise.
7077 (tan_test_data): Likewise.
7078 (tan_tonearest_test_data): Likewise.
7079 (tan_towardzero_test_data): Likewise.
7080 (tan_downward_test_data): Likewise.
7081 (tan_upward_test_data): Likewise.
7082 (tanh_test_data): Likewise.
7083 (tgamma_test_data): Likewise.
7084 (y0_test_data): Likewise.
7085 (y1_test_data): Likewise.
7086 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7087 (special_real_inputs): Add pi/4.
7088 * sysdeps/i386/fpu/libm-test-ulps: Update.
7089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7091 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7093 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7094 "longjmp_target" static probes.
7095 (__longjmp): Rename to __longjmp_symbol.
7096 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7097 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7098 on which longjmp to generate.
7099 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7100 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7102 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7103 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7104 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7105 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7106 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7107 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7109 __longjmp_symbol based on which __longjmp to generate.
7110 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7112 (setjmp): Rename to setjmp_symbol.
7113 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7114 (_setjmp): Rename to _setjmp_symbol.
7115 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7116 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7117 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7118 which setjmp to generate.
7119 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7120 "longjmp_target" static probes.
7122 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7124 * benchtests/README: Add note about output arguments.
7125 * benchtests/bench-sincos.c: Remove file.
7126 * benchtests/sincos-inputs: New file.
7127 * scripts/bench.pl: Identify output arguments and define
7128 static variables for them.
7130 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7133 * Makefile (INSTALL): Add install-plain.texi as the primary
7135 * manual/install-plain.texi: New file.
7136 * manual/install.texi: Include node directive only for
7137 non-plaintext output.
7139 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7141 * stdlib/longlong.h: Update from GCC.
7145 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7146 * math/w_j0f.c (y0f): Likewise.
7147 * math/w_j0l.c (__y0l): Likewise.
7148 * math/w_j1.c (y1): Likewise.
7149 * math/w_j1f.c (y1f): Likewise.
7150 * math/w_j1l.c (__y1l): Likewise
7151 * math/w_jn.c (yn): Likewise.
7152 * math/w_jnf.c (ynf): Likewise.
7153 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7154 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7155 value for Bessel function domain errors outside _SVID_ mode.
7156 Adjust sign of return value for yn (negative integer, 0).
7157 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7158 by zero in return for negative x and set sign appropriately for
7160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7161 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7162 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7163 expectations in error cases.
7164 (y1_test_data): Likewise.
7165 (yn_test_data): Likewise.
7166 * sysdeps/i386/fpu/libm-test-ulps: Update.
7167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7169 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7171 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7172 "64" to "64-v1". Add "64-v2".
7173 (abi-64-options): Rename to ...
7174 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7175 (abi-64-condition): Rename to ...
7176 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7177 (abi-64-ld-soname): Rename to ...
7178 (abi-64-v1-ld-soname): ... this.
7179 (abi-64-v2-options): Define.
7180 (abi-64-v2-condition): Likewise.
7181 (abi-64-v2-ld-soname): Likewise.
7182 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7183 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7188 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7189 Alan Modra <amodra@gmail.com>
7191 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7192 New versions for use with the ELFv2 ABI.
7193 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7194 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7196 (struct La_ppc64v2_retval): Likewise.
7197 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7198 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7199 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7200 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7201 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7202 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7203 Do not save or restore CR.
7204 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7205 (_dl_profile_resolve): Do no save or restore CR. Support extended
7206 return values for ELFv2 ABI. Fix location of FPR return registers.
7207 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7208 updated values for _CALL_ELF == 2.
7209 (La_regs, La_retval, int_retval): Likewise.
7211 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7213 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7214 (FRAME_MIN_SIZE_PARM): Likewise.
7215 (FRAME_BACKCHAIN): Likewise.
7216 (FRAME_CR_SAVE): Likewise.
7217 (FRAME_LR_SAVE): Likewise.
7218 (FRAME_TOC_SAVE): Likewise.
7219 (FRAME_PARM_SAVE): Likewise.
7220 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7221 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7222 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7223 (call_mcount_parm_offset): New macro.
7224 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7225 (PROF): Use symbolic stack frame offsets.
7226 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7227 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7228 Redefine in terms of FRAME_MIN_SIZE.
7229 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7230 (_dl_profile_resolve): Likewise. Update comment.
7231 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7232 symbols stack frame offsets.
7233 (__sigsetjmp): Likewise.
7234 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7235 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7236 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7237 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7240 (FRAME_BACKCHAIN): Remove.
7241 (FRAME_CR_SAVE): Likewise.
7242 (FRAME_LR_SAVE): Likewise.
7243 (FRAME_COMPILER_DW): Likewise.
7244 (FRAME_LINKER_DW): Likewise.
7245 (FRAME_TOC_SAVE): Likewise.
7246 (FRAME_PARM_SAVE): Likewise.
7247 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7248 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7249 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7251 (CHECK_SP): Use symbolic stack frame offsets.
7252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7253 zone" instead of caller's parameter save area for temp storage.
7254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7255 Likewise. Also, use symbolic stack frame offsets.
7256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7257 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7258 our own stack frame instead of the caller's.
7259 (__socket): Use symbolic stack frame offsets.
7261 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7262 Alan Modra <amodra@gmail.com>
7264 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7266 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7267 PPC64_LOCAL_ENTRY_OFFSET): Define.
7268 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7270 (elf_machine_fixup_plt): Call it.
7271 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7273 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7274 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7275 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7276 r2 before calling target.
7278 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7279 Alan Modra <amodra@gmail.com>
7281 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7282 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7283 versions of macros to support ELFv2 ABI.
7284 (LOCALENTRY): New macro.
7285 (ENTRY, EALIGN): Use it.
7286 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7287 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7288 fall through into ENTRY entry point.
7289 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7290 Only define if _CALL_ELF != 2.
7292 (elf_machine_matches_host): Verify ABI version matches.
7293 (RTLD_START): Use LOCALENTRY.
7294 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7295 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7296 (PLT_ENTRY_WORDS): New macro.
7297 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7298 (elf_machine_runtime_setup): Support ELFv2 ABI.
7299 (elf_machine_fixup_plt): Likewise.
7300 (elf_machine_plt_conflict): Likewise.
7301 (resolve_ifunc): Likewise.
7302 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7303 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7306 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7308 (makecontext): Support ELFv2 ABI.
7309 * elf/elf.h (EF_PPC64_ABI): Define.
7311 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7313 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7314 New assembler macro.
7315 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7316 [ASSEMBLER] (ENTRY): ... but instead here ...
7317 [ASSEMBLER] (EALIGN): ... and here.
7318 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7319 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7320 [!ASSEMBLER] (ENTRY_2): Use it.
7321 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7322 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7323 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7324 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7325 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7327 Use PPC64_LOAD_FUNCPTR.
7329 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7331 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7333 2013-12-04 Alan Modra <amodra@gmail.com>
7335 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7336 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7337 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7338 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7340 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7341 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7342 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7343 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7344 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7345 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7347 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7350 (__makecontext): Fix incorrect CFI when backtracing out of
7351 context created via makecontext.
7352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7353 (__setcontext): Fix incorrect CFI during switch to new context.
7354 (__novec_setcontext): Likewise.
7356 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7359 * time/strptime_l.c (__strptime_internal): Allow modifiers
7361 * time/tst-strptime.c (day_tests): Add testcase.
7364 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7366 * scripts/bench.pl: Skip over blank lines.
7368 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7371 * manual/time.texi (Calendar Time): Clarify what timezone functions
7374 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7378 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7380 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7382 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7383 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7384 * debug/memset_chk.c (__memset_chk): Likewise.
7385 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7386 * debug/strncpy_chk.c: Likewise.
7388 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7392 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7393 (__ieee754_exp): For possibly underflowing results, check size of
7394 result and force underflow exception if required.
7395 * math/auto-libm-test-in: Add more tests of exp.
7396 * math/auto-libm-test-out: Regenerated.
7397 * sysdeps/i386/fpu/libm-test-ulps: Update.
7398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7401 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7402 * math/w_exp2f.c (__exp2f): Likewise.
7403 * math/w_exp2l.c (__exp2l): Likewise.
7404 * math/auto-libm-test-in: Do not allow missing errno on exp2
7406 * math/auto-libm-test-out: Regenerated.
7408 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7411 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7412 handle filename validation.
7413 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7416 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7419 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7420 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7421 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7423 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7424 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7425 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7426 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7427 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7428 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7429 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7430 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7431 Add more erfc tests.
7432 * math/auto-libm-test-out: Regenerated.
7433 * sysdeps/i386/fpu/libm-test-ulps: Update.
7434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7436 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7437 exp2, expm1, j0 and j1.
7438 * math/auto-libm-test-out: Regenerated.
7439 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7440 (erfc_test_data): Likewise.
7441 (exp_test_data): Likewise.
7442 (exp_tonearest_test_data): Likewise.
7443 (exp_towardzero_test_data): Likewise.
7444 (exp_downward_test_data): Likewise.
7445 (exp_upward_test_data): Likewise.
7446 (exp10_test_data): Likewise.
7447 (exp2_test_data): Likewise.
7448 (expm1_test_data): Likewise.
7449 (j0_test_data): Likewise.
7450 (j1_test_data): Likewise.
7451 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7452 (input_flag_type): Add flag_xfail_rounding.
7453 (input_flags): Add xfail-rounding.
7454 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7455 (output_for_one_input_case): Handle flag_xfail_rounding.
7456 * sysdeps/i386/fpu/libm-test-ulps: Update.
7457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7459 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7462 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7465 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7468 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7469 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7470 (STAP_PROBE0): New macro.
7471 (STAP_PROBE1): Likewise.
7472 (STAP_PROBE2): Likewise.
7473 (STAP_PROBE3): Likewise.
7474 (STAP_PROBE4): Likewise.
7476 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7478 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7480 2013-12-02 Steve Ellcey <sellcey@mips.com>
7482 * benchtests/Makefile (bench): Add sqrt.
7483 (LDLIBS-bench-sqrt): New.
7484 * benchtests/sqrt-input: New.
7486 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7488 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7489 (GAIH_EAI): Likewise.
7490 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7491 (gaih_inet): Likewise.
7492 (getaddrinfo): Don't use GAIH_EAI.
7494 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7495 (struct gaih): Remove definition.
7497 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7499 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7500 Use HERRNOP directly.
7502 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7506 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7508 * math/gen-auto-libm-tests.c (test_functions): Add more
7509 single-argument functions.
7510 (special_fill_pi_2): New function.
7511 (special_fill_minus_pi_2): Likewise.
7512 (special_fill_pi_6): Likewise.
7513 (special_fill_minus_pi_6): Likewise.
7514 (special_fill_pi_3): Likewise.
7515 (special_fill_2pi_3): Likewise.
7516 (special_fill_e): Likewise.
7517 (special_fill_1_e): Likewise.
7518 (special_fill_e_minus_1): Likewise.
7519 (special_real_inputs): Add more special inputs.
7520 (output_for_one_input_case): Do not require ERANGE on underflow to
7521 zero if round-to-nearest result does not underflow to zero, unless
7522 exact results required.
7523 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7524 atan, atanh, cbrt, cos and cosh.
7525 * math/auto-libm-test-out: Regenerated.
7526 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7527 (acos_tonearest_test_data): Likewise.
7528 (acos_towardzero_test_data): Likewise.
7529 (acos_downward_test_data): Likewise.
7530 (acos_upward_test_data): Likewise.
7531 (acosh_test_data): Likewise.
7532 (asin_test_data): Likewise.
7533 (asin_tonearest_test_data): Likewise.
7534 (asin_towardzero_test_data): Likewise.
7535 (asin_upward_test_data): Likewise.
7536 (asinh_test_data): Likewise.
7537 (atan_test_data): Likewise.
7538 (atanh_test_data): Likewise.
7539 (cbrt_test_data): Likewise.
7540 (cos_test_data): Likewise.
7541 (cos_tonearest_test_data): Likewise.
7542 (cos_towardzero_test_data): Likewise.
7543 (cos_downward_test_data): Likewise.
7544 (cos_upward_test_data): Likewise.
7545 (cosh_test_data): Likewise.
7546 (cosh_tonearest_test_data): Likewise.
7547 (cosh_towardzero_test_data): Likewise.
7548 (cosh_downward_test_data): Likewise.
7549 (cosh_upward_test_data): Likewise.
7550 * sysdeps/i386/fpu/libm-test-ulps: Update.
7551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7553 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7556 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7557 * math/w_exp10f.c (__exp10f): Likewise.
7558 * math/w_exp10l.c (__exp10l): Likewise.
7559 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7560 errno settings in existing tests.
7563 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7564 precision control set to double precision.
7565 * sysdeps/i386/fpu/w_sqrt.c: New file.
7566 * math/auto-libm-test-in: Add more tests.
7567 * math/auto-libm-test-out: Update.
7569 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7570 (sqrt_test_tonearest): New function.
7571 (sqrt_towardzero_test_data): New variable.
7572 (sqrt_test_towardzero): New function.
7573 (sqrt_downward_test_data): New variable.
7574 (sqrt_test_downward): New function.
7575 (sqrt_upward_test_data): New variable.
7576 (sqrt_test_upward): New function.
7577 (main): Call the new functions.
7579 * math/gen-auto-libm-tests.c: New file.
7580 * math/auto-libm-test-in: Likewise.
7581 * math/auto-libm-test-out: New generated file.
7582 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7584 (%beautify): Add generated representations of zero.
7585 (top level): Set $auto_input and call parse_auto_input.
7586 (beautify): Remove trailing "f" from hex float constants.
7587 (parse_args): Handle XFAIL_TEST.
7588 (convert_condition): New function.
7589 (or_value): Likewise.
7590 (or_cond_value): Likewise.
7591 (generate_testfile): Handle AUTO_TESTS_* lines.
7592 (parse_auto_input): New function.
7593 * math/libm-test.inc (XFAIL_TEST): New macro.
7594 (ERRNO_UNCHANGED): Update value.
7595 (ERRNO_EDOM): Likewise.
7596 (ERRNO_ERANGE): Likewise.
7597 (IGNORE_RESULT): Likewise.
7598 (TEST_COND_flt_32): New macro.
7599 (TEST_COND_dbl_64): Likewise.
7600 (TEST_COND_ldbl_96_intel): Likewise.
7601 (TEST_COND_ldbl_96_m68k): Likewise.
7602 (TEST_COND_ldbl_128): Likewise.
7603 (TEST_COND_ldbl_128ibm): Likewise.
7604 (TEST_COND_long32): Likewise.
7605 (TEST_COND_long64): Likewise.
7606 (TEST_COND_before_rounding): Likewise.
7607 (TEST_COND_after_rounding): Likewise.
7608 (enable_test): Handle XFAIL_TEST flag.
7609 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7610 with finite results.
7611 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7614 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7615 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7618 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7619 __tls_get_addr_internal instead of __tls_get_offset in order to
7620 avoid GOT pointer dependency. Make rtld export
7621 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7622 __tls_get_addr since we are a __tls_get_offset platform.
7623 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7624 GOT pointer being set up before.
7625 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7627 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7629 * manual/math.texi (Errors in Math Functions): Document accuracy
7633 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7634 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7635 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7636 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7637 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7638 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7639 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7640 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7641 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7642 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7643 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7644 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7645 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7646 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7647 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7648 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7650 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7651 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7652 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7653 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7654 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7656 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7658 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7660 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7661 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7662 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7663 atomic-feupdateenv and flt-rounds.
7664 * sysdeps/powerpc/nofpu/Versions (libc): Add
7665 __atomic_feholdexcept, __atomic_feclearexcept,
7666 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7667 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7668 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7669 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7670 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7675 * manual/arith.texi (FP Exceptions): Document that exceptions may
7676 not be raised when matherr is used.
7677 (Math Error Reporting): Document overflow in directed rounding
7678 modes. Document that errno may not be set when finite values are
7679 returned on overflow. Document intent to set errno on underflow
7680 only for underflow to zero.
7683 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7684 round-to-nearest then adjust result for other rounding modes.
7685 * include/fenv.h (fegetround): Use libm_hidden_proto.
7686 * math/fegetround.c (fegetround): Use libm_hidden_def.
7687 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7688 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7689 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7690 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7692 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7693 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7694 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7695 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7697 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7700 * nss/Versions (libnss_files): Add
7701 _nss_files_gethostbyname3_r.
7702 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7704 (HOST_DB_LOOKUP): Remove macro.
7705 (_nss_files_gethostbyname_r): Implement function without the
7706 HOST_DB_LOOKUP macro.
7707 (_nss_files_gethostbyname2_r): Likewise.
7709 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7711 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7713 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7715 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7716 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7719 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7721 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7722 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7723 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7724 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7725 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7726 __fe_nomask_env_priv and attribute_hidden.
7727 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7728 (libc_feupdateenv_test_ppc): Likewise.
7729 (libc_feresetround_ppc): Likewise.
7730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7731 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7732 compat_symbol macro.
7733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7734 (__fe_nomask_env): Likewise.
7735 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7737 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7739 * string/Makefile: Remove ifunc tests.
7740 * string/test-string.h: Define TEST_IFUNC.
7741 * string/test-bcopy-ifunc.c: Remove.
7742 * string/test-bzero-ifunc.c: Likewise.
7743 * string/test-memccpy-ifunc.c: Likewise.
7744 * string/test-memchr-ifunc.c: Likewise.
7745 * string/test-memcmp-ifunc.c: Likewise.
7746 * string/test-memcpy-ifunc.c: Likewise.
7747 * string/test-memmem-ifunc.c: Likewise.
7748 * string/test-memmove-ifunc.c: Likewise.
7749 * string/test-mempcpy-ifunc.c: Likewise.
7750 * string/test-memrchr-ifunc.c: Likewise.
7751 * string/test-memset-ifunc.c: Likewise.
7752 * string/test-rawmemchr-ifunc.c: Likewise.
7753 * string/test-stpcpy-ifunc.c: Likewise.
7754 * string/test-stpncpy-ifunc.c: Likewise.
7755 * string/test-strcasecmp-ifunc.c: Likewise.
7756 * string/test-strcasestr-ifunc.c: Likewise.
7757 * string/test-strcat-ifunc.c: Likewise.
7758 * string/test-strchr-ifunc.c: Likewise.
7759 * string/test-strchrnul-ifunc.c: Likewise.
7760 * string/test-strcmp-ifunc.c: Likewise.
7761 * string/test-strcpy-ifunc.c: Likewise.
7762 * string/test-strcspn-ifunc.c: Likewise.
7763 * string/test-strlen-ifunc.c: Likewise.
7764 * string/test-strncasecmp-ifunc.c: Likewise.
7765 * string/test-strncat-ifunc.c: Likewise.
7766 * string/test-strncmp-ifunc.c: Likewise.
7767 * string/test-strncpy-ifunc.c: Likewise.
7768 * string/test-strnlen-ifunc.c: Likewise.
7769 * string/test-strpbrk-ifunc.c: Likewise.
7770 * string/test-strrchr-ifunc.c: Likewise.
7771 * string/test-strspn-ifunc.c: Likewise.
7772 * string/test-strstr-ifunc.c: Likewise.
7774 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7776 * benchtests/Makefile: Remove ifunc tests.
7777 * benchtests/bench-string.h: Define TEST_IFUNC.
7778 * benchtests/bench-bcopy-ifunc.c: Remove.
7779 * benchtests/bench-bzero-ifunc.c: Likewise.
7780 * benchtests/bench-memccpy-ifunc.c: Likewise.
7781 * benchtests/bench-memchr-ifunc.c: Likewise.
7782 * benchtests/bench-memcmp-ifunc.c: Likewise.
7783 * benchtests/bench-memcpy-ifunc.c: Likewise.
7784 * benchtests/bench-memmem-ifunc.c: Likewise.
7785 * benchtests/bench-memmove-ifunc.c: Likewise.
7786 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7787 * benchtests/bench-memrchr-ifunc.c: Likewise.
7788 * benchtests/bench-memset-ifunc.c: Likewise.
7789 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7790 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7791 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7792 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7793 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7794 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7795 * benchtests/bench-strcat-ifunc.c: Likewise.
7796 * benchtests/bench-strchr-ifunc.c: Likewise.
7797 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7798 * benchtests/bench-strcmp-ifunc.c: Likewise.
7799 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7800 * benchtests/bench-strcpy-ifunc.c: Likewise.
7801 * benchtests/bench-strcspn-ifunc.c: Likewise.
7802 * benchtests/bench-strlen-ifunc.c: Likewise.
7803 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7804 * benchtests/bench-strncat-ifunc.c: Likewise.
7805 * benchtests/bench-strncmp-ifunc.c: Likewise.
7806 * benchtests/bench-strncpy-ifunc.c: Likewise.
7807 * benchtests/bench-strnlen-ifunc.c: Likewise.
7808 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7809 * benchtests/bench-strrchr-ifunc.c: Likewise.
7810 * benchtests/bench-strsep-ifunc.c: Likewise.
7811 * benchtests/bench-strspn-ifunc.c: Likewise.
7812 * benchtests/bench-strstr-ifunc.c: Likewise.
7814 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7816 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7818 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7820 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7821 * rt/aio.h: Likewise.
7822 * sysdeps/gnu/bits/utmp.h: Likewise.
7823 * sysdeps/gnu/bits/utmpx.h: Likewise.
7824 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7825 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7826 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7827 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7828 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7829 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7830 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7831 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7832 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7833 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7834 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7835 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7836 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7838 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7839 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7840 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7841 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7842 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7843 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7844 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7845 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7846 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7847 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7848 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7849 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7850 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7851 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7852 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7853 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7854 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7855 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7856 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7857 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7858 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7859 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7860 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7861 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7862 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7863 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7864 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7865 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7867 2013-11-25 Carlos O'Donell <carlos@redhat.com>
7870 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7871 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7873 2013-11-25 Joseph Myers <joseph@codesourcery.com>
7875 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7876 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7879 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7881 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7882 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7883 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7884 (__fesetround): Remove define.
7885 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7886 rounding and exceptions handling.
7887 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7888 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7889 (__fe_nomask_env): Likewise.
7890 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7891 __fegetround instead of fegetround.
7892 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7893 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7895 2013-11-21 Roland McGrath <roland@hack.frob.com>
7897 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7900 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7902 2013-11-21 Meador Inge <meadori@codesourcery.com>
7905 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7906 (encrypt_r): Likewise.
7907 * malloc/obstack.h (obstack_free): Likewise.
7908 * posix/unistd.h (encrypt): Likewise.
7910 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7912 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7913 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7914 DL_CALL_DT_FINI() that call the functions directly.
7915 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7916 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7917 * elf/dl-fini.c: Likewise.
7919 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
7921 * malloc/hooks.c (memalign_check): Add alignment rounding.
7922 * malloc/malloc.c (_mid_memalign): New function.
7923 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7924 Implement by calling _mid_memalign.
7925 * manual/probes.texi (Memory Allocation Probes): Remove
7926 memory_valloc_retry and memory_pvalloc_retry.
7928 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7930 * locale/programs/locarchive.c (open_archive): Add const
7931 qualifier to ARCHIVEFNAME and copy default fname to
7935 * libio/tst-widetext.input: Rename Oriya to Odia.
7936 * locale/iso-639.def: Likewise.
7938 * manual/probes.texi (Mathematical Function Probes): Add
7939 documentation for sin, cos, asin and acos probes.
7940 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7941 (__sin32): Add slowasin probe.
7942 (__cos32): Add slowacos probe.
7943 (__mpsin): Add slowsin probe.
7944 (__mpcos): Add slowcos probe.
7946 2013-11-19 Joseph Myers <joseph@codesourcery.com>
7949 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7950 thread-local __sim_exceptions_thread and global
7951 __sim_exceptions_global.
7952 (__sim_disabled_exceptions): Change to thread-local
7953 __sim_disabled_exceptions_thread and global
7954 __sim_disabled_exceptions_global.
7955 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7956 and global __sim_round_mode_global.
7957 (__simulate_exceptions): Use thread-local floating-point state and
7958 set global state from it as needed.
7959 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7960 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7961 __sim_round_mode_thread.
7962 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7963 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7964 and global __sim_exceptions_global.
7965 (__sim_disabled_exceptions): Change to thread-local
7966 __sim_disabled_exceptions_thread and global
7967 __sim_disabled_exceptions_global.
7968 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7969 and global __sim_round_mode_global.
7970 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7971 (SIM_SET_GLOBAL): Likewise.
7972 * sysdeps/powerpc/soft-fp/sfp-machine.h
7973 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7974 __sim_round_mode_thread.
7975 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7976 __sim_disabled_exceptions_thread.
7977 (__sim_exceptions): Change to __sim_exceptions_thread.
7978 (__sim_disabled_exceptions): Change to
7979 __sim_disabled_exceptions_thread.
7980 (__sim_round_mode): Change to __sim_round_mode_thread.
7981 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7982 thread-local floating-point state and set global state from it as
7984 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7985 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7986 (__sim_disabled_exceptions): Remove extern declaration.
7987 (feenableexcept): Use thread-local floating-point state and set
7988 global state from it as needed.
7989 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7991 (__sim_disabled_exceptions): Likewise.
7992 (__sim_round_mode): Likewise.
7993 (__fegetenv): Use thread-local floating-point state.
7994 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7995 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7996 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7997 floating-point state and set global state from it as needed.
7998 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7999 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8000 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8002 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8003 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8005 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8006 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8007 Use __sim_round_mode_thread.
8008 * math/test-fenv-tls.c: New file.
8009 * math/Makefile (tests): Add test-fenv-tls.
8010 ($(objpfx)test-fenv-tls): Depend on
8011 $(common-objpfx)nptl/libpthread.so.
8013 2013-11-19 Andreas Schwab <schwab@suse.de>
8015 * locale/programs/locale.c (show_info): Decode wordarray elements.
8016 * locale/categories.def (LC_MONETARY): Add element for
8017 _NL_MONETARY_CRNCYSTR.
8018 * locale/C-monetary.c (conversion_rate): New variable.
8019 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8022 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8024 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8025 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8027 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8029 * elf/Makefile (tst-auxv): New test.
8030 * elf/tst-auxv.c: New
8031 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8033 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8035 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8036 (hidden_proto): Caller changed.
8037 (hidden_tls_proto): New macro.
8038 (libc_hidden_tls_proto): Likewise.
8039 (rtld_hidden_tls_proto): Likewise.
8040 (libm_hidden_tls_proto): Likewise.
8041 (libresolv_hidden_tls_proto): Likewise.
8042 (librt_hidden_tls_proto): Likewise.
8043 (libdl_hidden_tls_proto): Likewise.
8044 (libnss_files_hidden_tls_proto): Likewise.
8045 (libnsl_hidden_tls_proto): Likewise.
8046 (libnss_nisplus_hidden_tls_proto): Likewise.
8047 (libutil_hidden_tls_proto): Likewise.
8049 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8052 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8053 (decompose_rpath): Defer expansion to fillin_rpath.
8054 (_dl_init_paths): Pass linkmap to fillin_rpath.
8056 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8058 * benchtests/Makefile: Add strsep.
8059 * benchtests/bench-strsep.c: New file: strsep benchtest.
8060 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8062 2013-11-18 Andreas Schwab <schwab@suse.de>
8064 * locale/programs/locale.c (show_info) [case byte]: Check for
8065 '\377' instead of '\177'.
8066 * locale/C-monetary.c (not_available): Always use "\377".
8067 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8068 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8069 detect unavailable sign_posn locale elements.
8070 * locale/localeconv.c (__localeconv): For grouping and
8071 mon_grouping handle "\177" and "\377" like no grouping.
8072 (INT_ELEM): New macro. Use it to set all numeric members.
8073 * locale/programs/ld-monetary.c (monetary_read)
8074 <tok_mon_grouping>: Normalize single -1 to the empty string.
8075 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8078 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8081 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8082 when we match (nil).
8083 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8085 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8087 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8088 (NO_TEST_INLINE): Update value.
8089 (ERRNO_UNCHANGED): Likewise.
8090 (ERRNO_EDOM): Likewise.
8091 (ERRNO_ERANGE): Likewise.
8092 (IGNORE_RESULT): Likewise.
8093 (check_float_internal): Check signs of NaN results if
8095 (check_complex): Pass TEST_NAN_SIGN flag through to second
8096 check_float_internal call.
8097 (copysign_test_data): Add tests with quiet NaNs as second
8098 argument. Use TEST_NAN_SIGN.
8099 (fabs_test_data): Add test of negative quiet NaN argument. Use
8101 (signbit_test_data): Add tests of quiet NaN argument.
8102 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8104 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8106 (parse_args): Handle function results specified as IGNORE.
8107 * math/libm-test.inc (IGNORE_RESULT): New macro.
8108 (check_float_internal): Do not check numerical result if flag
8110 (check_complex): Pass through IGNORE_RESULT to second
8111 check_float_internal call.
8112 (check_int): Do not check numerical result if flag IGNORE_RESULT
8114 (check_long): Likewise.
8115 (check_bool): Likewise.
8116 (check_longlong): Likewise.
8117 (lrint_test_data): Add tests of infinite and NaN arguments.
8118 (lrint_tonearest_test_data): Likewise.
8119 (lrint_towardzero_test_data): Likewise.
8120 (lrint_downward_test_data): Likewise.
8121 (lrint_upward_test_data): Likewise.
8122 (llrint_test_data): Likewise.
8123 (llrint_tonearest_test_data): Likewise.
8124 (llrint_towardzero_test_data): Likewise.
8125 (llrint_downward_test_data): Likewise.
8126 (llrint_upward_test_data): Likewise.
8127 (lround_test_data): Likewise.
8128 (llround_test_data): Likewise.
8130 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8131 (ERRNO_UNCHANGED): Update value.
8132 (ERRNO_EDOM): Likewise.
8133 (ERRNO_ERANGE): Likewise.
8134 (NO_TEST_INLINE_FLOAT): New macro.
8135 (NO_TEST_INLINE_DOUBLE): Likewise.
8136 (enable_test): New function.
8137 (RUN_TEST_f_f): Check enable_test before running test.
8138 (RUN_TEST_2_f): Likewise.
8139 (RUN_TEST_fff_f): Likewise.
8140 (RUN_TEST_c_f): Likewise.
8141 (RUN_TEST_f_f1): Likewise.
8142 (RUN_TEST_fF_f1): Likewise.
8143 (RUN_TEST_fI_f1): Likewise.
8144 (RUN_TEST_ffI_f1): Likewise.
8145 (RUN_TEST_c_c): Likewise.
8146 (RUN_TEST_cc_c): Likewise.
8147 (RUN_TEST_f_i): Likewise.
8148 (RUN_TEST_f_i_tg): Likewise.
8149 (RUN_TEST_ff_i_tg): Likewise.
8150 (RUN_TEST_f_b): Likewise.
8151 (RUN_TEST_f_b_tg): Likewise.
8152 (RUN_TEST_f_l): Likewise.
8153 (RUN_TEST_f_L): Likewise.
8154 (RUN_TEST_fFF_11): Likewise.
8155 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8157 (cosh_test_data): Likewise.
8158 (exp_test_data): Likewise.
8159 (expm1_test_data): Likewise.
8160 (hypot_test_data): Likewise.
8161 (pow_test_data): Likewise.
8162 (sinh_test_data): Likewise.
8163 (tanh_test_data): Likewise.
8164 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8167 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8168 tests with quiet NaN input and output.
8169 (acosh_test_data): Likewise.
8170 (asin_test_data): Likewise.
8171 (asinh_test_data): Likewise.
8172 (atan_test_data): Likewise.
8173 (atanh_test_data): Likewise.
8174 (atan2_test_data): Likewise.
8175 (cbrt_test_data): Likewise.
8176 (cos_test_data): Likewise.
8177 (cosh_test_data): Likewise.
8178 (erf_test_data): Likewise.
8179 (erfc_test_data): Likewise.
8180 (exp_test_data): Likewise.
8181 (exp10_test_data): Likewise.
8182 (exp2_test_data): Likewise.
8183 (expm1_test_data): Likewise.
8184 (hypot_test_data): Likewise.
8185 (j0_test_data): Likewise.
8186 (j1_test_data): Likewise.
8187 (jn_test_data): Likewise.
8188 (lgamma_test_data): Likewise.
8189 (log_test_data): Likewise.
8190 (log10_test_data): Likewise.
8191 (log1p_test_data): Likewise.
8192 (log2_test_data): Likewise.
8193 (pow_test_data): Likewise.
8194 (scalb_test_data): Likewise.
8195 (sin_test_data): Likewise.
8196 (sincos_test_data): Likewise.
8197 (sinh_test_data): Likewise.
8198 (tan_test_data): Likewise.
8199 (tanh_test_data): Likewise.
8200 (tgamma_test_data): Likewise.
8201 (y0_test_data): Likewise.
8202 (y1_test_data): Likewise.
8203 (yn_test_data): Likewise.
8206 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8207 argument being NaN and avoid computations with second argument in
8209 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8210 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8211 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8213 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8215 * locale/iso-639.def: Add Chitwani Tharu (the).
8217 2013-11-14 Andreas Schwab <schwab@suse.de>
8219 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8220 word instead of empty string.
8222 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8225 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8227 (__fe_nomask_env): Likewise.
8229 2013-11-13 Steve Ellcey <sellcey@mips.com>
8231 * benchtests/bench-timing.h: Include time.h.
8233 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8236 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8238 * sysdeps/unix/sysv/linux/configure: Regenerated.
8240 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8243 * stdlib/strtod_l.c (round_and_return): Do not consider
8244 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8245 exponent one less than half the least subnormal exponent.
8246 * stdlib/test-strtod-round-data: Add more tests.
8247 * stdlib/tst-strtod-round.c (tests): Regenerated.
8249 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8252 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8253 (__fe_mask_env): Likewise.
8254 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8255 libm_hidden_proto and add function prototype.
8256 (__fe_mask_env): Add function prototype.
8257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8258 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8260 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8262 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8264 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8266 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8267 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8269 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8271 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8272 of htab_find_slot().
8274 2013-11-11 David S. Miller <davem@davemloft.net>
8277 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8278 symbol in the non-vis3 case in static builds.
8279 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8280 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8281 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8282 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8284 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8287 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8290 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8292 * benchtests/Makefile: Add bench-strtod.
8293 * benchtests/bench-strtod.c: New file: strtod benchtest
8295 2013-11-11 Andreas Schwab <schwab@suse.de>
8298 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8299 terminating NUL in key length.
8301 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8303 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8304 Add artificial ODP entry for vDSO symbol for PPC64.
8305 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8306 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8308 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8311 * nss/getent.c (services_keys): Recognize services starting with digit.
8313 2013-11-06 David S. Miller <davem@davemloft.net>
8316 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8317 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8319 2013-11-06 Will Newton <will.newton@linaro.org>
8321 * manual/memory.texi (Malloc Examples): Remove register
8322 keyword from examples.
8324 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8326 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8328 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8331 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8332 depending on [__GCC_IEC_559 > 0].
8333 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8334 depending on [__GCC_IEC_559_COMPLEX > 0].
8336 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8338 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8341 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8343 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8345 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8348 * malloc/malloc (malloc_info): Do not handle first bin as
8351 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8353 * locale/iso-639.def: Add Central Nahuatl (nhn).
8355 2013-11-01 Bruno Haible <bruno@clisp.org>
8358 * manual/math.texi (BSD Random): Specify range upper bound as
8361 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8363 * locale/iso-639.def: Add Meadow Mari (mhr).
8365 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8367 [BZ #14752], [BZ #15763]
8368 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8370 * rt/tst_shm.c: Add test for escaping directory.
8372 2013-10-31 Andreas Schwab <schwab@suse.de>
8375 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8376 followed by 'x' as part of digit sequence.
8377 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8379 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8382 * configure.ac: allow GNU Make 4.0 and greater.
8383 * configure: Regenerated.
8385 2013-10-30 Will Newton <will.newton@linaro.org>
8388 * malloc/hooks.c (memalign_check): Limit alignment to the
8389 maximum representable power of two.
8390 * malloc/malloc.c (__libc_memalign): Likewise.
8391 * malloc/tst-memalign.c (do_test): Add test for very
8392 large alignment values.
8393 * malloc/tst-posix_memalign.c (do_test): Likewise.
8395 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8398 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8399 (munmap_chunk): Likewise.
8400 (mremap_chunk): Likewise.
8402 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8405 * stdlib/div.c (div): Remove obsolete code.
8406 * stdlib/ldiv.c (ldiv): Likewise.
8407 * stdlib/lldiv.c (lldiv): Likewise.
8409 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8412 * nss/nss_files/files-XXX.c (get_contents_ret): New
8414 (get_contents): New function.
8415 (internal_getent): Use it. Expand size of LINEBUFLEN.
8417 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8419 * configure.in: Moved to ...
8420 * configure.ac: ... here. Change reference to configure.in
8422 * sysdeps/arm/preconfigure.ac: ... here.
8423 configure.in to configure.ac.
8424 * sysdeps/gnu/configure.in: Moved to ...
8425 * sysdeps/gnu/configure.ac: ... here.
8426 * sysdeps/i386/configure.in: Moved to ...
8427 * sysdeps/i386/configure.ac: ... here.
8428 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8429 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8430 * sysdeps/mach/configure.in: Moved to ...
8431 * sysdeps/mach/configure.ac: ... here.
8432 * sysdeps/mach/hurd/configure.in: Moved to ...
8433 * sysdeps/mach/hurd/configure.ac: ... here.
8434 * sysdeps/powerpc/configure.in: Moved to ...
8435 * sysdeps/powerpc/configure.ac: ... here.
8436 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8437 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8438 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8439 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8440 * sysdeps/s390/s390-32/configure.in: Moved to ...
8441 * sysdeps/s390/s390-32/configure.ac: ... here.
8442 * sysdeps/s390/s390-64/configure.in: Moved to ...
8443 * sysdeps/s390/s390-64/configure.ac: ... here.
8444 * sysdeps/sh/configure.in: Moved to ...
8445 * sysdeps/sh/configure.ac: ... here.
8446 * sysdeps/sparc/configure.in: Moved to ...
8447 * sysdeps/sparc/configure.ac: ... here.
8448 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8449 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8450 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8451 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8452 * sysdeps/x86_64/configure.in: Moved to ...
8453 * sysdeps/x86_64/configure.ac: ... here.
8454 * sysdeps/x86_64/preconfigure.in: Moved to ...
8455 * sysdeps/x86_64/preconfigure.ac: ... here.
8456 * aclocal.m4: Change reference to configure.in to configure.ac.
8457 * config.h.in: Likewise.
8458 * manual/install.texi: Likewise.
8459 * manual/maint.texi: Likewise.
8460 * Makefile: Likewise.
8461 * malloc/Makefile: Likewise.
8462 * nscd/Makefile: Likewise.
8463 * Makeconfig: Change reference to configure.in and
8464 preconfigure.in to configure.ac and preconfigure.ac
8466 * INSTALL: Regenerated.
8467 * configure: Likewise.
8468 * sysdeps/gnu/configure: Likewise.
8469 * sysdeps/i386/configure: Likewise.
8470 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8471 * sysdeps/mach/configure: Likewise.
8472 * sysdeps/mach/hurd/configure: Likewise.
8473 * sysdeps/powerpc/configure: Likewise.
8474 * sysdeps/powerpc/powerpc32/configure: Likewise.
8475 * sysdeps/powerpc/powerpc64/configure: Likewise.
8476 * sysdeps/s390/s390-32/configure: Likewise.
8477 * sysdeps/s390/s390-64/configure: Likewise.
8478 * sysdeps/sh/configure: Likewise.
8479 * sysdeps/sparc/configure: Likewise.
8480 * sysdeps/unix/sysv/linux/configure: Likewise.
8481 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8482 * sysdeps/x86_64/configure: Likewise.
8483 * sysdeps/x86_64/preconfigure: Likewise.
8485 2013-10-29 Andreas Schwab <schwab@suse.de>
8487 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8489 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8491 * benchtests/pow-inputs: Add new inputs.
8493 * benchtests/exp-inputs: Add new inputs.
8495 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8496 conditional check for return value.
8497 (__cos32): Likewise.
8499 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8501 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8502 to provide a boost for large inputs with word alignment.
8503 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8504 implementation based on optimized PPC64 strcpy.
8505 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8506 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8507 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8508 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8510 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8513 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8515 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8518 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8519 * time/tst-strptime.c (day_tests): Add testcase.
8521 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8524 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8526 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8529 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8530 MAP_FAILED on error.
8532 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8535 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8536 heap for large requests.
8538 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8541 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8542 result if the result has no associated interface.
8543 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8544 interface for all 127.X.Y.Z addresses.
8546 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8548 * locale/iso-639.def: Add Ligurian (lij)
8550 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8553 * sunrpc/rpc_main.c: Document rpcgen -5.
8555 2013-10-19 Michael Stahl <mstahl@redhat.com>
8557 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8559 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8562 * posix/glob.c: Match only directories when trailing slash is present.
8563 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8564 (main): Add testcase.
8566 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8569 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8571 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8573 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8574 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8575 AUTH_DES and cindex for FIPS 140-2.
8576 (DES Encryption): Add cindex FIPS 46-3.
8578 * locale/locarchive.h (struct locarhandle): Add fname.
8579 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8580 if an optional argument was specified to --list-archive,
8582 * locale/programs/locarchive.c (show_archive_content): Take new
8583 argument fname and pass it via ah.fname to open_archive.
8584 * locale/programs/localedef.h: Update decl.
8585 (open_archive): If AH->fname is non-null, open that file
8586 rather than the default file name, and don't ignore ENOENT.
8587 (create_archive): Set AH.fname to NULL.
8588 (delete_locales_from_archive): Likewise.
8589 (add_locales_to_archive): Likewise.
8590 * locale/programs/locfile.c (write_all_categories): Likewise.
8592 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8593 Aldy Hernandez <aldyh@redhat.com>
8595 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8596 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8597 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8598 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8599 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8600 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8601 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8602 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8603 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8604 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8605 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8606 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8607 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8608 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8609 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8611 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8613 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8615 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8617 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8618 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8620 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8621 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8622 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8623 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8625 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8626 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8627 * sysdeps/powerpc/preconfigure: Likewise.
8628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8630 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8631 Replace contents of file by #include of <fenv_libc.h>.
8632 * sysdeps/powerpc/soft-fp/sfp-machine.h
8633 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8635 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8636 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8637 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8638 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8639 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8640 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8642 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8643 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8644 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8645 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8646 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8648 Allow copysignl PLT reference to be missing.
8650 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8651 Joseph Myers <joseph@codesourcery.com
8654 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8656 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8658 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8660 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8661 * elf/tst-tls1.c: Likewise.
8662 * elf/tst-tls10.h: Likewise.
8663 * elf/tst-tls14.c: Likewise.
8664 * elf/tst-tls2.c: Likewise.
8665 * elf/tst-tls3.c: Likewise.
8666 * elf/tst-tls4.c: Likewise.
8667 * elf/tst-tls5.c: Likewise.
8668 * elf/tst-tls6.c: Likewise.
8669 * elf/tst-tls7.c: Likewise.
8670 * elf/tst-tls8.c: Likewise.
8671 * elf/tst-tls9.c: Likewise.
8672 * elf/tst-tlsmod1.c: Likewise.
8673 * elf/tst-tlsmod13.c: Likewise.
8674 * elf/tst-tlsmod13a.c: Likewise.
8675 * elf/tst-tlsmod14a.c: Likewise.
8676 * elf/tst-tlsmod16a.c: Likewise.
8677 * elf/tst-tlsmod16b.c: Likewise.
8678 * elf/tst-tlsmod2.c: Likewise.
8679 * elf/tst-tlsmod3.c: Likewise.
8680 * elf/tst-tlsmod4.c: Likewise.
8681 * elf/tst-tlsmod5.c: Likewise.
8682 * elf/tst-tlsmod6.c: Likewise.
8684 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8687 * malloc/malloc.c: remove checks for statistics.
8689 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8692 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8693 * inet/tst-network.c: Add testcase.
8695 2013-10-17 Andreas Schwab <schwab@suse.de>
8698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8699 to determine canonical name.
8701 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8703 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8704 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8705 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8710 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8711 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8712 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8713 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8715 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8716 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8717 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8718 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8720 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8721 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8727 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8728 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8732 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8733 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8734 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8735 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8736 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8737 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8738 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8739 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8740 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8743 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8744 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8745 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8746 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8747 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8748 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8749 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8750 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8751 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8752 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8753 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8754 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8755 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8756 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8757 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8758 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8759 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8760 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8762 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8765 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8766 make result into a quiet NaN.
8768 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8770 * soft-fp/adddf3.c: Fix horizontal whitespace.
8771 * soft-fp/addsf3.c: Likewise.
8772 * soft-fp/addtf3.c: Likewise.
8773 * soft-fp/divdf3.c: Likewise.
8774 * soft-fp/divsf3.c: Likewise.
8775 * soft-fp/divtf3.c: Likewise.
8776 * soft-fp/double.h: Likewise.
8777 * soft-fp/eqdf2.c: Likewise.
8778 * soft-fp/eqsf2.c: Likewise.
8779 * soft-fp/eqtf2.c: Likewise.
8780 * soft-fp/extenddftf2.c: Likewise.
8781 * soft-fp/extended.h: Likewise.
8782 * soft-fp/extendsfdf2.c: Likewise.
8783 * soft-fp/extendsftf2.c: Likewise.
8784 * soft-fp/extendxftf2.c: Likewise.
8785 * soft-fp/fixdfdi.c: Likewise.
8786 * soft-fp/fixdfsi.c: Likewise.
8787 * soft-fp/fixdfti.c: Likewise.
8788 * soft-fp/fixsfdi.c: Likewise.
8789 * soft-fp/fixsfsi.c: Likewise.
8790 * soft-fp/fixsfti.c: Likewise.
8791 * soft-fp/fixtfdi.c: Likewise.
8792 * soft-fp/fixtfsi.c: Likewise.
8793 * soft-fp/fixtfti.c: Likewise.
8794 * soft-fp/fixunsdfdi.c: Likewise.
8795 * soft-fp/fixunsdfsi.c: Likewise.
8796 * soft-fp/fixunsdfti.c: Likewise.
8797 * soft-fp/fixunssfdi.c: Likewise.
8798 * soft-fp/fixunssfsi.c: Likewise.
8799 * soft-fp/fixunssfti.c: Likewise.
8800 * soft-fp/fixunstfdi.c: Likewise.
8801 * soft-fp/fixunstfsi.c: Likewise.
8802 * soft-fp/fixunstfti.c: Likewise.
8803 * soft-fp/floatdidf.c: Likewise.
8804 * soft-fp/floatdisf.c: Likewise.
8805 * soft-fp/floatditf.c: Likewise.
8806 * soft-fp/floatsidf.c: Likewise.
8807 * soft-fp/floatsisf.c: Likewise.
8808 * soft-fp/floatsitf.c: Likewise.
8809 * soft-fp/floattidf.c: Likewise.
8810 * soft-fp/floattisf.c: Likewise.
8811 * soft-fp/floattitf.c: Likewise.
8812 * soft-fp/floatundidf.c: Likewise.
8813 * soft-fp/floatundisf.c: Likewise.
8814 * soft-fp/floatunditf.c: Likewise.
8815 * soft-fp/floatunsidf.c: Likewise.
8816 * soft-fp/floatunsisf.c: Likewise.
8817 * soft-fp/floatunsitf.c: Likewise.
8818 * soft-fp/floatuntidf.c: Likewise.
8819 * soft-fp/floatuntisf.c: Likewise.
8820 * soft-fp/floatuntitf.c: Likewise.
8821 * soft-fp/fmadf4.c: Likewise.
8822 * soft-fp/fmasf4.c: Likewise.
8823 * soft-fp/fmatf4.c: Likewise.
8824 * soft-fp/gedf2.c: Likewise.
8825 * soft-fp/gesf2.c: Likewise.
8826 * soft-fp/getf2.c: Likewise.
8827 * soft-fp/ledf2.c: Likewise.
8828 * soft-fp/lesf2.c: Likewise.
8829 * soft-fp/letf2.c: Likewise.
8830 * soft-fp/muldf3.c: Likewise.
8831 * soft-fp/mulsf3.c: Likewise.
8832 * soft-fp/multf3.c: Likewise.
8833 * soft-fp/negdf2.c: Likewise.
8834 * soft-fp/negsf2.c: Likewise.
8835 * soft-fp/negtf2.c: Likewise.
8836 * soft-fp/op-1.h: Likewise.
8837 * soft-fp/op-2.h: Likewise.
8838 * soft-fp/op-4.h: Likewise.
8839 * soft-fp/op-8.h: Likewise.
8840 * soft-fp/op-common.h: Likewise.
8841 * soft-fp/quad.h: Likewise.
8842 * soft-fp/single.h: Likewise.
8843 * soft-fp/soft-fp.h: Likewise.
8844 * soft-fp/sqrtdf2.c: Likewise.
8845 * soft-fp/sqrtsf2.c: Likewise.
8846 * soft-fp/sqrttf2.c: Likewise.
8847 * soft-fp/subdf3.c: Likewise.
8848 * soft-fp/subsf3.c: Likewise.
8849 * soft-fp/subtf3.c: Likewise.
8850 * soft-fp/truncdfsf2.c: Likewise.
8851 * soft-fp/trunctfdf2.c: Likewise.
8852 * soft-fp/trunctfsf2.c: Likewise.
8853 * soft-fp/trunctfxf2.c: Likewise.
8854 * soft-fp/unorddf2.c: Likewise.
8855 * soft-fp/unordsf2.c: Likewise.
8856 * soft-fp/unordtf2.c: Likewise.
8858 2013-10-15 Joseph Myers <joseph@codesourcery.com>
8860 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8861 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8863 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
8865 * elf/dl-libc.c: Clear initfini list after freeing.
8867 2013-10-14 Joseph Myers <joseph@codesourcery.com>
8869 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8870 * soft-fp/addsf3.c: Likewise.
8871 * soft-fp/addtf3.c: Likewise.
8872 * soft-fp/divdf3.c: Likewise.
8873 * soft-fp/divsf3.c: Likewise.
8874 * soft-fp/divtf3.c: Likewise.
8875 * soft-fp/double.h: Likewise.
8876 * soft-fp/eqdf2.c: Likewise.
8877 * soft-fp/eqsf2.c: Likewise.
8878 * soft-fp/eqtf2.c: Likewise.
8879 * soft-fp/extenddftf2.c: Likewise.
8880 * soft-fp/extended.h: Likewise.
8881 * soft-fp/extendsfdf2.c: Likewise.
8882 * soft-fp/extendsftf2.c: Likewise.
8883 * soft-fp/extendxftf2.c: Likewise.
8884 * soft-fp/fixdfdi.c: Likewise.
8885 * soft-fp/fixdfsi.c: Likewise.
8886 * soft-fp/fixdfti.c: Likewise.
8887 * soft-fp/fixsfdi.c: Likewise.
8888 * soft-fp/fixsfsi.c: Likewise.
8889 * soft-fp/fixsfti.c: Likewise.
8890 * soft-fp/fixtfdi.c: Likewise.
8891 * soft-fp/fixtfsi.c: Likewise.
8892 * soft-fp/fixtfti.c: Likewise.
8893 * soft-fp/fixunsdfdi.c: Likewise.
8894 * soft-fp/fixunsdfsi.c: Likewise.
8895 * soft-fp/fixunsdfti.c: Likewise.
8896 * soft-fp/fixunssfdi.c: Likewise.
8897 * soft-fp/fixunssfsi.c: Likewise.
8898 * soft-fp/fixunssfti.c: Likewise.
8899 * soft-fp/fixunstfdi.c: Likewise.
8900 * soft-fp/fixunstfsi.c: Likewise.
8901 * soft-fp/fixunstfti.c: Likewise.
8902 * soft-fp/floatdidf.c: Likewise.
8903 * soft-fp/floatdisf.c: Likewise.
8904 * soft-fp/floatditf.c: Likewise.
8905 * soft-fp/floatsidf.c: Likewise.
8906 * soft-fp/floatsisf.c: Likewise.
8907 * soft-fp/floatsitf.c: Likewise.
8908 * soft-fp/floattidf.c: Likewise.
8909 * soft-fp/floattisf.c: Likewise.
8910 * soft-fp/floattitf.c: Likewise.
8911 * soft-fp/floatundidf.c: Likewise.
8912 * soft-fp/floatundisf.c: Likewise.
8913 * soft-fp/floatunsidf.c: Likewise.
8914 * soft-fp/floatunsisf.c: Likewise.
8915 * soft-fp/floatuntidf.c: Likewise.
8916 * soft-fp/floatuntisf.c: Likewise.
8917 * soft-fp/floatuntitf.c: Likewise.
8918 * soft-fp/fmadf4.c: Likewise.
8919 * soft-fp/fmasf4.c: Likewise.
8920 * soft-fp/fmatf4.c: Likewise.
8921 * soft-fp/gedf2.c: Likewise.
8922 * soft-fp/gesf2.c: Likewise.
8923 * soft-fp/getf2.c: Likewise.
8924 * soft-fp/ledf2.c: Likewise.
8925 * soft-fp/lesf2.c: Likewise.
8926 * soft-fp/letf2.c: Likewise.
8927 * soft-fp/muldf3.c: Likewise.
8928 * soft-fp/mulsf3.c: Likewise.
8929 * soft-fp/multf3.c: Likewise.
8930 * soft-fp/negdf2.c: Likewise.
8931 * soft-fp/negsf2.c: Likewise.
8932 * soft-fp/negtf2.c: Likewise.
8933 * soft-fp/op-1.h: Likewise.
8934 * soft-fp/op-2.h: Likewise.
8935 * soft-fp/op-4.h: Likewise.
8936 * soft-fp/op-8.h: Likewise.
8937 * soft-fp/op-common.h: Likewise.
8938 * soft-fp/quad.h: Likewise.
8939 * soft-fp/single.h: Likewise.
8940 * soft-fp/soft-fp.h: Likewise.
8941 * soft-fp/sqrtdf2.c: Likewise.
8942 * soft-fp/sqrtsf2.c: Likewise.
8943 * soft-fp/sqrttf2.c: Likewise.
8944 * soft-fp/subdf3.c: Likewise.
8945 * soft-fp/subsf3.c: Likewise.
8946 * soft-fp/subtf3.c: Likewise.
8947 * soft-fp/truncdfsf2.c: Likewise.
8948 * soft-fp/trunctfdf2.c: Likewise.
8949 * soft-fp/trunctfsf2.c: Likewise.
8950 * soft-fp/trunctfxf2.c: Likewise.
8951 * soft-fp/unorddf2.c: Likewise.
8952 * soft-fp/unordsf2.c: Likewise.
8953 * soft-fp/unordtf2.c: Likewise.
8955 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
8958 * misc/error.c (error_tail): Fix possible buffer overflow.
8960 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8963 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8966 2013-10-14 P. J. McDermott <pj@pehjota.net>
8969 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8970 testing pipefail option.
8972 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8974 * soft-fp/double.h: Indent preprocessor directives inside #if.
8975 * soft-fp/extended.h: Likewise.
8976 * soft-fp/op-2.h: Likewise.
8977 * soft-fp/op-4.h: Likewise.
8978 * soft-fp/op-common.h: Likewise.
8979 * soft-fp/quad.h: Likewise.
8980 * soft-fp/single.h: Likewise.
8981 * soft-fp/soft-fp.h: Likewise.
8983 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8985 * iconv/iconv_prog.c: Fix typos.
8986 * stdio-common/psiginfo-data.h: Likewise.
8988 2013-10-12 Reuben Thomas <rrt@sc3d.org>
8991 * locale/setlocale.c: Fix typo.
8993 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8996 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8997 signaling NaN arguments.
8998 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8999 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9002 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9004 * soft-fp/gesf2.c (__gesf2): Likewise.
9005 * soft-fp/getf2.c (__getf2): Likewise.
9006 * soft-fp/ledf2.c (__ledf2): Likewise.
9007 * soft-fp/lesf2.c (__lesf2): Likewise.
9008 * soft-fp/letf2.c (__letf2): Likewise.
9010 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9011 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9012 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9013 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9014 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9015 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9016 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9017 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9018 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9019 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9020 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9021 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9022 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9023 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9024 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9025 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9026 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9027 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9028 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9029 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9030 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9031 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9032 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9033 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9034 * soft-fp/floattidf.c (__floattidf): Likewise.
9035 * soft-fp/floattisf.c (__floattisf): Likewise.
9036 * soft-fp/floattitf.c (__floattitf): Likewise.
9037 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9038 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9039 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9040 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9041 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9042 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9043 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9044 * soft-fp/gesf2.c (__gesf2): Likewise.
9045 * soft-fp/getf2.c (__getf2): Likewise.
9046 * soft-fp/ledf2.c (__ledf2): Likewise.
9047 * soft-fp/lesf2.c (__lesf2): Likewise.
9048 * soft-fp/letf2.c (__letf2): Likewise.
9050 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9051 Undefine and redefine.
9052 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9053 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9054 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9055 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9056 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9057 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9058 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9059 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9060 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9061 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9062 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9063 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9064 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9065 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9066 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9069 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9070 without decrementing exponent if mantissa >= that for the
9072 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9073 denominator, not >. Decrement exponent in < case instead of
9074 incrementing in >= case.
9075 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9076 without decrementing exponent if mantissa >= that for the
9079 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9080 computing saturated result for unsigned overflow.
9082 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9083 Jeff Law <law@redhat.com>
9085 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9086 (atan2Mp): Add systemtap probe marker.
9087 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9088 (__ieee754_log): Add systemtap probe marker.
9089 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9090 (atanMp): Add systemtap probe marker.
9091 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9092 (tanMp): Add systemtap probe marker.
9093 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9094 (__slowexp): Add systemtap probe marker.
9095 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9096 (__slowpow): Add systemtap probe marker.
9097 * manual/probes.texi: Document probes.
9099 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9102 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9104 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9106 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9107 written to buffer but not flushed.
9108 * libio/iofwrite_u.c: Likewise.
9109 * libio/iopadn.c: Return bytes returned even if EOF was
9111 * libio/iowpadn.c: Likewise.
9112 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9113 if _IO_padn does not write the whole buffer.
9114 [!COMPILE_WPRINTF] (PAD): Likewise.
9116 2013-10-10 David S. Miller <davem@davemloft.net>
9118 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9121 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9123 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9124 instead of FSF address.
9125 * soft-fp/fixdfti.c: Likewise.
9126 * soft-fp/fixsfti.c: Likewise.
9127 * soft-fp/fixtfti.c: Likewise.
9128 * soft-fp/fixunsdfti.c: Likewise.
9129 * soft-fp/fixunssfti.c: Likewise.
9130 * soft-fp/fixunstfti.c: Likewise.
9131 * soft-fp/floattidf.c: Likewise.
9132 * soft-fp/floattisf.c: Likewise.
9133 * soft-fp/floattitf.c: Likewise.
9134 * soft-fp/floatuntidf.c: Likewise.
9135 * soft-fp/floatuntisf.c: Likewise.
9136 * soft-fp/floatuntitf.c: Likewise.
9137 * soft-fp/trunctfxf2.c: Likewise.
9139 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9140 * soft-fp/fixdfti.c: Likewise.
9141 * soft-fp/fixsfti.c: Likewise.
9142 * soft-fp/fixtfti.c: Likewise.
9143 * soft-fp/fixunsdfti.c: Likewise.
9144 * soft-fp/fixunssfti.c: Likewise.
9145 * soft-fp/fixunstfti.c: Likewise.
9146 * soft-fp/floattidf.c: Likewise.
9147 * soft-fp/floattisf.c: Likewise.
9148 * soft-fp/floattitf.c: Likewise.
9149 * soft-fp/floatuntidf.c: Likewise.
9150 * soft-fp/floatuntisf.c: Likewise.
9151 * soft-fp/floatuntitf.c: Likewise.
9152 * soft-fp/trunctfxf2.c: Likewise.
9154 2013-10-10 David S. Miller <davem@davemloft.net>
9156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9158 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9160 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9161 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9162 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9163 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9164 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9165 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9166 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9168 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9169 for NaNs before doing comparisons on argument.
9170 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9173 2013-10-10 Will Newton <will.newton@linaro.org>
9175 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9176 passed to _int_memalign does not overflow.
9178 2013-10-10 Torvald Riegel <triegel@redhat.com>
9180 * scripts/bench.pl: Add include-sources directive.
9181 * benchtests/README: Update documentation.
9183 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9185 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9186 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9187 instead of FP_INIT_ROUNDMODE.
9188 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9189 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9192 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9193 copy class of input value.
9194 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9195 not handle exceptions.
9196 * soft-fp/negsf2.c (__negsf2): Likewise.
9197 * soft-fp/negtf2.c (__negtf2): Likewise.
9198 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9200 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9202 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9203 semicolon. From Linux kernel.
9205 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9207 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9209 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9212 * manual/socket.texi: Added statement about buffer
9213 for gethostbyname2_r.
9215 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9217 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9218 Use .p2align directive instead, throughout.
9219 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9220 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9221 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9222 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9223 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9224 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9225 * sysdeps/x86_64/strchr.S: Likewise.
9226 * sysdeps/x86_64/strrchr.S: Likewise.
9228 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9230 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9232 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9234 * sysdeps/generic/math_private.h (__mpsin1): Remove
9236 (__mpcos1): Likewise.
9237 (__mpsin): New argument __range_reduce.
9238 (__mpcos): Likewise.
9239 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9240 (slow): Use __mpsin and __mpcos.
9247 (bsloww1): Likewise.
9248 (bsloww2): Likewise.
9251 (csloww1): Likewise.
9252 (csloww2): Likewise.
9253 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9254 range_reduce. Merge in __mpsin1.
9255 (__mpcos): Likewise.
9257 (__mpcos1): Likewise.
9259 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9261 * locale/loadlocale.c (_nl_intern_locale_data): Use
9263 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9264 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9265 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9266 obstack data is appropriately aligned.
9267 (obstack_int32_grow_fast): Likewise.
9268 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9269 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9270 (add_locale_uint32_array): Likewise.
9272 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9274 * benchtests/Makefile: Remove ARGLIST and RET variables.
9275 ($(objpfx)bench-%.c): Pass only function name to the script.
9276 * benchtests/README: Update documentation.
9277 * benchtests/acos-inputs: Add new directives.
9278 * benchtests/acosh-inputs: Likewise.
9279 * benchtests/asin-inputs: Likewise.
9280 * benchtests/asinh-inputs: Likewise.
9281 * benchtests/atan-inputs: Likewise.
9282 * benchtests/atanh-inputs: Likewise.
9283 * benchtests/cos-inputs: Likewise.
9284 * benchtests/cosh-inputs: Likewise.
9285 * benchtests/exp-inputs: Likewise.
9286 * benchtests/log-inputs: Likewise.
9287 * benchtests/pow-inputs: Likewise.
9288 * benchtests/rint-inputs: Likewise.
9289 * benchtests/sin-inputs: Likewise.
9290 * benchtests/sinh-inputs: Likewise.
9291 * benchtests/tan-inputs: Likewise.
9292 * benchtests/tanh-inputs: Likewise.
9293 * scripts/bench.pl: Add support for new directives.
9295 2013-10-07 Alan Modra <amodra@gmail.com>
9297 * README: Fix careless merge.
9299 2013-10-05 Alan Modra <amodra@gmail.com>
9301 * NEWS: Mention powerpc64le support and bugs fixed.
9302 * README: Both big-endian and little-endian powerpc64 supported.
9304 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9306 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9307 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9308 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9309 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9311 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9313 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9316 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9318 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9319 Move -mhard-float appending from
9320 ports/sysdeps/powerpc/powerpc32/Makefile.
9321 [$(with-fp) = yes] (ASFLAGS): Likewise.
9322 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9323 * sysdeps/powerpc/nofpu: Move directory from
9324 ports/sysdeps/powerpc/nofpu.
9325 * sysdeps/powerpc/soft-fp: Move directory from
9326 ports/sysdeps/powerpc/soft-fp.
9327 * sysdeps/powerpc/powerpc32/405: Move directory from
9328 ports/sysdeps/powerpc/powerpc32/405.
9329 * sysdeps/powerpc/powerpc32/440: Move directory from
9330 ports/sysdeps/powerpc/powerpc32/440.
9331 * sysdeps/powerpc/powerpc32/464: Move directory from
9332 ports/sysdeps/powerpc/powerpc32/464.
9333 * sysdeps/powerpc/powerpc32/476: Move directory from
9334 ports/sysdeps/powerpc/powerpc32/476.
9335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9336 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9338 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9340 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9342 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9344 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9345 * README: Update for powerpc-*-linux-gnu software floating point
9348 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9349 case to powerpc/powerpc32*.
9350 * sysdeps/unix/sysv/linux/configure: Regenerated.
9352 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9353 (_FPU_MASK_OM): Define as 0x04.
9354 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9355 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9357 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9359 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9362 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9365 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9368 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9369 and setcontext_e500.
9371 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9373 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9375 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9377 * manual/threads.texi (Default Thread Attributes): Fix typo.
9379 2013-10-04 Will Newton <will.newton@linaro.org>
9381 * malloc/Makefile: Add tst-memalign.
9382 * malloc/tst-memalign.c: New file.
9384 * malloc/tst-posix_memalign.c: Add comments.
9385 (do_test): Add comments and call free on all potentially
9386 allocated pointers. Add space after cast.
9388 * malloc/tst-pvalloc.c: Add comments.
9389 (do_test): Add comments and call free on all potentially
9390 allocated pointers. Remove duplicate check for NULL pointer.
9391 Add space after cast.
9393 * malloc/tst-valloc.c: Add comments.
9394 (do_test): Add comments and call free on all potentially
9395 allocated pointers. Remove duplicate check for NULL pointer.
9396 Add space after cast.
9398 2013-10-04 Alan Modra <amodra@gmail.com>
9400 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9401 Use stdint types in rather than __attribute__((mode())).
9402 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9404 2013-10-04 Alan Modra <amodra@gmail.com>
9406 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9407 Correct handling of unaligned relocs for little-endian.
9408 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9410 2013-10-04 Alan Modra <amodra@gmail.com>
9412 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9413 * configure: Regenerate.
9414 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9415 * shlib-versions: Likewise.
9417 2013-10-04 Alan Modra <amodra@gmail.com>
9419 * string/tester.c (test_memrchr): Increment reported test cycle.
9421 2013-10-04 Alan Modra <amodra@gmail.com>
9423 * string/test-memcpy.c (do_one_test): When reporting errors, print
9424 string address and don't overrun end of string.
9426 2013-10-04 Alan Modra <amodra@gmail.com>
9428 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9429 insrdi. Make better use of reg selection to speed exit slightly.
9430 Schedule entry path a little better. Remove useless "are we done"
9431 checks on entry to main loop. Handle wrapping around zero address.
9432 Correct main loop count. Handle single left-over word from main
9433 loop inline rather than by using loop_small. Remove extra word
9434 case in loop_small caused by wrong loop count. Add little-endian
9436 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9437 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9439 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9440 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9441 support. Avoid rlwimi.
9442 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9444 2013-10-04 Alan Modra <amodra@gmail.com>
9446 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9448 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9449 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9450 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9451 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9452 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9453 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9455 2013-10-04 Alan Modra <amodra@gmail.com>
9457 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9458 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9459 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9460 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9461 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9462 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9463 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9464 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9465 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9466 use of regs. Use power7 mtocrf. Tidy function tails.
9468 2013-10-04 Alan Modra <amodra@gmail.com>
9470 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9471 Formatting. Consistently use rXXX register defines or rN defines.
9472 Use early exit labels that avoid restoring unused non-volatile regs.
9473 Make cr field use more consistent with rWORDn compares. Rename
9474 regs used as shift registers for unaligned loop, using rN defines
9475 for short lifetime/multiple use regs.
9476 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9477 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9478 addi 1,1,64 to pop stack frame. Simplify return value code.
9479 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9481 2013-10-04 Alan Modra <amodra@gmail.com>
9483 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9484 support. Correct typos, formatting. Optimize tail. Use insrdi
9486 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9487 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9488 little-endian support. Correct typos.
9489 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9491 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9492 in loop and entry code to keep "and." results.
9493 (strchr): Add little-endian support. Comment. Move cntlzd
9495 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9497 2013-10-04 Alan Modra <amodra@gmail.com>
9499 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9500 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9501 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9502 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9504 2013-10-04 Alan Modra <amodra@gmail.com>
9506 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9507 (rTMP): Define as r11.
9508 (strcmp): Add little-endian support. Optimise tail.
9509 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9510 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9511 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9512 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9513 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9514 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9517 2013-10-04 Alan Modra <amodra@gmail.com>
9519 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9520 little-endian support. Remove unnecessary "are we done" tests.
9521 Handle "s" wrapping around zero and extremely large "size".
9522 Correct main loop count. Handle single left-over word from main
9523 loop inline rather than by using small_loop. Correct comments.
9524 Delete "zero" tail, use "end_max" instead.
9525 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9527 2013-10-04 Alan Modra <amodra@gmail.com>
9529 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9530 support. Don't branch over align.
9531 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9532 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9533 support. Rearrange tmp reg use to suit. Comment.
9534 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9536 2013-10-04 Alan Modra <amodra@gmail.com>
9538 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9540 2013-10-04 Alan Modra <amodra@gmail.com>
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9543 conditional form of branch and link when obtaining pc.
9544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9546 2013-10-04 Alan Modra <amodra@gmail.com>
9548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9553 2013-10-04 Alan Modra <amodra@gmail.com>
9555 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9556 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9557 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9558 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9559 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9560 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9561 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9562 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9563 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9564 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9566 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9567 Alistair Popple <alistair@ozlabs.au.ibm.com>
9568 Alan Modra <amodra@gmail.com>
9571 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9572 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9573 _dl_hwcap access for little-endian.
9574 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9575 destroy vmx regs when saving unaligned.
9576 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9577 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9578 destroy vmx regs when saving unaligned.
9580 2013-10-04 Alan Modra <amodra@gmail.com>
9582 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9583 Don't use a union to pack hi/low value.
9585 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9587 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9589 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9590 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9591 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9592 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9593 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9595 2013-10-04 Alan Modra <amodra@gmail.com>
9597 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9598 constants to usual value for .cst8 section, and remove redundant
9600 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9601 constant for 0x1p52. Load little-endian words of double from
9602 correct stack offsets.
9604 2013-10-04 Alan Modra <amodra@gmail.com>
9606 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9607 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9608 words of double from correct stack offsets.
9609 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9610 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9611 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9612 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9613 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9614 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9615 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9616 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9617 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9618 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9619 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9620 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9621 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9622 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9623 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9624 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9625 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9627 2013-10-04 Alan Modra <amodra@gmail.com>
9629 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9630 64-bit int/double union.
9631 (_FPU_SETCW): Likewise.
9632 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9633 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9635 2013-10-04 Alan Modra <amodra@gmail.com>
9637 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9638 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9640 2013-10-04 Alan Modra <amodra@gmail.com>
9642 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9643 use vector int constants.
9644 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9646 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9648 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9649 array with long long.
9650 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9651 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9652 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9653 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9654 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9655 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9656 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9657 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9658 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9659 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9660 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9661 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9662 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9664 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9666 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9667 (__signbit): Likewise. Correct for little-endian.
9668 (__signbitl): Call __signbit.
9669 (lrint): Correct for little-endian.
9670 (lrintf): Call lrint.
9672 2013-10-04 Alan Modra <amodra@gmail.com>
9674 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9675 union 32-bit int array member with 64-bit int array.
9676 (t515, tm256): Double rather than long double.
9677 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9679 2013-10-04 Alan Modra <amodra@gmail.com>
9681 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9683 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9684 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9685 version of math_ldbl.h.
9687 2013-10-04 Alan Modra <amodra@gmail.com>
9689 [BZ #15734], [BZ #15735]
9690 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9691 all uses of ieee875 long double macros and unions. Simplify test
9692 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9693 ldbl_extract_mantissa value for ix,iy exponents. Properly
9694 normalize after ldbl_extract_mantissa, and don't add hidden bit
9695 already handled. Don't treat low word of ieee854 mantissa like
9696 low word of IBM long double and mask off bit when testing for
9698 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9699 all uses of ieee875 long double macros and unions. Simplify tests
9700 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9701 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9702 two1022, instead use their values. Recognise that tests for large
9703 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9704 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9705 Rewrite all uses of ieee875 long double macros and unions. Simplify
9706 test for 0.0L and nan. Correct negation.
9707 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9708 ieee875 long double macros and unions. Correct output for large
9709 magnitude x. Correct absolute value calculation.
9710 (__erfcl): Likewise.
9711 * math/libm-test.inc: Add tests for errors discovered in IBM long
9712 double versions of fmodl, remainderl, erfl and erfcl.
9714 2013-10-04 Alan Modra <amodra@gmail.com>
9716 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9717 all uses of ieee854 long double macros and unions. Simplify tests
9718 for long doubles that are fully specified by the high double.
9719 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9721 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9722 Remove dead code too.
9723 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9724 (__ieee754_ynl): Likewise.
9725 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9726 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9727 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9728 Remove dead code too.
9729 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9730 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9731 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9732 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9734 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9736 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9737 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9738 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9739 Comment on variable precision.
9740 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9741 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9743 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9744 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9745 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9746 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9747 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9749 2013-10-04 Alan Modra <amodra@gmail.com>
9751 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9752 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9753 all uses of ieee854 long double macros and unions.
9754 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9755 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9756 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9757 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9758 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9759 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9761 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9762 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9763 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9764 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9765 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9766 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9767 Simplify sign and nan test too.
9768 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9769 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9770 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9773 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9776 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9777 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9778 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9779 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9780 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9781 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9783 2013-10-04 Alan Modra <amodra@gmail.com>
9785 * stdio-common/printf_size.c (__printf_size): Don't use
9786 union ieee854_long_double in fpnum union.
9787 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9788 signbit macro to retrieve sign from long double.
9789 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9790 retrieve sign from long double.
9791 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9792 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9793 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9794 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9795 * math/test-misc.c (main): Don't use union ieee854_long_double.
9797 2013-10-04 Alan Modra <amodra@gmail.com>
9800 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9801 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9802 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9803 calculation. Remove unnecessary test for denormal exponent.
9804 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9805 Correct handling of denormals. Avoid undefined shift behaviour.
9806 Correct normalisation of low mantissa when low double is denormal.
9807 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9808 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9809 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9810 Correct normalisation of low mantissa. Test for overflow of high
9811 mantissa and normalise.
9812 (ldbl_nearbyint): Use more readable constant for two52.
9813 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9814 (__mpn_construct_long_double): Fix test for overflow of high
9815 mantissa and correct normalisation. Avoid undefined shift.
9817 2013-10-04 Alan Modra <amodra@gmail.com>
9819 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9820 (union ibm_extended_long_double): Define as an array of ieee754_double.
9821 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9822 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9823 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9824 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9825 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9826 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9827 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9828 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9829 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9830 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9831 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9833 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9835 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9836 page size instead of calling getpagesize.
9838 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9839 (LOCFILE_ALIGN_MASK): Likewise.
9840 (LOCFILE_ALIGN_UP): Likewise.
9841 (LOCFILE_ALIGNED_P): Likewise.
9842 * locale/programs/ld-collate.c (collate_output): Use the new
9843 macros instead of __alignof__ (int32_t).
9844 * locale/weight.h (findidx): Likewise.
9846 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9849 * manual/string.texi: Fix strncat and wcsncat.
9851 2013-10-03 Brooks Moses <bmoses@google.com>
9854 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9855 * Makerules: ...here, and adjust associated comments.
9857 2013-10-02 Will Newton <will.newton@linaro.org>
9859 * malloc/Makefile: Add tst-pvalloc.
9860 * malloc/tst-pvalloc.c: New file.
9862 2013-10-02 Will Newton <will.newton@linaro.org>
9864 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9865 improve test coverage.
9867 2013-10-02 Will Newton <will.newton@linaro.org>
9869 * malloc/Makefile: Add tst-posix_memalign.
9870 * malloc/tst-posix_memalign.c: New file.
9872 2013-10-01 Eric Blake <eblake@redhat.com>
9874 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9875 Use __THROWNL rather than __THROW on static functions.
9877 2013-09-30 Petr Machata <pmachata@redhat.com>
9879 * elf/elf.h (R_AARCH64_ABS16): New macro.
9880 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9881 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9882 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9883 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9884 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9885 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9886 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9887 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9888 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9889 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9890 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9891 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9892 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9893 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9894 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9895 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9896 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9897 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9898 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9899 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9900 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9901 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9902 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9903 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9904 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9905 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9906 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9907 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9908 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9909 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9910 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9911 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9912 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9913 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9914 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9915 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9916 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9917 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9918 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9919 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9920 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9921 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9922 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9923 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9924 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9925 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9926 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9927 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9928 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9929 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9930 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9931 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9932 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9933 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9934 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9935 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9936 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9937 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9938 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9939 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9940 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9941 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9942 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9943 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9944 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9945 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9946 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9947 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9948 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9949 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9950 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9951 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9952 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9953 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9954 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9955 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9956 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9957 (R_AARCH64_TLSDESC_LDR): Likewise.
9958 (R_AARCH64_TLSDESC_ADD): Likewise.
9959 (R_AARCH64_TLSDESC_CALL): Likewise.
9961 2013-09-30 Andreas Schwab <schwab@suse.de>
9964 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9965 the nss database lookup.
9966 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9969 2013-09-28 Mike Frysinger <vapier@gentoo.org>
9971 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9973 2013-09-28 P. J. McDermott <pj@pehjota.net>
9975 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9976 ${Bash-specific parameter/pattern/string} parameter expansion.
9977 * sysdeps/unix/make-syscalls.sh: Likewise.
9979 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9981 * sysdeps/sh/stackguard-macros.h: New file.
9983 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
9985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9986 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9987 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9988 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9989 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9990 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9992 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9994 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9995 Fix thread ID register.
9997 2013-09-25 Joseph Myers <joseph@codesourcery.com>
9999 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10000 [POSIX || UNIX98]: Require rather than permitting all symbols from
10002 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10003 element of struct sched_param.
10004 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10005 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10006 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10007 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10010 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10012 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10013 argument calculation.
10015 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10017 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10019 [POSIX] (pthread_attr_t): Do not require type.
10020 [POSIX] (pthread_cond_t): Likewise.
10021 [POSIX] (pthread_condattr_t): Likewise.
10022 [POSIX] (pthread_key_t): Likewise.
10023 [POSIX] (pthread_mutex_t): Likewise.
10024 [POSIX] (pthread_mutexattr_t): Likewise.
10025 [POSIX] (pthread_once_t): Likewise.
10026 [POSIX] (pthread_t): Likewise.
10027 [POSIX-based standards] (pthread_atfork): Expect function.
10029 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10030 Richard Sandiford <richard@codesourcery.com>
10032 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10033 (swap_endianness_p): New extern variable.
10034 (set_big_endian): New inline function.
10035 (maybe_swap_uint32): Likewise.
10036 (maybe_swap_uint32_array): Likewise.
10037 (maybe_swap_uint32_obstack): Likewise.
10038 * locale/programs/locfile.c: Include <stdbool.h>.
10039 (swap_endianness_p): New variable.
10040 (add_locale_uint32): Call maybe_swap_uint32.
10041 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10042 (write_locale_data): Call maybe_swap_uint32_array.
10043 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10045 (obstack_int32_grow_fast): Likewise.
10046 (output_weightwc): Call maybe_swap_uint32_obstack.
10047 (collate_output): Likewise.
10048 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10049 (OPT_LITTLE_ENDIAN): Likewise.
10050 (options): Add --little-endian and --big-endian options.
10051 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10052 * locale/programs/locarchive.c: Include "locfile.h".
10056 (create_archive): Use the new macros to access fields of
10057 structures directly mapped from or written to locale archives.
10058 (oldlocrecentcmp): Likewise.
10059 (enlarge_archive): Likewise.
10060 (insert_name): Likewise.
10061 (add_alias): Likewise.
10062 (add_locale): Likewise.
10063 (delete_locales_from_archive): Likewise.
10064 (show_archive_content): Likewise.
10065 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10068 2013-09-24 Roland McGrath <roland@hack.frob.com>
10070 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10071 http://www.gnu.org/doc/freemanuals.texi.
10072 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10074 2013-09-24 Will Newton <will.newton@linaro.org>
10076 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10079 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10081 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10084 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10086 * manual/threads.texi (POSIX Threads): Fix a typo.
10088 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10091 * string/tst-strcoll-overflow.c: New test case.
10092 * string/Makefile (xtests): Add tst-strcoll-overflow.
10093 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10094 cache if string sizes may cause integer overflow.
10097 * string/strcoll_l.c (coll_seq): New members rule, idx,
10098 save_idx and back_us.
10099 (get_next_seq_nocache): New function.
10100 (do_compare_nocache): New function.
10101 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10104 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10107 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10108 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10109 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10112 * elf/Makefile (tests): Add tst-ptrguard1.
10113 (tests-static): Add tst-ptrguard1-static.
10114 (tst-ptrguard1-ARGS): Define.
10115 (tst-ptrguard1-static-ARGS): Define.
10116 * elf/tst-ptrguard1.c: New file.
10117 * elf/tst-ptrguard1-static.c: New file.
10118 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10119 * sysdeps/i386/stackguard-macros.h: Likewise.
10120 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10121 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10122 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10123 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10124 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10125 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10127 2013-09-23 Hector Marco <hecmargi@upv.es>
10128 Ismael Ripoll <iripoll@disca.upv.es>
10129 Carlos O'Donell <carlos@redhat.com>
10132 * sysdeps/generic/stackguard-macros.h: Define
10133 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10134 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10135 Define __pointer_chk_guard_local.
10136 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10137 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10139 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10142 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10144 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10146 * include/string.h (__ffs): Declare as hidden.
10147 * string/ffs.c (__ffs): Define as hidden.
10148 * sysdeps/i386/ffs.c (__ffs): Likewise.
10149 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10150 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10151 * sysdeps/s390/ffs.c (__ffs): Likewise.
10152 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10154 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10156 * NEWS: Mention malloc probes.
10158 * malloc/arena.c (new_heap): New memory_heap_new probe.
10159 (grow_heap): New memory_heap_more probe.
10160 (shrink_heap): New memory_heap_less probe.
10161 (heap_trim): New memory_heap_free probe.
10162 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10163 (systrim): New memory_sbrk_less probe.
10164 * manual/probes.texi: Document them.
10166 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10167 * manual/probes.texi: Document it.
10169 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10170 (__libc_realloc): Add memory_realloc_retry probe.
10171 (__libc_memalign): Add memory_memalign_retry probe.
10172 (__libc_valloc): Add memory_valloc_retry probe.
10173 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10174 (__libc_calloc): Add memory_calloc_retry probe.
10175 * manual/probes.texi: Document them.
10177 * malloc/arena.c (get_free_list): Add probe
10178 memory_arena_reuse_free_list.
10179 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10180 and memory_arena_reuse.
10181 (arena_get2) [!PER_THREAD]: Likewise.
10182 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10183 memory_arena_reuse_realloc.
10184 * manual/probes.texi: Document them.
10186 * malloc/malloc.c (__libc_free): Add
10187 memory_mallopt_free_dyn_thresholds probe.
10188 (__libc_mallopt): Add multiple memory_mallopt probes.
10189 * manual/probes.texi: Document them.
10191 * malloc/malloc.c: Include stap-probe.h.
10192 (__libc_mallopt): Add memory_mallopt probe.
10193 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10194 * manual/probes.texi: New.
10195 * manual/Makefile (chapters): Add probes.
10196 * manual/threads.texi: Set next node.
10198 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10200 [BZ #15963, #13985]
10201 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10202 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10203 Add `Chinese' to `nan' entry name.
10205 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10207 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10208 (POLYNOMIAL): Likewise.
10209 (TAYLOR_SINCOS): Likewise.
10210 (TAYLOR_SLOW): Likewise.
10211 (__sin): Use TAYLOR_SINCOS.
10213 (slow): Use TAYLOR_SLOW.
10215 (bsloww): Likewise.
10216 (csloww): Likewise.
10218 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10220 * stdlib/strtod_l.c: Fix buffer overrun.
10222 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10224 * benchtests/Makefile (bench): Add sincos.
10225 * benchtests/bench-sincos.c: New file.
10227 * math/libm-test.inc (cos_test_data): New test inputs.
10228 (sin_test_data): Likewise.
10230 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10236 (sloww1): Likewise.
10237 (sloww2): Likewise.
10238 (bsloww1): Likewise.
10239 (bsloww2): Likewise.
10240 (cslow2): Likewise.
10241 (csloww1): Likewise.
10242 (csloww2): Likewise.
10244 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10249 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10253 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10255 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10256 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10257 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10258 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10259 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10260 * elf/cache.c (print_entry): Handle the new cache flags.
10262 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10263 Aldy Hernandez <aldyh@redhat.com>
10265 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10266 Change condition to [_SOFT_FLOAT].
10267 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10269 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10272 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10273 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10274 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10275 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10276 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10277 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10278 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10279 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10280 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10282 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10285 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10287 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10288 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10289 (__longjmp): Use LOAD_GP to load saved GPRs.
10290 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10291 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10292 (__sigsetjmp): Use SAVE_GP to save GPRs.
10294 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10295 Do not append -msoft-float.
10296 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10298 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10300 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10302 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10305 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10306 (_FPU_GETCW): Use initial "__" on variable and field names but not
10307 on macro parameter name.
10308 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10309 parentheses around reference to macro parameter.
10311 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10313 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10315 (ctype_startup): Use uint32_t in cast and sizeof for
10318 2013-09-11 Jia Liu <proljc@gmail.com>
10320 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10322 [__FreeBSD__]: Likewise.
10324 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10327 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10328 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10329 (strchr): Remove __strchr_sse42 ifunc selection.
10330 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10331 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10333 2013-09-11 Will Newton <will.newton@linaro.org>
10335 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10336 parameter to RES. Remove hardcoded 1000 value.
10337 * benchtests/bench-skeleton.c (main): Pass RES parameter
10338 to TIMING_INIT and multiply result by 1000.
10340 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10344 2013-09-11 Andreas Schwab <schwab@suse.de>
10346 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10348 (O_TMPFILE) [__USE_GNU]: Define.
10349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10352 2013-09-11 Will Newton <will.newton@linaro.org>
10355 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10358 2013-09-11 Will Newton <will.newton@linaro.org>
10361 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10364 2013-09-11 Will Newton <will.newton@linaro.org>
10367 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10370 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10372 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10373 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10374 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10375 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10376 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10378 2013-09-10 Allan McRae <allan@archlinux.org>
10381 * manual/arith.texi (Parsing of Floats): Clarify
10385 * manual/install.texi (Running make install): Mention
10387 * INSTALL: Regenerated.
10389 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10391 * csu/init-first.c (_init): Remove the !SHARED condition around
10392 FPU control word initialization.
10393 * elf/dl-support.c (_dl_fpu_control): New variable.
10394 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10395 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10396 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10397 * math/test-fpucw-static.c: New file.
10398 * math/test-fpucw-ieee.c: New file.
10399 * math/test-fpucw-ieee-static.c: New file.
10400 * math/Makefile (tests): Add `test-fpucw-ieee' and
10402 (tests-static): New variable.
10403 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10405 [($(build-shared),yes)]
10406 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10408 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10411 2013-09-09 Allan McRae <allan@archlinux.org>
10414 * manual/string.texi (Collation Functions): Fix typo in
10416 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10419 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10422 * libio/memstream.c (open_memstream): Fix memory leak.
10423 * libio/wmemstream.c (open_wmemstream): Likewise.
10426 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10428 2013-09-09 Will Newton <will.newton@linaro.org>
10430 * malloc/Makefile: Add tst-realloc to tests.
10431 * malloc/tst-realloc.c: New file.
10433 2013-09-09 Allan McRae <allan@archlinux.org>
10436 * COPYING: Update from GNU website to fix FSF address.
10437 * COPYING.LIB: Likewise.
10439 2013-09-06 David S. Miller <davem@davemloft.net>
10441 * po/zh_TW.po: Update Chinese (traditional) translation from
10442 translation project.
10444 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10445 Joseph Myers <joseph@codesourcery.com>
10447 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10449 (obstack_chunk_alloc): New macro.
10450 (obstack_chunk_free): Likewise.
10451 (record_offset): New function.
10452 (init_locale_data): Likewise.
10453 (align_locale_data): Likewise.
10454 (add_locale_empty): Likewise.
10455 (add_locale_raw_data): Likewise.
10456 (add_locale_raw_obstack): Likewise.
10457 (add_locale_string): Likewise.
10458 (add_locale_wstring): Likewise.
10459 (add_locale_uint32): Likewise.
10460 (add_locale_uint32_array): Likewise.
10461 (add_locale_char): Likewise.
10462 (start_locale_structure): Likewise.
10463 (end_locale_structure): Likewise.
10464 (start_locale_prelude): Likewise.
10465 (end_locale_prelude): Likewise.
10466 (write_locale_data): Take locale_file structure rather than an
10468 * locale/programs/locfile.h: Include "obstack.h".
10469 (struct locale_file): Change to store locale file contents instead
10471 (init_locale_data): New prototype.
10472 (align_locale_data): Likewise.
10473 (add_locale_empty): Likewise.
10474 (add_locale_raw_data): Likewise.
10475 (add_locale_raw_obstack): Likewise.
10476 (add_locale_string): Likewise.
10477 (add_locale_wstring): Likewise.
10478 (add_locale_uint32): Likewise.
10479 (add_locale_uint32_array): Likewise.
10480 (add_locale_char): Likewise.
10481 (start_locale_structure): Likewise.
10482 (end_locale_structure): Likewise.
10483 (start_locale_prelude): Likewise.
10484 (end_locale_prelude): Likewise.
10485 (write_locale_data): Update prototype.
10486 * locale/programs/3level.h (struct TABLE): Remove result field.
10487 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10488 Use new locale_file interface.
10489 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10490 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10491 * locale/programs/ld-address.c (address_output): Use new
10492 locale_file interface.
10493 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10495 (collate_finish): Don't call collseq_table_finalize.
10496 (collate_output): Use new locale_file interface.
10497 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10499 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10500 (TABLE): Move defines earlier in file.
10501 (ELEMENT): Likewise.
10502 (DEFAULT): Likewise.
10503 (wctrans_table_add): Move macro and inline function earlier in
10505 (struct wctype_table): Move type earlier in file.
10506 (add_locale_wctype_table): New static prototype.
10507 (struct locale_ctype_t): Use logical types instead of struct iovec
10508 pointers for members.
10509 (ctype_output): Use new locale_file interface.
10510 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10511 new locale_file interface.
10512 (allocate_arrays): Update for use of new locale_file interface.
10513 * locale/programs/ld-identification.c (identification_output): Use
10514 new locale_file interface.
10515 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10516 * locale/programs/ld-messages.c (messages_output): Likewise.
10517 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10518 * locale/programs/ld-name.c (name_output): Likewise.
10519 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10520 * locale/programs/ld-paper.c (paper_output): Likewise.
10521 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10522 * locale/programs/ld-time.c (time_output): Likewise.
10524 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10526 * benchtests/Makefile: Add memrchr benchmark.
10527 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10528 benchmark as memrchr.
10529 * benchtests/bench-memrchr-ifunc.c: New file.
10530 * benchtests/bench-memrchr.c: New file.
10532 2013-09-06 Will Newton <will.newton@linaro.org>
10534 * benchtests/Makefile (string-bench): Add memcpy.
10536 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10537 Cong Wang <amwang@redhat.com>
10540 * sysdeps/unix/sysv/linux/bits/in.h
10541 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10542 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10543 before __USE_KERNEL_IPV6_DEFS uses.
10544 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10546 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10547 sockaddr_in6, or ipv6_mreq.
10549 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10551 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10552 memory access for final bytes in some large inputs.
10553 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10555 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10557 * string/test-memrchr.c: New file.
10558 * string/test-memrchr-ifunc.c: New file.
10559 * string/Makefile: Add new memrchr testcase.
10561 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10563 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10564 fanotify_init returns EPERM.
10566 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10568 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10570 (top level): Treat second token from macro or constant entries for
10571 allowed headers as allowed.
10572 * include/complex.h: Condition internal declarations on
10574 * include/fenv.h: Condition include of <stdbool.h> and internal
10575 declarations on [!_ISOMAC].
10577 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10580 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10582 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10584 * configure.in (--enable-versioning): Remove configure option.
10585 (libc_cv_asm_symver_directive): Remove configure test.
10586 (libc_cv_ld_version_script_option): Likewise.
10587 (VERSIONING): Remove variable and AC_SUBST.
10588 (DO_VERSIONING): Remove AC_DEFINE.
10589 * configure: Regenerated.
10590 * config.h.in (DO_VERSIONING): Remove macro.
10591 * Makerules [$(versioning) = yes]: Change conditionals to
10592 [$(build-shared) = yes].
10593 * config.make.in (versioning): Remove variable.
10594 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10595 [$(build-shared) = yes].
10596 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10597 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10598 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10599 [$(build-shared) = yes].
10600 * extra-lib.mk [$(versioning) = yes]: Likewise.
10601 * hurd/Makefile [$(versioning) = yes]: Likewise.
10602 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10604 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10606 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10607 [SHARED && !NO_HIDDEN].
10608 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10610 [SHARED && DO_VERSIONING]: Likewise..
10611 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10612 [$(build-shared) = yes].
10613 * manual/install.texi (--disable-versioning): Remove
10615 * INSTALL: Regenerated.
10616 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10618 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10619 [$(build-shared) = yes].
10620 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10621 * sysdeps/i386/i686/multiarch/strstr-c.c
10622 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10623 [SHARED && !NO_HIDDEN].
10624 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10625 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10626 * sysdeps/powerpc/powerpc32/dl-machine.c
10627 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10628 * sysdeps/powerpc/powerpc32/sysdep.h
10629 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10630 to [SHARED && PIC && !NO_HIDDEN].
10631 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10632 conditional to [SHARED].
10634 2013-09-04 Will Newton <will.newton@linaro.org>
10636 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10637 * benchtests/bench-string.h: Include bench-timing.h instead
10638 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10639 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10640 call to HP_TIMING_DIFF_INIT.
10641 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10642 instead of hp-timing.h macros.
10643 * benchtests/bench-memchr.c: Likewise.
10644 * benchtests/bench-memcmp.c: Likewise.
10645 * benchtests/bench-memcpy.c: Likewise.
10646 * benchtests/bench-memmem.c: Likewise.
10647 * benchtests/bench-memmove.c: Likewise.
10648 * benchtests/bench-memset.c: Likewise.
10649 * benchtests/bench-rawmemchr.c: Likewise.
10650 * benchtests/bench-strcasecmp.c: Likewise.
10651 * benchtests/bench-strcasestr.c: Likewise.
10652 * benchtests/bench-strcat.c: Likewise.
10653 * benchtests/bench-strchr.c: Likewise.
10654 * benchtests/bench-strcmp.c: Likewise.
10655 * benchtests/bench-strcpy.c: Likewise.
10656 * benchtests/bench-strcpy_chk.c: Likewise.
10657 * benchtests/bench-strlen.c: Likewise.
10658 * benchtests/bench-strncasecmp.c: Likewise.
10659 * benchtests/bench-strncat.c: Likewise.
10660 * benchtests/bench-strncmp.c: Likewise.
10661 * benchtests/bench-strncpy.c: Likewise.
10662 * benchtests/bench-strnlen.c: Likewise.
10663 * benchtests/bench-strpbrk.c: Likewise.
10664 * benchtests/bench-strrchr.c: Likewise.
10665 * benchtests/bench-strspn.c: Likewise.
10666 * benchtests/bench-strstr.c: Likewise.
10668 2013-09-04 Will Newton <will.newton@linaro.org>
10670 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10672 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10675 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10676 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10677 * math/libm-test.inc (lgamma_test_data): Add more tests.
10678 * sysdeps/i386/fpu/libm-test-ulps: Update.
10679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10681 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10683 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10684 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10686 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10687 Add strcmp-sse2-unaligned
10688 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10690 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10692 * Versions.def (libc): Add GLIBC_2.19.
10694 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10696 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10697 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10699 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10702 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10703 intermediate calculations in recurrence.
10704 (__ieee754_ynf): Likewise.
10705 * math/libm-test.inc (jn_test_data): Do not allow spurious
10706 underflow exception. Add more tests.
10707 (yn_test_data): Add more tests.
10708 * sysdeps/i386/fpu/libm-test-ulps: Update.
10709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10711 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10713 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10715 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10717 * csu/init-first.c: Fix then/than typos.
10718 * locale/programs/ld-collate.c: Likewise.
10719 * locale/programs/linereader.h: Likewise.
10720 * manual/charset.texi: Likewise.
10721 * manual/filesys.texi: Likewise.
10722 * manual/stdio.texi: Likewise.
10723 * manual/string.texi: Likewise.
10724 * stdlib/fmtmsg.c: Likewise.
10725 * sysdeps/i386/stpncpy.S: Likewise.
10726 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10727 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10728 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10729 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10731 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10733 * elf/dl-open.c: Fix typos.
10734 * iconvdata/gbbig5.c: Likewise.
10735 * iconvdata/iso-2022-jp.c: Likewise.
10736 * iconv/gconv_int.h: Likewise.
10737 * iconv/loop.c: Likewise.
10738 * nis/rpcsvc/nis.h: Likewise.
10739 * resolv/ns_name.c: Likewise.
10740 * stdio-common/vfscanf.c: Likewise.
10741 * streams/stropts.h: Likewise.
10742 * sunrpc/rpc_thread.c: Likewise.
10743 * sysdeps/i386/strpbrk.S: Likewise.
10744 * sysdeps/ieee754/k_standard.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10747 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10748 * sysdeps/mach/hurd/profil.c: Likewise.
10749 * sysdeps/s390/dl-procinfo.h: Likewise.
10750 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10751 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10752 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10753 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10754 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10756 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10758 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10759 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10761 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10763 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10764 aix specific files.
10765 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10766 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10767 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10768 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10769 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10770 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10771 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10772 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10774 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10775 Roland McGrath <roland@hack.frob.com>
10777 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10778 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10780 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10782 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10783 __executable_start symbol instead of _start.
10785 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10787 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10788 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10790 * sysdeps/gnu/ldsodefs.h: ... this new file.
10792 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10793 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10794 instead of ELFOSABI_LINUX.
10796 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10797 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10798 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10799 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10801 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10802 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10803 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10805 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10806 (ibm_extended_long_double): Add ieee_nan member.
10807 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10808 (do_test): New function.
10810 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10812 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10813 functions, renamed from truncdfsf_test, trunctfsf_test,
10815 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10817 (do_test): Run all these.
10819 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10821 * argp/argp-help.c: Fix typos.
10822 * argp/argp-parse.c: Likewise.
10823 * debug/backtracesyms.c: Likewise.
10824 * elf/elf.h: Likewise.
10825 * malloc/malloc.c: Likewise.
10826 * nis/nis_print.c: Likewise.
10827 * resolv/res_comp.c: Likewise.
10828 * stdlib/stdlib.h: Likewise.
10829 * sunrpc/clnt_tcp.c: Likewise.
10830 * sunrpc/clnt_udp.c: Likewise.
10831 * sunrpc/clnt_unix.c: Likewise.
10832 * sysdeps/unix/bsd/ptsname.c: Likewise.
10833 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10834 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10841 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10843 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10845 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10848 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10851 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10852 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10853 ($(objpfx)bug-dl-leaf): New rule.
10854 ($(objpfx)bug-dl-leaf.so): Likewise.
10855 ($(objpfx)bug-dl-leaf.out): Likewise.
10856 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10857 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10858 * dlfcn/bug-dl-leaf.c: New test.
10859 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10860 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10861 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10862 (dlclose): Likewise.
10863 (dlmopen): Likewise.
10865 2013-08-27 Roland McGrath <roland@hack.frob.com>
10867 * include/netdb.h [!_ISOMAC]:
10868 Don't include <tls.h>.
10869 (h_errno, __libc_h_errno): Move declaration and macros out of
10872 * include/resolv.h [_RESOLV_H_]:
10873 Don't include <tls.h>.
10874 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10875 * resolv/res_libc.c: Don't include <tls.h>.
10876 (_res): Use __attribute__ ((nocommon)) in place of
10877 __attribute__ ((section (".bss"))).
10879 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10880 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10882 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10884 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10885 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10887 * resolv/res_mkquery.c: Include <sys/time.h>.
10889 * inet/ifreq.c: Moved to ...
10890 * sysdeps/unix/ifreq.c: ... here.
10891 * inet/ifreq.c: New file, true stub version.
10893 * socket/sa_len.c: New file.
10894 * socket/Makefile (aux): Add it.
10895 * sysdeps/unix/sysv/linux/Makefile
10896 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10897 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10898 and #include <socket/sa_len.c>.
10899 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10900 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10902 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10903 * bits/socket.h: ... here.
10905 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10906 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10907 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10909 2013-08-27 Andreas Schwab <schwab@suse.de>
10912 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10913 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10914 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10915 * string/test-strcasecmp.c (test_main): Run tests in several
10917 * string/test-strncasecmp.c (test_main): Likewise.
10919 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10920 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10921 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10922 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10923 (__strncasecmp_ssse3) [PIC]: Likewise.
10925 2013-08-26 Roland McGrath <roland@hack.frob.com>
10927 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10929 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10930 instead of explicitly declaring xdecrypt.
10931 * nis/nss_nis/nis-publickey.c: Likewise.
10933 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10936 * nscd/aicache.c: Include res_hconf.h.
10937 (addhstaiX): Initialize res_hconf.
10939 2013-08-26 Andreas Schwab <schwab@suse.de>
10941 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10942 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10944 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10946 * nscd/aicache.c (addhstaiX): Fix indentation.
10948 2013-08-25 Mike Frysinger <vapier@gentoo.org>
10950 * configure.ac: Quote $build_pt_chown test.
10951 * configure: Regenerated.
10953 2013-08-23 Joseph Myers <joseph@codesourcery.com>
10956 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10957 * math/s_cexpf.c (__cexpf): Likewise.
10958 * math/s_cexpl.c (__cexpl): Likewise.
10959 * math/libm-test.inc (cexp_test_data): Correct expected return
10960 value for NaN + i0. Add another test.
10962 2013-08-22 David S. Miller <davem@davemloft.net>
10964 * po/ca.po: Update Catalan translation from translation project.
10965 * po/uk.po: Add Ukrainian translations from translation project.
10967 2013-08-21 Joseph Myers <joseph@codesourcery.com>
10970 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10971 is infinite, not alongside NaN test.
10972 * math/s_fdimf.c (__fdimf): Likewise.
10973 * math/s_fdiml.c (__fdiml): Likewise.
10974 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10975 errno is unchanged.
10977 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
10979 * argp/argp-help.c: Fix typos.
10980 * crypt/speeds.c: Likewise.
10981 * csu/check_fds.c: Likewise.
10982 * elf/dl-load.c: Likewise.
10983 * elf/dl-open.c: Likewise.
10984 * elf/reldep3.c: Likewise.
10985 * elf/reldep.c: Likewise.
10986 * elf/sprof.c: Likewise.
10987 * iconv/iconv_charmap.c: Likewise.
10988 * iconv/skeleton.c: Likewise.
10989 * iconv/strtab.c: Likewise.
10990 * io/lockf64.c: Likewise.
10991 * libio/libioP.h: Likewise.
10992 * resolv/gai_notify.c: Likewise.
10993 * resolv/ns_name.c: Likewise.
10994 * resolv/ns_samedomain.c: Likewise.
10995 * resolv/res_send.c: Likewise.
10996 * stdlib/random.c: Likewise.
10997 * sunrpc/rpc/xdr.h: Likewise.
10998 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10999 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11000 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11001 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11002 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11003 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11005 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11006 * sysdeps/mach/hurd/check_fds.c: Likewise.
11007 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11008 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11009 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11010 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11011 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11012 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11013 * sysdeps/pthread/aio_notify.c: Likewise.
11014 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11015 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11016 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11017 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11018 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11020 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11022 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11023 version if bit_Slow_SSE4_2 is set.
11024 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11025 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11027 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11030 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11031 trampoline stack frame information.
11032 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11033 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11034 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11035 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11036 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11037 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11038 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11039 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11041 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11042 interrupting a syscall and set with option SA_SIGINFO.
11044 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11047 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11048 argument is infinite.
11049 * math/s_cprojf.c (__cprojf): Likewise.
11050 * math/s_cprojl.c (__cprojl): Likewise.
11051 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11052 * math/libm-test.inc (cproj_test_data): Add more tests.
11054 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11056 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11057 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11058 size. Use __ffs to determine corresponding shift.
11060 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11061 Roland McGrath <roland@hack.frob.com>
11063 * Makefile (INSTALL): Remove trailing blank lines from output of
11066 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11068 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11069 Align 32 bit compat elf_greg to 8 bytes.
11071 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11073 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11075 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11077 * string/strcoll_l.c (coll_seq): New structure.
11078 (get_next_seq_cached): New function.
11079 (get_next_seq): New function.
11080 (do_compare): New function.
11081 (STRCOLL): Use GNU style definition. Simplify implementation
11082 by using get_next_seq, get_next_seq_cached and do_compare.
11084 2013-08-16 Florian Weimer <fweimer@redhat.com>
11088 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11090 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11092 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11093 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11094 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11096 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11097 GETDENTS_64BIT_ALIGNED.
11098 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11099 * manual/filesys.texi (Reading/Closing Directory): Document
11100 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11102 * manual/conf.texi (Limits for Files): Add portability note to
11103 NAME_MAX, PATH_MAX.
11104 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11106 2013-08-13 Andreas Schwab <schwab@suse.de>
11109 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11111 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11112 LDBL_MAX_EXP >= 16384]: Add tests for it.
11114 2013-08-12 David S. Miller <davem@davemloft.net>
11116 * version.h (RELEASE): Set to "development".
11117 (VERSION): Set to "2.18.90".
11118 * NEWS: Add 2.19 section.
11120 2013-08-03 David S. Miller <davem@davemloft.net>
11122 * po/ko.po: Update Korean translation from translation project.
11124 2013-08-01 David S. Miller <davem@davemloft.net>
11126 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11127 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11130 2013-07-30 David S. Miller <davem@davemloft.net>
11132 * po/fr.po: Update French translation from translation project.
11134 2013-07-28 David S. Miller <davem@davemloft.net>
11136 * po/cs.po: Update Czech translation from translation project.
11138 * po/sv.po: Update Swedish translation from translation project.
11140 2013-07-27 David S. Miller <davem@davemloft.net>
11142 * po/eo.po: Update Esperanto translation from translation project.
11144 * po/vi.po: Update Vietnamese translation from translation project.
11146 * po/de.po: Update German translation from translation project.
11148 2013-07-26 David S. Miller <davem@davemloft.net>
11150 * po/bg.po: Update Bulgarian translation from translation project.
11152 * po/nl.po: Update Dutch translation from translation project.
11153 * po/pl.po: Update Polish translation from translation project.
11154 * po/ru.po: Update Russian translation from translation project.
11156 2013-07-24 David S. Miller <davem@davemloft.net>
11158 * po/libc.pot: Update.
11160 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11162 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11163 variable page size.
11164 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11165 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11166 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11168 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11170 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11172 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11173 Andreas Schwab <schwab@suse.de>
11174 Roland McGrath <roland@hack.frob.com>
11175 Joseph Myers <joseph@codesourcery.com>
11176 Carlos O'Donell <carlos@redhat.com>
11179 * config.h.in: Define HAVE_PT_CHOWN.
11180 * config.make.in (build-pt-chown): New variable.
11181 * configure.in (--enable-pt_chown): New configure option.
11182 * configure: Regenerate.
11183 * login/Makefile: Include Makeconfig. Build pt_chown only if
11184 build-pt-chown is enabled.
11185 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11186 pt_chown to fix pty ownership.
11187 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11189 * manual/install.texi (Configuring and compiling): Mention
11190 --enable-pt_chown. Add @findex for grantpt.
11191 * INSTALL: Regenerate.
11193 2013-07-20 David S. Miller <davem@davemloft.net>
11195 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11196 difference between 32-bit and 64-bit.
11198 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11201 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11202 Avoid system header dependency with -ffreestanding.
11203 ($(objpfx)bits/syscall%d): Likewise.
11205 2013-07-13 David S. Miller <davem@davemloft.net>
11207 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11208 underflows from atanl/atan2l due to bug 15319.
11209 (casinh_test_data): Likewise.
11211 2013-07-07 David S. Miller <davem@davemloft.net>
11213 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11215 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11217 * sysdeps/i386/fpu/libm-test-ulps: Update.
11218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11220 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11222 * configure.in (--enable-lock-elision): Fix message text.
11223 * INSTALL: Regenerate.
11224 * configure: Regenerate.
11226 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11230 2013-07-03 Andreas Jaeger <aj@suse.de>
11232 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11234 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11235 (ptrace_peeksiginfo_args): Add.
11236 (__ptrace_peeksiginfo_flags): Add.
11237 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11238 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11239 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11241 2013-07-03 Allan McRae <allan@archlinux.org>
11243 * sysdeps/i386/fpu/libm-test-ulps: Update.
11245 2013-07-02 David S. Miller <davem@davemloft.net>
11247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11249 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11253 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11255 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11258 2013-07-02 Andi Kleen <ak@linux.intel.com>
11260 * config.h.in (ENABLE_LOCK_ELISION): Add.
11261 * configure.in (--enable-lock-elision): Add option.
11262 * manual/install.texi: Document --enable lock elision.
11263 * configure: Regenerate
11264 * INSTALL: Regenerate.
11266 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11268 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11269 SSE4.2 strcasecmp for libc.a.
11270 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11272 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11275 * soft-fp/op-common.h (_FP_FMA): New macro.
11276 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11277 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11278 (_FP_MUL_MEAT_1_imm): ... here.
11279 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11280 (_FP_MUL_MEAT_1_wide): ... here.
11281 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11282 (_FP_MUL_MEAT_1_hard): ... here.
11283 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11284 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11285 (_FP_MUL_MEAT_2_wide): ... here.
11286 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11287 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11288 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11289 (_FP_MUL_MEAT_2_gmp): ... here.
11290 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11291 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11292 (_FP_MUL_MEAT_4_wide): ... here.
11293 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11294 (_FP_MUL_MEAT_4_gmp): ... here.
11295 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11296 (_FP_WFRACBITS_DW_S): Likewise.
11297 (_FP_WFRACXBITS_DW_S): Likewise.
11298 (_FP_HIGHBIT_DW_S): Likewise.
11299 (FP_FMA_S): Likewise.
11300 (_FP_FRAC_HIGH_DW_S): Likewise.
11301 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11302 (_FP_WFRACBITS_DW_D): Likewise.
11303 (_FP_WFRACXBITS_DW_D): Likewise.
11304 (_FP_HIGHBIT_DW_D): Likewise.
11305 (FP_FMA_D): Likewise.
11306 (_FP_FRAC_HIGH_DW_D): Likewise.
11307 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11308 (_FP_WFRACBITS_DW_E): Likewise.
11309 (_FP_WFRACXBITS_DW_E): Likewise.
11310 (_FP_HIGHBIT_DW_E): Likewise.
11311 (FP_FMA_E): Likewise.
11312 (_FP_FRAC_HIGH_DW_E): Likewise.
11313 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11314 (_FP_WFRACBITS_DW_Q): Likewise.
11315 (_FP_WFRACXBITS_DW_Q): Likewise.
11316 (_FP_HIGHBIT_DW_Q): Likewise.
11317 (FP_FMA_Q): Likewise.
11318 (_FP_FRAC_HIGH_DW_Q): Likewise.
11319 * soft-fp/fmasf4.c: New file.
11320 * soft-fp/fmadf4.c: Likewise.
11321 * soft-fp/fmatf4.c: Likewise.
11323 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11326 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11328 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11330 (index_Slow_SSE4_2): Likewise.
11331 (index_Prefer_PMINUB_for_stringop): Likewise.
11332 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11333 bit_Slow_SSE4_2 is set.
11334 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11335 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11337 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11339 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11340 rtld_global._dl_hwcap2.
11341 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11343 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11344 POWER8 feature descriptions defined in _dl_hwcap2.
11345 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11346 string handling for POWER8 feature bits.
11347 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11348 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11349 _dl_powerpc_cap_flags.
11350 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11351 * sysdeps/powerpc/rtld-global-offsets.sym
11352 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11353 _dl_hwcap2 in the rtld_global_ro structure.
11355 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11357 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11358 hardware capabilities in support of AT_HWCAP2.
11359 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11360 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11362 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11363 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11364 explicitly the unknown a_type display mechanism is used.
11365 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11366 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11368 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11369 to macro prototype for AT_HWCAP2 support.
11370 * sysdeps/i386/dl-procinfo.h: Likewise.
11371 * sysdeps/s390/dl-procinfo.h: Likewise.
11372 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11373 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11374 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11375 return -1 for unknown a_type display fallback.
11376 * sysdeps/sparc/dl-procinfo.h: Likewise.
11377 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11378 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11380 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11382 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11383 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11385 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11388 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11389 mprotect making __stack_prot writable.
11391 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11392 Joseph Myers <joseph@codesourcery.com>
11394 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11395 as being properly aligned.
11397 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11399 * dlfcn/modstatic5.c: New file.
11400 * dlfcn/tststatic5.c: New file.
11401 * dlfcn/Makefile (tests): Add tststatic5.
11402 (tests-static): Likewise.
11403 (modules-names): Add modstatic5.
11404 (tststatic5-ENV): New variable.
11405 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11408 * elf/dl-support.c (_dl_main_map): New variable.
11409 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11410 (_dl_nns, _dl_load_adds): Set to 1.
11411 (_dl_initial_searchlist): Refer to _dl_main_map.
11412 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11413 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11414 call to _dl_get_origin.
11415 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11417 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11418 * dlfcn/modstatic3.c: New file.
11419 * dlfcn/tststatic3.c: New file.
11420 * dlfcn/tststatic4.c: New file.
11421 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11422 (tests-static): Likewise.
11423 (modules-names): Add modstatic3.
11424 (tststatic3-ENV, tststatic4-ENV): New variables.
11425 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11426 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11428 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11430 * configure.in (CC): Require GCC version 4.4 or later.
11431 * configure: Regenerated.
11432 * manual/install.texi (Tools for Compilation): Update GCC version
11434 * INSTALL: Regenerated.
11436 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11439 * string/test-memcmp.c (check2): New.
11440 (main): Call check2.
11442 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11444 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11447 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11449 (dl_open_worker) [!SHARED]: ... here.
11451 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11453 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11455 2013-06-25 Richard Henderson <rth@redhat.com>
11457 * locale/programs/locarchive.c: Include <libc-internal.h>
11459 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11461 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11462 trailing whitespace removed.
11464 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11467 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11468 * locale/programs/locarchive.c: Include libc-mmap.h.
11469 (prepare_address_space): Take two new outputs (the mmap base and len).
11470 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11472 (create_archive): Declare new mmap base and len values for
11473 prepare_address_space, and store the result in ah.
11474 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11475 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11476 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11477 Declare new mmap base and len values for
11478 prepare_address_space, and store the result in new_ah.
11479 (open_archive): Declare new mmap base and len values for
11480 prepare_address_space, and store the result in ah.
11481 (close_archive): If ah->mmap_base is not NULL, use that and
11482 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11483 * sysdeps/generic/libc-mmap.h: New file.
11485 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11487 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11488 (ALIGN_UP): Likewise.
11489 (PTR_ALIGN_DOWN): Likewise.
11490 (PTR_ALIGN_UP): Likewise.
11492 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11494 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11495 entry mapped to PPC_PLATFORM_POWER8.
11496 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11498 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11499 (_dl_string_platform): Add case for exporting platform position for
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11502 search path to sysdeps/powerpc/powerpc32/power8 directory.
11503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11504 search path to sysdeps/powerpc/powerpc64/power8 directory.
11505 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11506 power7 directories.
11507 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11508 power7 directories.
11510 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11512 * INSTALL: Regenerate.
11514 * nscd/connections.c (nscd_init): Fix comment.
11516 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11518 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11521 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11522 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11524 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11526 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11528 (DL_DST_REQ_STATIC): Remove macro.
11530 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11533 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11534 with a shift of 0 bits.
11536 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11538 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11541 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11544 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11546 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11548 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11549 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11550 accepts -fno-tree-loop-distribute-patterns.
11551 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11552 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11554 * string/memset.c (memset): Likewise.
11555 * string/test-memmove.c (simple_memmove): Disable loop transformation
11557 * string/test-memset.c (simple_memset): Likewise.
11558 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11559 * benchtests/bench-memset.c (simple_memset): Likewise.
11560 * configure: Regenerated.
11562 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11564 * math/test-misc.c (main): Ignore fesetround failure when failures
11565 of subsequent rounding tests would be ignored.
11568 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11569 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11570 * math/fegetenv.c (__fegetenv): Return 0.
11571 * math/fegetexcept.c (fegetexcept): Return 0.
11572 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11574 * math/feholdexcpt.c (feholdexcept): Return 0.
11575 * math/fesetenv.c (__fesetenv): Return 0.
11576 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11577 argument FE_TONEAREST.
11578 * math/feupdateenv.c (__feupdateenv): Return 0.
11579 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11581 2013-06-18 Roland McGrath <roland@hack.frob.com>
11583 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11584 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11585 ($(objpfx)rtld-%.os rules): Use them.
11587 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11589 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11592 2013-06-17 Roland McGrath <roland@hack.frob.com>
11594 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11595 length of target pattern, then descending length of dependency pattern.
11596 * configure.in (AWK): Require gawk 3.1.2 or newer.
11597 * manual/install.texi (Tools for Compilation): Say that we do.
11598 * configure: Regenerated.
11600 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11601 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11602 * scripts/sysd-rules.awk: ... this new script.
11603 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11604 than a glob-style pattern.
11606 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11608 * math/test-misc.c (main): Do not treat incorrectly rounded
11609 conversions as failure unless ROUNDING_TESTS passes.
11611 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11614 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11615 restore exception state around main square root computation, then
11616 check for inexactness explicitly.
11618 * math/libm-test.inc (fma_test_data): Add another test.
11620 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11622 * manual/threads.texi (Non-POSIX Extensions): New document
11623 node. Document pthread_getattr_default_np and
11624 pthread_setattr_default_np.
11626 * Versions.def (libpthread): Add GLIBC_2.18.
11627 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11636 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11647 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11650 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11652 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11653 H.J. Lu <hjl.tools@gmail.com>
11656 * sysdeps/x86_64/rtld-memset.c: Remove file.
11657 * sysdeps/x86_64/rtld-memset.S: New file.
11659 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11661 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11662 (test_in_one_mode): Take arguments for whether the rounding mode
11663 is supported for each floating-point type.
11664 (do_test): Pass new arguments to test_in_one_mode using
11667 2013-06-13 Roland McGrath <roland@hack.frob.com>
11669 * posix/tst-waitid.c (do_test): Distinguish different instances of
11670 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11671 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11672 before entering the kernel for waitpid.
11674 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11676 * NEWS: Fix note on clock function precision. Text by Roland
11679 2013-06-13 Roland McGrath <roland@hack.frob.com>
11681 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11682 it into place only when and if the sanity check passes.
11684 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11686 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11687 output for whether conversion result is exact. Take argument
11688 indicating whether type is IBM long double.
11689 (round_for_all): Change need_exact field to ibm_ld.
11690 * stdlib/tst-strtod-round.c (struct exactness): New type.
11691 (struct test): Change bool ld_ok field to struct exactness exact.
11692 (TEST): Update all definitions for change to field.
11693 (tests): Regenerate array contents.
11694 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11695 field value. Check for IBM long double here.
11696 (do_test): Update calls to test_in_one_mode.
11698 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11701 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11702 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11704 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11707 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11708 generated by the compiler on loop optimizations.
11709 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11710 general definitions.
11712 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11714 * math/bug-nextafter.c: Include <math-tests.h>.
11715 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11717 * math/bug-nexttoward.c: Include <math-tests.h>.
11718 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11720 * math/test-misc.c: Include <math-tests.h>.
11721 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11724 2013-06-12 Andreas Jaeger <aj@suse.de>
11726 * po/ia.po: Update Interlingua translation from translation
11729 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11731 * include/fenv.h: Include stdbool.h.
11732 (struct rm_ctx): New structure.
11733 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11735 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11736 (SET_RESTORE_ROUNDF): Likewise.
11737 (SET_RESTORE_ROUNDL): Likewise.
11738 (SET_RESTORE_ROUND_NOEX): Likewise.
11739 (SET_RESTORE_ROUND_NOEXF): Likewise.
11740 (SET_RESTORE_ROUND_NOEXL): Likewise.
11741 (SET_RESTORE_ROUND_53BIT): Likewise.
11742 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11743 (libc_feresetround_noexf_ctx): Likewise.
11744 (libc_feresetround_noexl_ctx): Likewise.
11745 (libc_feholdsetround_53bit_ctx): Likewise.
11746 (libc_feresetround_53bit_ctx): Likewise.
11747 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11748 (libc_feholdexcept_setround_sse_ctx): New function.
11749 (libc_fesetenv_sse_ctx): Likewise.
11750 (libc_feupdateenv_sse_ctx): Likewise.
11751 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11752 (libc_feholdexcept_setround_387_ctx): Likewise.
11753 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11754 (libc_feholdsetround_387_prec_ctx): Likewise.
11755 (libc_feholdsetround_387_ctx): Likewise.
11756 (libc_feholdsetround_387_53bit_ctx): Likewise.
11757 (libc_feholdsetround_sse_ctx): Likewise.
11758 (libc_feresetround_sse_ctx): Likewise.
11759 (libc_feresetround_387_ctx): Likewise.
11760 (libc_feupdateenv_387_ctx): Likewise.
11761 (libc_feholdexcept_setroundf_ctx): Define macro.
11762 (libc_fesetenvf_ctx): Likewise.
11763 (libc_feupdateenvf_ctx): Likewise.
11764 (libc_feholdsetroundf_ctx): Likewise.
11765 (libc_feresetroundf_ctx): Likewise.
11766 (libc_feholdexcept_setround_ctx): Likewise.
11767 (libc_fesetenv_ctx): Likewise.
11768 (libc_feupdateenv_ctx): Likewise.
11769 (libc_feholdsetround_ctx): Likewise.
11770 (libc_feresetround_ctx): Likewise.
11771 (libc_feholdexcept_setroundl_ctx): Likewise.
11772 (libc_feupdateenvl_ctx): Likewise.
11773 (libc_feholdsetroundl_ctx): Likewise.
11774 (libc_feresetroundl_ctx): Likewise.
11775 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11776 (libc_feresetround_53bit_ctx): Likewise.
11778 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11780 * locale/iso-639.def: Convert to UTF-8.
11782 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11784 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11785 (EXCEPTION_TESTS_double): Likewise.
11786 (EXCEPTION_TESTS_long_double): Likewise.
11787 (EXCEPTION_TESTS): Likewise.
11788 * math/libm-test.inc (test_exceptions): Only test exceptions if
11789 EXCEPTION_TESTS (FLOAT).
11791 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11793 * benchtests/Makefile (string-bench): Add strcpy_chk and
11795 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11796 * benchtests/bench-stpcpy_chk.c: New file.
11797 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11798 * benchtests/bench-strcpy_chk.c: New file.
11799 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11801 (do_test): Likewise.
11803 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11805 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11806 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11807 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11808 with tabs where appropriate.
11809 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11811 [PPC_PLATFORM_PPC440]: Likewise.
11812 [PPC_PLATFORM_PPC464]: Likewise.
11813 [PPC_PLATFORM_PPC476]: Likewise.
11814 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11815 ppc464, and ppc476 platform strings merging from ports/
11818 2013-06-11 Andreas Schwab <schwab@suse.de>
11821 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11822 (from_ucs4_idx): Regenerate.
11823 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11824 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11825 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11826 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11827 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11828 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11829 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11830 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11831 from FROM_LOOP and TO_LOOP specific macros.
11832 (BODY): Handle combining characters.
11833 * iconvdata/BIG5HKSCS.irreversible: Update.
11834 * iconvdata/BIG5HKSCS.precomposed: New file.
11835 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11837 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11839 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11841 * include/sys/time.h: Fix indentation and add copyright header.
11843 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11844 (do_test): Likewise.
11845 * string/test-memchr.c (do_one_test): Likewise.
11846 (do_test): Likewise.
11847 * string/test-memcmp.c (do_one_test): Likewise.
11848 (do_test): Likewise.
11849 * string/test-memcpy.c (do_one_test): Likewise.
11850 (do_test): Likewise.
11851 * string/test-memmem.c (do_one_test): Likewise.
11852 (do_test): Likewise.
11853 (do_random_tests): Likewise.
11854 * string/test-memmove.c (do_one_test): Likewise.
11855 (do_test): Likewise.
11856 * string/test-memset.c (do_one_test): Likewise.
11857 (do_test): Likewise.
11858 * string/test-rawmemchr.c (do_one_test): Likewise.
11859 (do_test): Likewise.
11860 * string/test-strcasecmp.c (do_one_test): Likewise.
11861 (do_test): Likewise.
11862 * string/test-strcasestr.c (do_one_test): Likewise.
11863 (do_test): Likewise.
11864 * string/test-strcat.c (do_one_test): Likewise.
11865 (do_test): Likewise.
11866 * string/test-strchr.c (do_one_test): Likewise.
11867 (do_test): Likewise.
11868 * string/test-strcmp.c (do_one_test): Likewise.
11869 (do_test): Likewise.
11870 * string/test-strcpy.c (do_one_test): Likewise.
11871 (do_test): Likewise.
11872 * string/test-string.h: Likewise.
11873 (test_init): Likewise.
11874 * string/test-strlen.c (do_one_test): Likewise.
11875 (do_test): Likewise.
11876 * string/test-strncasecmp.c (do_one_test): Likewise.
11877 (do_test): Likewise.
11878 * string/test-strncat.c (do_one_test): Likewise.
11879 (do_test): Likewise.
11880 * string/test-strncmp.c (do_one_test): Likewise.
11881 (do_test_limit): Likewise.
11882 (do_test): Likewise.
11883 * string/test-strncpy.c (do_one_test): Likewise.
11884 (do_test): Likewise.
11885 * string/test-strnlen.c (do_one_test): Likewise.
11886 (do_test): Likewise.
11887 * string/test-strpbrk.c (do_one_test): Likewise.
11888 (do_test): Likewise.
11889 * string/test-strrchr.c (do_one_test): Likewise.
11890 (do_test): Likewise.
11891 * string/test-strspn.c (do_one_test): Likewise.
11892 (do_test): Likewise.
11893 * string/test-strstr.c (do_one_test): Likewise.
11894 (do_test): Likewise.
11896 * benchtests/Makefile (string-bench): Add string benchmarks.
11897 * benchtests/bench-bcopy-ifunc.c: New file.
11898 * benchtests/bench-bcopy.c: New file.
11899 * benchtests/bench-bzero-ifunc.c: New file.
11900 * benchtests/bench-bzero.c: New file.
11901 * benchtests/bench-memccpy-ifunc.c: New file.
11902 * benchtests/bench-memccpy.c: New file.
11903 * benchtests/bench-memchr-ifunc.c: New file.
11904 * benchtests/bench-memchr.c: New file.
11905 * benchtests/bench-memcmp-ifunc.c: New file.
11906 * benchtests/bench-memcmp.c: New file.
11907 * benchtests/bench-memmem-ifunc.c: New file.
11908 * benchtests/bench-memmem.c: New file.
11909 * benchtests/bench-memmove-ifunc.c: New file.
11910 * benchtests/bench-memmove.c: New file.
11911 * benchtests/bench-mempcpy-ifunc.c: New file.
11912 * benchtests/bench-mempcpy.c: New file.
11913 * benchtests/bench-memset-ifunc.c: New file.
11914 * benchtests/bench-memset.c: New file.
11915 * benchtests/bench-rawmemchr-ifunc.c: New file.
11916 * benchtests/bench-rawmemchr.c: New file.
11917 * benchtests/bench-stpcpy-ifunc.c: New file.
11918 * benchtests/bench-stpcpy.c: New file.
11919 * benchtests/bench-stpncpy-ifunc.c: New file.
11920 * benchtests/bench-stpncpy.c: New file.
11921 * benchtests/bench-strcasecmp-ifunc.c: New file.
11922 * benchtests/bench-strcasecmp.c: New file.
11923 * benchtests/bench-strcasestr-ifunc.c: New file.
11924 * benchtests/bench-strcasestr.c: New file.
11925 * benchtests/bench-strcat-ifunc.c: New file.
11926 * benchtests/bench-strcat.c: New file.
11927 * benchtests/bench-strchr-ifunc.c: New file.
11928 * benchtests/bench-strchr.c: New file.
11929 * benchtests/bench-strchrnul-ifunc.c: New file.
11930 * benchtests/bench-strchrnul.c: New file.
11931 * benchtests/bench-strcmp-ifunc.c: New file.
11932 * benchtests/bench-strcmp.c: New file.
11933 * benchtests/bench-strcpy-ifunc.c: New file.
11934 * benchtests/bench-strcpy.c: New file.
11935 * benchtests/bench-strcspn-ifunc.c: New file.
11936 * benchtests/bench-strcspn.c: New file.
11937 * benchtests/bench-strlen-ifunc.c: New file.
11938 * benchtests/bench-strlen.c: New file.
11939 * benchtests/bench-strncasecmp-ifunc.c: New file.
11940 * benchtests/bench-strncasecmp.c: New file.
11941 * benchtests/bench-strncat-ifunc.c: New file.
11942 * benchtests/bench-strncat.c: New file.
11943 * benchtests/bench-strncmp-ifunc.c: New file.
11944 * benchtests/bench-strncmp.c: New file.
11945 * benchtests/bench-strncpy-ifunc.c: New file.
11946 * benchtests/bench-strncpy.c: New file.
11947 * benchtests/bench-strnlen-ifunc.c: New file.
11948 * benchtests/bench-strnlen.c: New file.
11949 * benchtests/bench-strpbrk-ifunc.c: New file.
11950 * benchtests/bench-strpbrk.c: New file.
11951 * benchtests/bench-strrchr-ifunc.c: New file.
11952 * benchtests/bench-strrchr.c: New file.
11953 * benchtests/bench-strspn-ifunc.c: New file.
11954 * benchtests/bench-strspn.c: New file.
11955 * benchtests/bench-strstr-ifunc.c: New file.
11956 * benchtests/bench-strstr.c: New file.
11958 * benchtests/Makefile: Disable parallel execution of targets.
11959 (string-bench): Add memcpy.
11960 (benchset): New variable to store a list of benchmark sets.
11961 (bench-func): Renamed from bench.
11962 (bench-set): New target.
11963 (bench): Depend on bench-func and bench-set.
11964 * benchtests/README: Add section on benchmark sets.
11965 * benchtests/bench-memcpy-ifunc.c: New file.
11966 * benchtests/bench-memcpy.c: New file.
11967 * benchtests/bench-string.h: New file.
11969 2013-06-11 Andreas Schwab <schwab@suse.de>
11972 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11973 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11974 values in the triple.
11975 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11976 terminator in the group key.
11978 2013-06-11 Andreas Jaeger <aj@suse.de>
11980 * po/zh_TW.po: Update Chinese (traditional) translation from
11981 translation project.
11983 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11985 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11986 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11987 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11988 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11989 (clock_getcpuclockid): Likewise.
11990 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11991 Add weak_alias and libc_hidden_def.
11992 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11993 * rt/clock_gettime.c (clock_gettime): Rename to
11994 __clock_gettime. Add weak_alias and libc_hidden_def.
11995 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11996 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11997 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11998 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11999 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12001 * rt/clock_settime.c (clock_settime): Rename to
12002 __clock_settime. Add weak_alias and libc_hidden_def.
12003 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12005 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12007 * mach/err_boot.sub: Remove trailing whitespace.
12008 * mach/err_ipc.sub: Likewise.
12009 * mach/err_mach.sub: Likewise.
12011 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12012 (ROUNDING_TESTS_double): Likewise.
12013 (ROUNDING_TESTS_long_double): Likewise.
12014 (ROUNDING_TESTS): Likewise.
12015 * math/libm-test.inc: Include <math-tests.h>.
12016 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12017 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12018 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12019 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12021 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12023 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12026 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12028 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12029 otherwise empty TRANS lines.
12030 * sysdeps/gnu/errlist.c: Regenerated.
12032 * catgets/gencat.c (error_print): Use (void) in function
12034 * crypt/crypt_util.c (__init_des): Likewise.
12035 * crypt/speeds.c (Stop): Likewise.
12037 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12038 * inet/ruserpass.c (token): Likewise.
12039 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12040 * intl/localealias.c (extend_alias_table): Likewise.
12041 * intl/plural-exp.c (init_germanic_plural): Likewise.
12042 * libio/fcloseall.c (__fcloseall): Likewise.
12043 * libio/genops.c (_IO_flush_all): Likewise.
12044 (_IO_flush_all_linebuffered): Likewise.
12045 (_IO_cleanup): Likewise.
12046 (_IO_iter_begin): Likewise.
12047 (_IO_iter_end): Likewise.
12048 (_IO_list_lock): Likewise.
12049 (_IO_list_unlock): Likewise.
12050 (_IO_list_resetlock): Likewise.
12051 * libio/getchar.c (getchar): Likewise.
12052 * libio/getchar_u.c (getchar_unlocked): Likewise.
12053 * libio/getwchar.c (getwchar): Likewise.
12054 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12055 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12056 * login/getpt.c (__getpt): Likewise.
12057 * login/tst-utmp.c (main): Likewise.
12058 * malloc/hooks.c (__malloc_check_init): Likewise.
12059 * malloc/malloc.c (__malloc_stats): Likewise.
12060 * malloc/mtrace.c (tr_break): Likewise.
12061 (mtrace): Likewise.
12062 (muntrace): Likewise.
12063 * misc/fstab.c (endfsent): Likewise.
12064 * misc/getclktck.c (__getclktck): Likewise.
12065 * misc/getdtsz.c (__getdtablesize): Likewise.
12066 * misc/gethostid.c (gethostid): Likewise.
12067 * misc/getpagesize.c (__getpagesize): Likewise.
12068 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12069 (__get_nprocs): Likewise.
12070 (__get_phys_pages): Likewise.
12071 (__get_avphys_pages): Likewise.
12072 * misc/getttyent.c (getttyent): Likewise.
12073 (setttyent): Likewise.
12074 (endttyent): Likewise.
12075 * misc/getusershell.c (getusershell): Likewise.
12076 (endusershell): Likewise.
12077 (setusershell): Likewise.
12078 (initshells): Likewise.
12079 * misc/hsearch.c (__hdestroy): Likewise.
12080 * misc/sync.c (sync): Likewise.
12081 * misc/syslog.c (closelog_internal): Likewise.
12082 (closelog): Likewise.
12083 * misc/ttyslot.c (ttyslot): Likewise.
12084 * misc/vhangup.c (vhangup): Likewise.
12085 * posix/fork.c (__fork): Likewise.
12086 * posix/getegid.c (__getegid): Likewise.
12087 * posix/geteuid.c (__geteuid): Likewise.
12088 * posix/getgid.c (__getgid): Likewise.
12089 * posix/getpid.c (__getpid): Likewise.
12090 * posix/getppid.c (__getppid): Likewise.
12091 * posix/getuid.c (__getuid): Likewise.
12092 * posix/pause.c (pause): Likewise.
12093 * posix/setpgrp.c (setpgrp): Likewise.
12094 * posix/setsid.c (__setsid): Likewise.
12095 * posix/test-vfork.c (noop): Likewise.
12096 * resolv/gethnamaddr.c (_endhtent): Likewise.
12097 (_gethtent): Likewise.
12098 (ht_endhostent): Likewise.
12099 (gethostent): Likewise.
12100 (dns_service): Likewise.
12101 * stdlib/drand48.c (drand48): Likewise.
12102 * stdlib/lrand48.c (lrand48): Likewise.
12103 * stdlib/mrand48.c (mrand48): Likewise.
12104 * stdlib/rand.c (rand): Likewise.
12105 * stdlib/random.c (__random): Likewise.
12106 * stdlib/setenv.c (clearenv): Likewise.
12107 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12108 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12109 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12110 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12111 (__get_nprocs): Likewise.
12112 (__get_phys_pages): Likewise.
12113 (__get_avphys_pages): Likewise.
12114 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12115 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12116 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12117 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12118 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12119 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12120 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12121 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12122 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12123 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12124 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12125 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12126 * sysdeps/posix/clock.c (clock): Likewise.
12127 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12128 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12129 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12130 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12131 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12132 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12133 (__get_nprocs_conf): Likewise.
12134 (__get_phys_pages): Likewise.
12135 (__get_avphys_pages): Likewise.
12136 * time/clock.c (clock): Likewise.
12137 * time/tzset.c (__tzname_max): Likewise.
12139 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12141 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12142 (__bswap_32): Do not use "register".
12143 * crypt/crypt.c (_ufc_doit_r): Likewise.
12144 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12145 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12146 * gmon/gmon.c (__monstartup): Likewise.
12147 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12148 * hurd/hurdmalloc.c (more_memory): Likewise.
12149 (malloc): Likewise.
12151 (realloc): Likewise.
12152 (malloc_fork_prepare): Likewise.
12153 (malloc_fork_parent): Likewise.
12154 (malloc_fork_child): Likewise.
12155 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12156 (_svcauth_des): Likewise.
12157 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12158 * inet/inet_net.c (inet_network): Likewise.
12159 * inet/inet_netof.c (inet_netof): Likewise.
12160 * inet/rcmd.c (__validuser2_sa): Likewise.
12161 * io/fts.c (fts_open): Likewise.
12162 (fts_load): Likewise.
12163 (fts_close): Likewise.
12164 (fts_read): Likewise.
12165 (fts_children): Likewise.
12166 (fts_build): Likewise.
12167 (fts_stat): Likewise.
12168 (fts_sort): Likewise.
12169 (fts_alloc): Likewise.
12170 (fts_lfree): Likewise.
12171 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12172 (_IO_file_xsgetn): Likewise.
12173 (_IO_file_xsgetn_mmap): Likewise.
12174 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12175 (_IO_cookie_write): Likewise.
12176 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12177 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12178 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12179 * malloc/obstack.c (_obstack_begin): Likewise.
12180 (_obstack_begin_1): Likewise.
12181 (_obstack_newchunk): Likewise.
12182 (_obstack_allocated_p): Likewise.
12183 (obstack_free): Likewise.
12184 (_obstack_memory_used): Likewise.
12185 * misc/getttyent.c (getttynam): Likewise.
12186 (getttyent): Likewise.
12189 * misc/getusershell.c (initshells): Likewise.
12190 * misc/syslog.c (__vsyslog_chk): Likewise.
12191 * misc/ttyslot.c (ttyslot): Likewise.
12192 * nis/nis_hash.c (__nis_hash): Likewise.
12193 * posix/fnmatch_loop.c (FCT): Likewise.
12194 * posix/getconf.c (print_all): Likewise.
12196 * posix/getopt.c (exchange): Likewise.
12197 * posix/glob.c (globfree): Likewise.
12198 (prefix_array): Likewise.
12199 (__glob_pattern_type): Likewise.
12200 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12201 (NS_GET32): Likewise.
12202 (NS_PUT16): Likewise.
12203 (NS_PUT32): Likewise.
12204 * resolv/gethnamaddr.c (getanswer): Likewise.
12205 (gethostbyname2): Likewise.
12206 (gethostbyaddr): Likewise.
12207 (_gethtent): Likewise.
12208 (_gethtbyname2): Likewise.
12209 (_gethtbyaddr): Likewise.
12210 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12211 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12212 * resolv/res_init.c (__res_vinit): Likewise.
12213 (net_mask): Likewise.
12214 * resolv/res_mkquery.c (outchar): Likewise.
12216 * stdio-common/printf_fp.c (outchar): Likewise.
12218 * stdio-common/printf_fphex.c (outchar): Likewise.
12220 * stdio-common/printf_size.c (outchar): Likewise.
12222 * stdio-common/test_rdwr.c (main): Likewise.
12223 * stdio-common/tfformat.c (matches): Likewise.
12224 * stdio-common/vfprintf.c (outchar): Likewise.
12225 (printf_unknown): Likewise.
12226 (buffered_vfprintf): Likewise.
12227 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12228 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12229 (ReadFile): Likewise.
12230 * stdlib/qsort.c (SWAP): Likewise.
12231 (_quicksort): Likewise.
12232 * stdlib/setenv.c (__add_to_environ): Likewise.
12233 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12234 * stdlib/strtol_l.c (__strtol_l): Likewise.
12235 * stdlib/tst-strtod.c (main): Likewise.
12236 * stdlib/tst-strtol.c (main): Likewise.
12237 * stdlib/tst-strtoll.c (main): Likewise.
12238 * string/bits/string2.h (__strcmp_cc): Likewise.
12239 (__strcmp_cg): Likewise.
12240 (__strcspn_c1): Likewise.
12241 (__strcspn_c2): Likewise.
12242 (__strcspn_c3): Likewise.
12243 (__strspn_c1): Likewise.
12244 (__strspn_c2): Likewise.
12245 (__strspn_c3): Likewise.
12246 (__strsep_1c): Likewise.
12247 (__strsep_2c): Likewise.
12248 (__strsep_3c): Likewise.
12249 * string/memccpy.c (__memccpy): Likewise.
12250 * string/stpcpy.c (__stpcpy): Likewise.
12251 * string/strcmp.c (strcmp): Likewise.
12252 * string/strrchr.c (strrchr): Likewise.
12253 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12255 * sysdeps/mach/hurd/getcwd.c
12256 (_hurd_canonicalize_directory_name_internal): Likewise.
12257 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12258 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12259 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12260 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12261 Likewise, in both definitions.
12262 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12264 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12265 64] (__bswap_64): Likewise.
12266 * time/test_time.c (main): Likewise.
12267 * time/tzfile.c (__tzfile_read): Likewise.
12268 (__tzfile_compute): Likewise.
12269 * time/tzset.c (__tzset_parse_tz): Likewise.
12270 (tzset_internal): Likewise.
12271 (compute_change): Likewise.
12272 * wcsmbs/wcscat.c (__wcscat): Likewise.
12273 * wcsmbs/wcschr.c (wcschr): Likewise.
12274 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12275 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12276 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12277 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12278 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12279 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12280 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12281 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12282 * wcsmbs/wmemset.c (wmemset): Likewise.
12284 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12286 * scripts/config.guess: Update to version 2013-05-16.
12287 * scripts/config.sub: Update to version 2013-04-24.
12288 * scripts/install-sh: Update to version 2011-11-20.07.
12289 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12290 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12292 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12294 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12295 * elf/sln.c: Likewise.
12296 * hurd/hurd/ioctl.h: Likewise.
12297 * hurd/hurdmalloc.c: Likewise.
12298 * hurd/xattr.c: Likewise.
12299 * include/shlib-compat.h: Likewise.
12300 * inet/ruserpass.c: Likewise.
12301 * libio/iofgets_u.c: Likewise.
12302 * libio/iofgetws_u.c: Likewise.
12303 * locale/programs/ld-identification.c: Likewise.
12304 * locale/programs/ld-time.c: Likewise.
12305 * mach/msg-destroy.c: Likewise.
12306 * nss/nss_files/files-netgrp.c: Likewise.
12307 * resolv/res_data.c: Likewise.
12308 * soft-fp/op-1.h: Likewise.
12309 * soft-fp/op-2.h: Likewise.
12310 * soft-fp/op-4.h: Likewise.
12311 * soft-fp/op-common.h: Likewise.
12312 * stdio-common/printf_fphex.c: Likewise.
12313 * stdlib/strtod_l.c: Likewise.
12314 * sunrpc/rpc/clnt.h: Likewise.
12315 * sysdeps/generic/framestate.c: Likewise.
12316 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12317 * sysdeps/i386/bsd-setjmp.S: Likewise.
12318 * sysdeps/i386/__longjmp.S: Likewise.
12319 * sysdeps/i386/setjmp.S: Likewise.
12320 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12321 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12322 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12323 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12324 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12325 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12327 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12328 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12329 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12330 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12331 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12332 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12333 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12334 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12335 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12336 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12337 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12338 * sysdeps/ieee754/support.c: Likewise.
12339 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12340 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12341 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12342 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12343 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12344 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12345 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12346 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12347 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12348 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12349 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12350 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12351 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12352 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12353 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12354 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12355 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12358 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12360 * posix/transbug.c: Remove executable mode.
12362 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12364 * crypt/speeds.c: Remove trailing whitespace.
12365 * dlfcn/default.c: Likewise.
12366 * elf/ifuncdep2.c: Likewise.
12367 * elf/ifuncmain1.c: Likewise.
12368 * elf/ifuncmain1vis.c: Likewise.
12369 * elf/testobj.h: Likewise.
12370 * elf/tst-stackguard1.c: Likewise.
12371 * gmon/sys/gmon.h: Likewise.
12372 * hurd/hurdmsg.c: Likewise.
12373 * hurd/new-fd.c: Likewise.
12374 * hurd/ports-get.c: Likewise.
12375 * iconvdata/ibm1008_420.c: Likewise.
12376 * inet/tst-getni1.c: Likewise.
12377 * inet/tst-getni2.c: Likewise.
12378 * libio/ioungetc.c: Likewise.
12379 * libio/wfiledoalloc.c: Likewise.
12380 * manual/libm-err-tab.pl: Likewise.
12381 * math/w_dremf.c: Likewise.
12382 * misc/ftruncate.c: Likewise.
12383 * posix/bug-glob2.c: Likewise.
12384 * posix/tst-pcre.c: Likewise.
12385 * posix/wait4.c: Likewise.
12386 * resolv/README: Likewise.
12387 * resolv/res_debug.h: Likewise.
12388 * resolv/tst-inet_ntop.c: Likewise.
12389 * setjmp/bug269-setjmp.c: Likewise.
12390 * soft-fp/extended.h: Likewise.
12391 * soft-fp/op-1.h: Likewise.
12392 * soft-fp/op-2.h: Likewise.
12393 * soft-fp/op-4.h: Likewise.
12394 * soft-fp/op-8.h: Likewise.
12395 * soft-fp/testit.c: Likewise.
12396 * stdio-common/bug16.c: Likewise.
12397 * stdlib/random.c: Likewise.
12398 * sunrpc/rpcsvc/rquota.x: Likewise.
12399 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12400 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12401 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12402 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12403 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12404 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12405 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12406 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12407 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12408 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12409 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12410 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12411 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12412 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12413 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12414 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12415 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12416 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12417 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12418 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12419 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12420 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12421 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12422 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12423 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12424 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12425 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12426 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12427 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12428 * sysdeps/ieee754/s_lib_version.c: Likewise.
12429 * sysdeps/mach/hurd/check_fds.c: Likewise.
12430 * sysdeps/mach/hurd/getsockname.c: Likewise.
12431 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12432 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12433 * sysdeps/powerpc/bits/link.h: Likewise.
12434 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12435 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12436 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12437 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12438 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12439 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12440 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12441 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12442 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12443 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12444 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12445 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12446 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12447 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12448 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12449 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12450 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12451 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12452 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12453 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12454 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12455 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12456 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12457 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12458 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12459 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12460 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12461 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12462 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12463 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12464 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12465 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12466 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12467 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12468 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12469 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12470 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12471 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12472 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12473 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12474 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12475 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12476 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12477 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12478 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12479 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12480 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12481 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12482 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12483 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12484 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12485 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12486 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12487 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12488 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12489 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12490 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12491 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12492 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12493 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12494 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12495 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12496 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12497 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12498 * sysdeps/powerpc/sysdep.h: Likewise.
12499 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12500 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12501 * sysdeps/sh/dl-trampoline.S: Likewise.
12502 * sysdeps/sh/memset.S: Likewise.
12503 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12504 * sysdeps/sh/strlen.S: Likewise.
12505 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12506 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12507 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12508 * sysdeps/sparc/sparc32/rem.S: Likewise.
12509 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12510 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12511 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12512 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12513 * sysdeps/sparc/sparc32/urem.S: Likewise.
12514 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12515 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12516 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12517 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12518 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12519 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12520 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12521 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12522 * sysdeps/unix/bsd/times.c: Likewise.
12523 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12524 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12528 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12529 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12530 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12531 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12532 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12533 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12534 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12535 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12536 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12537 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12538 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12539 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12540 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12541 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12542 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12543 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12544 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12545 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12546 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12547 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12548 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12549 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12550 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12551 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12552 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12553 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12554 * sysdeps/x86_64/strcspn.S: Likewise.
12556 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12558 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12559 generated file. Regenerate properly from gen-translit.pl.
12560 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12561 locale/C-translit.h.
12563 2013-06-05 Andreas Schwab <schwab@suse.de>
12566 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12567 week as 6 instead of -1.
12568 * time/tst-strptime.c (day_tests): Add test case.
12570 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12572 * sysdeps/generic/math_private.h
12573 (libc_feholdexcept_setround_53bit): Replace with
12574 libc_feholdsetround_53bit.
12575 (libc_feupdateenv_53bit): Replace with
12576 libc_feresetround_53bit.
12577 (SET_RESTORE_ROUND_53BIT): Adjust.
12579 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12581 * string/test-strchrnul.c: Add copyright header.
12583 * posix/tst-getaddrinfo4.c: Increase test timeout.
12585 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12588 * math/libm-test.inc (MAX_EXP): Remove
12590 (ulp): Use MIN_EXP - MANT_DIG.
12591 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12593 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12595 * po/be.po: Revert last change.
12596 * po/zh_CN.po: Likewise.
12597 * po/header.pot: Likewise.
12599 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12601 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12602 link-libc-deps to empty as target-specific variable.
12603 * Makerules (link-libc-args): New variable.
12604 (libc-for-link): Likewise.
12605 (link-libc-deps): Likewise.
12606 (lib%.so): Depend on $(link-libc-deps). Link with
12608 (build-module): Link with $(link-libc-args).
12609 (build-module-asneeded): Likewise.
12610 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12612 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12613 target-specific variable.
12614 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12615 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12616 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12618 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12620 ($(objpfx)libpcprofile.so): Likewise.
12621 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12623 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12624 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12625 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12627 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12628 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12629 * login/Makefile ($(objpfx)libutil.so): Likewise.
12630 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12631 * math/Makefile ($(objpfx)libm.so): Likewise.
12632 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12633 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12634 variable instead of depending directly on libc.
12635 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12636 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12638 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12640 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12641 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12642 ($(objpfx)libanl.so): Likewise.
12643 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12645 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12647 * sysdeps/i386/fpu/Makefile: Remove file.
12648 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12649 ($(objpfx)libm.so): Remove dependency on ld.so.
12651 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12654 * nis/yp_xdr.c (XDRMAXNAME): Define.
12655 (XDRMAXRECORD): Define.
12656 (xdr_domainname): Use XDRMAXNAME.
12657 (xdr_mapname): Likewise.
12658 (xdr_peername): Likewise.
12659 (xdr_keydat): Use XDRMAXRECORD.
12660 (xdr_valdat): Likewise.
12662 2013-05-30 Jeff Law <law@redhat.com>
12665 * manual/errno.texi (ESTALE): Update to account for more than
12666 just NFS file systems.
12667 * sysdeps/gnu/errlist.c: Regenerated.
12669 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12672 * elf/Makefile (tests): Add tst-null-argv.
12673 (modules-names): Add tst-null-argv-lib.
12674 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12675 (tst-null-argv-ENV): Set environment for tst-null-argv.
12676 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12677 (RTLD_PROGNAME): New macro.
12678 * elf/tst-null-argv.c: New test case.
12679 * elf/tst-null-argv-lib.c: Library for test case.
12680 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12681 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12682 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12683 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12684 * elf/dl-init.c (call_init): Likewise.
12685 (_dl_init): Likewise.
12686 * elf/dl-load.c (print_search_path): Likewise.
12687 (_dl_map_object): Likewise.
12688 * elf/dl-lookup.c (do_lookup_x): Likewise.
12689 (add_dependency): Likewise.
12690 (_dl_lookup_symbol_x): Likewise.
12691 (_dl_debug_bindings): Likewise.
12692 * elf/dl-open.c (_dl_show_scope): Likewise.
12693 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12694 * elf/dl-version.c (match_symbol): Likewise.
12695 (_dl_check_map_versions): Likewise.
12696 * elf/rtld.c (dl_main): Likewise.
12697 (print_unresolved): Use RTLD_PROGNAME.
12698 (print_missing_version): Likewise.
12699 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12700 (elf_machine_rela): Likewise.
12701 * sysdeps/powerpc/powerpc32/dl-machine.c
12702 (__process_machine_rela): Likewise.
12703 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12705 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12707 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12709 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12710 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12712 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12714 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12716 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12718 * po/be.po: Add descriptive title.
12719 * po/zh_CN.po: Likewise.
12720 * po/header.pot: Likewise.
12722 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12724 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12726 (enlarge_archive): Likewise.
12728 2013-05-28 Ben North <ben@redfrontdoor.org>
12730 * manual/arith.texi (frexp): It is the magnitude of the return
12731 value which lies in [0.5, 1), not the return value itself.
12733 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12737 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12739 * stdio-common/bug26.c (main): Correct fscanf template.
12741 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12742 declare _dl_skip_args.
12744 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12747 * manual/platform.texi: Add missing @end deftypefun.
12749 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12752 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12753 bit of mantissa of 2^16382.
12754 * math/libm-test.inc (hypot_test_data): Add more tests.
12756 * math/libm-test.inc: Add drem and pow10 to list of tested
12758 (pow10_test): New function.
12759 (drem_test): Likewise.
12760 (drem_test_tonearest): Likewise.
12761 (drem_test_towardzero): Likewise.
12762 (drem_test_downward): Likewise.
12763 (drem_test_upward): Likewise.
12764 (main): Call the new functions.
12766 * math/libm-test.inc (finite_test_data): Remove.
12767 (finite_test): Run tests from isfinite_test_data.
12768 (gamma_test_data): Remove.
12769 (gamma_test): Run tests from lgamma_test_data.
12770 * sysdeps/i386/fpu/libm-test-ulps: Update.
12771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12773 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12775 * manual/platform.texi: Add PowerPC PPR function set documentation.
12776 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12779 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12781 * math/libm-test.inc (MAX_EXP): Define.
12783 (ulp): New function.
12784 (check_float_internal): Use ULPDIFF.
12785 (cpow_test): Disable failing test.
12786 (check_ulp): Test ulp() implemetnation.
12787 (main): Call check_ulp before starting tests.
12789 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12791 * math/gen-libm-test.pl (generate_testfile): Do not handle
12792 START_DATA and END_DATA.
12793 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12795 (acos_tonearest_test_data): Likewise.
12796 (acos_towardzero_test_data): Likewise.
12797 (acos_downward_test_data): Likewise.
12798 (acos_upward_test_data): Likewise.
12799 (acosh_test_data): Likewise.
12800 (asin_test_data): Likewise.
12801 (asin_tonearest_test_data): Likewise.
12802 (asin_towardzero_test_data): Likewise.
12803 (asin_downward_test_data): Likewise.
12804 (asin_upward_test_data): Likewise.
12805 (asinh_test_data): Likewise.
12806 (atan_test_data): Likewise.
12807 (atanh_test_data): Likewise.
12808 (atan2_test_data): Likewise.
12809 (cabs_test_data): Likewise.
12810 (cacos_test_data): Likewise.
12811 (cacosh_test_data): Likewise.
12812 (carg_test_data): Likewise.
12813 (casin_test_data): Likewise.
12814 (casinh_test_data): Likewise.
12815 (catan_test_data): Likewise.
12816 (catanh_test_data): Likewise.
12817 (cbrt_test_data): Likewise.
12818 (ccos_test_data): Likewise.
12819 (ccosh_test_data): Likewise.
12820 (ceil_test_data): Likewise.
12821 (cexp_test_data): Likewise.
12822 (cimag_test_data): Likewise.
12823 (clog_test_data): Likewise.
12824 (clog10_test_data): Likewise.
12825 (conj_test_data): Likewise.
12826 (copysign_test_data): Likewise.
12827 (cos_test_data): Likewise.
12828 (cos_tonearest_test_data): Likewise.
12829 (cos_towardzero_test_data): Likewise.
12830 (cos_downward_test_data): Likewise.
12831 (cos_upward_test_data): Likewise.
12832 (cosh_test_data): Likewise.
12833 (cosh_tonearest_test_data): Likewise.
12834 (cosh_towardzero_test_data): Likewise.
12835 (cosh_downward_test_data): Likewise.
12836 (cosh_upward_test_data): Likewise.
12837 (cpow_test_data): Likewise.
12838 (cproj_test_data): Likewise.
12839 (creal_test_data): Likewise.
12840 (csin_test_data): Likewise.
12841 (csinh_test_data): Likewise.
12842 (csqrt_test_data): Likewise.
12843 (ctan_test_data): Likewise.
12844 (ctan_tonearest_test_data): Likewise.
12845 (ctan_towardzero_test_data): Likewise.
12846 (ctan_downward_test_data): Likewise.
12847 (ctan_upward_test_data): Likewise.
12848 (ctanh_test_data): Likewise.
12849 (ctanh_tonearest_test_data): Likewise.
12850 (ctanh_towardzero_test_data): Likewise.
12851 (ctanh_downward_test_data): Likewise.
12852 (ctanh_upward_test_data): Likewise.
12853 (erf_test_data): Likewise.
12854 (erfc_test_data): Likewise.
12855 (exp_test_data): Likewise.
12856 (exp_tonearest_test_data): Likewise.
12857 (exp_towardzero_test_data): Likewise.
12858 (exp_downward_test_data): Likewise.
12859 (exp_upward_test_data): Likewise.
12860 (exp10_test_data): Likewise.
12861 (exp2_test_data): Likewise.
12862 (expm1_test_data): Likewise.
12863 (fabs_test_data): Likewise.
12864 (fdim_test_data): Likewise.
12865 (finite_test_data): Likewise.
12866 (floor_test_data): Likewise.
12867 (fma_test_data): Likewise.
12868 (fma_towardzero_test_data): Likewise.
12869 (fma_downward_test_data): Likewise.
12870 (fma_upward_test_data): Likewise.
12871 (fmax_test_data): Likewise.
12872 (fmin_test_data): Likewise.
12873 (fmod_test_data): Likewise.
12874 (fpclassify_test_data): Likewise.
12875 (frexp_test_data): Likewise.
12876 (gamma_test_data): Likewise.
12877 (hypot_test_data): Likewise.
12878 (ilogb_test_data): Likewise.
12879 (isfinite_test_data): Likewise.
12880 (isgreater_test_data): Likewise.
12881 (isgreaterequal_test_data): Likewise.
12882 (isinf_test_data): Likewise.
12883 (isless_test_data): Likewise.
12884 (islessequal_test_data): Likewise.
12885 (islessgreater_test_data): Likewise.
12886 (isnan_test_data): Likewise.
12887 (isnormal_test_data): Likewise.
12888 (issignaling_test_data): Likewise.
12889 (isunordered_test_data): Likewise.
12890 (j0_test_data): Likewise.
12891 (j1_test_data): Likewise.
12892 (jn_test_data): Likewise.
12893 (ldexp_test_data): Likewise.
12894 (lgamma_test_data): Likewise.
12895 (lrint_test_data): Likewise.
12896 (lrint_tonearest_test_data): Likewise.
12897 (lrint_towardzero_test_data): Likewise.
12898 (lrint_downward_test_data): Likewise.
12899 (lrint_upward_test_data): Likewise.
12900 (llrint_test_data): Likewise.
12901 (llrint_tonearest_test_data): Likewise.
12902 (llrint_towardzero_test_data): Likewise.
12903 (llrint_downward_test_data): Likewise.
12904 (llrint_upward_test_data): Likewise.
12905 (log_test_data): Likewise.
12906 (log10_test_data): Likewise.
12907 (log1p_test_data): Likewise.
12908 (log2_test_data): Likewise.
12909 (logb_test_data): Likewise.
12910 (logb_downward_test_data): Likewise.
12911 (lround_test_data): Likewise.
12912 (llround_test_data): Likewise.
12913 (modf_test_data): Likewise.
12914 (nearbyint_test_data): Likewise.
12915 (nextafter_test_data): Likewise.
12916 (nexttoward_test_data): Likewise.
12917 (pow_test_data): Likewise.
12918 (pow_tonearest_test_data): Likewise.
12919 (pow_towardzero_test_data): Likewise.
12920 (pow_downward_test_data): Likewise.
12921 (pow_upward_test_data): Likewise.
12922 (remainder_test_data): Likewise.
12923 (remainder_tonearest_test_data): Likewise.
12924 (remainder_towardzero_test_data): Likewise.
12925 (remainder_downward_test_data): Likewise.
12926 (remainder_upward_test_data): Likewise.
12927 (remquo_test_data): Likewise.
12928 (rint_test_data): Likewise.
12929 (rint_tonearest_test_data): Likewise.
12930 (rint_towardzero_test_data): Likewise.
12931 (rint_downward_test_data): Likewise.
12932 (rint_upward_test_data): Likewise.
12933 (round_test_data): Likewise.
12934 (scalb_test_data): Likewise.
12935 (scalbn_test_data): Likewise.
12936 (scalbln_test_data): Likewise.
12937 (signbit_test_data): Likewise.
12938 (sin_test_data): Likewise.
12939 (sin_tonearest_test_data): Likewise.
12940 (sin_towardzero_test_data): Likewise.
12941 (sin_downward_test_data): Likewise.
12942 (sin_upward_test_data): Likewise.
12943 (sincos_test_data): Likewise.
12944 (sinh_test_data): Likewise.
12945 (sinh_tonearest_test_data): Likewise.
12946 (sinh_towardzero_test_data): Likewise.
12947 (sinh_downward_test_data): Likewise.
12948 (sinh_upward_test_data): Likewise.
12949 (sqrt_test_data): Likewise.
12950 (tan_test_data): Likewise.
12951 (tan_tonearest_test_data): Likewise.
12952 (tan_towardzero_test_data): Likewise.
12953 (tan_downward_test_data): Likewise.
12954 (tan_upward_test_data): Likewise.
12955 (tanh_test_data): Likewise.
12956 (tgamma_test_data): Likewise.
12957 (trunc_test_data): Likewise.
12958 (y0_test_data): Likewise.
12959 (y1_test_data): Likewise.
12960 (yn_test_data): Likewise.
12961 (significand_test_data): Likewise.
12963 * math/gen-libm-test.pl (@functions): Remove variable.
12964 (generate_testfile): Don't handle START and END lines.
12965 * math/libm-test.inc (START): New macro.
12967 (END_COMPLEX): Likewise.
12968 (acos_test): Use END macro without arguments.
12969 (acos_test_tonearest): Likewise.
12970 (acos_test_towardzero): Likewise.
12971 (acos_test_downward): Likewise.
12972 (acos_test_upward): Likewise.
12973 (acosh_test): Likewise.
12974 (asin_test): Likewise.
12975 (asin_test_tonearest): Likewise.
12976 (asin_test_towardzero): Likewise.
12977 (asin_test_downward): Likewise.
12978 (asin_test_upward): Likewise.
12979 (asinh_test): Likewise.
12980 (atan_test): Likewise.
12981 (atanh_test): Likewise.
12982 (atan2_test): Likewise.
12983 (cabs_test): Likewise.
12984 (cacos_test): Use END_COMPLEX macro without arguments.
12985 (cacosh_test): Likewise.
12986 (carg_test): Use END macro without arguments.
12987 (casin_test): Use END_COMPLEX macro without arguments.
12988 (casinh_test): Likewise.
12989 (catan_test): Likewise.
12990 (catanh_test): Likewise.
12991 (cbrt_test): Use END macro without arguments.
12992 (ccos_test): Use END_COMPLEX macro without arguments.
12993 (ccosh_test): Likewise.
12994 (ceil_test): Use END macro without arguments.
12995 (cexp_test): Use END_COMPLEX macro without arguments.
12996 (cimag_test): Use END macro without arguments.
12997 (clog_test): Use END_COMPLEX macro without arguments.
12998 (clog10_test): Likewise.
12999 (conj_test): Likewise.
13000 (copysign_test): Use END macro without arguments.
13001 (cos_test): Likewise.
13002 (cos_test_tonearest): Likewise.
13003 (cos_test_towardzero): Likewise.
13004 (cos_test_downward): Likewise.
13005 (cos_test_upward): Likewise.
13006 (cosh_test): Likewise.
13007 (cosh_test_tonearest): Likewise.
13008 (cosh_test_towardzero): Likewise.
13009 (cosh_test_downward): Likewise.
13010 (cosh_test_upward): Likewise.
13011 (cpow_test): Use END_COMPLEX macro without arguments.
13012 (cproj_test): Likewise.
13013 (creal_test): Use END macro without arguments.
13014 (csin_test): Use END_COMPLEX macro without arguments.
13015 (csinh_test): Likewise.
13016 (csqrt_test): Likewise.
13017 (ctan_test): Likewise.
13018 (ctan_test_tonearest): Likewise.
13019 (ctan_test_towardzero): Likewise.
13020 (ctan_test_downward): Likewise.
13021 (ctan_test_upward): Likewise.
13022 (ctanh_test): Likewise.
13023 (ctanh_test_tonearest): Likewise.
13024 (ctanh_test_towardzero): Likewise.
13025 (ctanh_test_downward): Likewise.
13026 (ctanh_test_upward): Likewise.
13027 (erf_test): Use END macro without arguments.
13028 (erfc_test): Likewise.
13029 (exp_test): Likewise.
13030 (exp_test_tonearest): Likewise.
13031 (exp_test_towardzero): Likewise.
13032 (exp_test_downward): Likewise.
13033 (exp_test_upward): Likewise.
13034 (exp10_test): Likewise.
13035 (exp2_test): Likewise.
13036 (expm1_test): Likewise.
13037 (fabs_test): Likewise.
13038 (fdim_test): Likewise.
13039 (finite_test): Likewise.
13040 (floor_test): Likewise.
13041 (fma_test): Likewise.
13042 (fma_test_towardzero): Likewise.
13043 (fma_test_downward): Likewise.
13044 (fma_test_upward): Likewise.
13045 (fmax_test): Likewise.
13046 (fmin_test): Likewise.
13047 (fmod_test): Likewise.
13048 (fpclassify_test): Likewise.
13049 (frexp_test): Likewise.
13050 (gamma_test): Likewise.
13051 (hypot_test): Likewise.
13052 (ilogb_test): Likewise.
13053 (isfinite_test): Likewise.
13054 (isgreater_test): Likewise.
13055 (isgreaterequal_test): Likewise.
13056 (isinf_test): Likewise.
13057 (isless_test): Likewise.
13058 (islessequal_test): Likewise.
13059 (islessgreater_test): Likewise.
13060 (isnan_test): Likewise.
13061 (isnormal_test): Likewise.
13062 (issignaling_test): Likewise.
13063 (isunordered_test): Likewise.
13064 (j0_test): Likewise.
13065 (j1_test): Likewise.
13066 (jn_test): Likewise.
13067 (ldexp_test): Likewise.
13068 (lgamma_test): Likewise.
13069 (lrint_test): Likewise.
13070 (lrint_test_tonearest): Likewise.
13071 (lrint_test_towardzero): Likewise.
13072 (lrint_test_downward): Likewise.
13073 (lrint_test_upward): Likewise.
13074 (llrint_test): Likewise.
13075 (llrint_test_tonearest): Likewise.
13076 (llrint_test_towardzero): Likewise.
13077 (llrint_test_downward): Likewise.
13078 (llrint_test_upward): Likewise.
13079 (log_test): Likewise.
13080 (log10_test): Likewise.
13081 (log1p_test): Likewise.
13082 (log2_test): Likewise.
13083 (logb_test): Likewise.
13084 (logb_test_downward): Likewise.
13085 (lround_test): Likewise.
13086 (llround_test): Likewise.
13087 (modf_test): Likewise.
13088 (nearbyint_test): Likewise.
13089 (nextafter_test): Likewise.
13090 (nexttoward_test): Likewise.
13091 (pow_test): Likewise.
13092 (pow_test_tonearest): Likewise.
13093 (pow_test_towardzero): Likewise.
13094 (pow_test_downward): Likewise.
13095 (pow_test_upward): Likewise.
13096 (remainder_test): Likewise.
13097 (remainder_test_tonearest): Likewise.
13098 (remainder_test_towardzero): Likewise.
13099 (remainder_test_downward): Likewise.
13100 (remainder_test_upward): Likewise.
13101 (remquo_test): Likewise.
13102 (rint_test): Likewise.
13103 (rint_test_tonearest): Likewise.
13104 (rint_test_towardzero): Likewise.
13105 (rint_test_downward): Likewise.
13106 (rint_test_upward): Likewise.
13107 (round_test): Likewise.
13108 (scalb_test): Likewise.
13109 (scalbn_test): Likewise.
13110 (scalbln_test): Likewise.
13111 (signbit_test): Likewise.
13112 (sin_test): Likewise.
13113 (sin_test_tonearest): Likewise.
13114 (sin_test_towardzero): Likewise.
13115 (sin_test_downward): Likewise.
13116 (sin_test_upward): Likewise.
13117 (sincos_test): Likewise.
13118 (sinh_test): Likewise.
13119 (sinh_test_tonearest): Likewise.
13120 (sinh_test_towardzero): Likewise.
13121 (sinh_test_downward): Likewise.
13122 (sinh_test_upward): Likewise.
13123 (sqrt_test): Likewise.
13124 (tan_test): Likewise.
13125 (tan_test_tonearest): Likewise.
13126 (tan_test_towardzero): Likewise.
13127 (tan_test_downward): Likewise.
13128 (tan_test_upward): Likewise.
13129 (tanh_test): Likewise.
13130 (tgamma_test): Likewise.
13131 (trunc_test): Likewise.
13132 (y0_test): Likewise.
13133 (y1_test): Likewise.
13134 (yn_test): Likewise.
13135 (significand_test): Likewise.
13137 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13140 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13142 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13145 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13146 __ppc_mdoio and __ppc_mdoom.
13147 * manual/platform.texi: Document new functions __ppc_yield,
13148 __ppc_mdoio and __ppc_mdoom.
13150 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13152 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13153 (main): Mention "tls" pseudo-hwcap is legacy.
13154 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13156 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13158 * math/gen-libm-test.pl (parse_args): Output only string of
13159 arguments as text for test name, not full call or descriptions of
13160 tests for extra outputs.
13161 (generate_testfile): Do not pass function name to parse_args.
13162 Generate this_func variable from START.
13163 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13165 (struct test_ff_f_data): Likewise.
13166 (test_ff_f_data_nexttoward): Likewise.
13167 (struct test_fi_f_data): Likewise.
13168 (struct test_fl_f_data): Likewise.
13169 (struct test_if_f_data): Likewise.
13170 (struct test_fff_f_data): Likewise.
13171 (struct test_c_f_data): Likewise.
13172 (struct test_f_f1_data): Likewise. Remove field extra_name.
13173 (struct test_fF_f1_data): Likewise.
13174 (struct test_ffI_f1_data): Likewise.
13175 (struct test_c_c_data): Rename test_name field to arg_str.
13176 (struct test_cc_c_data): Likewise.
13177 (struct test_f_i_data): Likewise.
13178 (struct test_ff_i_data): Likewise.
13179 (struct test_f_l_data): Likewise.
13180 (struct test_f_L_data): Likewise.
13181 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13183 (COMMON_TEST_SETUP): New macro.
13184 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13185 (COMMON_TEST_CLEANUP): Likewise.
13186 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13187 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13189 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13190 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13192 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13193 (RUN_TEST_fff_f): Take argument string. Call new setup and
13195 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13196 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13198 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13199 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13201 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13202 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13204 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13205 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13207 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13208 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13210 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13211 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13213 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13214 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13216 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13217 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13219 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13220 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13222 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13223 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13225 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13226 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13228 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13229 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13231 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13232 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13234 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13235 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13237 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13238 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13240 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13242 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13244 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13245 to _sifields.sigfault.
13246 (si_addr_lsb): Define new macro.
13247 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13248 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13249 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13251 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13254 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13256 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13258 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13259 loading the domain.
13261 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13263 * math/gen-libm-test.pl (parse_args): Do not include expected
13264 result in test name.
13265 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13266 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13267 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13268 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13269 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13272 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13274 * benchtests/Makefile: Sort function entries.
13276 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13277 tanh, asinh, acosh, atanh.
13278 * benchtests/acos-inputs: New file.
13279 * benchtests/acosh-inputs: New file.
13280 * benchtests/asin-inputs: New file.
13281 * benchtests/asinh-inputs: New file.
13282 * benchtests/atanh-inputs: New file.
13283 * benchtests/cosh-inputs: New file.
13284 * benchtests/log-inputs: New file.
13285 * benchtests/sinh-inputs: New file.
13286 * benchtests/tanh-inputs: New file.
13288 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13291 * posix/tst-getaddrinfo4.c: New test.
13292 * posix/Makefile (tests): Add it.
13294 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13297 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13298 when no services were used.
13299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13300 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13302 2013-05-21 Andreas Schwab <schwab@suse.de>
13305 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13306 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13308 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13309 redundant variable declarations and reallocation of buffer when
13310 parsing as IPv6 address. Always set NSS status when called from
13311 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13312 buffer too small. Correct computation of needed size.
13313 * nss/Makefile (tests): Add test-digits-dots.
13314 * nss/test-digits-dots.c: New test.
13316 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13318 * benchtests/Makefile: Remove instructions for adding
13320 * benchtests/README: New file to explain how to execute and
13321 enhance the benchmark tests.
13323 2013-05-21 Andreas Schwab <schwab@suse.de>
13326 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13327 * setjmp/tst-sigsetjmp.c: New test.
13329 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13331 * sysdeps/x86_64/memset.S (memset): New implementation.
13332 (__bzero): Likewise.
13333 (__memset_tail): New function.
13335 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13337 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13338 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13339 __memcpy_sse2_unaligned ifunc selection.
13340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13341 Add memcpy-sse2-unaligned.S.
13342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13343 Add: __memcpy_sse2_unaligned.
13345 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13348 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13349 math_force_eval before restoring floating-point envrionment.
13350 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13351 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13353 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13355 (__nearbyintl): Use math_force_eval before restoring
13356 floating-point environment.
13357 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13359 * math/gen-libm-test.pl (special_functions): Remove.
13360 (parse_args): Don't handle TEST_extra. Handle functions with no
13362 * math/libm-test.inc (struct test_sincos_data): Replace with
13363 struct test_fFF_11_data.
13364 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13365 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13366 (sincos_test_data): Change element type to struct
13367 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13368 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13369 RUN_TEST_LOOP_sincos.
13370 * math/README.libm-test: Don't mention special handling of
13371 individual functions.
13372 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13373 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13374 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13375 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13376 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13379 * math/gen-libm-test.pl (get_variable): Remove function.
13380 (parse_args): Don't show pointer parameters to call in test
13381 names. Use "extra output N" in test names for extra outputs
13382 rather than naming variables.
13384 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13387 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13388 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13389 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13391 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13393 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13396 * math/gen-libm-test.pl (@tests): Remove variable.
13397 ($count): Likewise.
13398 (new_test): Remove function.
13399 (show_exceptions): New function.
13400 (special_functions): Use show_exceptions instead of new_test.
13401 (parse_args): Likewise.
13402 (generate_testfile): Pass only function name in generated call to
13403 print_max_error or print_complex_max_error.
13404 (get_ulps): Do not handle complex tests specially.
13405 (output_test): Rename to ...
13406 (get_all_ulps_for_test): ... this. Return a string rather than
13407 printing to a file. Require ulps to be present.
13408 (output_ulps): Generate arrays rather than #defines.
13409 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13410 (struct ulp_data): New type.
13411 (BUILD_COMPLEX_ULP): Remove macro.
13412 (compare_ulp_data): New function.
13413 (find_ulps): Likewise.
13414 (find_test_ulps): Likewise.
13415 (find_function_ulps): Likewise.
13416 (find_complex_function_ulps): Likewise.
13417 (print_max_error): Determine allowed ulps using
13418 find_function_ulps.
13419 (print_complex_max_error): Determine allowed ulps using
13420 find_complex_function_ulps.
13421 (check_float_internal): Determine max ulps using find_test_ulps.
13422 (check_float): Do not take max_ulp parameter. Update call to
13423 check_float_internal.
13424 (check_complex): Likewise.
13425 (check_int): Do not take max_ulp parameter.
13426 (check_long): Likewise.
13427 (check_bool): Likewise.
13428 (check_longlong): Likewise.
13429 (struct test_f_f_data): Remove max_ulp field.
13430 (struct test_ff_f_data): Likewise.
13431 (struct test_ff_f_data_nexttoward): Likewise.
13432 (struct test_fi_f_data): Likewise.
13433 (struct test_fl_f_data): Likewise.
13434 (struct test_if_f_data): Likewise.
13435 (struct test_fff_f_data): Likewise.
13436 (struct test_c_f_data): Likewise.
13437 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13438 (struct test_fF_f1_data): Likewise.
13439 (struct test_ffI_f1_data): Likewise.
13440 (struct test_c_c_data): Remove max_ulp field.
13441 (struct test_cc_c_data): Likewise.
13442 (struct test_f_i_data): Likewise.
13443 (struct test_ff_i_data): Likewise.
13444 (struct test_f_l_data): Likewise.
13445 (struct test_f_L_data): Likewise.
13446 (struct test_sincos_data): Likewise.
13447 (RUN_TEST_f_f): Do not handle ulps.
13448 (RUN_TEST_LOOP_f_f): Likewise.
13449 (RUN_TEST_2_f): Likewise.
13450 (RUN_TEST_LOOP_2_f): Likewise.
13451 (RUN_TEST_fff_f): Likewise.
13452 (RUN_TEST_LOOP_fff_f): Likewise.
13453 (RUN_TEST_c_f): Likewise.
13454 (RUN_TEST_LOOP_c_f): Likewise.
13455 (RUN_TEST_f_f1): Likewise.
13456 (RUN_TEST_LOOP_f_f1): Likewise.
13457 (RUN_TEST_fF_f1): Likewise.
13458 (RUN_TEST_LOOP_fF_f1): Likewise.
13459 (RUN_TEST_fI_f1): Likewise.
13460 (RUN_TEST_LOOP_fI_f1): Likewise.
13461 (RUN_TEST_ffI_f1): Likewise.
13462 (RUN_TEST_LOOP_ffI_f1): Likewise.
13463 (RUN_TEST_c_c): Likewise.
13464 (RUN_TEST_LOOP_c_c): Likewise.
13465 (RUN_TEST_cc_c): Likewise.
13466 (RUN_TEST_LOOP_cc_c): Likewise.
13467 (RUN_TEST_f_i): Likewise.
13468 (RUN_TEST_LOOP_f_i): Likewise.
13469 (RUN_TEST_f_i_tg): Likewise.
13470 (RUN_TEST_LOOP_f_i_tg): Likewise.
13471 (RUN_TEST_ff_i_tg): Likewise.
13472 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13473 (RUN_TEST_f_b): Likewise.
13474 (RUN_TEST_LOOP_f_b): Likewise.
13475 (RUN_TEST_f_b_tg): Likewise.
13476 (RUN_TEST_LOOP_f_b_tg): Likewise.
13477 (RUN_TEST_f_l): Likewise.
13478 (RUN_TEST_LOOP_f_l): Likewise.
13479 (RUN_TEST_f_L): Likewise.
13480 (RUN_TEST_LOOP_f_L): Likewise.
13481 (RUN_TEST_sincos): Likewise.
13482 (RUN_TEST_LOOP_sincos): Likewise.
13484 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13488 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13489 main case of finite arguments, set rounding mode to FE_TONEAREST
13490 and discard exceptions.
13491 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13493 (remainder_tonearest_test_data): New variable.
13494 (remainder_test_tonearest): New function.
13495 (remainder_towardzero_test_data): New variable.
13496 (remainder_test_towardzero): New function.
13497 (remainder_downward_test_data): New variable.
13498 (remainder_test_downward): New function.
13499 (remainder_upward_test_data): New variable.
13500 (remainder_test_upward): New function.
13501 (main): Call the new test functions.
13503 * math/libm-test.inc (struct test_f_f1_data): Remove field
13505 (struct test_fF_f1_data): Likewise.
13506 (struct test_ffI_f1_data): Likewise.
13507 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13508 based on value of EXTRA_EXPECTED.
13509 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13510 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13511 EXTRA_VAR based on value of EXTRA_EXPECTED.
13512 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13513 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13514 EXTRA_VAR based on value of EXTRA_EXPECTED.
13515 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13516 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13517 EXTRA_VAR based on value of EXTRA_EXPECTED.
13518 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13519 * math/gen-libm-test.pl (parse_args): Don't output initializers
13520 for extra output values.
13522 * math/libm-test.inc (check_int): Expect result to be exactly
13523 equal to expected value and do not handle ulps.
13524 (check_long): Likewise.
13525 (check_longlong): Likewise.
13527 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13529 (cimag_test_data): Likewise.
13530 (conj_test_data): Likewise.
13531 (copysign_test_data): Likewise.
13532 (cproj_test_data): Likewise.
13533 (creal_test_data): Likewise.
13534 (fabs_test_data): Likewise.
13535 (fdim_test_data): Likewise.
13536 (finite_test_data): Likewise.
13537 (floor_test_data): Likewise.
13538 (fmax_test_data): Likewise.
13539 (fmin_test_data): Likewise.
13540 (fmod_test_data): Likewise.
13541 (fpclassify_test_data): Likewise.
13542 (frexp_test_data): Likewise.
13543 (ilogb_test_data): Likewise.
13544 (isfinite_test_data): Likewise.
13545 (isgreater_test_data): Likewise.
13546 (isgreaterequal_test_data): Likewise.
13547 (isinf_test_data): Likewise.
13548 (isless_test_data): Likewise.
13549 (islessequal_test_data): Likewise.
13550 (islessgreater_test_data): Likewise.
13551 (isnan_test_data): Likewise.
13552 (isnormal_test_data): Likewise.
13553 (issignaling_test_data): Likewise.
13554 (isunordered_test_data): Likewise.
13555 (ldexp_test_data): Likewise.
13556 (lrint_test_data): Likewise.
13557 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13558 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13559 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13560 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13561 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13562 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13564 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13565 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13566 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13567 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13569 (lrint_downward_test_data): Test for "inexact" exceptions.
13570 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13571 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13572 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13574 (lrint_upward_test_data): Test for "inexact" exceptions.
13575 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13577 (llrint_test_data): Test for "inexact" exceptions.
13578 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13579 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13580 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13581 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13582 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13583 (llrint_downward_test_data): Test for "inexact" exceptions.
13584 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13585 (llrint_upward_test_data): Test for "inexact" exceptions.
13586 (logb_test_data): Likewise.
13587 (logb_downward_test_data): Likewise.
13588 (nextafter_test_data): Likewise.
13589 (nexttoward_test_data): Likewise.
13590 (remainder_test_data): Likewise.
13591 (remquo_test_data): Likewise.
13592 (scalbn_test_data): Likewise.
13593 (scalbln_test_data): Likewise.
13594 (signbit_test_data): Likewise.
13595 (sqrt_test_data): Likewise.
13596 (significand_test_data): Likewise.
13598 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13601 * benchtests/bench-modf.c (struct args): Mark arg0 as
13603 * scripts/bench.pl: Mark members of struct args as volatile.
13605 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13608 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13609 negative infinity on POWER6 or lower.
13610 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13612 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13615 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13616 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13617 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13618 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13619 (_FP_SETQNAN): New macro.
13620 (_FP_SETQNAN_SEMIRAW): Likewise.
13621 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13622 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13623 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13624 (FP_EXTEND): Use _FP_FRAC_SNANP.
13625 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13626 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13628 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13630 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13633 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13635 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13636 with DIVIDE_BY_ZERO_EXCEPTION.
13637 (gamma_test_data): Likewise.
13638 (lgamma_test_data): Likewise.
13639 (log_test_data): Likewise.
13640 (log10_test_data): Likewise.
13641 (log2_test_data): Likewise.
13642 (tgamma_test_data): Likewise.
13644 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13645 (acos_test_tonearest): Likewise.
13646 (acos_test_towardzero): Likewise.
13647 (acos_test_downward): Likewise.
13648 (acos_test_upward): Likewise.
13649 (acosh_test): Likewise.
13650 (asin_test): Likewise.
13651 (asin_test_tonearest): Likewise.
13652 (asin_test_towardzero): Likewise.
13653 (asin_test_downward): Likewise.
13654 (asin_test_upward): Likewise.
13655 (asinh_test): Likewise.
13656 (atan_test): Likewise.
13657 (atanh_test): Likewise.
13658 (atan2_test): Likewise.
13659 (cabs_test): Likewise.
13660 (cacos_test): Likewise.
13661 (cacosh_test): Likewise.
13662 (casin_test): Likewise.
13663 (casinh_test): Likewise.
13664 (catan_test): Likewise.
13665 (catanh_test): Likewise.
13666 (cbrt_test): Likewise.
13667 (ccos_test): Likewise.
13668 (ccosh_test): Likewise.
13669 (cexp_test): Likewise.
13670 (clog_test): Likewise.
13671 (clog10_test): Likewise.
13672 (cos_test): Likewise.
13673 (cos_test_tonearest): Likewise.
13674 (cos_test_towardzero): Likewise.
13675 (cos_test_downward): Likewise.
13676 (cos_test_upward): Likewise.
13677 (cosh_test): Likewise.
13678 (cosh_test_tonearest): Likewise.
13679 (cosh_test_towardzero): Likewise.
13680 (cosh_test_downward): Likewise.
13681 (cosh_test_upward): Likewise.
13682 (cpow_test): Likewise.
13683 (csin_test): Likewise.
13684 (csinh_test): Likewise.
13685 (csqrt_test): Likewise.
13686 (ctan_test): Likewise.
13687 (ctan_test_tonearest): Likewise.
13688 (ctan_test_towardzero): Likewise.
13689 (ctan_test_downward): Likewise.
13690 (ctan_test_upward): Likewise.
13691 (ctanh_test): Likewise.
13692 (ctanh_test_tonearest): Likewise.
13693 (ctanh_test_towardzero): Likewise.
13694 (ctanh_test_downward): Likewise.
13695 (ctanh_test_upward): Likewise.
13696 (erf_test): Likewise.
13697 (erfc_test): Likewise.
13698 (exp_test): Likewise.
13699 (exp_test_tonearest): Likewise.
13700 (exp_test_towardzero): Likewise.
13701 (exp_test_downward): Likewise.
13702 (exp_test_upward): Likewise.
13703 (exp10_test): Likewise.
13704 (exp2_test): Likewise.
13705 (expm1_test): Likewise.
13706 (fmod_test): Likewise.
13707 (gamma_test): Likewise.
13708 (hypot_test): Likewise.
13709 (j0_test): Likewise.
13710 (j1_test): Likewise.
13711 (jn_test): Likewise.
13712 (lgamma_test): Likewise.
13713 (log_test): Likewise.
13714 (log10_test): Likewise.
13715 (log1p_test): Likewise.
13716 (log2_test): Likewise.
13717 (logb_test_downward): Likewise.
13718 (pow_test): Likewise.
13719 (pow_test_tonearest): Likewise.
13720 (pow_test_towardzero): Likewise.
13721 (pow_test_downward): Likewise.
13722 (pow_test_upward): Likewise.
13723 (remainder_test): Likewise.
13724 (remquo_test): Likewise.
13725 (sin_test): Likewise.
13726 (sin_test_tonearest): Likewise.
13727 (sin_test_towardzero): Likewise.
13728 (sin_test_downward): Likewise.
13729 (sin_test_upward): Likewise.
13730 (sincos_test): Likewise.
13731 (sinh_test): Likewise.
13732 (sinh_test_tonearest): Likewise.
13733 (sinh_test_towardzero): Likewise.
13734 (sinh_test_downward): Likewise.
13735 (sinh_test_upward): Likewise.
13736 (sqrt_test): Likewise.
13737 (tan_test): Likewise.
13738 (tan_test_tonearest): Likewise.
13739 (tan_test_towardzero): Likewise.
13740 (tan_test_downward): Likewise.
13741 (tan_test_upward): Likewise.
13742 (tanh_test): Likewise.
13743 (tgamma_test): Likewise.
13744 (y0_test): Likewise.
13745 (y1_test): Likewise.
13746 (yn_test): Likewise.
13748 * math/gen-libm-test.pl (adjust_arg): Remove function.
13749 (special_function): Remove argument $in_func. Only handle
13750 generating output for tables of tests, not inside functions.
13751 (parse_args): Likewise.
13752 (generate_testfile): Remove variable $in_func. Update call to
13754 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13755 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13756 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13757 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13758 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13759 (MAX_VALUE_INIT): Rename macro to max_value.
13760 (MIN_VALUE_INIT): Rename macro to min_value.
13761 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13762 (plus_zero): Remove variable.
13763 (minus_zero): Likewise.
13764 (plus_infty): Likewise.
13765 (minus_infty): Likewise.
13766 (qnan_value): Likewise.
13767 (max_value): Likewise.
13768 (min_value): Likewise.
13769 (min_subnorm_value): Likewise.
13771 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13773 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13774 uint64_t or uint32_t usage.
13775 * crypt/sha256-block.c: Likewise.
13776 * crypt/sha256-crypt.c: Likewise.
13777 * crypt/sha256.c: Likewise.
13778 * crypt/sha512-block.c: Likewise.
13779 * crypt/sha512-crypt.c: Likewise.
13780 * crypt/sha512.c: Likewise.
13781 * debug/backtrace-tst.c: Likewise.
13782 * debug/pcprofiledump.c: Likewise.
13783 * elf/cache.c: Likewise.
13784 * elf/dl-cache.c: Likewise.
13785 * elf/dl-misc.c: Likewise.
13786 * elf/dl-profile.c: Likewise.
13787 * elf/dl-support.c: Likewise.
13788 * elf/ldconfig.c: Likewise.
13789 * elf/sprof.c: Likewise.
13790 * iconv/dummy-repertoire.c: Likewise.
13791 * iconv/iconv_charmap.c: Likewise.
13792 * iconv/skeleton.c: Likewise.
13793 * iconvdata/8bit-generic.c: Likewise.
13794 * iconvdata/cp737.h: Likewise.
13795 * iconvdata/cp775.h: Likewise.
13796 * iconvdata/ibm1008.h: Likewise.
13797 * iconvdata/ibm1025.h: Likewise.
13798 * iconvdata/ibm1046.h: Likewise.
13799 * iconvdata/ibm1097.h: Likewise.
13800 * iconvdata/ibm1112.h: Likewise.
13801 * iconvdata/ibm1122.h: Likewise.
13802 * iconvdata/ibm1123.h: Likewise.
13803 * iconvdata/ibm1124.h: Likewise.
13804 * iconvdata/ibm1129.h: Likewise.
13805 * iconvdata/ibm1130.h: Likewise.
13806 * iconvdata/ibm1132.h: Likewise.
13807 * iconvdata/ibm1133.h: Likewise.
13808 * iconvdata/ibm1137.h: Likewise.
13809 * iconvdata/ibm1140.h: Likewise.
13810 * iconvdata/ibm1141.h: Likewise.
13811 * iconvdata/ibm1142.h: Likewise.
13812 * iconvdata/ibm1143.h: Likewise.
13813 * iconvdata/ibm1144.h: Likewise.
13814 * iconvdata/ibm1145.h: Likewise.
13815 * iconvdata/ibm1146.h: Likewise.
13816 * iconvdata/ibm1147.h: Likewise.
13817 * iconvdata/ibm1148.h: Likewise.
13818 * iconvdata/ibm1149.h: Likewise.
13819 * iconvdata/ibm1153.h: Likewise.
13820 * iconvdata/ibm1154.h: Likewise.
13821 * iconvdata/ibm1155.h: Likewise.
13822 * iconvdata/ibm1156.h: Likewise.
13823 * iconvdata/ibm1157.h: Likewise.
13824 * iconvdata/ibm1158.h: Likewise.
13825 * iconvdata/ibm1160.h: Likewise.
13826 * iconvdata/ibm1161.h: Likewise.
13827 * iconvdata/ibm1162.h: Likewise.
13828 * iconvdata/ibm1163.h: Likewise.
13829 * iconvdata/ibm1164.h: Likewise.
13830 * iconvdata/ibm1166.h: Likewise.
13831 * iconvdata/ibm1167.h: Likewise.
13832 * iconvdata/ibm12712.h: Likewise.
13833 * iconvdata/ibm1390.h: Likewise.
13834 * iconvdata/ibm1399.h: Likewise.
13835 * iconvdata/ibm16804.h: Likewise.
13836 * iconvdata/ibm4517.h: Likewise.
13837 * iconvdata/ibm4899.h: Likewise.
13838 * iconvdata/ibm4909.h: Likewise.
13839 * iconvdata/ibm4971.h: Likewise.
13840 * iconvdata/ibm5347.h: Likewise.
13841 * iconvdata/ibm803.h: Likewise.
13842 * iconvdata/ibm856.h: Likewise.
13843 * iconvdata/ibm901.h: Likewise.
13844 * iconvdata/ibm902.h: Likewise.
13845 * iconvdata/ibm9030.h: Likewise.
13846 * iconvdata/ibm9066.h: Likewise.
13847 * iconvdata/ibm921.h: Likewise.
13848 * iconvdata/ibm922.h: Likewise.
13849 * iconvdata/ibm9448.h: Likewise.
13850 * iconvdata/isiri-3342.h: Likewise.
13851 * iconvdata/jis0201.h: Likewise.
13852 * include/link.h: Likewise.
13853 * include/netdb.h: Likewise.
13854 * inet/check_native.c: Likewise.
13855 * inet/check_pf.c: Likewise.
13856 * inet/getipv4sourcefilter.c: Likewise.
13857 * inet/getnameinfo.c: Likewise.
13858 * inet/getsourcefilter.c: Likewise.
13859 * inet/htonl.c: Likewise.
13860 * inet/setipv4sourcefilter.c: Likewise.
13861 * inet/setsourcefilter.c: Likewise.
13862 * inet/test-inet6_opt.c: Likewise.
13863 * inet/tst-network.c: Likewise.
13864 * locale/C-collate.c: Likewise.
13865 * locale/C-ctype.c: Likewise.
13866 * locale/C-time.c: Likewise.
13867 * locale/C-translit.h: Likewise.
13868 * locale/loadarchive.c: Likewise.
13869 * locale/programs/3level.h: Likewise.
13870 * locale/programs/charmap.c: Likewise.
13871 * locale/programs/charmap.h: Likewise.
13872 * locale/programs/ld-address.c: Likewise.
13873 * locale/programs/ld-collate.c: Likewise.
13874 * locale/programs/ld-ctype.c: Likewise.
13875 * locale/programs/ld-identification.c: Likewise.
13876 * locale/programs/ld-measurement.c: Likewise.
13877 * locale/programs/ld-messages.c: Likewise.
13878 * locale/programs/ld-monetary.c: Likewise.
13879 * locale/programs/ld-name.c: Likewise.
13880 * locale/programs/ld-numeric.c: Likewise.
13881 * locale/programs/ld-paper.c: Likewise.
13882 * locale/programs/ld-telephone.c: Likewise.
13883 * locale/programs/ld-time.c: Likewise.
13884 * locale/programs/linereader.c: Likewise.
13885 * locale/programs/locale.c: Likewise.
13886 * locale/programs/locarchive.c: Likewise.
13887 * locale/programs/locfile.h: Likewise.
13888 * locale/programs/repertoire.c: Likewise.
13889 * locale/programs/simple-hash.c: Likewise.
13890 * locale/programs/simple-hash.h: Likewise.
13891 * malloc/memusage.c: Likewise.
13892 * malloc/memusagestat.c: Likewise.
13893 * nis/nis_defaults.c: Likewise.
13894 * nis/nis_hash.c: Likewise.
13895 * nis/nis_print.c: Likewise.
13896 * nis/nis_xdr.c: Likewise.
13897 * nscd/connections.c: Likewise.
13898 * nscd/hstcache.c: Likewise.
13899 * nscd/nscd_gethst_r.c: Likewise.
13900 * nscd/nscd_getserv_r.c: Likewise.
13901 * nscd/nscd_helper.c: Likewise.
13902 * nscd/servicescache.c: Likewise.
13903 * nss/makedb.c: Likewise.
13904 * nss/nss_db/db-XXX.c: Likewise.
13905 * nss/nss_db/db-initgroups.c: Likewise.
13906 * nss/nss_db/db-netgrp.c: Likewise.
13907 * nss/nss_files/files-network.c: Likewise.
13908 * nss/nss_files/files-parse.c: Likewise.
13909 * posix/bug-regex5.c: Likewise.
13910 * posix/fnmatch_loop.c: Likewise.
13911 * posix/regcomp.c: Likewise.
13912 * posix/regexec.c: Likewise.
13913 * posix/tst-rfc3484-2.c: Likewise.
13914 * posix/tst-rfc3484-3.c: Likewise.
13915 * posix/tst-rfc3484.c: Likewise.
13916 * resolv/nss_dns/dns-canon.c: Likewise.
13917 * resolv/nss_dns/dns-network.c: Likewise.
13918 * resolv/res_init.c: Likewise.
13919 * resolv/res_mkquery.c: Likewise.
13920 * resolv/tst-aton.c: Likewise.
13921 * stdlib/cxa_atexit.c: Likewise.
13922 * stdlib/cxa_finalize.c: Likewise.
13923 * stdlib/gen-fpioconst.c: Likewise.
13924 * stdlib/strtol_l.c: Likewise.
13925 * string/tst-endian.c: Likewise.
13926 * sunrpc/auth_des.c: Likewise.
13927 * sunrpc/clnt_udp.c: Likewise.
13928 * sunrpc/rtime.c: Likewise.
13929 * sunrpc/svcauth_des.c: Likewise.
13930 * sunrpc/xdr.c: Likewise.
13931 * sunrpc/xdr_intXX_t.c: Likewise.
13932 * sunrpc/xdr_rec.c: Likewise.
13933 * sysdeps/generic/ldconfig.h: Likewise.
13934 * sysdeps/generic/ldsodefs.h: Likewise.
13935 * sysdeps/generic/memusage.h: Likewise.
13936 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13937 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13938 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13939 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13940 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13941 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13942 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13943 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13944 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13945 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13946 * sysdeps/posix/getaddrinfo.c: Likewise.
13947 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13948 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13949 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13950 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13951 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13952 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13953 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13954 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13955 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13956 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13957 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13958 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13959 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13960 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13961 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13962 * sysdeps/x86_64/dl-tls.h: Likewise.
13963 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13964 * time/alt_digit.c: Likewise.
13965 * time/era.c: Likewise.
13966 * wcsmbs/tst-c16c32-1.c: Likewise.
13968 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13970 * math/libm-test.inc (struct test_sincos_data): New type.
13971 (RUN_TEST_LOOP_sincos): New macro.
13972 (sincos_test_data): New variable.
13973 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13975 2013-05-16 Richard Henderson <rth@redhat.com>
13977 * math/atest-exp2.c (LIMB64): New macro.
13978 (CONSTSZ): New macro.
13979 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13981 (print_mpn_fp): ... to function scope.
13982 (read_mpn_hex): Remove.
13983 (get_log2): Remove.
13984 (exp2_mpn): Use mp_log2.
13985 (main): Use mp_exp1.
13987 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13989 * math/libm-test.inc: Remove comment about not testing "inexact"
13991 (INEXACT_EXCEPTION): New macro.
13992 (NO_INEXACT_EXCEPTION): Likewise.
13993 (INVALID_EXCEPTION_OK): Update value.
13994 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13995 (OVERFLOW_EXCEPTION_OK): Likewise.
13996 (UNDERFLOW_EXCEPTION_OK): Likewise.
13997 (IGNORE_ZERO_INF_SIGN): Likewise.
13998 (ERRNO_UNCHANGED): Likewise.
13999 (ERRNO_EDOM): Likewise.
14000 (ERRNO_ERANGE): Likewise.
14001 (test_exceptions): Handle testing "inexact" exceptions.
14002 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14003 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14004 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14005 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14007 (rint_towardzero_test_data): Likewise.
14008 (rint_downward_test_data): Likewise.
14009 (rint_upward_test_data): Likewise.
14011 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14012 with OVERFLOW_EXCEPTION.
14013 (exp10_test_data): Likewise.
14014 (exp2_test_data): Likewise.
14015 (expm1_test_data): Likewise.
14016 (lgamma_test_data): Likewise.
14017 (pow_test_data): Likewise.
14018 (tgamma_test_data): Likewise.
14019 (yn_test_data): Remove duplicate test of overflow.
14021 * math/libm-test.inc (struct test_cc_c_data): New type.
14022 (RUN_TEST_LOOP_cc_c): New macro.
14023 (cpow_test_data): New variable.
14024 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14026 * math/libm-test.inc (struct test_f_L_data): New type.
14027 (RUN_TEST_LOOP_f_L): New macro.
14028 (llrint_test_data): New variable.
14029 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14030 (llrint_tonearest_test_data): New variable.
14031 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14032 (llrint_towardzero_test_data): New variable.
14033 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14034 (llrint_downward_test_data): New variable.
14035 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14036 (llrint_upward_test_data): New variable.
14037 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14038 (llround_test_data): New variable.
14039 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14041 2013-05-13 Peter Collingbourne <pcc@google.com>
14043 * math/atest-exp2.c (get_log2): Remove const attribute.
14045 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14047 * math/libm-test.inc (struct test_f_l_data): New type.
14048 (RUN_TEST_LOOP_f_l): New macro.
14049 (lrint_test_data): New variable.
14050 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14051 (lrint_tonearest_test_data): New variable.
14052 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14053 (lrint_towardzero_test_data): New variable.
14054 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14055 (lrint_downward_test_data): New variable.
14056 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14057 (lrint_upward_test_data): New variable.
14058 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14059 (lround_test_data): New variable.
14060 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14062 2013-05-15 Peter Collingbourne <pcc@google.com>
14064 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14065 (EXTRACT_WORDS64) Use where appropriate.
14066 (INSERT_WORDS64) Likewise.
14068 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14069 constraints with x constraints.
14070 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14072 * malloc/obstack.c (_obstack_compat): Add initializer.
14074 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14076 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14077 si_trapno and add si_addr_lsb to _sifields.sigfault.
14078 (si_trapno): Remove macro.
14079 (si_addr_lsb): Define new macro.
14080 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14082 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14084 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14085 instead of TEST_f_l.
14086 (llrint_test_tonearest): Likewise.
14087 (llrint_test_towardzero): Likewise.
14088 (llrint_test_downward): Likewise.
14089 (llrint_test_upward): Likewise.
14090 (llround_test): Likewise.
14092 * math/libm-test.inc (struct test_f_i_data): Add comment.
14093 (RUN_TEST_LOOP_f_b): New macro.
14094 (RUN_TEST_LOOP_f_b_tg): Likewise.
14095 (finite_test_data): New variable.
14096 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14097 (isfinite_test_data): New variable.
14098 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14099 (isinf_test_data): New variable.
14100 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14101 (isnan_test_data): New variable.
14102 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14103 (isnormal_test_data): New variable.
14104 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14105 (issignaling_test_data): New variable.
14106 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14107 (signbit_test_data): New variable.
14108 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14110 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14111 with INVALID_EXCEPTION.
14112 (acosh_test_data): Likewise.
14113 (asin_test_data): Likewise.
14114 (atanh_test_data): Likewise.
14115 (fmod_test_data): Likewise.
14116 (log_test_data): Likewise.
14117 (log10_test_data): Likewise.
14118 (log2_test_data): Likewise.
14119 (pow_test_data): Likewise.
14120 (sqrt_test_data): Likewise.
14121 (y0_test_data): Likewise.
14122 (y1_test_data): Likewise.
14123 (yn_test_data): Likewise.
14125 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14128 * math/libm-test.inc (struct test_ff_i_data): New type.
14129 (RUN_TEST_LOOP_ff_i_tg): New macro.
14130 (isgreater_test_data): New variable.
14131 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14132 (isgreaterequal_test_data): New variable.
14133 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14134 (isless_test_data): New variable.
14135 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14136 (islessequal_test_data): New variable.
14137 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14138 (islessgreater_test_data): New variable.
14139 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14140 (isunordered_test_data): New variable.
14141 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14143 2013-05-14 David S. Miller <davem@davemloft.net>
14145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14147 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14149 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14151 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14153 (struct test_f_i_data): Change type of max_ulp to int.
14155 * math/libm-test.inc (test_ffI_f1_data): New type.
14156 (RUN_TEST_LOOP_ffI_f1): New macro.
14157 (remquo_test_data): New variable.
14158 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14160 * setjmp/tst-setjmp-fp.c: New file.
14161 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14162 (link-libm): New variable.
14163 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14165 * math/libm-test.inc (struct test_f_i_data): New type.
14166 (RUN_TEST_LOOP_f_i): New macro.
14167 (RUN_TEST_LOOP_f_i_tg): Likewise.
14168 (fpclassify_test_data): New variable.
14169 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14170 (ilogb_test_data): New variable.
14171 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14173 * math/libm-test.inc (scalbln_test): Correct function name in END
14176 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14177 (RUN_TEST_LOOP_fI_f1): New macro.
14178 (frexp_test_data): New variable.
14179 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14181 * math/libm-test.inc (struct test_fF_f1_data): New type.
14182 (RUN_TEST_LOOP_fF_f1): New macro.
14183 (modf_test_data): New variable.
14184 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14186 * math/libm-test.inc (struct test_f_f1_data): New type.
14187 (RUN_TEST_LOOP_f_f1): New macro.
14188 (gamma_test_data): New variable.
14189 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14190 (lgamma_test_data): New variable.
14191 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14193 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14195 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14196 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14197 (main): Comment "tls" pseudo-hwcap.
14199 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14201 * math/libm-test.inc (struct test_fl_f_data): New type.
14202 (RUN_TEST_LOOP_fl_f): New variable.
14203 (scalbln_test_data): New variable.
14204 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14206 * math/libm-test.inc (struct test_fi_f_data): New type.
14207 (RUN_TEST_LOOP_fi_f): New macro.
14208 (ldexp_test_data): New variable.
14209 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14210 (scalbn_test_data): New variable.
14211 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14213 * math/libm-test.inc (struct test_c_f_data): New type.
14214 (RUN_TEST_LOOP_c_f): New macro.
14215 (cabs_test_data): New variable.
14216 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14217 (carg_test_data): New variable.
14218 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14219 (cimag_test_data): New variable.
14220 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14221 (creal_test_data): New variable.
14222 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14224 * math/libm-test.inc (struct test_if_f_data): New type.
14225 (RUN_TEST_LOOP_if_f): New macro.
14226 (jn_test_data): New variable.
14227 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14228 (yn_test_data): New variable.
14229 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14231 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14233 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14235 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14236 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14238 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14240 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14241 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14242 (bench-deps): Add bench-timing.h.
14243 * benchtests-bench-skeleton.c: Include bench-timing.h.
14244 (main): Use TIMING_* macros instead of clock_gettime.
14245 * benchtests/bench-timing.h: New file.
14248 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14249 Renamed from _LIB_VERSION.
14250 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14252 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14254 * math/libm-test.inc (struct test_fff_f_data): New type.
14255 (RUN_TEST_LOOP_fff_f): New macro.
14256 (fma_test_data): New variable.
14257 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14258 (fma_towardzero_test_data): New variable.
14259 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14260 (fma_downward_test_data): New variable.
14261 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14262 (fma_upward_test_data): New variable.
14263 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14265 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14266 (struct test_c_c_data): New type.
14267 (RUN_TEST_LOOP_c_c): New macro.
14268 (cacos_test_data): New variable.
14269 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14270 (cacosh_test_data): New variable.
14271 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14272 (casin_test_data): New variable.
14273 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14274 (casinh_test_data): New variable.
14275 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14276 (catan_test_data): New variable.
14277 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14278 (catanh_test_data): New variable.
14279 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14280 (ccos_test_data): New variable.
14281 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14282 (ccosh_test_data): New variable.
14283 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14284 (cexp_test_data): New variable.
14285 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14286 (clog_test_data): New variable.
14287 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14288 (clog10_test_data): New variable.
14289 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14290 (conj_test_data): New variable.
14291 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14292 (cproj_test_data): New variable.
14293 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14294 (csin_test_data): New variable.
14295 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14296 (csinh_test_data): New variable.
14297 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14298 (csqrt_test_data): New variable.
14299 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14300 (ctan_test_data): New variable.
14301 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14302 (ctan_tonearest_test_data): New variable.
14303 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14304 (ctan_towardzero_test_data): New variable.
14305 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14306 (ctan_downward_test_data): New variable.
14307 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14308 (ctan_upward_test_data): New variable.
14309 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14310 (ctanh_test_data): New variable.
14311 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14312 (ctanh_tonearest_test_data): New variable.
14313 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14314 (ctanh_towardzero_test_data): New variable.
14315 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14316 (ctanh_downward_test_data): New variable.
14317 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14318 (ctanh_upward_test_data): New variable.
14319 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14320 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14323 * math/libm-test.inc (struct test_ff_f_data): New type.
14324 (struct test_ff_f_data_nexttoward): Likewise.
14325 (RUN_TEST_LOOP_2_f): New macro.
14326 (RUN_TEST_LOOP_ff_f): Likewise.
14327 (atan2_test_data): New variable.
14328 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14329 (copysign_test_data): New variable.
14330 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14331 (fdim_test_data): New variable.
14332 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14333 (fmax_test_data): New variable.
14334 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14335 (fmin_test_data): New variable.
14336 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14337 (fmod_test_data): New variable.
14338 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14339 (hypot_test_data): New variable.
14340 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14341 (nextafter_test_data): New variable.
14342 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14343 (nexttoward_test_data): New variable.
14344 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14345 (pow_test_data): New variable.
14346 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14347 (pow_tonearest_test_data): New variable.
14348 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14349 (pow_towardzero_test_data): New variable.
14350 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14351 (pow_downward_test_data): New variable.
14352 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14353 (pow_upward_test_data): New variable.
14354 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14355 (remainder_test_data): New variable.
14356 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14357 (scalb_test_data): New variable.
14358 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14359 * sysdeps/i386/fpu/libm-test-ulps: Update.
14361 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14363 * math/libm-test.inc (fma_test): Use max_value instead of local
14365 (nextafter_test): Likewise.
14367 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14368 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14369 (acos_downward_test_data): New variable.
14370 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14371 (acos_upward_test_data): New variable.
14372 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14373 (acosh_test_data): New variable.
14374 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14375 (asin_test_data): New variable.
14376 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14377 (asin_tonearest_test_data): New variable.
14378 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14379 (asin_towardzero_test_data): New variable.
14380 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14381 (asin_downward_test_data): New variable.
14382 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14383 (asin_upward_test_data): New variable.
14384 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14385 (asinh_test_data): New variable.
14386 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14387 (atan_test_data): New variable.
14388 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14389 (atanh_test_data): New variable.
14390 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14391 (cbrt_test_data): New variable.
14392 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14393 (ceil_test_data): New variable.
14394 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14395 (cos_test_data): New variable.
14396 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14397 (cos_tonearest_test_data): New variable.
14398 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14399 (cos_towardzero_test_data): New variable.
14400 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14401 (cos_downward_test_data): New variable.
14402 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14403 (cos_upward_test_data): New variable.
14404 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14405 (cosh_test_data): New variable.
14406 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14407 (cosh_tonearest_test_data): New variable.
14408 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14409 (cosh_towardzero_test_data): New variable.
14410 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14411 (cosh_downward_test_data): New variable.
14412 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14413 (cosh_upward_test_data): New variable.
14414 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14415 (erf_test_data): New variable.
14416 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14417 (erfc_test_data): New variable.
14418 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14419 (exp_test_data): New variable.
14420 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14421 (exp_tonearest_test_data): New variable.
14422 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14423 (exp_towardzero_test_data): New variable.
14424 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14425 (exp_downward_test_data): New variable.
14426 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14427 (exp_upward_test_data): New variable.
14428 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14429 (exp10_test_data): New variable.
14430 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14431 (exp2_test_data): New variable.
14432 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14433 (expm1_test_data): New variable.
14434 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14435 (fabs_test_data): New variable.
14436 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14437 (floor_test_data): New variable.
14438 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14439 (j0_test_data): New variable.
14440 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14441 (j1_test_data): New variable.
14442 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14443 (log_test_data): New variable.
14444 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14445 (log10_test_data): New variable.
14446 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14447 (log1p_test_data): New variable.
14448 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14449 (log2_test_data): New variable.
14450 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14451 (logb_test_data): New variable.
14452 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14453 (logb_downward_test_data): New variable.
14454 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14455 (nearbyint_test_data): New variable.
14456 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14457 (rint_test_data): New variable.
14458 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14459 (rint_tonearest_test_data): New variable.
14460 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14461 (rint_towardzero_test_data): New variable.
14462 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14463 (rint_downward_test_data): New variable.
14464 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14465 (rint_upward_test_data): New variable.
14466 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14467 (round_test_data): New variable.
14468 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14469 (sin_test_data): New variable.
14470 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14471 (sin_tonearest_test_data): New variable.
14472 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14473 (sin_towardzero_test_data): New variable.
14474 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14475 (sin_downward_test_data): New variable.
14476 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14477 (sin_upward_test_data): New variable.
14478 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14479 (sinh_test_data): New variable.
14480 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14481 (sinh_tonearest_test_data): New variable.
14482 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14483 (sinh_towardzero_test_data): New variable.
14484 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14485 (sinh_downward_test_data): New variable.
14486 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14487 (sinh_upward_test_data): New variable.
14488 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14489 (sqrt_test_data): New variable.
14490 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14491 (tan_test_data): New variable.
14492 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14493 (tan_tonearest_test_data): New variable.
14494 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14495 (tan_towardzero_test_data): New variable.
14496 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14497 (tan_downward_test_data): New variable.
14498 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14499 (tan_upward_test_data): New variable.
14500 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14501 (tanh_test_data): New variable.
14502 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14503 (tgamma_test_data): New variable.
14504 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14505 (trunc_test_data): New variable.
14506 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14507 (y0_test_data): New variable.
14508 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14509 (y1_test_data): New variable.
14510 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14511 (significand_test_data): New variable.
14512 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14514 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14517 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14519 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14521 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14523 2013-05-10 Andreas Jaeger <aj@suse.de>
14526 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14527 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14529 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14531 * math/gen-libm-test.pl (adjust_arg): New function.
14532 (special_functions): Handle generating output in both functions
14534 (parse_args): Likewise.
14535 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14536 $in_func argument to parse_args.
14537 * math/libm-test.inc (struct test_f_f_data): New type.
14538 (IF_ROUND_INIT_): New macro.
14539 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14540 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14541 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14542 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14543 (ROUND_RESTORE_): Likewise.
14544 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14545 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14546 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14547 (ROUND_RESTORE_FE_UPWARD): Likewise.
14548 (RUN_TEST_LOOP_f_f): New macro.
14549 (acos_test_data): New variable.
14550 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14551 (acos_tonearest_test_data): New variable.
14552 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14554 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14556 * benchtests/bench-skeleton.c (startup): Fix coding style.
14558 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14561 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14562 negative infinity argument.
14563 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14564 negative infinity argument.
14565 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14566 negative infinity argument.
14567 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14570 2013-05-10 Florian Weimer <fweimer@redhat.com>
14572 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14573 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14574 * iconv/iconv_prog.c (main): Likewise.
14575 * locale/programs/charmap-dir.c (charmap_readdir)
14576 (fopen_uncompressed): Likewise.
14577 * locale/programs/locfile.c (siblings_uncached)
14578 (write_locale_data): Use lstat64 instead of lstat.
14579 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14582 2013-05-10 Andreas Jaeger <aj@suse.de>
14585 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14587 Include <locale.h>.
14589 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14591 * elf/dl-close.c (_dl_close_worker): Add comments.
14593 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14596 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14598 (__ieee754_rem_pio2l): Update comments.
14601 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14603 (__ieee754_rem_pio2l): Update comments.
14605 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14606 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14608 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14611 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14612 (M_PI_34_LOG10El): Likewise.
14613 (M_PI2_LOG10El): Likewise.
14614 (M_PI4_LOG10El): Likewise.
14615 (M_PI_LOG10El): Likewise.
14617 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14621 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14623 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14624 (MINUS_ZERO_INIT): Likewise.
14625 (PLUS_INFTY_INIT): Likewise.
14626 (MINUS_INFTY_INIT): Likewise.
14627 (QNAN_VALUE_INIT): Likewise.
14628 (MAX_VALUE_INIT): Likewise.
14629 (MIN_VALUE_INIT): Likewise.
14630 (MIN_SUBNORM_VALUE_INIT): Likewise.
14631 (plus_zero): Initialize with PLUS_ZERO_INIT.
14632 (minus_zero): Initialize with MINUS_ZERO_INIT.
14633 (plus_infty): Initialize with PLUS_INFTY_INIT.
14634 (minus_infty): Initialize with MINUS_INFTY_INIT.
14635 (qnan_value): Initialize with QNAN_VALUE_INIT.
14636 (max_value): Initialize with MAX_VALUE_INIT.
14637 (min_value): Initialize with MIN_VALUE_INIT.
14638 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14640 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14641 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14642 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14643 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14645 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14646 (RUN_TEST_2_f): Likewise.
14647 (RUN_TEST_ff_f): Likewise.
14648 (RUN_TEST_fi_f): Likewise.
14649 (RUN_TEST_fl_f): Likewise.
14650 (RUN_TEST_fff_f): Likewise.
14651 (RUN_TEST_c_f): Likewise.
14652 (RUN_TEST_f_f1): Likewise.
14653 (RUN_TEST_fF_f1): Likewise.
14654 (RUN_TEST_fI_f1): Likewise.
14655 (RUN_TEST_ffI_f1): Likewise.
14656 (RUN_TEST_c_c): Likewise.
14657 (RUN_TEST_cc_c): Likewise.
14658 (RUN_TEST_f_i): Likewise.
14659 (RUN_TEST_f_i_tg): Likewise.
14660 (RUN_TEST_ff_i_tg): Likewise.
14661 (RUN_TEST_f_b): Likewise.
14662 (RUN_TEST_f_b_tg): Likewise.
14663 (RUN_TEST_f_l): Likewise.
14664 (RUN_TEST_f_L): Likewise.
14665 (RUN_TEST_sincos): Likewise.
14666 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14667 whether to show exceptions. Do not include ");\n" in return
14669 (special_functions): Output call to RUN_TEST_sincos instead of
14670 check_float calls. Update calls to new_test.
14671 (parse_args): Output call to single RUN_TEST_* macro instead of
14672 check_* calls and other assignments. Update calls to new_test.
14678 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14679 input to result for tgamma overflow.
14680 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14681 (gamma_coeff): New variable.
14682 (NCOEFF): New macro.
14683 (gamma_positive): New function.
14684 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14685 underflow here. Use gamma_positive instead of exp (lgamma) for
14687 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14688 (gamma_coeff): New variable.
14689 (NCOEFF): New macro.
14690 (gammaf_positive): New function.
14691 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14692 underflow here. Use gamma_positive instead of exp (lgamma) for
14694 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14695 (gamma_coeff): New variable.
14696 (NCOEFF): New macro.
14697 (gammal_positive): New function.
14698 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14699 underflow here. Use gamma_positive instead of exp (lgamma) for
14701 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14702 (gamma_coeff): New variable.
14703 (NCOEFF): New macro.
14704 (gammal_positive): New function.
14705 (__ieee754_gammal_r): Handle positive infinity, overflow and
14706 underflow here. Handle NaN the same as positive infinity. Remove
14707 check x < 0xffffffff for negative integers. Use gamma_positive
14708 instead of exp (lgamma) for other arguments.
14709 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14710 (gamma_coeff): New variable.
14711 (NCOEFF): New macro.
14712 (gammal_positive): New function.
14713 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14714 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14715 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14716 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14717 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14718 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14719 * sysdeps/generic/math_private.h (__gamma_productf): New
14721 (__gamma_product): Likewise.
14722 (__gamma_productl): Likewise.
14723 * math/Makefile (libm-calls): Add gamma_product.
14724 * math/libm-test.inc (tgamma_test): Add more tests.
14725 * sysdeps/i386/fpu/libm-test-ulps: Update.
14726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14728 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14730 * benchtests/bench-skeleton.c (main): Preheat CPU.
14732 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14734 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14736 2013-05-07 Roland McGrath <roland@hack.frob.com>
14738 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14739 and _dl_skip_args_internal.
14741 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14743 * manual/message.texi (Message Translation): Talk about users.
14744 Message to key mapping impacts design.
14746 2013-05-06 Roland McGrath <roland@hack.frob.com>
14748 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14750 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14752 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14753 * sysdeps/wordsize-64/glob64.c: ... here.
14755 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14756 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14759 * debug/getlogin_r_chk.c: Moved to ...
14760 * login/getlogin_r_chk.c: ... here.
14761 * debug/Makefile (routines): Move getlogin_r_chk to ...
14762 * login/Makefile (routines): ... here.
14763 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14764 * login/Versions (libc: GLIBC_2.4): ... here.
14766 * io/poll.c (__poll): Renamed from poll.
14767 Add libc_hidden_def.
14768 (poll): Define as weak alias.
14770 * debug/ptsname_r_chk.c: Moved to ...
14771 * login/ptsname_r_chk.c: ... here.
14772 * debug/Makefile (routines): Move ptsname_r_chk to ...
14773 * login/Makefile (routines): ... here.
14774 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14775 * login/Versions (libc: GLIBC_2.4): ... here.
14777 * posix/getlogin.c: Moved to ...
14778 * login/getlogin.c: ... here.
14779 * posix/getlogin_r.c: Moved to ...
14780 * login/getlogin_r.c: ... here.
14781 * posix/getlogin_r.c: Moved to ...
14782 * login/getlogin_r.c: ... here.
14783 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14784 * login/Makefile (routines): ... here.
14785 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14786 * login/Versions (libc: GLIBC_2.0): ... here.
14788 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14789 (setrlimit): Define as weak alias.
14791 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14792 Call __ names for open, ftruncate, and close.
14793 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14794 (truncate): Define as weak alias.
14796 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14798 * math/gen-libm-test.pl (parse_args): Initialize x before each
14799 test of frexp, modf and remquo.
14801 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14802 test signgam value.
14804 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14808 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14810 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14812 2013-05-06 Roland McGrath <roland@hack.frob.com>
14814 * elf/dl-writev.h: New file.
14815 * elf/dl-misc.c: Include it.
14816 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14817 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14819 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14821 * math/libm-test.inc (noXFails): Remove variable.
14822 (noXPasses): Likewise.
14823 (BUILD_COMPLEX_INT): Remove macro.
14824 (print_screen): Remove xfail argument.
14825 (print_screen_max_error): Likewise.
14826 (update_stats): Likewise.
14827 (print_max_error): Likewise. Update calls to other affected
14829 (print_complex_max_error): Likewise.
14830 (test_single_exception): Update calls to print_screen.
14831 (test_single_errno): Likewise.
14832 (check_float_internal): Remove xfail argument. Update calls to
14833 other affected functions.
14834 (check_float): Likewise.
14835 (check_complex): Likewise.
14836 (check_int): Likewise.
14837 (check_long): Likewise.
14838 (check_bool): Likewise.
14839 (check_longlong): Likewise.
14840 (main): Don't print noXFails and noXPasses.
14841 * math/gen-libm-test.pl (top level): Don't mention expected
14842 failure handling in comment.
14843 (new_test): Don't handle expected failures.
14844 (parse_args): Don't mention expected failure handling in comment.
14845 (generate_testfile): Don't handle expected failures.
14846 (parse_ulps): Likewise.
14847 (print_ulps_file): Likewise.
14848 (get_failure): Remove function.
14849 (output_test): Don't handle expected failures.
14850 * make/README.libm-test: Don't mention expected failure handling.
14852 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14853 (minus_zero): Likewise.
14854 (plus_infty): Likewise.
14855 (minus_infty): Likewise.
14856 (qnan_value): Likewise.
14857 (max_value): Likewise.
14858 (min_value): Likewise.
14859 (min_subnorm_value): Likewise.
14860 (initialize): Do not initialize those variables dynamically.
14862 2013-05-03 Roland McGrath <roland@hack.frob.com>
14864 * io/open.c (__open_2): Moved to ...
14865 * io/open_2.c: ... this new file.
14866 * io/open64.c (__open64_2): Moved to ...
14867 * io/open64_2.c: ... this new file.
14868 * io/openat.c (__openat_2): Moved to ...
14869 * io/openat_2.c: ... this new file.
14870 * io/openat64.c (__openat64_2): Moved to ...
14871 * io/openat64_2.c: ... this new file.
14872 * io/Makefile (routines): Add them.
14873 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14874 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14875 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14876 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14877 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14878 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14879 (__openat64): Add hidden_ver.
14880 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14881 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14883 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14884 Separately conditionalize setting of GLRO(dl_sysinfo) so
14885 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14886 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14888 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14890 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14891 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14893 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14894 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14895 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14896 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14897 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14899 2013-05-03 Joseph Myers <joseph@codesourcery.com>
14901 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14902 test signgam value.
14904 * math/libm-test.inc (hypot_test): Do not use
14905 IGNORE_ZERO_INF_SIGN.
14907 2013-05-03 Andreas Jaeger <aj@suse.de>
14909 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14911 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14912 (PF_MAX): Adjust for VSOCK change.
14914 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14918 2013-05-02 Carlos O'Donell <carlos@redhat.com>
14921 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14922 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14923 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14925 2013-05-02 David S. Miller <davem@davemloft.net>
14927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14929 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
14931 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14933 2013-05-01 Roland McGrath <roland@hack.frob.com>
14935 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14937 2013-05-01 Richard Smith <richard@metafoo.co.uk>
14940 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14941 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14942 Use __attribute__ ((__gnu_inline__)).
14943 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14944 Don't use __attribute__ ((__gnu_inline__)).
14946 2013-05-01 Joseph Myers <joseph@codesourcery.com>
14949 * math/s_catan.c (__catan): Handle small real or imaginary part of
14950 input specially to avoid spurious underflow.
14951 * math/s_catanf.c (__catanf): Likewise.
14952 * math/s_catanh.c (__catanh): Likewise.
14953 * math/s_catanhf.c (__catanhf): Likewise.
14954 * math/s_catanhl.c (__catanhl): Likewise.
14955 * math/s_catanl.c (__catanl): Likewise.
14956 * math/libm-test.inc (catan_test): Add more tests.
14957 (catanh_test): Likewise.
14958 * sysdeps/i386/fpu/libm-test-ulps: Update.
14959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14961 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14965 2013-04-30 Joseph Myers <joseph@codesourcery.com>
14968 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14969 accurately for denominator in atan2.
14970 * math/s_catanf.c (__catanf): Likewise.
14971 * math/s_catanh.c (__catanh): Likewise.
14972 * math/s_catanhf.c (__catanhf): Likewise.
14973 * math/s_catanhl.c (__catanhl): Likewise.
14974 * math/s_catanl.c (__catanl): Likewise.
14975 * math/libm-test.inc (catan_test): Add more tests.
14976 (catanh_test): Likewise.
14977 * sysdeps/i386/fpu/libm-test-ulps: Update.
14978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14980 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14982 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14984 * benchtests/Makefile (bench): Remove slow benchmarks.
14985 * benchtests/atan-inputs: Add slow benchmark inputs.
14986 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14987 (BENCH_FUNC): Accept variant offset.
14989 * benchtests/bench-skeleton.c (main): Run benchmark for each
14991 * benchtests/cos-inputs: Add slow benchmark inputs.
14992 * benchtests/exp-inputs: Likewise.
14993 * benchtests/pow-inputs: Likewise.
14994 * benchtests/sin-inputs: Likewise.
14995 * benchtests/slowatan-inputs: Remove.
14996 * benchtests/slowatan.c: Remove.
14997 * benchtests/slowcos-inputs: Remove.
14998 * benchtests/slowcos.c: Remove.
14999 * benchtests/slowexp-inputs: Remove.
15000 * benchtests/slowexp.c: Remove.
15001 * benchtests/slowpow-inputs: Remove.
15002 * benchtests/slowpow.c: Remove.
15003 * benchtests/slowsin-inputs: Remove.
15004 * benchtests/slowsin.c: Remove.
15005 * benchtests/slowtan-inputs: Remove.
15006 * benchtests/slowtan.c: Remove.
15007 * benchtests/tan-inputs: Add slow benchmark inputs.
15008 * scripts/bench.pl: Parse comments and directives.
15010 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15012 ($(objpfx)bench-%.c): Remove *-ITER.
15013 * benchtests/bench-modf.c: Remove definition of ITER.
15014 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15015 (main): Loop for DURATION seconds instead of fixed number of
15017 * scripts/bench.pl: Don't expect iterations in parameters.
15019 2013-04-29 Roland McGrath <roland@hack.frob.com>
15021 * io/fchdir.c (__fchdir): Renamed from fchdir.
15022 (fchdir): Define as weak alias.
15024 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15026 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15027 (ERRNO_EDOM): Likewise.
15028 (ERRNO_ERANGE): Likewise.
15029 (noErrnoTests): New variable.
15030 (init_max_error): Set errno to 0.
15031 (test_single_errno): New function.
15032 (test_errno): Likewise.
15033 (check_float_internal): Call test_errno. Set errno to 0.
15034 (check_complex): Refer to errno tests in comment.
15035 (check_int): Call test_errno. Set errno to 0.
15036 (check_long): Likewise.
15037 (check_bool): Likewise.
15038 (check_longlong): Likewise.
15039 (cos_test): Use ERRNO_* flags for errno tests instead of
15041 (expm1_test): Likewise.
15042 (fmod_test): Likewise.
15043 (ilogb_test): Likewise.
15044 (lgamma_test): Likewise.
15045 (pow_test): Likewise.
15046 (remainder_test): Likewise.
15047 (sin_test): Likewise.
15048 (tan_test): Likewise.
15049 (yn_test): Likewise.
15050 (initialize): Set errno to 0.
15051 (main): Print number of errno tests.
15052 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15054 2013-04-29 Andreas Jaeger <aj@suse.de>
15057 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15061 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15062 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15066 * stdlib/random.c (__initstate): Return NULL if
15070 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15071 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15074 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15078 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15080 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15081 of individual tests.
15082 (casin_test): Likewise.
15083 (casinh_test): Likewise.
15085 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15088 * math/s_catan.c (__catan): Handle arguments with large real or
15089 imaginary part separately without squaring.
15090 * math/s_catanf.c (__catanf): Likewise.
15091 * math/s_catanh.c (__catanh): Likewise.
15092 * math/s_catanhf.c (__catanhf): Likewise.
15093 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15095 (__catanhl): Handle arguments with large real or imaginary part
15096 separately without squaring.
15097 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15099 (__catanl): Handle arguments with large real or imaginary part
15100 separately without squaring.
15101 * math/libm-test.inc (catan_test): Add more tests.
15102 (catanh_test): Likewise.
15103 * sysdeps/i386/fpu/libm-test-ulps: Update.
15104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15106 2013-04-27 Andreas Jaeger <aj@suse.de>
15109 * stdlib/stdlib.h: Update guards for qecvt.
15110 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15113 2013-04-27 Allan McRae <allan@archlinux.org>
15115 * sysdeps/i386/fpu/libm-test-ulps: Update.
15117 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15120 * math/s_catan.c: Include <float.h>.
15121 (__catan): Ensure underflow exception occurs for underflowed
15123 * math/s_catanf.c: Include <float.h>.
15124 (__catanf): Ensure underflow exception occurs for underflowed
15126 * math/s_catanh.c: Include <float.h>.
15127 (__catanh): Ensure underflow exception occurs for underflowed
15129 * math/s_catanhf.c: Include <float.h>.
15130 (__catanhf): Ensure underflow exception occurs for underflowed
15132 * math/s_catanhl.c: Include <float.h>.
15133 (__catanhl): Ensure underflow exception occurs for underflowed
15135 * math/s_catanl.c: Include <float.h>.
15136 (__catanl): Ensure underflow exception occurs for underflowed
15138 * math/libm-test.inc (catan_test): Add more tests.
15139 (catanh_test): Likewise.
15142 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15143 underflowed result.
15144 * math/s_ccoshf.c (__ccoshf): Likewise.
15145 * math/s_ccoshl.c (__ccoshl): Likewise.
15146 * math/s_csin.c (__csin): Likewise.
15147 * math/s_csinf.c (__csinf): Likewise.
15148 * math/s_csinh.c (__csinh): Likewise.
15149 * math/s_csinhf.c (__csinhf): Likewise.
15150 * math/s_csinhl.c (__csinhl): Likewise.
15151 * math/s_csinl.c (__csinl): Likewise.
15152 * math/libm-test.inc (ccos_test): Add more tests.
15153 (ccosh_test): Likewise.
15154 (csin_test): Likewise.
15155 (csinh_test): Likewise.
15157 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15159 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15160 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15161 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15162 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15163 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15164 powerpc/power5+/fpu folders.
15165 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15168 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15172 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15174 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15175 additions to variable.
15176 [$(config-machine) = x86_64] (modules-names): Likewise.
15177 ($(objpfx)tst-audit3): Remove dependency.
15178 ($(objpfx)tst-audit3.out): Likewise.
15179 ($(objpfx)tst-audit4): Likewise.
15180 ($(objpfx)tst-audit4.out): Likewise.
15181 ($(objpfx)tst-audit5): Likewise.
15182 ($(objpfx)tst-audit5.out): Likewise.
15183 ($(objpfx)tst-audit6): Likewise.
15184 ($(objpfx)tst-audit6.out): Likewise.
15185 ($(objpfx)tst-audit7): Likewise.
15186 ($(objpfx)tst-audit7.out): Likewise.
15187 (tst-audit3-ENV): Remove variable.
15188 (tst-audit4-ENV): Likewise.
15189 (tst-audit5-ENV): Likewise.
15190 (tst-audit6-ENV): Likewise.
15191 (tst-audit7-ENV): Likewise.
15192 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15193 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15194 addition to variable.
15195 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15196 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15197 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15198 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15199 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15200 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15201 tst-audit3, tst-audit4 and tst-audit5.
15202 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15203 tst-audit6 and tst-audit7.
15204 [$(subdir) = elf] (modules-names): Add audit modules for those
15206 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15207 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15208 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15209 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15210 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15211 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15212 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15213 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15214 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15215 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15216 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15217 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15218 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15219 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15220 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15221 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15223 [$(subdir) = elf && $(config-cflags-avx) = yes]
15224 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15225 [$(subdir) = elf && $(config-cflags-avx) = yes]
15226 (CFLAGS-tst-auditmod4a.c): Likewise.
15227 [$(subdir) = elf && $(config-cflags-avx) = yes]
15228 (CFLAGS-tst-auditmod4b.c): Likewise.
15229 [$(subdir) = elf && $(config-cflags-avx) = yes]
15230 (CFLAGS-tst-auditmod6b.c): Likewise.
15231 [$(subdir) = elf && $(config-cflags-avx) = yes]
15232 (CFLAGS-tst-auditmod6c.c): Likewise.
15233 [$(subdir) = elf && $(config-cflags-avx) = yes]
15234 (CFLAGS-tst-auditmod7b.c): Likewise.
15235 * elf/tst-audit3.c: Move to ...
15236 * sysdeps/x86_64/tst-audit3.c: ... here.
15237 * elf/tst-audit4.c: Move to ...
15238 * sysdeps/x86_64/tst-audit4.c: ... here.
15239 * elf/tst-audit5.c: Move to ...
15240 * sysdeps/x86_64/tst-audit5.c: ... here.
15241 * elf/tst-audit6.c: Move to ...
15242 * sysdeps/x86_64/tst-audit6.c: ... here.
15243 * elf/tst-audit7.c: Move to ...
15244 * sysdeps/x86_64/tst-audit7.c: ... here.
15245 * elf/tst-auditmod3a.c: Move to ...
15246 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15247 * elf/tst-auditmod3b.c: Move to ...
15248 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15249 * elf/tst-auditmod4a.c: Move to ...
15250 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15251 * elf/tst-auditmod4b.c: Move to ...
15252 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15253 * elf/tst-auditmod5a.c: Move to ...
15254 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15255 * elf/tst-auditmod5b.c: Move to ...
15256 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15257 * elf/tst-auditmod6a.c: Move to ...
15258 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15259 * elf/tst-auditmod6b.c: Move to ...
15260 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15261 * elf/tst-auditmod6c.c: Move to ...
15262 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15263 * elf/tst-auditmod7a.c: Move to ...
15264 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15265 * elf/tst-auditmod7b.c: Move to ...
15266 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15268 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15271 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15272 define unconditionally.
15273 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15274 define unconditionally.
15275 (INT8_C, INT16_C, etc.): Likewise.
15277 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15279 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15280 __ehdr_start with hidden visibility.
15282 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15284 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15286 * math/libm-test.inc (cos_test): Use accurate hex constants.
15287 (sincost_test): Likewise.
15289 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15291 * math/libm-test.inc (catan_test): Add more tests.
15292 (catanh_test): Likewise.
15294 * math/s_catanf.c (__catanf): Use suffixed floating-point
15296 * math/s_catanhf.c (__catanhf): Likewise.
15297 * math/s_catanhl.c (__catanhl): Likewise.
15298 * math/s_catanl.c (__catanl): Likewise.
15301 * math/s_catan.c (__catan): Calculate imaginary part of result
15302 with log1p not log unless computing log of number close to 0.
15303 * math/s_catanf.c (__catanf): Likewise.
15304 * math/s_catanl.c (__catanl): Likewise.
15305 * math/s_catanh.c (__catanh): Calculate real part of result with
15306 log1p not log unless computing log of number close to 0.
15307 * math/s_catanhf.c (__catanhf): Likewise.
15308 * math/s_catanhl.c (__catanhl): Likewise.
15309 * math/libm-test.inc (catan_test): Add more tests.
15310 (catanh_test): Likewise.
15311 * sysdeps/i386/fpu/libm-test-ulps: Update.
15312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15314 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15316 * benchtests/Makefile: Mention files in which fast and slow
15317 paths of math functions are implemented.
15319 2013-04-23 Roland McGrath <roland@hack.frob.com>
15321 * sysdeps/posix/timespec_get.c: New file.
15323 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15325 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15327 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15329 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15330 powerpc/power5/fpu folders.
15331 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15332 * benchtests/Makefile: Add modf testcase.
15333 * benchtests/bench-modf.c: New file: Benchmark test for mo
15335 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15338 * time/Makefile (tests): Add tst-strptime-whitespace.
15339 * time/strptime_l.c (get_number): Use ISSPACE.
15340 (__strptime_internal): Likewise.
15341 * time/tst-strptime-whitespace.c: New test case.
15343 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15345 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15347 (_nss_files_init): Set it here.
15349 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15351 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15352 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15355 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15357 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15359 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15361 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15364 2013-04-21 David S. Miller <davem@davemloft.net>
15366 * po/ru.po: Update Russion translation from translation project.
15368 2013-04-17 Adam Conrad <adconrad@0c3.net>
15370 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15373 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15375 * configure.in: Remove i386 configure warning. Remove i386 case.
15376 * configure: Regenerate.
15377 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15378 Add example to error message.
15379 * sysdeps/i386/configure: Regenerate.
15381 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15383 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15385 * benchtests/cos-inputs: New file.
15386 * benchtests/slowcos-inputs: New file.
15387 * benchtests/slowcos.c: New file.
15388 * benchtests/slowtan-inputs: New file.
15389 * benchtests/slowtan.c: New file.
15390 * benchtests/tan-inputs: New file.
15392 2013-04-16 Roland McGrath <roland@hack.frob.com>
15394 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15397 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15399 * benchtests/Makefile: Include cppflags-iterator.mk to add
15400 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15402 * Makefile.in (bench-clean): New target.
15403 * benchtests/Makefile (bench-clean): Likewise.
15405 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15407 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15409 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15411 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15413 2013-04-15 Andreas Schwab <schwab@suse.de>
15415 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15416 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15417 * nscd/pwdcache.c (cache_addpw): Likewise.
15418 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15421 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15423 * benchtests/Makefile (bench): Write all output to
15424 bench-out.tmp together.
15426 2013-04-15 Andreas Schwab <schwab@suse.de>
15428 * nscd/nscd.c (main): Don't fork again after closing files.
15430 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15432 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15434 * benchtests/Rules (bench-deps): Collect dependencies into a
15435 single variable. Add Makefile to dependencies.
15436 ($(objpfx)bench-%.c): Depend on bench-deps.
15438 2013-04-12 Roland McGrath <roland@hack.frob.com>
15439 Xavier Roche <roche+kml2@exalead.com>
15442 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15443 just that it's a file descriptor.
15444 * manual/llio.texi (Synchronizing AIO Operations): Update description
15445 for EBADF error from aio_fsync.
15447 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15449 * Rules (bench): Move target definition...
15450 * benchtests/Makefile: ... here.
15452 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15454 * math/libm-test.inc (cos_test): Fix PI/2 test.
15455 (sincos_test): Likewise.
15456 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15457 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15459 2013-04-11 Andreas Schwab <schwab@suse.de>
15462 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15463 accept exponent character only when digits were seen.
15464 * stdio-common/Makefile (tests): Add bug26.
15465 * stdio-common/bug26.c: New file.
15468 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15471 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15473 * Makeconfig (rtld-prefix): Define built linker prefix.
15474 * Rules (run-bench): Use it.
15475 * math/Makefile (run-regen-ulps): Likewise.
15477 * Rules (bench): Remove eval.
15479 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15480 Roland McGrath <roland@hack.frob.com>
15481 Ondrej Bilka <neleai@seznam.cz>
15484 * time/getdate.c: Include ctype.h and alloca.h.
15485 (__getdate_r): Trim leading and trailing spaces of input.
15486 * time/tst-getdate.c (tests): Add tests with leading and
15489 2013-04-08 Roland McGrath <roland@hack.frob.com>
15492 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15493 when computing value.
15495 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15497 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15498 Use testrun.sh to run libm tests.
15501 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15503 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15506 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15508 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15510 * Makefile.in (regen-ulps): New target.
15511 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15512 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15513 [ifneq (no,$(PERL)] (regen-ulps): New target.
15514 [ifeq (no,$(PERL)] (regen-ulps): New target.
15515 * math/libm-test.inc (ulps_file_name): Define.
15516 (output_dir): New variable.
15517 (options): Add "output-dir" option.
15518 (parse_opt): Handle 'o' case.
15519 (main): If output_dir is non-NULL use it as a prefix
15521 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15523 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15525 [BZ #10060, #10062]
15526 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15527 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15528 fail configure if __sync_val_compare_and_swap is not inlined.
15529 * sysdeps/i386/configure: Regenerate.
15530 * configure.in: Build for i686 when configured for i386.
15531 * configure: Regenerate.
15532 * README: Remove i386 reference.
15534 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15536 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15537 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15539 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15541 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15542 (lmsnanval): New variables.
15543 (F): Add conversion tests.
15544 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15545 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15547 * stdio-common/tstdiomisc.c (F): Properly collect individual
15550 [BZ #14686, #15336]
15551 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15552 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15553 Instead, use input NaN values or generate a qNaN by arithmetic
15554 operation. Also fix bugs to comply with the standard.
15555 * math/libm-test.inc (remainder_test): Add more tests.
15557 [BZ #15335, #15342]
15558 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15559 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15560 input NaN values or generate a qNaN by arithmetic operation.
15562 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15565 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15568 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15571 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15572 underflowed result.
15573 * math/s_cexpf.c (__cexpf): Likewise.
15574 * math/s_cexpl.c (__cexpl): Likewise.
15575 * math/libm-test.inc (cexp_test): Add more tests.
15577 2013-04-03 Andreas Schwab <schwab@suse.de>
15580 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15581 order arrays from heap if bigger than alloca cutoff.
15583 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15585 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15586 (SNAN_TESTS_double): Refer to GCC PR56831.
15587 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15590 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15592 * Rules (bench): Move bench.out after the run is complete.
15594 * Rules (bench): Echo currently running benchmark.
15596 * benchtests/Makefile (bench): Add atan and slowatan.
15597 * benchtests/atan-inputs: New file.
15598 * benchtests/slowatan-inputs: New file.
15599 * benchtests/slowatan.c: New file.
15601 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15602 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15606 * sysdeps/unix/sysv/linux/kernel-features.h
15607 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15608 __ASSUME_XFS_RESTRICTED_CHOWN.
15609 * sysdeps/unix/sysv/linux/pathconf.c
15610 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15611 Save and restore errno.
15613 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15616 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15617 arguments using __kernel_casinh.
15618 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15619 arguments using __kernel_casinhf.
15620 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15621 arguments using __kernel_casinhl.
15622 * math/libm-test.inc (cacosh_test): Add more tests.
15623 * sysdeps/i386/fpu/libm-test-ulps: Update.
15624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15626 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15628 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15629 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15631 * bench/Makefile (bench): Add sin and slowsin.
15632 * benchtests/sin-inputs: New file.
15633 * benchtests/slowsin-inputs: New file.
15634 * benchtests/slowsin.c: New file.
15636 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15637 (bench): Add slowexp and slowpow.
15638 (exp-ITER): Increase iterations.
15639 (pow-ITER): Likewise.
15640 * benchtests/exp-inputs: Change input.
15641 * benchtests/pow-inputs: Likewise.
15642 * benchtests/slowexp-inputs: New file.
15643 * benchtests/slowexp.c: New file.
15644 * benchtests/slowpow-inputs: New file.
15645 * benchtests/slowpow.c: New file.
15647 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15649 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15651 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15652 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15653 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15654 * benchtests/Makefile: Add rint benchtest.
15655 * benchtests/rint-inputs: Input for rint benchtest.
15657 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15659 * Versions.def (libm): Add GLIBC_2.18.
15660 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15661 hidden libm prototypes.
15662 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15663 * math/Makefile (libm-calls): Add s_issignaling.
15664 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15665 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15666 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15668 * math/math.h [__USE_GNU] (issignaling): New macro.
15669 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15670 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15671 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15672 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15673 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15674 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15675 * manual/arith.texi (issignaling): New section.
15676 * manual/libm-err-tab.pl (@all_functions): Update comment.
15677 * math/gen-libm-test.pl (parse_args): Apply special handling for
15679 * math/libm-test.inc (print_float, issignaling_test): New
15681 (check_float_internal): Add issignaling checks.
15682 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15683 default definition.
15684 * sysdeps/powerpc/math-tests.h: New file.
15685 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15687 * math/test-snan.c (TEST_FUNC): Likewise.
15689 2013-03-30 David S. Miller <davem@davemloft.net>
15691 * po/de.po: Update from translation team.
15693 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15696 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15697 imaginary part less than 1.0 and real part less than 0.5
15699 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15700 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15701 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15702 (cacos_test): Add more tests.
15703 (casin_test): Likewise.
15704 (casinh_test): Likewise.
15705 * sysdeps/i386/fpu/libm-test-ulps: Update.
15706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15708 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15710 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15711 ONE with its value.
15713 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15714 (__pow_mp): Replace ONE and MONE with their values.
15715 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15716 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15717 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15718 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15719 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15720 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15722 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15724 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15725 (__pow_mp): Replace ZERO and MZERO with their values.
15726 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15727 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15728 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15730 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15731 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15734 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15736 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15738 2013-03-28 Roland McGrath <roland@hack.frob.com>
15740 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15741 Declare with __attribute__ ((weak)).
15742 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15743 Call __call_tls_dtors only if it's not NULL.
15745 2013-03-28 Roland McGrath <roland@hack.frob.com>
15747 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15748 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15749 magic __ehdr_start linker symbol if it's defined.
15750 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15751 them up here if it was already done.
15753 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15754 (_dl_aux_init): Use const in cast when setting it.
15755 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15756 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15757 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15759 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15761 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15762 * csu/libc-tls.c: Nor here.
15763 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15765 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15766 (__libc_message): Never call vsyslog.
15768 2013-03-28 Alan Modra <amodra@gmail.com>
15770 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15772 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15775 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15778 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15782 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15785 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15786 Don't add gid passed as argument.
15788 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15790 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15793 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15794 imaginary part between 1.0 and 1.5 and real part less than 0.5
15796 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15797 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15798 * math/libm-test.inc (cacos_test): Add more tests.
15799 (casin_test): Likewise.
15800 (casinh_test): Likewise.
15801 * sysdeps/i386/fpu/libm-test-ulps: Update.
15802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15804 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15806 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15809 (denorm): Likewise.
15810 (__dbl_mp): Likewise.
15811 (add_magnitudes): Likewise.
15812 (sub_magnitudes): Likewise.
15820 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15822 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15823 (__dubcos): Likewise.
15824 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15825 (__ieee754_acos): Likewise.
15826 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15827 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15828 (__exp1): Likewise.
15829 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15830 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15832 (my_log2): Likewise.
15833 (checkint): Likewise.
15834 * sysdeps/ieee754/dbl-64/e_remainder.c
15835 (__ieee754_remainder): Likewise.
15836 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15837 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15838 (bsloww): Likewise.
15839 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15841 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15842 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15843 MANTISSA_STORE_T to store computations on mantissa. Use
15844 macros for rounding and division.
15845 (denorm): Likewise.
15846 (__dbl_mp): Likewise.
15847 (add_magnitudes): Likewise.
15848 (sub_magnitudes): Likewise.
15851 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15852 powers of two in terms of TWOPOW macro.
15853 (mp_no): Make type of mantissa as MANTISSA_T.
15854 [!RADIXI]: Define RADIXI.
15855 [!TWO52]: Define TWO52.
15856 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15858 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15860 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15861 llroundl symbol when building for PPC32.
15863 2013-03-24 Mark H Weaver <mhw@netris.org>
15865 * manual/arith.texi (Normalization Functions): Fix prototypes for
15866 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15868 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15871 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15872 high value to check if expl overflow.
15873 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15874 to check for underflow and overflow.
15875 * math/libm-test.inc: Add exp test.
15877 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15880 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15883 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15885 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15888 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15890 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15891 wrap blocks consisting of several statements.
15893 * sysdeps/generic/math-tests.h: New file.
15894 * sysdeps/i386/fpu/math-tests.h: Likewise.
15895 * math/test-snan.c: Include it.
15896 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15898 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15901 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15902 (__ieee754_j0l): Do not improve calculations using cos of twice
15903 input for inputs above LDBL_MAX / 2.0L.
15904 (__ieee754_y0l): Likewise.
15905 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15906 (__ieee754_j1l): Do not improve calculations using cos of twice
15907 input for inputs above LDBL_MAX / 2.0L.
15908 (__ieee754_y1l): Likewise.
15909 * math/libm-test.inc (j0_test): Add another test.
15910 (j1_test): Likewise.
15911 (y0_test): Likewise.
15912 (y1_test): Likewise.
15913 * sysdeps/i386/fpu/libm-test-ulps: Update.
15915 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15917 * Rules ($(objpfx)bench-%.c): Include code from a C source
15920 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15923 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15924 imaginary part 1.0 and real part less than 0.5 specially.
15925 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15926 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15927 * math/libm-test.inc (cacos_test): Add more tests.
15928 (casin_test): Likewise.
15929 (casinh_test): Likewise.
15930 * sysdeps/i386/fpu/libm-test-ulps: Update.
15931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15933 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15935 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15936 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15938 2013-03-20 Joseph Myers <joseph@codesourcery.com>
15940 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15941 * config.make.in (config-cflags-sse4): Remove variable.
15942 (config-cflags-avx): Likewise.
15943 (config-cflags-sse2avx): Likewise.
15944 (config-cflags-novzeroupper): Likewise.
15945 (config-asflags-i686): Likewise.
15946 (have-mfma4): Likewise.
15947 (have-as-vis3): Likewise.
15949 * configure.in (MIG): Do not AC_SUBST.
15950 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15951 (libc_cv_cc_sse4): Do not AC_SUBST.
15952 (libc_cv_cc_avx): Likewise.
15953 (libc_cv_cc_sse2avx): Likewise.
15954 (libc_cv_cc_novzeroupper): Likewise.
15955 (libc_cv_cc_fma4): Likewise.
15956 (libc_cv_as_i686): Likewise.
15957 (libc_cv_sparc_as_vis3): Likewise.
15958 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15960 (config-asflags-i686): Likewise.
15961 (config-cflags-avx): Likewise.
15962 (config-cflags-sse2avx): Likewise.
15963 (have-mfma4): Likewise.
15964 (config-cflags-novzeroupper): Likewise.
15965 * sysdeps/mach/configure.in (MIG): Likewise.
15966 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15967 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15969 (config-cflags-avx): Likewise.
15970 (config-cflags-sse2avx): Likewise.
15971 (have-mfma4): Likewise.
15972 (config-cflags-novzeroupper): Likewise.
15973 * configure: Regenerated.
15974 * sysdeps/i386/configure: Likewise.
15975 * sysdeps/mach/configure: Likewise.
15976 * sysdeps/sparc/configure: Likewise.
15977 * sysdeps/x86_64/configure: Likewise.
15979 2013-03-20 Roland McGrath <roland@hack.frob.com>
15982 * locale/programs/localedef.c (options): Put N_ translation marker
15983 on argument names, not just descriptions.
15985 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15987 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15989 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
15992 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15994 2013-03-19 Roland McGrath <roland@hack.frob.com>
15996 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15997 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15998 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15999 [!BEFORE_ABORT] (before_abort): New function.
16000 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16001 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16002 (writev_for_fatal): New function.
16003 (WRITEV_FOR_FATAL): New macro; call that.
16004 (backtrace_and_maps): New function.
16005 (BEFORE_ABORT): New macro; call that.
16006 (struct str_list): Type removed.
16007 (__libc_message, __libc_fatal): Functions removed.
16008 Include <sysdeps/posix/libc_fatal.c> instead.
16010 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16012 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16014 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16017 2013-03-19 Andreas Schwab <schwab@suse.de>
16019 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16020 * sysdeps/gnu/configure: Regenerate.
16022 * configure.in: Substitute libc_cv_rtlddir.
16023 * configure: Regenerate.
16024 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16025 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16026 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16027 * elf/Makefile (install-others, CFLAGS-interp.c)
16028 (ldso_install, common-ldd-rewrite): Likewise.
16029 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16030 $(inst_slibdir)/$(rtld-installed-name).
16031 * scripts/rellns-sh: Add -p option.
16032 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16035 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16037 * manual/nptl.texi: Renamed to ...
16038 * manual/threads.texi: ... this.
16039 * manual/Makefile (chapters): Update.
16041 2013-03-18 Roland McGrath <roland@hack.frob.com>
16044 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16045 on argument names, not just descriptions.
16046 * malloc/memusagestat.c (options): Likewise.
16047 * nss/getent.c (options): Likewise.
16049 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16052 * iconv/iconv_prog.c (options): Put N_ translation marker
16053 on argument names, not just descriptions.
16054 * iconv/iconvconfig.c (options): Likewise.
16056 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16058 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16059 implementation which is faster on all x86_64 architectures.
16060 Tested on AMD, Intel Nehalem, SNB, IVB.
16061 * sysdeps/x86_64/strnlen.S: Likewise.
16063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16064 Remove all multiarch strlen and strnlen versions.
16065 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16066 Remove strlen and strnlen related parts.
16068 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16069 Inline strlen part.
16070 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16072 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16073 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16074 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16075 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16076 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16077 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16079 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16081 * manual/memory.texi (Malloc Tunable Parameters):
16082 Sort parameters alphabetically. Add comments for missing entries.
16084 2013-03-17 David S. Miller <davem@davemloft.net>
16086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16088 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16091 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16092 for arguments at most half maximum finite value.
16093 * math/libm-test.inc (j0_test): Add more tests.
16094 (j1_test): Likewise.
16095 (y0_test): Likewise.
16096 (y1_test): Likewise.
16097 * sysdeps/i386/fpu/libm-test-ulps: Update.
16098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16101 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16102 1 / x and functions P and Q for arguments above 0x1p256L.
16103 (__ieee754_y0l): Likewise.
16104 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16105 (__ieee754_y1l): Likewise.
16106 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16107 (j1_test): Likewise.
16108 (y0_test): Likewise.
16109 (y1_test): Likewise.
16111 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16113 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16116 2013-03-15 Roland McGrath <roland@hack.frob.com>
16118 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16119 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16120 zero since it's initialized to EXEC_PAGESIZE.
16122 * sysdeps/unix/sysv/linux/ldsodefs.h
16123 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16124 * sysdeps/generic/ldsodefs.h: ... here.
16126 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16128 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16130 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16132 * math/test-snan.c: Renamed from
16133 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16134 * math/Makefile (tests): Add test-snan.
16135 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16138 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16139 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16141 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16142 __builtin_nan family of functions.
16143 * math/libm-test.inc (initialize): Initialize qnan_value with
16144 __builtin_nan family of functions.
16145 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16147 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16149 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16150 storage class. Initialize qNaN_var and sNaN_var with
16151 __builtin_nan and __builtin_nans families of functions,
16154 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16155 (sqrt_test): Remove duplicate test with qNaN input.
16156 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16157 (round_test, signbit_test, significand_test): Note missing +/-Inf
16158 as well as qNaN tests.
16160 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16161 qNaN_var. Fix a few strings, too.
16162 * math/libm-test.inc (nan_value): Rename to qnan_value.
16163 * math/gen-libm-test.pl (%beautify): Adjust to that.
16164 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16165 * math/test-misc.c (main): Likewise.
16166 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16167 to __qnan_bytes, and __qnan_union, respectively.
16168 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16170 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16171 and lqnanval, respectively.
16172 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16173 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16174 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16175 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16177 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16178 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16181 * math/test-misc.c (main): Fix copy'n'pastos.
16182 * misc/tst-efgcvt.c (special): Likewise.
16184 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16185 Remove declarations.
16187 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16189 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16190 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16191 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16192 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16194 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16196 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16197 macro to return vdso values correctly in IFUNC implementations.
16198 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16199 Optimization by using IFUNC.
16201 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16202 Richard Henderson <rth@redhat.com>
16203 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16205 * Makefile.in (bench): New target.
16206 * NEWS: Mention the benchmark framework.
16207 * Rules (bench): Likewise.
16208 (binaries-bench): Generate binaries for functions to
16210 * benchtests/Makefile: New makefile for benchmark tests.
16211 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16213 * benchtests/exp-inputs: New input file for EXP function.
16214 * benchtests/pow-inputs: New input file for POW function.
16215 * scripts/bench.pl: New script to generate source files for
16216 benchmark programs.
16218 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16220 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16221 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16222 computations on mantissa. Use macros for rounding and
16224 (denorm): Likewise.
16225 (__dbl_mp): Likewise.
16226 (add_magnitudes): Likewise.
16227 (sub_magnitudes): Likewise.
16230 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16231 powers of two in terms of TWOPOW macro.
16232 (mp_no): Make type of mantissa as MANTISSA_T.
16233 [!RADIXI]: Define RADIXI.
16234 [!TWO52]: Define TWO52.
16235 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16237 * manual/nptl.texi (cindex): Modify threads to pthreads.
16239 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16241 * sysdeps/x86_64/preconfigure: Regenerated.
16243 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16246 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16248 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16249 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16251 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16252 * math/libm-test.inc (j0_test): Do not allow one spurious
16253 underflow exception.
16254 (y1_test): Likewise.
16256 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16258 * manual/Makefile (chapters): Add nptl.
16259 * manual/debug.texi (Debugging Support): Add link to Threads
16261 * manual/nptl.texi: New file.
16263 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16265 2013-03-14 Petr Baudis <pasky@ucw.cz>
16267 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16268 for non-NULL pointer before the memory validity test. Pointed
16269 out by Holger Brunck <holger.brunck@keymile.com>.
16271 2013-03-13 Andreas Schwab <schwab@suse.de>
16273 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16276 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16278 * timezone/zic.c: Update from tzcode 2013b.
16280 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16282 * manual/install.texi (Configuring and compiling):
16283 Mention i686 and i586.
16284 * INSTALL: Regenerate.
16286 2013-03-12 Roland McGrath <roland@hack.frob.com>
16288 * sysdeps/init_array/elf-init.c: New file.
16290 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16291 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16293 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16294 __gmon_start__ as global, but as static with a .preinit_array pointer.
16295 * sysdeps/init_array/gmon-start.c: New file. Use that.
16296 * sysdeps/init_array/crti.S: New file, empty except for comments.
16297 * sysdeps/init_array/crtn.S: Likewise.
16299 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16301 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16304 Remove Prefer_SSE_for_memop.
16305 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16306 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16307 HAS_PREFER_SSE_FOR_MEMOP.
16308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16310 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16311 Remove bzero, memset ifunc support.
16312 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16313 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16314 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16315 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16317 2013-03-11 Andreas Schwab <schwab@suse.de>
16320 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16323 (GLIBC_2.16): Remove pthread_atfork.
16325 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16327 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16328 (ptestcases.h): Likewise.
16330 2013-03-08 Roland McGrath <roland@hack.frob.com>
16332 * Makeconfig ($(common-objpfx)config.status): Depend on
16333 sysdeps/*/preconfigure{,.in} too.
16335 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16337 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16338 (__free_hook): Use void * instead of __malloc_ptr_t.
16339 (__malloc_hook): Likewise.
16340 (__realloc_hook): Likewise.
16341 (__memalign_hook): Likewise.
16342 (__after_morecore_hook): Likewise.
16343 * malloc/arena.c (save_malloc_hook): Likewise.
16344 (save_free_hook): Likewise.
16345 * malloc/hooks.c (malloc_hook_ini): Likewise.
16346 (realloc_hook_ini): Likewise.
16347 (memalign_hook_ini): Likewise.
16348 * malloc/malloc.c (malloc_hook_ini): Likewise.
16349 (realloc_hook_ini): Likewise.
16350 (memalign_hook_ini): Likewise.
16351 (__free_hook): Likewise.
16352 (__malloc_hook): Likewise.
16353 (__realloc_hook): Likewise.
16354 (__memalign_hook): Likewise.
16355 (__libc_malloc): Likewise.
16356 (__libc_free): Likewise.
16357 (__libc_realloc): Likewise.
16358 (__libc_memalign): Likewise.
16359 (__libc_valloc): Likewise.
16360 (__libc_pvalloc): Likewise.
16361 (__libc_calloc): Likewise.
16362 (__posix_memalign): Likewise.
16363 * malloc/morecore.c (__sbrk): Likewise.
16364 (__default_morecore): Likewise.
16366 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16368 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16369 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16370 __malloc_ptrdiff_t.
16372 * malloc/malloc.h (__malloc_size_t): Remove macro.
16373 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16375 (old_memalign_hook): Likewise.
16376 (old_realloc_hook): Likewise.
16377 (struct hdr): Likewise.
16379 (mallochook): Likewise.
16380 (memalignhook): Likewise.
16381 (reallochook): Likewise.
16382 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16383 (tr_old_realloc_hook): Likewise.
16384 (tr_old_memalign_hook): Likewise.
16385 (tr_mallochook): Likewise.
16386 (tr_reallochook): Likewise.
16387 (tr_memalignhook): Likewise.
16389 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16391 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16392 default_ldbl_pack and using as default implementation.
16393 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16395 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16396 redundant definition.
16397 (ldbl_insert_mantissa): Likewise.
16398 (ldbl_canonicalize): Likewise.
16399 (ldbl_nearbyint): Likewise.
16400 (ldbl_pack): Rename to ldbl_pack_ppc.
16401 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16402 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16403 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16405 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16408 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16409 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16410 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16412 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16413 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16414 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16416 2013-03-07 Andreas Jaeger <aj@suse.de>
16418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16421 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16423 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16424 Include mpa.h and declare __MPEXP.
16425 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16426 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16427 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16428 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16429 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16430 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16431 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16433 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16434 (__slowpow): Use long double EXPL and LOGL functions to
16436 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16437 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16438 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16439 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16440 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16441 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16444 intermediate variable to calculate exponent.
16446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16450 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16451 [!NO__SQR]: Define __sqr.
16452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16453 and NO__SQR. Remove all code except __mul and __sqr. Include
16454 sysdeps/ieee754/dbl-64/mpa.c.
16455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16458 * posix/Makefile (tests): Add tst-pathconf.
16459 * posix/tst-pathconf.c: New test case.
16460 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16462 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16464 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16466 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16468 2013-03-06 Andreas Jaeger <aj@suse.de>
16470 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16471 definition via __MAP_ANONYMOUS.
16473 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16474 it's not part of Linux headers.
16476 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16477 (MAP_HUGE_MASK): Define.
16479 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16481 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16482 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16484 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16485 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16487 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16488 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16490 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16492 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16493 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16494 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16495 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16496 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16497 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16499 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16502 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16503 Handle f2fs and efivarfs.
16505 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16508 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16509 (EFIVARFS_MAGIC): Add.
16510 (F2FS_LINK_MAX): Add.
16512 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16514 * stdio-common/vfprintf.c: Replace __builtin_expect with
16517 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16520 * sysdeps/generic/bp-sym.h: Remove file.
16521 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16522 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16523 <bp-sym.h> and <bp-asm.h>.
16524 (__longjmp): Don't use BP_SYM.
16525 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16527 (memcpy): Don't use BP_SYM.
16528 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16529 <bp-sym.h> and <bp-asm.h>.
16530 (memcpy): Don't use BP_SYM.
16531 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16533 (memcpy): Don't use BP_SYM.
16534 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16536 (memset): Don't use BP_SYM.
16537 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16538 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16539 (__bzero): Don't use BP_SYM.
16540 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16541 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16542 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16543 <bp-sym.h> and <bp-asm.h>.
16544 (memcmp): Don't use BP_SYM. Remove comment about bounded
16546 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16547 <bp-sym.h> and <bp-asm.h>.
16548 (memcpy): Don't use BP_SYM.
16549 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16550 <bp-sym.h> and <bp-asm.h>.
16551 (memset): Don't use BP_SYM.
16552 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16553 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16554 (__bzero): Don't use BP_SYM.
16555 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16556 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16557 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16558 <bp-sym.h> and <bp-asm.h>.
16559 (strncmp): Don't use BP_SYM. Remove comment about bounded
16561 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16562 <bp-sym.h> and <bp-asm.h>.
16563 (memcpy): Don't use BP_SYM.
16564 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16565 <bp-sym.h> and <bp-asm.h>.
16566 (memset): Don't use BP_SYM.
16567 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16568 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16569 (__bzero): Don't use BP_SYM.
16570 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16571 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16572 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16573 <bp-sym.h> and <bp-asm.h>.
16574 (__memchr): Don't use BP_SYM.
16575 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16576 <bp-sym.h> and <bp-asm.h>.
16577 (memcmp): Don't use BP_SYM. Remove comment about bounded
16579 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16580 <bp-sym.h> and <bp-asm.h>.
16581 (memcpy): Don't use BP_SYM.
16582 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16583 <bp-sym.h> and <bp-asm.h>.
16584 (__mempcpy): Don't use BP_SYM.
16585 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16586 <bp-sym.h> and <bp-asm.h>.
16587 (__memrchr): Don't use BP_SYM.
16588 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16589 <bp-sym.h> and <bp-asm.h>.
16590 (memset): Don't use BP_SYM.
16591 (__bzero): Likewise.
16592 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16593 <bp-sym.h> and <bp-asm.h>.
16594 (__rawmemchr): Don't use BP_SYM.
16595 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16596 <bp-sym.h> and <bp-asm.h>.
16597 (__STRCMP): Don't use BP_SYM.
16598 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16599 <bp-sym.h> and <bp-asm.h>.
16600 (strchr): Don't use BP_SYM.
16601 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16602 <bp-sym.h> and <bp-asm.h>.
16603 (__strchrnul): Don't use BP_SYM.
16604 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16605 <bp-sym.h> and <bp-asm.h>.
16606 (strlen): Don't use BP_SYM.
16607 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16608 <bp-sym.h> and <bp-asm.h>.
16609 (strncmp): Don't use BP_SYM. Remove comment about bounded
16611 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16612 <bp-sym.h> and <bp-asm.h>.
16613 (__strnlen): Don't use BP_SYM.
16614 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16615 <bp-sym.h> and <bp-asm.h>.
16616 (__GI__setjmp): Don't use BP_SYM.
16617 (_setjmp): Likewise.
16618 (__sigsetjmp): Likewise.
16619 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16620 (L(start_addresses)): Don't use BP_SYM.
16621 (_start): Likewise.
16622 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16624 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16625 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16626 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16627 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16628 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16630 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16631 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16632 about bounded pointers.
16633 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16634 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16635 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16637 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16638 about bounded pointers. Remove GKM FIXME comments.
16639 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16640 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16642 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16643 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16644 Remove GKM FIXME comments.
16645 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16646 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16647 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16649 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16650 about bounded pointers. Remove GKM FIXME comment.
16651 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16653 (strncmp): Don't use BP_SYM. Remove comment about bounded
16655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16656 <bp-sym.h> and <bp-asm.h>.
16657 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16659 <bp-sym.h> and <bp-asm.h>.
16660 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16663 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16665 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16668 2013-03-05 David S. Miller <davem@davemloft.net>
16670 * po/es.po: Update from translation team.
16672 2013-03-05 Andreas Jaeger <aj@suse.de>
16674 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16675 <bits/mman-linux.h>.
16676 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16678 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16679 <bits/mman-linux.h> to end of file.
16680 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16682 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16683 <bits/mman-linux.h> to end of file.
16684 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16686 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16687 <bits/mman-linux.h> to end of file.
16689 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16690 (MCL_CURRENT, MCL_FUTURE): Define here.
16692 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16695 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16697 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16699 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16701 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16702 fourth parameter needed for rt_sigprocmask syscall.
16703 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16704 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16705 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16706 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16707 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16708 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16710 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16713 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16714 comment about bounded pointers.
16715 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16716 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16718 2013-03-04 Andreas Jaeger <aj@suse.de>
16720 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16721 common definitions.
16723 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16724 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16725 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16726 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16727 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16728 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16730 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16733 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16734 __ieee754_sqrl instead of __sqrl.
16736 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16738 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16739 * sysdeps/powerpc/fpu_control.h: ... here.
16740 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16741 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16742 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16743 * sysdeps/powerpc/bits/mathinline.h: ... here.
16745 2013-03-01 Roland McGrath <roland@hack.frob.com>
16747 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16748 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16749 to just [NEED_DL_SYSINFO_DSO].
16750 * elf/dl-support.c: Likewise.
16751 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16752 * elf/rtld.c (dl_main): Likewise.
16753 * elf/setup-vdso.h (setup_vdso): Likewise.
16754 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16755 * sysdeps/unix/sysv/linux/dl-sysdep.c
16756 (_dl_discover_osversion): Likewise.
16758 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16760 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16761 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16763 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16765 * NEWS: Mention libm performance improvements and non-x86 PI
16768 * csu/libc-start.c (__pthread_initialize_minimal): Change
16769 function arguments.
16770 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16772 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16775 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16776 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16777 <bp-sym.h> and <bp-asm.h>.
16778 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16779 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16781 (memcpy): Don't use BP_SYM.
16782 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16784 (__mpn_add_n): Don't use BP_SYM.
16785 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16786 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16788 (__mpn_addmul_1): Don't use BP_SYM.
16789 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16790 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16792 (_setjmp): Don't use BP_SYM.
16793 (__novmx_setjmp): Likewise.
16794 (__GI__setjmp): Likewise.
16795 (__vmx_setjmp): Likewise.
16796 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16798 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16799 (__bzero): Don't use BP_SYM.
16800 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16801 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16802 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16803 <bp-sym.h> and <bp-asm.h>.
16804 (memcpy): Don't use BP_SYM.
16805 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16806 <bp-sym.h> and <bp-asm.h>.
16807 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16808 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16809 <bp-sym.h> and <bp-asm.h>.
16810 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16811 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16813 (__mpn_lshift): Don't use BP_SYM.
16814 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16815 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16817 (memset): Don't use BP_SYM.
16818 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16819 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16820 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16822 (__mpn_mul_1): Don't use BP_SYM.
16823 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16824 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16825 <bp-sym.h> and <bp-asm.h>.
16826 (memcmp): Don't use BP_SYM.
16827 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16828 <bp-sym.h> and <bp-asm.h>.
16829 (memcpy): Don't use BP_SYM.
16830 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16831 <bp-sym.h> and <bp-asm.h>.
16832 (memset): Don't use BP_SYM.
16833 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16834 <bp-sym.h> and <bp-asm.h>.
16835 (strncmp): Don't use BP_SYM.
16836 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16837 <bp-sym.h> and <bp-asm.h>.
16838 (memcpy): Don't use BP_SYM.
16839 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16840 <bp-sym.h> and <bp-asm.h>.
16841 (memset): Don't use BP_SYM.
16842 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16843 <bp-sym.h> and <bp-asm.h>.
16844 (__memchr): Don't use BP_SYM.
16845 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16846 <bp-sym.h> and <bp-asm.h>.
16847 (memcmp): Don't use BP_SYM.
16848 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16849 <bp-sym.h> and <bp-asm.h>.
16850 (memcpy): Don't use BP_SYM.
16851 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16852 <bp-sym.h> and <bp-asm.h>.
16853 (__mempcpy): Don't use BP_SYM.
16854 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16855 <bp-sym.h> and <bp-asm.h>.
16856 (__memrchr): Don't use BP_SYM.
16857 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16858 <bp-sym.h> and <bp-asm.h>.
16859 (memset): Don't use BP_SYM.
16860 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16861 <bp-sym.h> and <bp-asm.h>.
16862 (__rawmemchr): Don't use BP_SYM.
16863 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16864 <bp-sym.h> and <bp-asm.h>.
16865 (__STRCMP): Don't use BP_SYM.
16866 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16867 <bp-sym.h> and <bp-asm.h>.
16868 (strchr): Don't use BP_SYM.
16869 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16870 <bp-sym.h> and <bp-asm.h>.
16871 (__strchrnul): Don't use BP_SYM.
16872 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16873 <bp-sym.h> and <bp-asm.h>.
16874 (strlen): Don't use BP_SYM.
16875 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16876 <bp-sym.h> and <bp-asm.h>.
16877 (strncmp): Don't use BP_SYM.
16878 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16879 <bp-sym.h> and <bp-asm.h>.
16880 (__strnlen): Don't use BP_SYM.
16881 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16883 (__mpn_rshift): Don't use BP_SYM.
16884 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16885 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16886 <bp-sym.h> and <bp-asm.h>.
16887 (__sigsetjmp): Don't use BP_SYM.
16888 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16889 (L(start_addresses)): Don't use BP_SYM.
16890 (_start): Likewise.
16891 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16893 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16894 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16895 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16896 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16898 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16899 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16900 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16901 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16903 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16905 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16906 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16908 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16910 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16911 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16912 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16914 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16916 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16918 (strncmp): Don't use BP_SYM,
16919 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16921 (__mpn_sub_n): Don't use BP_SYM.
16922 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16923 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16925 (__mpn_submul_1): Don't use BP_SYM.
16926 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16928 <bp-sym.h> and <bp-asm.h>.
16929 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16931 <bp-sym.h> and <bp-asm.h>.
16932 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16935 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16938 Use ZK to minimize writes to Z.
16939 (sub_magnitudes): Simplify code a bit.
16940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16941 Use ZK to minimize writes to Z.
16942 (sub_magnitudes): Simplify code a bit.
16944 2013-02-27 Roland McGrath <roland@hack.frob.com>
16946 * csu/gmon-start.c: Add special exception to license text.
16948 2013-02-27 Richard Henderson <rth@redhat.com>
16950 * scripts/config.guess: Update from config.git.
16951 * scripts/config.sub: Likewise.
16953 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16955 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16957 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16959 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16961 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16963 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16965 2013-02-26 Roland McGrath <roland@hack.frob.com>
16967 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16968 [$(build-shared = yes].
16970 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16972 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16973 (__mul): Reduce iterations for calculating mantissa.
16975 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16977 (__mpranred): Likewise.
16980 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16981 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16983 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16985 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16986 Define __attribute__.
16988 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16990 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16992 * posix/regex_internal.h (__attribute): Remove.
16993 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16994 (re_string_context_at): Likewise.
16995 (bitset_not): Use __attribute__ and mark function as possibly
16997 (bitset_merge): Likewise.
16998 (bitset_mask): Likewise.
16999 (re_string_char_size_at): Likewise.
17000 (re_string_wchar_at): Likewise.
17001 (re_string_elem_size_at): Likewise.
17003 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17005 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17009 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17013 (denorm): Likewise.
17014 (__dbl_mp): Likewise.
17015 (add_magnitudes): Likewise.
17016 (sub_magnitudes): Likewise.
17020 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17023 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17026 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17030 up changes with default code.
17031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17034 2013-02-24 Allan McRae <allan@archlinux.org>
17036 * manual/socket.texi (The Internet Namespace): Order menu items
17037 to match that in the file.
17039 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17040 node listing of the info page menu.
17042 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17045 * sysdeps/i386/bp-asm.h: Remove file.
17046 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17047 (PARMS): Do not use macros from bp-asm.h.
17051 (__mpn_add_n): Do not use BP_SYM
17052 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17054 (PARMS): Do not use macros from bp-asm.h.
17057 (__mpn_addmul_1): Do not use BP_SYM
17058 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17060 (PARMS): Do not use macros from bp-asm.h.
17061 (SIGMSK): Likewise.
17062 (_setjmp): Likewise. Do not use BP_SYM.
17063 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17065 (PARMS): Do not use macros from bp-asm.h.
17066 (SIGMSK): Likewise.
17067 (setjmp): Likewise. Do not use BP_SYM.
17068 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17070 (PARMS): Do not use macros from bp-asm.h.
17071 (__frexp): Do not use BP_SYM.
17073 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17075 (PARMS): Do not use macros from bp-asm.h.
17076 (__frexpf): Do not use BP_SYM.
17077 (frexpf): Likewise.
17078 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17080 (PARMS): Do not use macros from bp-asm.h.
17081 (__frexpl): Do not use BP_SYM.
17082 (frexpl): Likewise.
17083 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17085 (PARMS): Do not use macros from bp-asm.h.
17086 (__remquo): Do not use BP_SYM.
17087 (remquo): Likewise.
17088 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17090 (PARMS): Do not use macros from bp-asm.h.
17091 (__remquof): Do not use BP_SYM.
17092 (remquof): Likewise.
17093 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17095 (PARMS): Do not use macros from bp-asm.h.
17096 (__remquol): Do not use BP_SYM.
17097 (remquol): Likewise.
17098 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17100 (PARMS): Do not use macros from bp-asm.h.
17103 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17104 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17106 (PARMS): Do not use macros from bp-asm.h.
17107 (strlen): Do not use BP_SYM.
17108 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17110 (PARMS): Do not use macros from bp-asm.h.
17114 (__mpn_add_n): Do not use BP_SYM.
17115 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17117 (PARMS): Do not use macros from bp-asm.h.
17120 (__mpn_addmul_1): Do not use BP_SYM.
17121 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17124 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17126 (PARMS): Do not use macros from bp-asm.h.
17129 (__mpn_lshift): Do not use BP_SYM.
17130 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17132 (PARMS): Do not use macros from bp-asm.h.
17136 (memcpy): Likewise. Do not use BP_SYM.
17137 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17138 libc_hidden_def and weak_alias.
17139 (mempcpy): Do not use BP_SYM in weak_alias.
17140 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17142 (PARMS): Do not use macros from bp-asm.h.
17145 [!BZERO_P] (CHR): Likewise.
17146 (memset): Likewise. Do not use BP_SYM.
17147 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17149 (PARMS): Do not use macros from bp-asm.h.
17152 (__mpn_mul_1): Do not use BP_SYM.
17153 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17155 (PARMS): Do not use macros from bp-asm.h.
17158 (__mpn_rshift): Do not use BP_SYM.
17159 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17161 (PARMS): Do not use macros from bp-asm.h.
17164 (strchr): Likewise. Do not use BP_SYM.
17165 (index): Do not use BP_SYM in weak_alias.
17166 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17168 (PARMS): Do not use macros from bp-asm.h.
17171 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17172 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17174 (PARMS): Do not use macros from bp-asm.h.
17175 (strlen): Do not use BP_SYM.
17176 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17178 (PARMS): Do not use macros from bp-asm.h.
17182 (__mpn_sub_n): Do not use BP_SYM.
17183 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17185 (PARMS): Do not use macros from bp-asm.h.
17188 (__mpn_submul_1): Do not use BP_SYM.
17189 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17191 (PARMS): Do not use macros from bp-asm.h.
17195 (__mpn_add_n): Do not use BP_SYM.
17196 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17199 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17201 (PARMS): Do not use macros from bp-asm.h.
17204 (memcmp): Do not use BP_SYM.
17205 (bcmp): Do not use BP_SYM in weak_alias.
17206 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17208 (PARMS): Do not use macros from bp-asm.h.
17212 (memcpy): Likewise. Do not use BP_SYM.
17213 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17215 (PARMS): Do not use macros from bp-asm.h.
17219 (memmove): Likewise. Do not use BP_SYM.
17220 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17222 (PARMS): Do not use macros from bp-asm.h.
17226 (__mempcpy): Likewise. Do not use BP_SYM.
17227 (mempcpy): Do not use BP_SYM in weak_alias.
17228 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17230 (PARMS): Do not use macros from bp-asm.h.
17233 [!BZERO_P] (CHR): Likewise.
17234 (memset): Likewise. Do not use BP_SYM.
17235 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17237 (PARMS): Do not use macros from bp-asm.h.
17239 (strcmp): Do not use BP_SYM.
17240 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17242 (PARMS): Do not use macros from bp-asm.h.
17245 [USE_AS_STRTOK_R] (SAVE): Likewise.
17246 (FUNCTION): Likewise. Do not use BP_SYM.
17247 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17249 (strtok_r): Likewise.
17250 (__GI___strtok_r): Likewise.
17251 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17252 (PARMS): Do not use macros from bp-asm.h.
17255 (__mpn_lshift): Do not use BP_SYM.
17256 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17257 (PARMS): Do not use macros from bp-asm.h.
17260 (__memchr): Do not use BP_SYM.
17261 (memchr): Do not use BP_SYM in weak_alias.
17262 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17263 (PARMS): Do not use macros from bp-asm.h.
17266 (memcmp): Do not use BP_SYM.
17267 (bcmp): Do not use BP_SYM in weak_alias.
17268 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17269 (PARMS): Do not use macros from bp-asm.h.
17272 (__mpn_mul_1): Do not use BP_SYM.
17273 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17275 (PARMS): Do not use macros from bp-asm.h.
17278 (__rawmemchr): Do not use BP_SYM.
17279 (rawmemchr): Do not use BP_SYM in weak_alias.
17280 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17281 (PARMS): Do not use macros from bp-asm.h.
17284 (__mpn_rshift): Do not use BP_SYM.
17285 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17286 (PARMS): Do not use macros from bp-asm.h.
17287 (SIGMSK): Likewise.
17288 (__sigsetjmp): Likewise. Do not use BP_SYM.
17289 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17290 (_start): Do not use BP_SYM.
17291 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17292 (PARMS): Do not use macros from bp-asm.h.
17295 (__stpcpy): Likewise. Do not use BP_SYM.
17296 (stpcpy): Do not use BP_SYM in weak_alias.
17297 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17299 (PARMS): Do not use macros from bp-asm.h.
17303 (__stpncpy): Likewise. Do not use BP_SYM.
17304 (stpncpy): Do not use BP_SYM in weak_alias.
17305 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17306 (PARMS): Do not use macros from bp-asm.h.
17309 (strchr): Likewise. Do not use BP_SYM.
17310 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17312 (PARMS): Do not use macros from bp-asm.h.
17315 (__strchrnul): Likewise. Do not use BP_SYM.
17316 (strchrnul): Do not use BP_SYM in weak_alias.
17317 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17319 (PARMS): Do not use macros from bp-asm.h.
17321 (strcspn): Do not use BP_SYM.
17322 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17324 (PARMS): Do not use macros from bp-asm.h.
17327 (strpbrk): Likewise. Do not use BP_SYM.
17328 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17330 (PARMS): Do not use macros from bp-asm.h.
17333 (strrchr): Likewise. Do not use BP_SYM.
17334 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17335 (PARMS): Do not use macros from bp-asm.h.
17337 (strspn): Do not use BP_SYM.
17338 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17339 (PARMS): Do not use macros from bp-asm.h.
17343 (FUNCTION): Likewise. Do not use BP_SYM.
17344 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17346 (strtok_r): Likewise.
17347 (__GI___strtok_r): Likewise.
17348 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17349 (PARMS): Do not use macros from bp-asm.h.
17353 (__mpn_sub_n): Do not use BP_SYM.
17354 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17356 (PARMS): Do not use macros from bp-asm.h.
17359 (__mpn_submul_1): Do not use BP_SYM.
17360 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17362 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17364 (PARMS): Do not use macros from bp-asm.h.
17369 (__clone): Do not use BP_SYM.
17370 (clone): Do not use BP_SYM in weak_alias.
17371 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17373 (PARMS): Do not use macros from bp-asm.h.
17375 (__mmap64): Do not use BP_SYM.
17376 (mmap64): Do not use BP_SYM in weak_alias.
17377 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17378 <bp-sym.h> and <bp-asm.h>.
17379 (PARMS): Do not use macros from bp-asm.h.
17380 (__posix_fadvise64_l64): Do not use BP_SYM.
17381 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17382 (PARMS): Do not use macros from bp-asm.h.
17384 (semtimedop): Do not use BP_SYM.
17385 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17388 2013-02-21 Allan McRae <allan@archlinux.org>
17390 * manual/message.texi (Charset conversion in gettext):
17391 Move @end statement to beginning of line.
17393 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17400 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17401 (denorm): Likewise.
17402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17405 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17407 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17408 tail-call to the resolved function if pltexit isn't needed.
17410 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17413 or Y being zero as being unlikely.
17414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17417 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17419 * manual/nss.texi (System Databases and Name Service Switch):
17420 Remove frobnicate @pxref.
17422 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17424 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17425 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17427 2013-02-20 Petr Machata <pmachata@redhat.com>
17429 * elf/elf.h (R_ARM_TARGET1): New macro.
17430 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17431 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17432 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17433 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17434 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17435 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17436 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17437 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17438 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17439 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17440 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17441 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17442 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17443 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17444 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17445 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17446 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17447 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17448 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17449 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17450 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17451 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17452 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17453 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17454 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17455 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17456 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17457 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17458 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17459 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17460 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17461 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17462 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17463 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17464 (R_ARM_THM_GOT_BREL12): Likewise.
17465 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17466 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17467 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17468 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17469 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17470 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17471 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17472 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17473 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17475 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17477 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17478 __attribute_used__ to __attribute__ ((unused)).
17480 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17482 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17485 comment formatting.
17486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17488 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17491 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17493 (ENTER): Remove both macro definitions.
17495 (CHECK_BOUNDS_LOW): Likewise.
17496 (CHECK_BOUNDS_HIGH): Likewise.
17497 (CHECK_BOUNDS_BOTH): Likewise.
17498 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17499 (RETURN_BOUNDED_POINTER): Likewise.
17500 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17501 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17502 (POP_ERRNO_LOCATION_RETURN): Likewise.
17503 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17504 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17505 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17507 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17508 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17509 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17510 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17511 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17512 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17513 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17514 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17515 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17516 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17517 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17518 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17519 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17520 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17522 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17523 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17525 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17526 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17527 * sysdeps/i386/i586/memset.S (memset): Likewise.
17528 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17529 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17530 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17532 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17533 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17534 Change uses of L(2) to L(out).
17535 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17536 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17537 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17538 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17539 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17541 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17542 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17544 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17545 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17546 (RETURN): Do not use macro LEAVE.
17547 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17548 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17549 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17550 * sysdeps/i386/i686/memset.S (memset): Likewise.
17551 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17552 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17553 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17554 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17556 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17557 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17558 L(1_2) and L(1_3) into L(1).
17559 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17560 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17561 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17562 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17563 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17564 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17565 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17566 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17567 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17569 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17570 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17571 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17572 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17573 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17574 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17575 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17576 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17577 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17578 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17579 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17580 * sysdeps/i386/strspn.S (strspn): Likewise.
17581 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17583 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17584 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17585 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17586 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17587 L(1_3) into L(1_1).
17588 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17589 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17590 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17592 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17594 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17596 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17599 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17601 * math/atest-exp.c (exp_mpn): Remove ROUND.
17602 * math/atest-exp2.c (exp_mpn): Likewise.
17603 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17605 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17606 * stdlib/tst-tls-atexit-lib.c: Likewise.
17607 * stdlib/tst-tls-atexit.c: Likewise.
17609 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17611 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17612 and __attribute_alloc_size__.
17614 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17616 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17617 __attribute_alloc_size__.
17618 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17619 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17621 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17623 * include/programs/xmalloc.h: New file.
17624 * catgets/gencat.c: Include it.
17625 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17626 * elf/pldd.c: Likewise.
17627 * iconv/iconv_charmap.c: Likewise.
17628 * iconv/iconvconfig.c: Likewise.
17629 * iconv/strtab.c: Likewise.
17630 * locale/programs/locale.c: Likewise.
17631 * locale/programs/localedef.h: Likewise.
17632 * locale/programs/simple-hash.c: Likewise.
17633 * nscd/nscd.h: Likewise.
17634 * nss/makedb.c: Likewise.
17635 * sysdeps/generic/ldconfig.h: Likewise.
17637 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17639 * Versions.def: Add GLIBC_2.18.
17640 * include/link.h (struct link_map): New member l_tls_dtor_count.
17641 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17642 (__call_tls_dtors): Likewise.
17643 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17644 __cxa_thread_atexit_impl.
17645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17653 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17661 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17662 (tests): Add test case tst-tls-atexit.
17663 (modules-names): Add shared library for tst-tls-atexit.
17664 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17665 (GLIBC_PRIVATE): Add __call_tls_dtors.
17666 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17668 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17669 * stdlib/tst-tls-atexit.c: New test case.
17670 * stdlib/tst-tls-atexit-lib.c: New test case.
17672 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17674 * elf/Versions (ld): Add _dl_find_dso_for_object.
17675 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17676 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17677 (dl_open_worker): Use _dl_find_dso_for_object.
17678 * elf/dl-sym.c (do_sym): Likewise.
17679 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17681 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17683 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17684 Syntactic changes only.
17685 (_dl_runtime_profile): Do a tail-call to the resolved function.
17687 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17690 * sysdeps/x86_64/bp-asm.h: Remove file.
17691 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17692 <bp-sym.h> and <bp-asm.h>.
17693 (__clone): Do not use BP_SYM.
17694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17695 <bp-sym.h> and <bp-asm.h>.
17696 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17697 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17699 (_setjmp): Do not use BP_SYM.
17700 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17702 (setjmp): Do not use BP_SYM.
17703 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17705 (mempcpy): Do not use BP_SYM in weak_alias.
17706 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17708 (strchr): Do not use BP_SYM.
17709 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17711 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17712 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17713 (_start): Do not use BP_SYM.
17714 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17716 (strcat): Do not use BP_SYM.
17717 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17719 (STRCMP): Do not use BP_SYM.
17720 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17722 (STRCPY): Do not use BP_SYM.
17723 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17725 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17727 (FUNCTION): Do not use BP_SYM.
17728 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17730 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17732 2013-02-17 Andreas Jaeger <aj@suse.de>
17734 * time/Versions: Sort entries.
17735 * string/Versions: Likewise.
17736 * resolv/Versions: Likewise.
17737 * posix/Versions: Likewise.
17738 * iconv/Versions: Likewise.
17739 * elf/Versions: Likewise.
17740 * wcsmbs/Versions: Likewise.
17742 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17744 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17745 loop termination condition.
17747 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17748 variable to calculate EZ.
17751 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17752 the lower precision input.
17754 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17757 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17758 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17759 (run-via-rtld-prefix): Do not handle %-bp tests.
17760 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17761 (all-object-suffixes): Remove .ob.
17762 (bppfx): Remove variable.
17763 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17764 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17765 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17766 [$(build-bounded) = yes] (libtype.ob): Likewise.
17767 * Makerules (elide-routines.ob): Remove variable.
17768 (do-tests-clean): Do not handle *-bp.out.
17769 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17770 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17771 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17772 (tests): Do not include $(tests-bp.out).
17773 (xtests): Do not include $(xtests-bp.out).
17774 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17775 [$(build-bounded) = yes] ($(addprefix
17776 $(objpfx),$(binaries-bounded))): Remove rule.
17777 ($(objpfx)%-bp.out): Remove rule.
17778 * config.make.in (build-bounded): Remove variable.
17779 * crypt/Makefile [$(build-bounded) = yes]
17780 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17781 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17782 append to variable.
17783 [$(build-bounded) = yes] (install-lib): Likewise.
17784 [$(build-bounded) = yes] (generated): Likewise.
17785 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17787 * intl/Makefile [$(build-bounded) = yes]
17788 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17789 * math/Makefile [$(build-bounded) = yes]
17790 ($(tests:%=$(objpfx)%-bp): Likewise.
17791 * misc/Makefile [$(build-bounded) = yes]
17792 ($(objpfx)tst-tsearch-bp): Likewise.
17793 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17794 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17796 * string/Makefile (o-objects.ob): Remove variable.
17797 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17798 (CFLAGS-.ob): Remove variable.
17799 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17800 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17801 both definitions of variable.
17802 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17803 (ASFLAGS-.ob): Remove variable.
17805 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17808 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17809 Remove __BOUNDED_POINTERS__ from condition.
17810 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17811 * string/bits/string2.h [!__NO_STRING_INLINES &&
17812 !__BOUNDED_POINTERS__]: Likewise.
17813 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17815 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17816 Remove conditional code.
17817 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17818 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17819 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17823 * csu/libc-start.c: Do not include <bp-sym.h>.
17824 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17825 * elf/dl-open.c: Do not include <bp-sym.h>.
17826 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17827 * math/fegetenv.c: Do not include <bp-sym.h>.
17828 (fegetenv): Do not use BP_SYM in versioned symbols.
17829 * nptl/sysdeps/pthread/bits/libc-lockP.h
17830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17833 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17835 (__pthread_mutex_destroy): Likewise.
17836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17837 (__pthread_mutex_lock): Likewise.
17838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17839 (__pthread_mutex_trylock): Likewise.
17840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17841 (__pthread_mutex_unlock): Likewise.
17842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17843 (__pthread_mutexattr_init): Likewise.
17844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17845 (__pthread_mutexattr_destroy): Likewise.
17846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17847 (__pthread_mutexattr_settype): Likewise.
17848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17849 (__pthread_rwlock_init): Likewise.
17850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17851 (__pthread_rwlock_destroy): Likewise.
17852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17853 (__pthread_rwlock_rdlock): Likewise.
17854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17855 (__pthread_rwlock_tryrdlock): Likewise.
17856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17857 (__pthread_rwlock_wrlock): Likewise.
17858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17859 (__pthread_rwlock_trywrlock): Likewise.
17860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17861 (__pthread_rwlock_unlock): Likewise.
17862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17863 (__pthread_key_create): Likewise.
17864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17865 (__pthread_setspecific): Likewise.
17866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17867 (__pthread_getspecific): Likewise.
17868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17871 (_pthread_cleanup_push_defer): Likewise.
17872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17873 (_pthread_cleanup_pop_restore): Likewise.
17874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17875 (pthread_setcancelstate): Likewise.
17876 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17878 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17879 (memchr): Do not use BP_SYM in weak_alias.
17880 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17881 (fegetenv): Do not use BP_SYM in versioned symbols.
17882 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17883 (fesetenv): Do not use BP_SYM in versioned symbols.
17884 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17885 (feupdateenv): Do not use BP_SYM in versioned symbols.
17886 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17887 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17888 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17889 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17890 (open64): Do not use BP_SYM in weak_alias.
17891 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17892 (fegetenv): Do not use BP_SYM in versioned symbols.
17893 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17894 (fesetenv): Do not use BP_SYM in versioned symbols.
17895 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17896 (feupdateenv): Do not use BP_SYM in versioned symbols.
17897 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17898 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17899 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17900 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17901 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17902 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17903 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17905 (__libc_start_main): Do not use BP_SYM.
17907 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17910 redundant return line.
17912 (denorm): Likewise.
17913 (dbl_mp): Likewise.
17914 (sub_magnitudes): Likewise.
17920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17922 (denorm): Likewise.
17923 (dbl_mp): Likewise.
17924 (sub_magnitudes): Likewise.
17931 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17933 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17934 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17937 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17938 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17940 of __mul for squares.
17941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17945 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17946 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17948 2013-02-13 Joseph Myers <joseph@codesourcery.com>
17951 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17953 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17954 prototype or function definition. Rename ubp_* variables and
17955 parameters. Remove argv definitions conditional on
17956 [__BOUNDED_POINTERS__].
17957 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17958 * elf/dl-runtime.c (_dl_fixup): Likewise.
17959 * include/set-hooks.h (RUN_HOOK): Likewise.
17960 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17962 * string/strcpy.c (strcpy): Do not use __unbounded.
17963 * sysdeps/generic/frame.h (struct layout): Likewise.
17964 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17965 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17966 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17967 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17968 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17969 (__backtrace): Likewise.
17970 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17972 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17973 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17974 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17976 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17977 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17978 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17979 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17980 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17981 Do not use __unbounded.
17982 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17983 Rename __unboundedrlimits parameter to rlimits in prototype.
17984 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17985 Do not use __unbounded.
17986 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17987 not use __ptrvalue.
17988 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17989 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17990 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17991 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17992 __ptrvalue or __unbounded.
17993 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17994 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17996 (__new_msgctl): Do not use __ptrvalue.
17997 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17999 (__libc_msgrcv): Do not use __ptrvalue.
18000 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18001 startup_info): Do not use __unbounded.
18002 (__libc_start_main): Likewise. Rename ubp_* variables and
18003 parameters. Remove argv definitions conditional on
18004 [__BOUNDED_POINTERS__].
18005 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18007 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18009 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18011 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18013 (__new_shmctl): Do not use __ptrvalue.
18014 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18015 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18017 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18018 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18019 (__libc_sigaction): Likewise.
18020 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18021 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18023 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18025 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18027 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18029 * string/mempcpy.c: Implement by calling memcpy.
18031 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18033 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18035 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18038 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18039 values in the mantissa.
18041 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18042 minimize writes to Z.
18043 (sub_magnitudes): Simplify code a bit.
18045 2013-02-12 Roland McGrath <roland@hack.frob.com>
18047 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18048 from the message. The linker prefixes all warnings with that already.
18050 2013-02-12 Andreas Schwab <schwab@suse.de>
18053 * posix/regexec.c (extend_buffers): Add parameter min_len.
18054 (check_matching): Pass minimum needed length.
18055 (clean_state_log_if_needed): Likewise.
18056 (get_subexp): Likewise.
18057 * posix/Makefile (tests): Add bug-regex34.
18058 (bug-regex34-ENV): Define.
18059 * posix/bug-regex34.c: New file.
18062 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18063 elements compare against the byte sequence of it, not its name.
18064 * posix/Makefile (tests): Add bug-regex35.
18065 (bug-regex35-ENV): Define.
18066 * posix/bug-regex35.c: New file.
18068 2013-02-11 Tom de Vries <tom@codesourcery.com>
18070 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18072 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18073 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18074 (CHECK_EOL): Add undef.
18076 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18078 * bits/stdlib-bsearch.h: New file.
18079 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18080 * stdlib/stdlib.h: Likewise.
18082 2013-02-11 Roland McGrath <roland@hack.frob.com>
18084 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18085 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18087 * manual/search.texi (Array Search Function): Add missing const in
18089 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18090 declaration to use rlim_t.
18091 (Basic Scheduling Functions): Remove erroneous const from
18092 sched_getparam prototype. Remove erroneous * from
18093 sched_get_priority_max and sched_get_priority_min prototypes.
18094 (Resource Usage): Fix summary @comment on vtimes to refer to
18095 sys/vtimes.h rather than vtimes.h.
18096 Add missing *s in vtimes prototype.
18097 (Limits on Resources): Fix ulimit prototype to return long int.
18098 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18099 prototypes to use long int rather than double.
18100 (BSD Random): Fix initstate and setstate to use char *, not void *.
18101 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18102 prototype to make second argument 'struct aiocb64 *const[]'.
18103 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18104 (Status of AIO Operations): Remove erroneous const in aio_return and
18105 aio_return64 prototypes.
18106 (Synchronizing I/O): Fix sync prototype to return void.
18107 * manual/startup.texi (Suboptions): Remove an erroneous const in
18108 getsubopt prototype.
18109 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18110 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18111 use size_t rather than int.
18112 (Scanning All Users): Likewise for getpwent_r.
18113 (Setting Groups): Add missing const to setgroups prototype.
18114 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18115 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18116 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18117 'const void *' rather than 'const char *'.
18118 (Host Address Functions): Likewise for inet_ntop.
18119 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18120 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18121 ssize_t for return value.
18122 (Sending Data): Likewise for send, sendto, sendmsg.
18123 (Socket Option Functions): Add a missing const in setsockopt prototype.
18124 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18125 use wchar_t for the argument.
18126 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18127 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18129 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18130 double/float/long double for second argument.
18131 Fix return types of significand, significandf, significandl.
18132 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18133 argument in fchmod prototype.
18134 (File Owner): Use uid_t and gid_t in fchown prototype.
18135 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18136 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18137 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18138 use 'const struct dirent **' as argument types to CMP function pointer
18140 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18141 (File Times): Fix summary magic @comment for struct utimbuf and utime
18142 to refer to utime.h, not time.h.
18143 * manual/string.texi (Argz Functions): Add missing const in
18144 argz_extract and argz_next prototypes.
18145 (Finding Tokens in a String): Likewise for basename.
18146 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18147 (Copying and Concatenation): Fix typo in wmemmove prototype.
18148 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18149 (Signal Stack): Remove erroneous const in sigstack prototype.
18150 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18152 (Simple Calendar Time): Likewise for stime.
18153 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18155 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18156 say sys/sysctl.h instead.
18157 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18158 and vsyslog prototypes.
18160 2013-02-11 Tom de Vries <tom@codesourcery.com>
18162 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18165 2013-02-11 Roland McGrath <roland@hack.frob.com>
18167 * misc/sys/mman.h: Fix typo in mremap comment.
18169 2013-02-08 Roland McGrath <roland@hack.frob.com>
18171 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18172 the '\0' terminator.
18174 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18177 * debug/segfault.c: Don't include <bp-checks.h>.
18178 * sysdeps/generic/bp-checks.h: Remove file.
18179 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18180 (__GETDENTS): Don't use CHECK_N.
18181 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18182 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18183 (__getgroups): Don't use CHECK_N.
18184 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18185 (setgroups): Don't use CHECK_N.
18186 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18187 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18188 (__libc_msgrcv): Don't use CHECK_N.
18189 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18190 (__libc_msgsnd): Don't use CHECK_N.
18191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18193 (__libc_pread): Don't use CHECK_N.
18194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18195 include <bp-checks.h>.
18196 (__libc_pread64): Don't use CHECK_N.
18197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18198 include <bp-checks.h>.
18199 (__libc_pwrite): Don't use CHECK_N.
18200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18201 include <bp-checks.h>.
18202 (__libc_pwrite64): Don't use CHECK_N.
18203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18205 (__libc_pread): Don't use CHECK_N.
18206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18207 include <bp-checks.h>.
18208 (__libc_pread64): Don't use CHECK_N.
18209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18210 include <bp-checks.h>.
18211 (__libc_pwrite): Don't use CHECK_N.
18212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18213 include <bp-checks.h>.
18214 (__libc_pwrite64): Don't use CHECK_N.
18215 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18216 (do_pread): Don't use CHECK_N.
18217 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18218 (do_pread64): Don't use CHECK_N.
18219 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18220 (do_pwrite): Don't use CHECK_N.
18221 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18222 (do_pwrite64): Don't use CHECK_N.
18223 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18224 (__libc_readv): Don't use CHECK_N.
18225 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18226 (semop): Don't use CHECK_N.
18227 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18229 (semtimedop): Don't use CHECK_N.
18230 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18231 (__libc_pread): Don't use CHECK_N.
18232 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18234 (__libc_pread64): Don't use CHECK_N.
18235 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18237 (__libc_pwrite): Don't use CHECK_N.
18238 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18240 (__libc_pwrite64): Don't use CHECK_N.
18241 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18243 (__libc_msgrcv): Don't use CHECK_N.
18244 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18245 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18246 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18247 (__libc_writev): Don't use CHECK_N.
18249 2013-02-08 Roland McGrath <roland@hack.frob.com>
18251 * string/strcpy.c: Removed unused variable.
18253 * Makeconfig (+sysdep-includes): Define with := rather than =.
18254 Use an existing include/ subdir of each sysdeps dir before it.
18256 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18258 * nscd/connection.c (register_traced_file): Comment function.
18259 [HAVE_INOTIFY] (union __inev): Define.
18260 [HAVE_INOTIFY] (inotify_check_files): New function.
18261 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18262 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18264 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18266 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18268 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18269 loaded if not already and that a failure is permanent.
18271 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18274 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18275 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18277 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18280 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18281 (CHECK_1_NULL_OK): Likewise.
18282 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18283 (__fxstat): Do not use CHECK_1.
18284 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18286 (___fxstat64): Do not use CHECK_1.
18287 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18289 (__fxstatat): Do not use CHECK_1.
18290 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18292 (__fxstatat64): Do not use CHECK_1.
18293 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18295 (__fxstat): Do not use CHECK_1.
18296 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18298 (__fxstatat): Do not use CHECK_1.
18299 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18301 (__getresgid): Do not use CHECK_1.
18302 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18304 (__getresuid): Do not use CHECK_1.
18305 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18307 (__lxstat): Do not use CHECK_1.
18308 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18310 (__old_msgctl): Do not use CHECK_1.
18311 (__new_msgctl): Likewise.
18312 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18314 (__new_setrlimit): Do not use CHECK_1.
18315 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18317 (__old_shmctl): Do not use CHECK_1.
18318 (__new_shmctl): Likewise.
18319 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18321 (__xstat): Do not use CHECK_1.
18322 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18323 (__lxstat): Do not use CHECK_1.
18324 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18326 (___lxstat64): Do not use CHECK_1.
18327 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18328 (__old_msgctl): Do not use CHECK_1.
18329 (__new_msgctl): Likewise.
18330 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18332 (__gettimeofday): Do not use CHECK_1.
18333 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18334 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18335 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18337 (__gettimeofday): Do not use CHECK_1.
18338 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18339 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18340 (__new_shmctl): Do not use CHECK_1.
18341 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18343 (do_sigtimedwait): Do not use CHECK_1.
18344 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18346 (do_sigwaitinfo): Do not use CHECK_1.
18347 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18349 (msgctl): Do not use CHECK_1.
18350 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18352 (shmctl): Do not use CHECK_1.
18353 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18354 (ustat): Do not use CHECK_1.
18355 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18357 (__fxstat): Do not use CHECK_1.
18358 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18360 (__fxstatat): Do not use CHECK_1.
18361 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18363 (__lxstat): Do not use CHECK_1.
18364 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18366 (__xstat): Do not use CHECK_1.
18367 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18368 (__xstat): Do not use CHECK_1.
18369 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18370 (___xstat64): Do not use CHECK_1.
18373 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18375 (CHECK_BOUNDS_HIGH): Likewise.
18376 * string/strcpy.c: Do not include <bp-checks.h>.
18377 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18379 2013-02-07 Roland McGrath <roland@hack.frob.com>
18381 * nscd/nscd-client.h (__nscd_drop_map_ref):
18382 Add __attribute__ ((unused)).
18383 * nis/nss-nisplus.h (niserr2nss): Likewise.
18385 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18386 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18388 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18389 Remove inline keyword.
18390 * include/rounding-mode.h (round_away): Likewise.
18391 * libio/wfileops.c (adjust_wide_data): Likewise.
18392 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18393 (__m128i_strloadu_tolower): Likewise.
18394 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18395 (__m128i_strloadu_tolower): Likewise.
18396 * time/mktime.c (ydhms_diff): Likewise.
18397 * locale/elem-hash.h (elem_hash): Likewise.
18398 * locale/setlocale.c (setdata): Likewise.
18399 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18400 (re_string_wchar_at): Likewise.
18401 (bitset_not, bitset_merge, bitset_mask): Likewise.
18402 [!(__GNUC__ > 3)] (inline): Remove macro.
18403 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18404 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18405 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18406 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18407 * string/memcmp.c (memcmp_bytes): Likewise.
18408 * locale/programs/locarchive.c (compute_hashval): Likewise.
18409 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18410 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18411 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18412 * nss/getent.c (print_rpc, print_protocols): Likewise.
18413 (print_passwd, print_group, print_aliases): Likewise.
18414 * nis/nss-nisplus.h (niserr2nss): Likewise.
18415 * nscd/connections.c (restart_p): Likewise.
18416 Change return type to bool.
18418 2013-02-05 Roland McGrath <roland@hack.frob.com>
18420 * Makeconfig (all-Depend-files): Add existing
18421 $(sorted-subdirs:=/Depend) files.
18422 (all-subdirs): Remove nss.
18423 * sysdeps/unix/inet/Subdirs: Add it here instead.
18424 * hesiod/Depend: New file.
18426 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18427 instead of calling alloca.
18429 * io/lseek.c (__lseek): Rename to __libc_lseek.
18430 Define __lseek as an alias.
18432 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18434 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18436 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18437 else clause and remove check for non-standard endianness.
18439 2013-02-04 David S. Miller <davem@davemloft.net>
18441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18443 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18446 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18447 (__ubp_memchr): Remove prototype.
18448 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18449 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18450 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18451 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18452 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18454 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18455 (__ubp_memchr): Likewise.
18456 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18457 (__ubp_memchr): Likewise.
18458 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18459 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18460 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18461 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18463 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18464 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18465 (__getcwd): Do not use CHECK_STRING.
18466 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18468 (__real_chown): Do not use CHECK_STRING.
18469 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18471 (fchownat): Do not use CHECK_STRING.
18472 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18474 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18476 (__lchown): Do not use CHECK_STRING.
18477 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18478 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18479 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18480 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18482 include <bp-checks.h>.
18483 (truncate64): Do not use CHECK_STRING.
18484 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18486 (__real_chown): Do not use CHECK_STRING.
18487 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18489 (__lchown): Do not use CHECK_STRING.
18490 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18492 (__chown): Do not use CHECK_STRING.
18493 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18495 (truncate64): Do not use CHECK_STRING.
18496 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18498 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18499 (__xmknod): Do not use CHECK_STRING.
18500 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18502 (__xmknodat): Do not use CHECK_STRING.
18503 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18504 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18506 2013-02-04 Andreas Schwab <schwab@suse.de>
18509 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18510 * include/netdb.h: Likewise for h_errno.
18511 * elf/tst-stackguard1.c: Include <tls.h>.
18513 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18515 * elf/link.h (struct link_map): Extend the l_addr comment.
18516 * include/link.h (struct link_map): Likewise.
18518 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18521 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18522 (BOUNDED_1): Remove macro.
18523 * debug/backtrace.c: Don't include <bp-checks.h>.
18524 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18525 (__backtrace): Likewise.
18526 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18528 (__backtrace): Don't use BOUNDED_1.
18529 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18531 (__backtrace): Don't use BOUNDED_1.
18532 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18533 (__backtrace): Don't use BOUNDED_1.
18534 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18535 (shmat): Don't use BOUNDED_N.
18537 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18540 * sysdeps/generic/bp-start.h: Remove file.
18541 * csu/libc-start.c: Don't include <bp-start.h>.
18542 (LIBC_START_MAIN): Set up __environ directly instead of using
18543 INIT_ARGV_and_ENVIRON.
18544 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18548 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18550 (CHECK_FCNTL): Likewise.
18551 (CHECK_N_PAGES): Likewise.
18554 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18556 (CHECK_SIGSET_NULL_OK): Likewise.
18557 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18559 (sigpending): Don't use CHECK_SIGSET.
18560 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18562 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18563 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18565 (do_sigsuspend): Don't use CHECK_SIGSET.
18566 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18568 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18569 (do_sigwait): Don't use CHECK_SIGSET.
18570 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18572 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18573 include <bp-checks.h>.
18574 (sigpending): Don't use CHECK_SIGSET.
18575 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18576 include <bp-checks.h>.
18577 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18578 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18580 (sigpending): Don't use CHECK_SIGSET.
18581 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18583 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18586 * sysdeps/generic/bp-semctl.h: Remove file.
18587 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18588 <bp-checks.h> and <bp-semctl.h>.
18589 (__old_semctl): Don't use CHECK_SEMCTL.
18590 (__new_semctl): Likewise.
18591 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18593 (__old_semctl): Don't use CHECK_SEMCTL.
18594 (__new_semctl): Likewise.
18595 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18596 <bp-checks.h> and <bp-semctl.h>.
18597 (__old_semctl): Don't use CHECK_SEMCTL.
18598 (__new_semctl): Likewise.
18599 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18600 <bp-checks.h> and <bp-semctl.h>.
18601 (semctl): Don't use CHECK_SEMCTL.
18604 * Makerules (elide-bp-thunks): Remove variable.
18605 (elide-routines.oS): Don't use $(elide-bp-thunks).
18606 (elide-routines.os): Likewise.
18607 (elide-routines.o): Likewise.
18608 (elide-routines.op): Likewise.
18609 (elide-routines.og): Likewise.
18610 (objects): Don't use $(bp-thunks).
18611 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18613 (common-generated): Do not add s-proto-bp.d.
18614 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18617 Do not generate makefile rules for bounded-pointer thunks.
18618 * sysdeps/generic/bp-thunks.h: Remove file.
18619 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18620 * sysdeps/unix/s-proto-bp.S: Likewise.
18623 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18624 parts of result separately when argument is not close to line from
18625 -i to i and one part of argument is small.
18626 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18627 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18628 * math/libm-test.inc (cacos_test): Add more tests.
18629 (casin_test): Likewise.
18630 (casinh_test): Likewise.
18631 * sysdeps/i386/fpu/libm-test-ulps: Update.
18632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18634 2013-01-31 David S. Miller <davem@davemloft.net>
18636 * po/de.po: Update from translation team.
18638 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18640 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18642 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18644 * configure.in (_AC_PROG_CC_C89): New definition.
18645 * configure: Regenerate.
18647 * configure.in (AC_PROG_CPP): New definition.
18648 * configure: Regenerate.
18650 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18652 * debug/tst-backtrace.h: New file.
18653 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18654 (ret): Remove variable.
18656 (FAIL): Remove macro.
18657 (NO_INLINE): Likewise.
18658 (fn1): Use match function instead of strstr.
18659 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18660 (ret): Remove variable.
18662 (FAIL): Remove macro.
18663 (NO_INLINE): Likewise.
18664 (fn): Use match function instead of strstr.
18665 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18666 (ret): Remove variable.
18668 (FAIL): Remove macro.
18669 (NO_INLINE): Likewise.
18670 (handle_signal): Use match function instead of strstr.
18671 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18672 (ret): Remove variable.
18674 (FAIL): Remove macro.
18675 (NO_INLINE): Likewise.
18676 (handle_signal): Use match function instead of strstr.
18678 2013-01-23 Roland McGrath <roland@hack.frob.com>
18680 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18682 2013-01-23 David S. Miller <davem@davemloft.net>
18684 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18685 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18686 argument of CAS if possible.
18687 * sysdeps/sparc/sparc64/bits/atomic.h
18688 (__arch_compare_and_exchange_val_32_acq): Likewise.
18689 (__arch_compare_and_exchange_val_64_acq): Likewise.
18691 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18693 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18694 * sysdeps/posix/ulimit.c: ... this.
18695 Include <limits.h>.
18696 * sysdeps/unix/bsd/ulimit.c: Remove file.
18698 2013-01-23 Adam Conrad <adconrad@0c3.net>
18700 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18701 (LDFLAGS-tst-array5): Likewise.
18703 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18706 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18707 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18708 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18709 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18711 2013-01-21 David S. Miller <davem@davemloft.net>
18713 * sysdeps/sparc/backtrace.c: New file.
18714 * sysdeps/sparc/sparc32/backtrace.h: New file.
18715 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18716 * sysdeps/sparc/sparc64/backtrace.h: New file.
18717 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18718 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18721 2013-01-21 Andreas Schwab <schwab@suse.de>
18724 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18727 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18733 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18734 Mark Mitchell <mark@codesourcery.com>
18735 Tom de Vries <tom@codesourcery.com>
18736 Paul Pluzhnikov <ppluzhnikov@google.com>
18738 * debug/tst-backtrace2.c: New file.
18739 * debug/tst-backtrace3.c: Likewise.
18740 * debug/tst-backtrace4.c: Likewise.
18741 * debug/tst-backtrace5.c: Likewise.
18742 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18743 (CFLAGS-tst-backtrace3.c): Likewise.
18744 (CFLAGS-tst-backtrace4.c): Likewise.
18745 (CFLAGS-tst-backtrace5.c): Likewise.
18746 (LDFLAGS-tst-backtrace2): Likewise.
18747 (LDFLAGS-tst-backtrace3): Likewise.
18748 (LDFLAGS-tst-backtrace4): Likewise.
18749 (LDFLAGS-tst-backtrace5): Likewise.
18750 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18751 tst-backtrace4 and tst-backtrace5.
18753 2013-01-18 Anton Blanchard <anton@samba.org>
18754 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18756 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18757 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18758 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18759 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18761 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18762 "+r" and remove output regs list as redundant. Add explicit inline
18763 asm to specify register of return val to work around compiler codegen
18764 bug. Remove (int) cast on return value. Add return type parameter to
18765 use in macro so that this macro does not truncate return value for
18767 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18768 pass to INTERNAL_VSYSCALL_NCS.
18769 (INLINE_VSYSCALL): Add 'long int' as return type to
18770 INTERNAL_VSYSCALL_NCS macro invocation.
18771 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18772 INTERNAL_VSYSCALL_NCS macro invocation.
18773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18775 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18778 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18779 Fix application of SIMD FP exception mask.
18781 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18782 mp_no from a power of two.
18783 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18784 __mpexp_twomm1. Use __pow_mp.
18786 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18789 2013-01-17 David S. Miller <davem@davemloft.net>
18791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18793 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18796 * include/complex.h: Condition contents on [!_COMPLEX_H].
18797 (__kernel_casinhf): New prototype.
18798 (__kernel_casinh): Likewise.
18799 (__kernel_casinhl): Likewise.
18800 * math/Makefile (libm_calls): Add k_casinh.
18801 * math/k_casinh.c: New file.
18802 * math/k_casinhf.c: Likewise.
18803 * math/k_casinhl.c: Likewise.
18804 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18805 finite nonzero arguments.
18806 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18807 finite nonzero arguments.
18808 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18809 finite nonzero arguments.
18810 * math/s_casinh.c: Do not include <float.h>.
18811 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18812 * math/s_casinhf.c: Do not include <float.h>.
18813 (__casinhf): Move code for finite nonzero arguments to
18815 * math/s_casinhl.c: Do not include <float.h>.
18816 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18818 (__casinhl): Move code for finite nonzero arguments to
18820 * math/libm-test.inc (cacos_test): Add more tests.
18821 * sysdeps/i386/fpu/libm-test-ulps: Update.
18822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18824 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18826 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18827 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18828 [!HAVE_MREMAP]: Remove [defined linux] case.
18829 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18831 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18833 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18835 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18837 * elf/elf.h (R_386_SIZE32): New relocation.
18838 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18840 (elf_machine_rela): Likewise.
18841 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18842 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18844 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18846 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18847 (FP_FAST_FMA): Do not define.
18848 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18849 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18850 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18851 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18852 !_SOFT_FLOAT]: Likewise.
18853 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18854 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18856 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18857 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18858 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18859 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18860 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18861 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18864 2013-01-16 Andreas Schwab <schwab@suse.de>
18867 * include/stdlib.h (__mktemp): Add declaration.
18868 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18869 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18871 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18873 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18875 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18876 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18877 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18879 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18880 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18882 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18884 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18885 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18886 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18888 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18889 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18891 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18893 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18895 2013-01-15 David S. Miller <davem@davemloft.net>
18897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18898 trunc{,f} to libm-sysdep_routes.
18899 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18909 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18910 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18911 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18912 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18913 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18914 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18917 nearbyint{,f} to libm-sysdep_routes.
18918 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18929 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18931 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18932 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18934 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18935 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18936 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18938 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18939 libc_feholdexcept and libc_fesetenv.
18941 2013-01-15 Mike Frysinger <vapier@gentoo.org>
18943 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18945 2013-01-14 David S. Miller <davem@davemloft.net>
18947 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18948 (SPARC_ASM_VIS2_IFUNC): Likewise.
18949 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18951 use of 'siam' instruction.
18952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18960 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18961 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18972 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18982 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18983 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18985 routines to libm-sysdep_routines.
18986 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18989 fdim/fdimf to libm-sysdep_routines.
18990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18998 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18999 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19000 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19001 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19003 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19005 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19006 to optimize copies.
19008 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19010 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19013 local variable MPTWO.
19014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19017 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19019 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19022 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19024 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19026 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19028 * manual/pattern.texi (glob_t): Document gl_flags.
19029 (glob64_t): Likewise.
19031 2013-01-11 David S. Miller <davem@davemloft.net>
19033 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19034 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19035 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19036 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19037 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19038 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19039 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19040 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19041 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19042 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19043 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19044 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19045 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19047 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19048 sparc V9 rather than using V8 code.
19049 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19050 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19052 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19054 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19057 2013-01-11 Roland McGrath <roland@hack.frob.com>
19059 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19060 not in the main loop.
19061 * configure: Regenerated.
19063 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19065 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19066 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19068 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19069 [!__GLIBC_HAVE_LONG_LONG] case.
19070 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19071 condition to just #else.
19072 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19073 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19074 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19075 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19077 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19078 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19079 #elif condition to just #else.
19080 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19081 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19082 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19083 #elif condition to just #else.
19085 2013-01-11 Steve Ellcey <sellcey@mips.com>
19087 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19088 (EF_MIPS_ARCH_64): Fix value.
19089 (EF_MIPS_ARCH_32R2): New.
19090 (EF_MIPS_ARCH_64R2): New.
19092 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19094 * Makeconfig (+link-pie-before-libc): New.
19095 (+link-pie-after-libc): Likewise.
19096 (+link-pie-tests): Likewise.
19097 (+link-pie): Rewritten.
19098 (link-before-libc): Remove $(config-LDFLAGS).
19099 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19100 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19101 (config-LDFLAGS): Renamed to ...
19102 (rtld-LDFLAGS): This.
19103 (rtld-tests-LDFLAGS): New macro.
19104 (link-libc-rpath-link): Likewise.
19105 (link-libc-tests-rpath-link): Likewise.
19106 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19107 (link-libc): Prepand $(link-libc-rpath-link).
19108 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19109 (test-program-prefix): New macro.
19110 (test-via-rtld-prefix): Likewise.
19111 (test-program-cmd): Likewise.
19112 (host-test-program-cmd): Likewise.
19113 * Makefile ($(common-objpfx)testrun.sh): Replace
19114 $(run-program-prefix) with $(test-program-prefix).
19115 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19117 ($(common-objpfx)shlib.lds): Likewise.
19118 (build-module-helper): Likewise.
19119 ($(common-objpfx)format.lds): Likewise.
19120 * Rules (binaries-pie-tests): New.
19121 (binaries-pie-notests): Likewise.
19122 (binaries-pie): Rewritten.
19123 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19124 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19125 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19126 (make-test-out): Replace $(host-built-program-cmd) with
19127 $(host-test-program-cmd).
19128 * config.make.in (build-hardcoded-path-in-tests): New variable.
19129 * configure.in (--enable-hardcoded-path-in-tests): New configure
19131 (hardcoded_path_in_tests): New AC_SUBST.
19132 * configure: Regenerated.
19133 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19134 $(built-program-cmd) with $(test-program-cmd).
19135 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19136 (test_program_cmd): This.
19137 * elf/Makefile ($(objpfx)order.out): Run test with
19138 $(test-program-prefix).
19139 ($(objpfx)order2.out): Likewise.
19140 ($(objpfx)tst-initorder.out): Likewise.
19141 ($(objpfx)tst-initorder2.out): Likewise.
19142 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19143 $(test-program-cmd).
19144 ($(objpfx)tst-array1-static.out): Likewise.
19145 ($(objpfx)tst-array2.out): Likewise.
19146 ($(objpfx)tst-array3.out): Likewise.
19147 ($(objpfx)tst-array4.out): Likewise.
19148 ($(objpfx)tst-array5.out): Likewise.
19149 ($(objpfx)tst-array5-static.out): Likewise.
19150 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19151 $(test-program-cmd).
19152 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19153 $(run-program-prefix) with $(test-program-prefix).
19154 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19155 (test_program_prefix): This.
19156 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19157 $(run-program-prefix) with $(test-program-prefix).
19158 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19159 (test_program_prefix): This.
19160 * iconvdata/tst-tables.sh: Likewise.
19161 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19162 $(run-program-prefix) with $(test-program-prefix).
19163 ($(objpfx)tst-translit.out): Likewise.
19164 ($(objpfx)tst-gettext2.out): Likewise.
19165 ($(objpfx)tst-gettext4.out): Likewise.
19166 ($(objpfx)tst-gettext6.out): Likewise.
19167 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19168 (test_program_prefix): This.
19169 * intl/tst-gettext2.sh: Likewise.
19170 * intl/tst-gettext4.sh Likewise.
19171 * intl/tst-gettext6.sh: Likewise.
19172 * intl/tst-translit.sh: Likewise.
19173 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19174 with $(test-program-cmd).
19175 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19176 $(run-program-prefix) with $(test-program-prefix).
19177 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19178 (test_program_prefix): This.
19179 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19180 $(run-program-prefix) with $(test-program-prefix).
19181 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19182 (test_program_prefix): This.
19183 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19184 * posix/Makefile ($(objpfx)globtest.out): Replace
19185 $(run-via-rtld-prefix) and $(test-wrapper) with
19186 $(test-program-prefix) and $(test-via-rtld-prefix).
19187 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19188 $(test-program-prefix).
19189 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19190 $(host-test-program-cmd).
19191 (tst-spawn-ARGS): Likewise.
19192 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19193 $(test-program-prefix).
19194 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19195 (test_via_rtld_prefix): This.
19196 (test_wrapper): Renamed to ...
19197 (test_program_prefix): This.
19198 (run_program_prefix): Replaced by test_program_prefix.
19199 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19200 (test_program_prefix): This.
19201 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19202 with $(host-test-program-cmd).
19203 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19204 $(run-program-prefix) with $(test-program-prefix).
19205 ($(objpfx)tst-printf.out): Likewise.
19206 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19207 $(test-program-cmd).
19208 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19209 (test_program_prefix): This.
19210 * stdio-common/tst-unbputc.sh: Likewise.
19211 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19212 $(run-program-prefix) with $(test-program-prefix).
19213 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19214 (test_program_prefix): This.
19215 * string/Makefile ($(objpfx)tst-svc.out): Replace
19216 $(built-program-cmd) with $(test-program-cmd).
19218 2013-01-11 Andreas Jaeger <aj@suse.de>
19221 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19222 value. Sync with Linux 3.7.
19224 2013-01-10 David S. Miller <davem@davemloft.net>
19226 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19227 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19228 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19230 2013-01-10 Roland McGrath <roland@hack.frob.com>
19232 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19234 * configure: Regenerated.
19236 2013-01-10 David S. Miller <davem@davemloft.net>
19238 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19239 sparc V9 rather than using V8 code.
19240 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19241 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19243 2013-01-10 Roland McGrath <roland@hack.frob.com>
19245 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19246 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19247 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19248 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19249 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19250 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19251 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19252 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19253 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19254 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19255 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19256 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19257 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19258 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19259 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19260 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19261 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19262 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19263 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19264 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19265 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19266 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19267 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19268 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19269 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19270 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19271 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19273 2013-01-10 David S. Miller <davem@davemloft.net>
19275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19277 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19279 * posix/Makefile (tests-static): New variable.
19280 (tests): Add $(tests-static).
19281 (tst-exec-static-ARGS): New variable.
19282 (tst-spawn-static-ARGS): Likewise.
19283 * posix/tst-exec-static.c: New file.
19284 * posix/tst-spawn-static.c: Likewise.
19285 * posix/tst-exec.c: Support run directly.
19286 * posix/tst-spawn.c: Likewise.
19288 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19290 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19292 * math/bits/mathcalls.h (llrint): Likewise.
19293 (llround): Likewise.
19294 * stdlib/stdlib.h (struct drand48_data): Likewise.
19295 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19296 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19297 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19299 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19301 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19302 (elf_greg_t): Likewise.
19303 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19304 (__jmp_buf): Likewise.
19305 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19307 (llrint): Likewise, for all definitions.
19308 (llrintl): Likewise.
19310 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19311 Remove [__GNUC__] condition.
19312 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19313 condition to just [__USE_ISOC99].
19314 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19316 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19319 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19320 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19322 (_POSIX_V6_ILP32_OFF32): Likewise.
19323 (_XBS5_ILP32_OFF32): Likewise.
19324 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19325 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19327 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19329 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19331 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19332 doubles __mpexp_twomm1. Adjust usage.
19333 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19336 2013-01-10 Andreas Schwab <schwab@suse.de>
19339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19340 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19342 2013-01-09 David S. Miller <davem@davemloft.net>
19345 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19346 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19347 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19348 TCP_FASTOPEN): Define.
19349 (tcp_repair_opt): New structure.
19350 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19352 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19353 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19354 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19355 (tcp_cookie_transactions): New structure.
19357 2013-01-09 Anton Blanchard <anton@samba.org>
19359 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19360 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19361 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19362 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19364 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19366 * include/features.h (__USE_ANSI): Remove.
19368 2013-01-09 Roland McGrath <roland@hack.frob.com>
19370 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19372 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19374 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19376 * sysdeps/s390/fpu/libm-test-ulps: Update.
19378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19380 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19384 (denorm): Likewise.
19385 (__mp_dbl): Likewise.
19386 (__dbl_mp): Likewise.
19387 (add_magnitudes): Likewise.
19388 (sub_magnitudes): Likewise.
19394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19398 (denorm): Likewise.
19399 (__mp_dbl): Likewise.
19400 (__dbl_mp): Likewise.
19401 (add_magnitudes): Likewise.
19402 (sub_magnitudes): Likewise.
19408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19412 (denorm): Likewise.
19413 (__mp_dbl): Likewise.
19414 (__dbl_mp): Likewise.
19415 (add_magnitudes): Likewise.
19416 (sub_magnitudes): Likewise.
19423 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19425 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19426 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19427 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19428 2 && __USE_EXTERN_INLINES]: Likewise.
19430 2013-01-08 Andreas Jaeger <aj@suse.de>
19433 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19435 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19436 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19438 2013-01-07 Anton Blanchard <anton@samba.org>
19440 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19441 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19442 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19443 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19444 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19445 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19446 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19447 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19449 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19450 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19451 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19452 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19453 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19454 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19455 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19456 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19457 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19458 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19459 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19460 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19461 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19462 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19463 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19464 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19465 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19466 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19467 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19468 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19469 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19470 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19472 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19473 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19474 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19475 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19476 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19477 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19478 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19479 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19480 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19481 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19482 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19484 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19486 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19487 (__MALLOC_PMT): Likewise.
19488 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19489 [__GNUC__], only on [_LIBC].
19490 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19491 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19492 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19493 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19494 forward declaration.
19495 (realloc_hook_ini): Likewise.
19496 (memalign_hook_ini): Likewise.
19497 (__libc_memalign): Do not use __MALLOC_PMT in variable
19499 (__libc_valloc): Likewise.
19500 (__libc_pvalloc): Likewise.
19501 (__libc_calloc): Likewise.
19502 (__posix_memalign): Likewise.
19505 * math/s_casinh.c: Include <float.h>.
19506 (__casinh): Do not do computation with squaring and square root
19507 for large arguments.
19508 * math/s_casinhf.c: Include <float.h>.
19509 (__casinhf): Do not do computation with squaring and square root
19510 for large arguments.
19511 * math/s_casinhl.c: Include <float.h>.
19512 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19513 (__casinhl): Do not do computation with squaring and square root
19514 for large arguments.
19515 * math/libm-test.inc (casin_test): Add more tests.
19516 (casinh_test): Likewise.
19517 * sysdeps/i386/fpu/libm-test-ulps: Update.
19518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19520 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19522 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19523 (__x86_64_raw_data_cache_size): Likewise.
19524 (__x86_64_data_cache_size_half): Likewise.
19525 (__x86_64_raw_data_cache_size_half): Likewise.
19526 (__x86_64_shared_cache_size): Likewise.
19527 (__x86_64_raw_shared_cache_size): Likewise.
19528 (__x86_64_shared_cache_size_half): Likewise.
19529 (__x86_64_raw_shared_cache_size_half): Likewise.
19530 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19532 (__x86_data_cache_size): This.
19533 (__x86_64_raw_data_cache_size): Renamed to ...
19534 (__x86_raw_data_cache_size): This.
19535 (__x86_64_data_cache_size_half): Renamed to ...
19536 (__x86_data_cache_size_half): This.
19537 (__x86_64_raw_data_cache_size_half): Renamed to ...
19538 (__x86_raw_data_cache_size_half): This.
19539 (__x86_64_shared_cache_size): Renamed to ...
19540 (__x86_shared_cache_size): This.
19541 (__x86_64_raw_shared_cache_size): Renamed to ...
19542 (__x86_raw_shared_cache_size): This.
19543 (__x86_64_shared_cache_size_half): Renamed to ...
19544 (__x86_shared_cache_size_half): This.
19545 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19546 (__x86_raw_shared_cache_size_half): This.
19547 * sysdeps/x86_64/memcpy.S: Updated.
19548 * sysdeps/x86_64/memset.S: Likewise.
19549 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19550 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19551 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19553 2013-01-04 David S. Miller <davem@davemloft.net>
19555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19557 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19559 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19560 1 to avoid redefinition warning.
19561 (__USE_GNU): Don't define.
19562 (init_signaling_nan): Protoize.
19564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19566 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19568 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19570 (__cpymn): Likewise.
19571 (norm): Remove commented code.
19572 (denorm): Likewise.
19573 (__mp_dbl): Likewise.
19575 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19576 (__cpymn): Likewise.
19577 (norm): Remove commented code.
19578 (denorm): Likewise.
19579 (__mp_dbl): Likewise.
19582 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19583 mp_no value for 1.0 and 2.0.
19584 (norm): Use RADIXI instead of radixi.d.
19585 (denorm): Likewise.
19586 (__mul): Use 0.0 instead of zero.d.
19587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19588 mp_no value for 1.0 and 2.0.
19589 (norm): Use RADIXI instead of radixi.d.
19590 (denorm): Likewise.
19591 (__mul): Use 0.0 instead of zero.d.
19593 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19596 * math/s_casinh.c (__casinh): Reduce finite argument to first
19597 quadrant then set signs of results at the end.
19598 * math/s_casinhf.c (__casinhf): Likewise.
19599 * math/s_casinhl.c (__casinhl): Likewise.
19600 * math/libm-test.inc (casin_test): Add more tests.
19601 (casinh_test): Likewise.
19602 * sysdeps/i386/fpu/libm-test-ulps: Update.
19603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19605 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19607 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19609 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19611 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19613 (denorm): Likewise.
19614 (__mp_dbl): Likewise.
19617 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19618 and adjust the header comment.
19620 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19621 variable name from declaration.
19623 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19626 Initialize COMMON_CPUID_INDEX_7 element.
19627 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19628 (CPUID_RTM): Likewise.
19629 (HAS_RTM): Likewise.
19630 (COMMON_CPUID_INDEX_7): New enum.
19632 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19635 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19636 size is zero, record memory as freed.
19638 2013-01-03 Andreas Jaeger <aj@suse.de>
19640 * po/ia.po: Add new Interlingua translation.
19642 2012-01-03 Allan McRae <allan@archlinux.org>
19644 * locale/programs/localedef.c: Fix description of '--posix' flag.
19646 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19648 * NEWS: Update dates in second copyright notice.
19649 * README: Update copyright dates in example.
19650 * manual/libc.texinfo: Update copyright dates.
19651 * scripts/test-installation.pl: Update copyright date in --version
19654 * hurd/ctty-input.c: Fix copyright notice formatting.
19655 * hurd/ctty-output.c: Likewise.
19656 * hurd/dtable.c: Likewise.
19657 * hurd/hurd-raise.c: Likewise.
19658 * hurd/hurdprio.c: Likewise.
19659 * hurd/msgportdemux.c: Likewise.
19660 * misc/sys/file.h: Likewise.
19661 * misc/sys/ioctl.h: Likewise.
19662 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19663 * sysdeps/mach/hurd/chdir.c: Likewise.
19664 * sysdeps/mach/hurd/fchdir.c: Likewise.
19665 * sysdeps/mach/hurd/rename.c: Likewise.
19666 * sysdeps/mach/hurd/rmdir.c: Likewise.
19667 * sysdeps/mach/hurd/seekdir.c: Likewise.
19668 * sysdeps/mach/hurd/setsid.c: Likewise.
19669 * sysdeps/posix/wait3.c: Likewise.
19671 * All files with FSF copyright notices: Update copyright dates
19672 using scripts/update-copyrights.
19673 * intl/plural.c: Regenerated.
19674 * locale/programs/charmap-kw.h: Likewise.
19675 * locale/programs/locfile-kw.h: Likewise.
19677 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19679 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19682 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19683 calculation loop and add branch prediction.
19685 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19686 check access beyond bounds of m1np.
19688 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19690 (__inv): Remove local variable MPTWO to use the global
19692 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19693 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19695 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19696 MP3HALFS static const.
19698 2013-01-01 David S. Miller <davem@davemloft.net>
19700 * po/ca.po: Update from translation team.
19702 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19704 * scripts/update-copyrights: New file.
19705 * Makeconfig: Reformat copyright notice.
19706 * ctype/ctype.h: Likewise.
19707 * debug/swprintf_chk.c: Likewise.
19708 * elf/dl-cache.c: Likewise.
19709 * elf/dl-debug.c: Likewise.
19710 * elf/dl-object.c: Likewise.
19711 * grp/initgroups.c: Likewise.
19712 * hurd/Makefile: Likewise.
19713 * hurd/hurd/signal.h: Likewise.
19714 * hurd/hurdfault.c: Likewise.
19715 * hurd/hurdioctl.c: Likewise.
19716 * hurd/hurdlookup.c: Likewise.
19717 * hurd/intr-msg.c: Likewise.
19718 * iconv/gconv_open.c: Likewise.
19719 * libio/swprintf.c: Likewise.
19720 * locale/lc-ctype.c: Likewise.
19721 * locale/nl_langinfo.c: Likewise.
19722 * mach/Machrules: Likewise.
19723 * mach/Makefile: Likewise.
19724 * malloc/obstack.h: Likewise.
19725 * manual/Makefile: Likewise.
19726 * manual/tsort.awk: Likewise.
19727 * misc/bits/stab.def: Likewise.
19728 * nis/nis_print_group_entry.c: Likewise.
19729 * nis/nis_table.c: Likewise.
19730 * nis/nss_compat/compat-pwd.c: Likewise.
19731 * nis/nss_compat/compat-spwd.c: Likewise.
19732 * po/Makefile: Likewise.
19733 * posix/fnmatch.c: Likewise.
19734 * posix/regex.h: Likewise.
19735 * resolv/Makefile: Likewise.
19736 * resolv/nss_dns/dns-network.c: Likewise.
19737 * resolv/res_hconf.c: Likewise.
19738 * scripts/gen-sorted.awk: Likewise.
19739 * soft-fp/soft-fp.h: Likewise.
19740 * stdio-common/printf.h: Likewise.
19741 * stdlib/monetary.h: Likewise.
19742 * stdlib/random.c: Likewise.
19743 * stdlib/random_r.c: Likewise.
19744 * sysdeps/generic/Makefile: Likewise.
19745 * sysdeps/gnu/Makefile: Likewise.
19746 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19747 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19748 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19749 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19750 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19752 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19753 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19754 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19755 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19756 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19757 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19758 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19759 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19760 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19761 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19762 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19763 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19764 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19765 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19766 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19767 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19768 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19769 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19770 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19771 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19772 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19773 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19774 * sysdeps/mach/hurd/errnos.awk: Likewise.
19775 * sysdeps/mach/hurd/fork.c: Likewise.
19776 * sysdeps/mach/hurd/getcwd.c: Likewise.
19777 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19778 * sysdeps/mach/hurd/mmap.c: Likewise.
19779 * sysdeps/mach/hurd/utimes.c: Likewise.
19780 * sysdeps/mach/hurd/xmknod.c: Likewise.
19781 * sysdeps/posix/profil.c: Likewise.
19782 * sysdeps/posix/readdir_r.c: Likewise.
19783 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19784 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19785 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19786 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19788 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19789 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19790 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19792 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19793 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19794 * sysdeps/pthread/lio_listio.c: Likewise.
19795 * sysdeps/sparc/dl-procinfo.h: Likewise.
19796 * sysdeps/unix/i386/sysdep.S: Likewise.
19797 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19798 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19799 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19800 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19802 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19803 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19804 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19805 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19806 * sysdeps/wordsize-32/divdi3.c: Likewise.
19807 * time/sys/time.h: Likewise.
19808 * wcsmbs/Makefile: Likewise.
19810 2013-01-01 David S. Miller <davem@davemloft.net>
19812 * po/fr.po: Update from translation team.
19814 * catgets/gencat.c: Update copyright year.
19815 * csu/version.c: Likewise.
19816 * debug/catchsegv.sh: Likewise.
19817 * debug/pcprofiledump.c: Likewise.
19818 * debug/xtrace.sh: Likewise.
19819 * elf/ldconfig.c: Likewise.
19820 * elf/ldd.bash.in: Likewise.
19821 * elf/pldd.c: Likewise.
19822 * elf/sotruss.ksh: Likewise.
19823 * elf/sprof.c: Likewise.
19824 * iconv/iconv_prog.c: Likewise.
19825 * iconv/iconvconfig.c: Likewise.
19826 * locale/programs/locale.c: Likewise.
19827 * locale/programs/localedef.c: Likewise.
19828 * login/programs/pt_chown.c: Likewise.
19829 * malloc/memusage.sh: Likewise.
19830 * malloc/memusagestat.c: Likewise.
19831 * malloc/mtrace.pl: Likewise.
19832 * nscd/nscd.c: Likewise.
19833 * nss/getent.c: Likewise.
19834 * nss/makedb.c: Likewise.
19835 * posix/getconf.c: Likewise.
19837 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19839 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19842 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19844 * math/bits/mathcalls.h (modf): Use __nonnull.
19846 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19848 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19849 (split): Use macro CN instead of the bare value.
19850 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19852 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19853 instead of the bare value.
19854 (power1): Likewise.
19856 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19858 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19860 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19862 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19864 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19865 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19866 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19867 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19869 2012-12-28 Andreas Jaeger <aj@suse.de>
19871 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19872 values are from Linux 3.7.
19874 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19875 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19877 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19879 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19882 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19884 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19885 variables with preprocessor constants.
19886 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19887 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19888 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19890 2012-12-27 Bruno Haible <bruno@clisp.org>
19893 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19896 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19898 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19899 and use variable directly.
19900 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19902 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19904 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19907 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19909 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19910 include directive. Remove local variable MPONE.
19911 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19912 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19913 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19915 2012-12-25 David S. Miller <davem@davemloft.net>
19917 * version.h (RELEASE): Set to "development".
19918 (VERSION): Set to "2.17.90".
19919 * NEWS: Add 2.18 section.
19921 2012-12-21 David S. Miller <davem@davemloft.net>
19923 * po/hr.po: Update from translation team.
19925 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19927 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19929 2012-12-19 Steve Ellcey <sellcey@mips.com>
19931 * NEWS: Mention new memcpy for MIPS.
19933 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19935 * manual/contrib.texi (Contributors): Spelling correction.
19937 2012-12-15 David S. Miller <davem@davemloft.net>
19939 * po/ru.po: Update from translation team.
19941 2012-12-13 David S. Miller <davem@davemloft.net>
19943 * NEWS: Mention IFUNC testsuite enhancements.
19945 * po/pl.po: Update from translation team.
19946 * po/bg.po: Likewise.
19948 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19949 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19951 2012-12-11 David S. Miller <davem@davemloft.net>
19953 * po/sv.po: Update from translation team.
19955 * po/vi.po: Update from translation team.
19957 * po/cs.po: Update from translation team.
19959 * po/de.po: Update from translation team.
19960 * po/eo.po: Likewise.
19961 * po/nl.po: Likewise.
19963 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19966 * manual/argp.texi (Argp Helper Functions): Move node to follow
19967 Argp Parsing State.
19970 * manual/conf.texi (Limits on File System Capacity): Mention if
19971 terminating null is included in the max size.
19973 2012-12-10 Andreas Jaeger <aj@suse.de>
19975 * po/cs.po: Update from translation team.
19977 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19979 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19980 void pointer and cast to uintptr_t.
19981 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19983 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19984 * sysdeps/s390/s390-64/memset.S: Likewise.
19986 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
19989 * menual/message.texi (Message Translation): Fix typos.
19990 (Helper programs for gettext): Likewise.
19992 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19995 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19998 2012-12-07 David S. Miller <davem@davemloft.net>
20000 * po/libc.pot: Update.
20002 2012-12-07 Richard Henderson <rth@redhat.com>
20005 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20006 normal/normal case to before the switch.
20007 (_FP_DIV): Likewise.
20009 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20010 Mike Frysinger <vapier@gentoo.org>
20012 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20013 check for __NR_fadvise64_64.
20015 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20017 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20018 0, not just to plain "0" as a statement.
20019 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20022 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20024 * NEWS: Use sourceware.org in Bugzilla URL.
20026 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20029 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20031 * stdio-common/tst-put-error.c (do_test): Add newline to the
20032 padded test to ensure flush.
20034 2012-12-05 Jeff Law <law@redhat.com>
20036 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20038 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20040 * README: Don't refer to ports add-on as distributed separately.
20041 Mention AArch64 in list of systems supported in the ports add-on.
20043 * LICENSES: Add more non-FSF copyright and license notices.
20045 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20048 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20050 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20051 10000 as width of padded output.
20053 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20055 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20057 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20058 variable LX with __attribute__ ((unused)).
20059 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20061 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20062 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20063 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20064 with __attribute__ ((unused)).
20066 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20068 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20070 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20072 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20073 (CFLAGS-nldbl-acos.c): New variable.
20074 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20075 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20076 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20077 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20078 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20079 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20080 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20081 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20082 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20083 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20084 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20085 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20086 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20087 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20088 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20089 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20090 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20091 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20092 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20093 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20094 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20095 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20096 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20097 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20098 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20099 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20100 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20101 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20102 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20103 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20104 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20105 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20106 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20107 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20108 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20109 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20110 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20111 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20112 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20113 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20114 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20115 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20116 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20117 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20118 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20119 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20120 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20121 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20122 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20123 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20124 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20125 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20126 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20127 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20128 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20129 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20130 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20131 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20132 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20133 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20134 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20135 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20136 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20137 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20138 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20139 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20140 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20141 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20142 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20143 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20144 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20145 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20146 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20147 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20148 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20149 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20150 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20151 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20152 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20153 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20154 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20155 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20156 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20157 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20158 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20159 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20160 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20161 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20162 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20163 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20164 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20165 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20166 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20167 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20168 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20169 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20170 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20173 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20176 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20177 whole low double instead of just low 47 bits when splitting values
20180 2012-12-03 Allan McRae <allan@archlinux.org>
20182 * manual/stdio.texi (Predefined Printf Handlers): Remove
20183 @hsep and @vsep usage.
20185 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20187 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20188 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20190 2012-12-03 Jeff Law <law@redhat.com>
20192 * time/sys/time.h (settimeofday): Do not mark TV argument
20195 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20197 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20198 when currently writing and seek to current position when not.
20199 * libio/Makefile (tests): Remove bug-fclose1.
20200 * libio/bug-fclose1.c: Delete.
20202 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20204 * manual/arith.texi (feenableexcept): Fix typo.
20205 (fedisableexcept): Likewise.
20207 2012-11-30 Roland McGrath <roland@hack.frob.com>
20209 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20210 second, differently-typed declaration, rather than a cast.
20212 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20214 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20215 * include/rpc/svc.h: ... here.
20217 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20220 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20221 depending n and resplen2 to catch cases where answer
20224 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20226 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20227 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20229 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20231 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20233 2012-11-29 Roland McGrath <roland@hack.frob.com>
20235 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20237 2012-11-28 Jeff Law <law@redhat.com>
20240 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20241 dataset_temporary. Track alloca usage into alloca_used.
20242 If dataset is large allocate and release it via malloc/free.
20244 2012-06-04 Florian Weimer <fweimer@redhat.com>
20247 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20249 2012-11-28 David S. Miller <davem@davemloft.net>
20251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20253 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20256 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20257 of pi/2 rounded to nearest to 64 bits.
20258 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20259 nearest to 64 bits.
20260 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20263 2012-11-28 Jeff Law <law@redhat.com>
20264 Martin Osvald <mosvald@redhat.com>
20267 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20268 * sunrpc/svc.c: Include time.h.
20269 (__svc_accept_failed): New function.
20270 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20271 any reason other than EINTR, call __svc_accept_failed.
20272 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20273 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20275 2012-11-28 Andreas Schwab <schwab@suse.de>
20277 * scripts/abilist.awk: Also handle indirect functions in .opd
20280 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20283 * sysdeps/x86/fpu/powl_helper.c: New file.
20284 * sysdeps/x86/fpu/Makefile: Likewise.
20285 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20287 (__ieee754_powl): Use __powl_helper for finite arguments except
20288 integer exponents below 8.
20289 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20291 (__ieee754_powl): Use __powl_helper for finite arguments except
20292 integer exponents below 8.
20293 * math/libm-test.inc (pow_test): Add more tests and enable some
20294 previously disabled tests.
20295 * sysdeps/i386/fpu/libm-test-ulps: Update.
20296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20298 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20299 Carlos O'Donell <carlos_odonell@mentor.com>
20301 * nss/makedb.c (is_prime): Assert that input is odd and greater
20302 than 4. Note that fact in a comment too.
20303 (next_prime): Add 4 to input.
20305 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20308 * libio/Makefile (tests): Add test case tst-fwrite-error.
20309 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20310 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20311 * libio/tst-fwrite-error.c: New test case.
20313 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20315 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20316 before casting to void *.
20317 * include/libc-internal.h (__pointer_type): New macro.
20318 (__integer_if_pointer_type_sub): Likewise.
20319 (__integer_if_pointer_type): Likewise.
20320 (cast_to_integer): Likewise.
20321 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20322 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20323 before casting to atomic64_t.
20324 (atomic_exchange_acq): Likewise.
20325 (__arch_exchange_and_add_body): Likewise.
20326 (__arch_add_body): Likewise.
20327 (atomic_add_negative): Likewise.
20328 (atomic_add_zero): Likewise.
20330 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20332 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20333 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20334 (add_fdes): Likewise.
20335 (linear_search_fdes): Likewise.
20336 (binary_search_unencoded_fdes): Likewise.
20338 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20340 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20342 2012-11-24 Adam Conrad <adconrad@0c3.net>
20344 * configure.in: Autodetect C++ header directories.
20345 * configure: Regenerated.
20347 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20349 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20351 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20355 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20357 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20358 LDBL_MANT_DIG == 106]: Disable some tests.
20359 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20361 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20365 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20366 input for small inputs. Return +/- pi/2 for large inputs.
20367 * math/libm-test.inc (atan_test): Add more tests.
20369 * sysdeps/generic/unwind-dw2-fde-glibc.c
20370 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20371 __attribute__ ((unused)).
20374 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20375 x * y if x and y are nonzero and z is zero.
20378 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20379 nonzero exponents with absolute value below 0x1p-117 to +/-
20383 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20384 up arguments below 2**-450, not just those below 2**-500.
20385 * math/libm-test.inc (hypot_test): Add another test.
20388 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20389 Return a+b for ratio over 2**120, not 2**60.
20390 * math/libm-test.inc (hypot_test): Add another test.
20392 * math/libm-test.inc (clog_test): Use
20393 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20394 (clog10_test): Likewise.
20397 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20399 2012-11-22 Andreas Schwab <schwab@suse.de>
20401 * sysdeps/i386/fpu/libm-test-ulps: Update.
20403 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20405 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20406 printf output with newline.
20408 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20411 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20412 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20413 -z nodlopen, -z initfirst and -z execstack support.
20414 * configure: Regenerated.
20416 * elf/elf.h (DF_1_NODIRECT): New macro.
20417 (DF_1_IGNMULDEF): Likewise.
20418 (DF_1_NOKSYMS): Likewise.
20419 (DF_1_NOHDR): Likewise.
20420 (DF_1_EDITED): Likewise.
20421 (DF_1_NORELOC): Likewise.
20422 (DF_1_SYMINTPOSE): Likewise.
20423 (DF_1_GLOBAUDIT): Likewise.
20424 (DF_1_SINGLETON): Likewise.
20425 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20426 DT_1_SUPPORTED_MASK bits.
20427 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20429 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20431 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20433 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20435 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20438 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20439 (sendmmsg): Move declarations...
20440 * socket/sys/socket.h: ... here.
20441 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20442 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20444 * socket/recvmmsg.c: ... this new file.
20445 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20446 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20447 definition of __sendmmsg hidden.
20448 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20449 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20450 Move ENOSYS stub into and include it from...
20451 * socket/sendmmsg.c: ... this new file.
20452 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20453 (sysdep_routines): Move recvmmsg and sendmmsg...
20454 * socket/Makefile (routines): ... here.
20455 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20456 (GLIBC_PRIVATE): Add __sendmmsg.
20457 * include/sys/socket.h (__sendmmsg): Add declarations.
20458 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20461 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20463 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20464 variable I1 with __attribute__ ((unused)).
20465 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20467 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20469 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20470 DUMMY variables with __attribute__ ((unused)).
20472 * bits/byteswap.h: Include <bits/types.h>.
20473 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20475 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20477 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20478 string_t. Do not manually set errno.
20479 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20480 length with __strnlen. Make sure to both set errno and return it on
20483 2012-11-19 David S. Miller <davem@davemloft.net>
20485 With help from Joseph Myers.
20486 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20487 very large arguments properly.
20488 * math/libm-test.inc (atan_test): New tests.
20489 (atan2_test): New tests.
20490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20493 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20496 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20499 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20500 [POSIX] (EADDRNOTAVAIL): Likewise.
20501 [POSIX] (EAFNOSUPPORT): Likewise.
20502 [POSIX] (EALREADY): Likewise.
20503 [POSIX] (ECONNABORTED): Likewise.
20504 [POSIX] (ECONNREFUSED): Likewise.
20505 [POSIX] (ECONNRESET): Likewise.
20506 [POSIX] (EDESTADDRREQ): Likewise.
20507 [POSIX] (EDQUOT): Likewise.
20508 [POSIX] (EHOSTUNREACH): Likewise.
20509 [POSIX] (EIDRM): Likewise.
20510 [POSIX] (EISCONN): Likewise.
20511 [POSIX] (ELOOP): Likewise.
20512 [POSIX] (EMULTIHOP): Likewise.
20513 [POSIX] (ENETDOWN): Likewise.
20514 [POSIX] (ENETUNREACH): Likewise.
20515 [POSIX] (ENOBUFS): Likewise.
20516 [POSIX] (ENODATA): Likewise.
20517 [POSIX] (ENOLINK): Likewise.
20518 [POSIX] (ENOMSG): Likewise.
20519 [POSIX] (ENOPROTOOPT): Likewise.
20520 [POSIX] (ENOSR): Likewise.
20521 [POSIX] (ENOSTR): Likewise.
20522 [POSIX] (ENOTCONN): Likewise.
20523 [POSIX] (ENOTSOCK): Likewise.
20524 [POSIX] (EOPNOTSUPP): Likewise.
20525 [POSIX] (EOVERFLOW): Likewise.
20526 [POSIX] (EPROTO): Likewise.
20527 [POSIX] (EPROTONOSUPPORT): Likewise.
20528 [POSIX] (EPROTOTYPE): Likewise.
20529 [POSIX] (ESTALE): Likewise.
20530 [POSIX] (ETIME): Likewise.
20531 [POSIX] (ETXTBSY): Likewise.
20532 [POSIX] (EWOULDBLOCK): Likewise.
20533 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20534 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20535 [POSIX] (SEEK_CUR): Likewise.
20536 [POSIX] (SEEK_END): Likewise.
20537 [POSIX || UNIX98] (mode_t): Do not require.
20538 [POSIX] (off_t): Likewise.
20539 [POSIX] (pid_t): Likewise.
20540 [POSIX] (sys/stat.h): Do not allow header.
20541 [POSIX] (unistd.h): Likewise.
20542 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20543 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20544 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20545 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20547 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20548 sigevent): Specify elements.
20549 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20551 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20552 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20554 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20555 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20556 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20557 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20558 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20559 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20560 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20561 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20562 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20563 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20564 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20565 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20566 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20567 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20569 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20571 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20573 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20575 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20576 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20577 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20578 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20579 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20580 Specify lower bound on value.
20581 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20582 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20583 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20584 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20585 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20586 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20587 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20588 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20590 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20592 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20593 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20594 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20595 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20596 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20597 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20598 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20599 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20600 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20601 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20602 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20603 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20604 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20605 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20606 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20607 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20609 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20611 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20612 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20613 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20614 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20615 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20616 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20618 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20619 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20620 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20621 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20622 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20623 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20624 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20626 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20627 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20628 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20629 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20630 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20631 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20632 specify as optional.
20633 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20634 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20635 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20636 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20637 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20638 [XPG3] (NL_LANGMAX): Likewise.
20639 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20640 [POSIX || XPG3] (NL_NMAX): Likewise.
20641 [POSIX || XPG3] (NL_SETMAX): Likewise.
20642 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20643 [XPG3] (NZERO): Likewise.
20644 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20645 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20646 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20647 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20648 (REG_ERANGE): Expect.
20649 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20651 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20652 Use (void) in prototype.
20653 [POSIX] (*_t): Allow.
20654 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20655 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20656 (WRDE_BADVAL): Expect.
20658 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20660 [XPG3 || XPG4] (O_RSYNC): Likewise.
20661 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20663 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20664 [XPG3 || XPG4] (sigqueue): Likewise.
20665 [XPG3 || XPG4] (sigtimedwait): Likewise.
20666 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20667 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20668 [XPG3 || XPG4] (vsnprintf): Likewise.
20669 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20671 [XPG3 || XPG4] (blksize_t): Likewise.
20672 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20674 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20675 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20676 [XPG3 || XPG4] (struct itimerspec): Likewise.
20677 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20678 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20679 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20680 [XPG3 || XPG4] (clockid_t): Likewise.
20681 [XPG3 || XPG4] (timer_t): Likewise.
20682 [XPG3 || XPG4] (clock_getres): Likewise.
20683 [XPG3 || XPG4] (clock_gettime): Likewise.
20684 [XPG3 || XPG4] (clock_settime): Likewise.
20685 [XPG3 || XPG4] (nanosleep): Likewise.
20686 [XPG3 || XPG4] (timer_create): Likewise.
20687 [XPG3 || XPG4] (timer_delete): Likewise.
20688 [XPG3 || XPG4] (timer_gettime): Likewise.
20689 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20690 [XPG3 || XPG4] (timer_settime): Likewise.
20691 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20692 [XPG3 || XPG4] (getlogin_r): Likewise.
20693 [XPG3 || XPG4] (pread): Likewise.
20694 [XPG3 || XPG4] (pthread_atfork): Likewise.
20695 [XPG3 || XPG4] (pwrite): Likewise.
20698 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20701 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20703 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20704 finalizing MALLSTREAM.
20706 * sysdeps/mach/hurd/syncfs.c: New file.
20708 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20711 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20712 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20713 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20714 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20715 (_nss_dns_gethostbyname4_r): Likewise.
20716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20717 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20719 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20722 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20724 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20726 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20727 * elf/cache.c (print_entry): Print ",AArch64" for
20730 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20731 * elf/cache.c (print_entry): Print ",hard-float" for
20734 2012-11-18 David S. Miller <davem@davemloft.net>
20736 With help from Joseph Myers.
20737 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20739 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20741 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20742 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20744 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20745 * math/libm-test.inc (y0_test): New tests.
20746 (y1_test): New tests.
20747 * sysdeps/i386/fpu/libm-test-ulps: Update.
20748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20751 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20753 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20755 * configure: Regenerated.
20757 2012-11-17 David S. Miller <davem@davemloft.net>
20760 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20761 nonzero exponents with absolute value below 0x1p-128 to +/-
20764 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20766 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20768 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20770 * posix/getconf-speclist.c: New file.
20771 * posix/posix-envs.def: Likewise.
20772 * posix/confstr.c (START_ENV_GROUP): New macro.
20773 (END_ENV_GROUP): Likewise.
20774 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20775 (KNOWN_PRESENT_ENV_STRING): Likewise.
20776 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20777 (UNKNOWN_ENVIRONMENT): Likewise.
20778 (confstr): Include posix-envs.def instead of handling
20779 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20780 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20781 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20782 (END_ENV_GROUP): Likewise.
20783 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20784 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20785 (UNKNOWN_ENVIRONMENT): Likewise.
20786 (__sysconf): Include posix-envs.def instead of handling associated
20787 cases directly here.
20788 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20789 preprocessing getconf-speclist.c rather than running getconf or
20790 generating empty file.
20792 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20794 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20796 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20799 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20801 2012-11-16 David S. Miller <davem@davemloft.net>
20803 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20804 smaller than LDBL_EPSILON/2.0L, just return xm1.
20806 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20808 * elf/tst-array1.c (init): Set constructor priority to 1000.
20809 (fini): Set destructor priority to 1000.
20810 * elf/tst-array2dep.c: Likewise.
20812 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20815 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20816 (_IO_new_file_xsputn): Also return EOF if none of the input
20817 data was written when overflow failed.
20818 * libio/iopadn.c (_IO_padn): Likewise.
20819 * libio/iowpadn.c (_IO_wpadn): Likewise.
20820 * stdio-common/tst-put-error.c: Add copyright notice.
20821 (do_test): Add case for printing padded string.
20822 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20823 _IO_padn returned error.
20824 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20825 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20828 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20830 * libio/libioP.h: Add comment note that the references to C++
20831 bits are now obsolete.
20833 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20835 * math/libm-test.inc (check_complex): Use asprintf.
20837 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20839 * debug/pcprofiledump.c (print_version): Update copyright year.
20840 * malloc/memusagestat.c (print_version): Likewise.
20842 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20845 * elf/Makefile (tests): Add tst-audit8.
20846 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20847 ($(objpfx)tst-audit8.out): New target.
20848 (tst-audit8-ENV): New variable.
20849 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20850 audit if l_reloc_result is NULL.
20851 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20852 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20853 * elf/tst-audit8.c: New file.
20855 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20857 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20858 * misc/Makefile (CFLAGS-select.c): Define.
20859 * posix/Makefile (CFLAGS-pause.c): Define.
20861 2012-11-13 David S. Miller <davem@davemloft.net>
20863 * crypt/Makefile: Move test targets after toplevel Rules
20864 inclusion. Grab any necessary sysdep routines when linking.
20865 * crypt/md5.c (md5_process_block): Remove define, we will always
20866 name it __md5_process_block.
20867 (md5_finish_ctx): Update md5_process_block call.
20868 (md5_stream): Likewise.
20869 (md5_process_bytes): Likewise.
20870 (md5_process_block): Rename to __md5_process_block and move to ...
20871 * crypt/md5-block.c: ... here.
20872 * crypt/sha256.c (sha256_process_block): Move to ...
20873 * crypt/sha256-block.c: ... here.
20874 * crypt/sha512.c (sha512_process_block): Move to ...
20875 * crypt/sha512-block.c: ... here.
20876 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20878 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20879 * sysdeps/sparc/sparc64/multiarch/Makefile
20880 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20882 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20883 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20885 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20886 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20887 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20888 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20889 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20890 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20891 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20892 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20893 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20895 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20896 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20898 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20900 2012-11-13 Joseph Myers <joseph@codesourcery.com>
20902 * timezone/tzselect.ksh: Update from tzcode git revision
20903 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20904 * timezone/zdump.c: Likewise.
20905 * timezone/zic.c: Likewise.
20906 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20907 in TZVERSION setting, not $(PKGVERSION).
20908 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20909 REPORT_BUGS_TO settings.
20912 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20915 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20917 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20918 detection to immediately after _FP_ROUND().
20919 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20922 2012-11-11 David S. Miller <davem@davemloft.net>
20924 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20926 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20927 __close rather than their public counterparts.
20929 2012-11-10 Joseph Myers <joseph@codesourcery.com>
20931 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20933 [UNIX98] (sem_timedwait): Do not expect.
20934 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20935 [XPG4 || UNIX98] (sockatmark): Do not expect.
20936 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20937 (clock_getcpuclockid): Do not expect.
20938 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20939 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20941 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20942 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20943 [UNIX98] (vwscanf): Likewise.
20944 [UNIX98] (vswscanf): Likewise.
20946 2012-11-09 Joseph Myers <joseph@codesourcery.com>
20948 * timezone/version.h: Remove file.
20949 * timezone/README: Do not refer to version.h.
20950 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20951 $(objpfx)version.h.
20952 ($(objpfx)zdump.o): Likewise.
20953 ($(objpfx)version.h): New target.
20955 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20957 * timezone/README: Don't mention modification to tzselect.ksh.
20958 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20959 work on unmodified tzselect.ksh. Substitute version numbers in
20962 * Makefile (format-me): Remove.
20963 (INSTALL): Adjust indentation. Use commands directly instead of
20964 using $(format-me).
20966 * aclocal.m4 (ACX_PKGVERSION): New macro.
20967 (ACX_BUGURL): Likewise.
20968 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20969 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20970 (REPORT_BUGS_TO): Likewise.
20971 * configure: Regenerated.
20972 * config.h.in (PKGVERSION): New macro.
20973 (REPORT_BUGS_TO): Likewise.
20974 * config.make.in (PKGVERSION): New variable.
20975 (PKGVERSION_TEXI): Likewise.
20976 (REPORT_BUGS_TO): Likewise.
20977 (REPORT_BUGS_TEXI): Likewise.
20978 * Makefile (format-me): Use -I$(common-objpfx)manual.
20979 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20980 ($(common-objpfx)manual/%): New target.
20981 (manual/%): Remove target.
20982 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20983 (print_version): Use PKGVERSION.
20984 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20985 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20986 and REPORT_BUGS_TO.
20987 ($(objpfx)xtrace): Likewise.
20988 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20989 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20990 (print_version): Use PKGVERSION.
20991 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20992 (do_version): Use PKGVERSION.
20993 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20995 (common-ldd-rewrite): Likewise.
20996 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20997 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20998 (print_version): Use PKGVERSION.
20999 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21000 * elf/pldd.c (argp_program_bug_address): Remove variable.
21001 (more_help): New function.
21002 (argp): Use more_help.
21003 (print_version): Use PKGVERSION.
21004 * elf/sln.c (main): Use PKGVERSION.
21005 (usage): Use REPORT_BUGS_TO.
21006 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21007 (top level): Use PKGVERSION.
21008 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21009 (print_version): Use PKGVERSION.
21010 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21011 (print_version): Use PKGVERSION.
21012 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21013 (print_version): Use PKGVERSION.
21014 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21015 (print_version): Use PKGVERSION.
21016 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21017 (print_version): Use PKGVERSION.
21018 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21019 (print_version): Use PKGVERSION.
21020 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21022 ($(objpfx)memusage): Likewise.
21023 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21024 (do_version): Use PKGVERSION.
21025 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21026 (print_version): Use PKGVERSION.
21027 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21028 ($PKGVERSION): New variable.
21029 ($REPORT_BUGS_TO): Likewise.
21030 (usage): Use $REPORT_BUGS_TO.
21031 (top level): Use $PKGVERSION.
21032 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21033 ($(objpfx)pkgvers.texi): New rule.
21034 ($(objpfx)stamp-pkgvers): Likewise.
21035 * manual/install.texi: Include pkgvers.texi.
21036 (--with-pkgversion): Document new configure option.
21037 (--with-bugurl): Likewise.
21038 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21039 than necessarily for this particular distribution. Use
21040 REPORT_BUGS_TO for where to report bugs.
21041 * INSTALL: Regenerated.
21042 * manual/libc.texinfo: Include pkgvers.texi.
21043 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21044 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21045 (print_version): Use PKGVERSION.
21046 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21047 (print_version): Use PKGVERSION.
21048 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21049 (print_version): Use PKGVERSION.
21050 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21051 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21053 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21054 (print_version): Use PKGVERSION.
21055 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21056 (print_version): Use PKGVERSION.
21057 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21060 * timezone/checktab.awk: Update from tzcode 2012i.
21061 * timezone/ialloc.c: Likewise.
21062 * timezone/private.h: Likewise.
21063 * timezone/scheck.c: Likewise.
21064 * timezone/tzfile.h: Likewise.
21065 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21066 (TZVERSION): Hardcode tzcode version number.
21067 * timezone/zdump.c: Update from tzcode 2012i.
21068 * timezone/zic.c: Likewise.
21069 * timezone/version.h: New file.
21070 * timezone/README: Describe version.h. Update upstream location.
21073 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21074 (mktemp): Enable declaration.
21075 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21076 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21077 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21078 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21080 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21082 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21084 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21086 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21088 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21092 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21093 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21094 for copies of such integer values.
21095 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21096 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21098 2012-11-09 Andreas Jaeger <aj@suse.de>
21100 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21101 definitions and declarations that are provided by
21102 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21104 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21106 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21107 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21108 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21111 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21113 * elf/elf.h: Update comment before AArch64 relocations.
21115 2012-11-07 David S. Miller <davem@davemloft.net>
21117 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21118 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21119 (__start_context): Declare.
21120 (__makecontext_ret): Delete.
21121 (__makecontext): Hook up __start_context instead of
21123 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21124 (sysdep_routines): Add __start_context when in stdlib.
21126 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21128 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21129 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21130 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21132 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21133 (READELF): New variable. Use it instead of hardcoded "readelf".
21135 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21137 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21138 * sysdeps/x86/Makefile: Here.
21139 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21140 * sysdeps/x86/tst-xmmymm.sh: This.
21142 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21144 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21146 [UNIX98] (pthread_barrier_t): Do not expect.
21147 [UNIX98] (pthread_barrierattr_t): Likewise.
21148 [UNIX98] (pthread_spinlock_t): Likewise.
21149 [UNIX98] (pthread_barrier_destroy): Likewise.
21150 [UNIX98] (pthread_barrier_init): Likewise.
21151 [UNIX98] (pthread_barrier_wait): Likewise.
21152 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21153 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21154 [UNIX98] (pthread_barrierattr_init): Likewise.
21155 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21156 [UNIX98] (pthread_getcpuclockid): Likewise.
21157 [UNIX98] (pthread_mutex_timedlock): Likewise.
21158 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21159 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21160 [UNIX98] (pthread_sigmask): Likewise.
21161 [UNIX98] (pthread_spin_destroy): Likewise.
21162 [UNIX98] (pthread_spin_init): Likewise.
21163 [UNIX98] (pthread_spin_lock): Likewise.
21164 [UNIX98] (pthread_spin_trylock): Likewise.
21165 [UNIX98] (pthread_spin_unlock): Likewise.
21166 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21168 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21169 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21170 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21171 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21172 [XPG3 || XPG4] (pthread_key_t): Likewise.
21173 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21174 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21175 [XPG3 || XPG4] (pthread_once_t): Likewise.
21176 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21177 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21178 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21179 [XPG3 || XPG4] (pthread_t): Likewise.
21181 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21183 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21185 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21186 Change function return type to int.
21188 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21189 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21190 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21191 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21192 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21193 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21194 [!POSIX] (posix_madvise): Likewise.
21195 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21197 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21198 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21199 (mode_t): Likewise.
21200 (posix_mem_offset): Likewise.
21201 (posix_typed_mem_get_info): Likewise.
21202 (posix_typed_mem_open): Likewise.
21204 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21205 Change condition to [XOPEN2K8].
21207 * conform/conformtest.pl: Preprocess allow-header data with -x c
21208 instead of from stdin.
21209 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21210 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21211 [C99-based standards] (cerfc): Likewise.
21212 [C99-based standards] (cexp2): Likewise.
21213 [C99-based standards] (cexpm1): Likewise.
21214 [C99-based standards] (clog10): Likewise.
21215 [C99-based standards] (clog1p): Likewise.
21216 [C99-based standards] (clog2): Likewise.
21217 [C99-based standards] (clgamma): Likewise.
21218 [C99-based standards] (ctgamma): Likewise.
21219 [C99-based standards] (cerff): Likewise.
21220 [C99-based standards] (cerfcf): Likewise.
21221 [C99-based standards] (cexp2f): Likewise.
21222 [C99-based standards] (cexpm1f): Likewise.
21223 [C99-based standards] (clog10f): Likewise.
21224 [C99-based standards] (clog1pf): Likewise.
21225 [C99-based standards] (clog2f): Likewise.
21226 [C99-based standards] (clgammaf): Likewise.
21227 [C99-based standards] (ctgammaf): Likewise.
21228 [C99-based standards] (cerfl): Likewise.
21229 [C99-based standards] (cerfcl): Likewise.
21230 [C99-based standards] (cexp2l): Likewise.
21231 [C99-based standards] (cexpm1l): Likewise.
21232 [C99-based standards] (clog10l): Likewise.
21233 [C99-based standards] (clog1pl): Likewise.
21234 [C99-based standards] (clog2l): Likewise.
21235 [C99-based standards] (clgammal): Likewise.
21236 [C99-based standards] (ctgammal): Likewise.
21237 * conform/data/inttypes.h-data [C99-based standards]: Include
21238 stdint.h-data. Remove all expectations for stdint.h contents.
21239 [C99-based standards] (PRI*): Do not allow.
21240 [C99-based standards] (SCN*): Likewise.
21241 [C99-based standards] (*_t): Likewise.
21242 [C99-based-standards] (PRId8): Expect macro.
21243 [C99-based-standards] (PRIi8): Likewise.
21244 [C99-based-standards] (PRIo8): Likewise.
21245 [C99-based-standards] (PRIu8): Likewise.
21246 [C99-based-standards] (PRIx8): Likewise.
21247 [C99-based-standards] (PRIX8): Likewise.
21248 [C99-based-standards] (SCNd8): Likewise.
21249 [C99-based-standards] (SCNi8): Likewise.
21250 [C99-based-standards] (SCNo8): Likewise.
21251 [C99-based-standards] (SCNu8): Likewise.
21252 [C99-based-standards] (SCNx8): Likewise.
21253 [C99-based-standards] (PRIdLEAST8): Likewise.
21254 [C99-based-standards] (PRIiLEAST8): Likewise.
21255 [C99-based-standards] (PRIoLEAST8): Likewise.
21256 [C99-based-standards] (PRIuLEAST8): Likewise.
21257 [C99-based-standards] (PRIxLEAST8): Likewise.
21258 [C99-based-standards] (PRIXLEAST8): Likewise.
21259 [C99-based-standards] (SCNdLEAST8): Likewise.
21260 [C99-based-standards] (SCNiLEAST8): Likewise.
21261 [C99-based-standards] (SCNoLEAST8): Likewise.
21262 [C99-based-standards] (SCNuLEAST8): Likewise.
21263 [C99-based-standards] (SCNxLEAST8): Likewise.
21264 [C99-based-standards] (PRIdFAST8): Likewise.
21265 [C99-based-standards] (PRIiFAST8): Likewise.
21266 [C99-based-standards] (PRIoFAST8): Likewise.
21267 [C99-based-standards] (PRIuFAST8): Likewise.
21268 [C99-based-standards] (PRIxFAST8): Likewise.
21269 [C99-based-standards] (PRIXFAST8): Likewise.
21270 [C99-based-standards] (SCNdFAST8): Likewise.
21271 [C99-based-standards] (SCNiFAST8): Likewise.
21272 [C99-based-standards] (SCNoFAST8): Likewise.
21273 [C99-based-standards] (SCNuFAST8): Likewise.
21274 [C99-based-standards] (SCNxFAST8): Likewise.
21275 [C99-based-standards] (PRId16): Likewise.
21276 [C99-based-standards] (PRIi16): Likewise.
21277 [C99-based-standards] (PRIo16): Likewise.
21278 [C99-based-standards] (PRIu16): Likewise.
21279 [C99-based-standards] (PRIx16): Likewise.
21280 [C99-based-standards] (PRIX16): Likewise.
21281 [C99-based-standards] (SCNd16): Likewise.
21282 [C99-based-standards] (SCNi16): Likewise.
21283 [C99-based-standards] (SCNo16): Likewise.
21284 [C99-based-standards] (SCNu16): Likewise.
21285 [C99-based-standards] (SCNx16): Likewise.
21286 [C99-based-standards] (PRIdLEAST16): Likewise.
21287 [C99-based-standards] (PRIiLEAST16): Likewise.
21288 [C99-based-standards] (PRIoLEAST16): Likewise.
21289 [C99-based-standards] (PRIuLEAST16): Likewise.
21290 [C99-based-standards] (PRIxLEAST16): Likewise.
21291 [C99-based-standards] (PRIXLEAST16): Likewise.
21292 [C99-based-standards] (SCNdLEAST16): Likewise.
21293 [C99-based-standards] (SCNiLEAST16): Likewise.
21294 [C99-based-standards] (SCNoLEAST16): Likewise.
21295 [C99-based-standards] (SCNuLEAST16): Likewise.
21296 [C99-based-standards] (SCNxLEAST16): Likewise.
21297 [C99-based-standards] (PRIdFAST16): Likewise.
21298 [C99-based-standards] (PRIiFAST16): Likewise.
21299 [C99-based-standards] (PRIoFAST16): Likewise.
21300 [C99-based-standards] (PRIuFAST16): Likewise.
21301 [C99-based-standards] (PRIxFAST16): Likewise.
21302 [C99-based-standards] (PRIXFAST16): Likewise.
21303 [C99-based-standards] (SCNdFAST16): Likewise.
21304 [C99-based-standards] (SCNiFAST16): Likewise.
21305 [C99-based-standards] (SCNoFAST16): Likewise.
21306 [C99-based-standards] (SCNuFAST16): Likewise.
21307 [C99-based-standards] (SCNxFAST16): Likewise.
21308 [C99-based-standards] (PRId32): Likewise.
21309 [C99-based-standards] (PRIi32): Likewise.
21310 [C99-based-standards] (PRIo32): Likewise.
21311 [C99-based-standards] (PRIu32): Likewise.
21312 [C99-based-standards] (PRIx32): Likewise.
21313 [C99-based-standards] (PRIX32): Likewise.
21314 [C99-based-standards] (SCNd32): Likewise.
21315 [C99-based-standards] (SCNi32): Likewise.
21316 [C99-based-standards] (SCNo32): Likewise.
21317 [C99-based-standards] (SCNu32): Likewise.
21318 [C99-based-standards] (SCNx32): Likewise.
21319 [C99-based-standards] (PRIdLEAST32): Likewise.
21320 [C99-based-standards] (PRIiLEAST32): Likewise.
21321 [C99-based-standards] (PRIoLEAST32): Likewise.
21322 [C99-based-standards] (PRIuLEAST32): Likewise.
21323 [C99-based-standards] (PRIxLEAST32): Likewise.
21324 [C99-based-standards] (PRIXLEAST32): Likewise.
21325 [C99-based-standards] (SCNdLEAST32): Likewise.
21326 [C99-based-standards] (SCNiLEAST32): Likewise.
21327 [C99-based-standards] (SCNoLEAST32): Likewise.
21328 [C99-based-standards] (SCNuLEAST32): Likewise.
21329 [C99-based-standards] (SCNxLEAST32): Likewise.
21330 [C99-based-standards] (PRIdFAST32): Likewise.
21331 [C99-based-standards] (PRIiFAST32): Likewise.
21332 [C99-based-standards] (PRIoFAST32): Likewise.
21333 [C99-based-standards] (PRIuFAST32): Likewise.
21334 [C99-based-standards] (PRIxFAST32): Likewise.
21335 [C99-based-standards] (PRIXFAST32): Likewise.
21336 [C99-based-standards] (SCNdFAST32): Likewise.
21337 [C99-based-standards] (SCNiFAST32): Likewise.
21338 [C99-based-standards] (SCNoFAST32): Likewise.
21339 [C99-based-standards] (SCNuFAST32): Likewise.
21340 [C99-based-standards] (SCNxFAST32): Likewise.
21341 [C99-based-standards] (PRId64): Likewise.
21342 [C99-based-standards] (PRIi64): Likewise.
21343 [C99-based-standards] (PRIo64): Likewise.
21344 [C99-based-standards] (PRIu64): Likewise.
21345 [C99-based-standards] (PRIx64): Likewise.
21346 [C99-based-standards] (PRIX64): Likewise.
21347 [C99-based-standards] (SCNd64): Likewise.
21348 [C99-based-standards] (SCNi64): Likewise.
21349 [C99-based-standards] (SCNo64): Likewise.
21350 [C99-based-standards] (SCNu64): Likewise.
21351 [C99-based-standards] (SCNx64): Likewise.
21352 [C99-based-standards] (PRIdLEAST64): Likewise.
21353 [C99-based-standards] (PRIiLEAST64): Likewise.
21354 [C99-based-standards] (PRIoLEAST64): Likewise.
21355 [C99-based-standards] (PRIuLEAST64): Likewise.
21356 [C99-based-standards] (PRIxLEAST64): Likewise.
21357 [C99-based-standards] (PRIXLEAST64): Likewise.
21358 [C99-based-standards] (SCNdLEAST64): Likewise.
21359 [C99-based-standards] (SCNiLEAST64): Likewise.
21360 [C99-based-standards] (SCNoLEAST64): Likewise.
21361 [C99-based-standards] (SCNuLEAST64): Likewise.
21362 [C99-based-standards] (SCNxLEAST64): Likewise.
21363 [C99-based-standards] (PRIdFAST64): Likewise.
21364 [C99-based-standards] (PRIiFAST64): Likewise.
21365 [C99-based-standards] (PRIoFAST64): Likewise.
21366 [C99-based-standards] (PRIuFAST64): Likewise.
21367 [C99-based-standards] (PRIxFAST64): Likewise.
21368 [C99-based-standards] (PRIXFAST64): Likewise.
21369 [C99-based-standards] (SCNdFAST64): Likewise.
21370 [C99-based-standards] (SCNiFAST64): Likewise.
21371 [C99-based-standards] (SCNoFAST64): Likewise.
21372 [C99-based-standards] (SCNuFAST64): Likewise.
21373 [C99-based-standards] (SCNxFAST64): Likewise.
21374 [C99-based-standards] (PRIdMAX): Likewise.
21375 [C99-based-standards] (PRIiMAX): Likewise.
21376 [C99-based-standards] (PRIoMAX): Likewise.
21377 [C99-based-standards] (PRIuMAX): Likewise.
21378 [C99-based-standards] (PRIxMAX): Likewise.
21379 [C99-based-standards] (PRIXMAX): Likewise.
21380 [C99-based-standards] (SCNdMAX): Likewise.
21381 [C99-based-standards] (SCNiMAX): Likewise.
21382 [C99-based-standards] (SCNoMAX): Likewise.
21383 [C99-based-standards] (SCNuMAX): Likewise.
21384 [C99-based-standards] (SCNxMAX): Likewise.
21385 [C99-based-standards] (PRIdPTR): Likewise.
21386 [C99-based-standards] (PRIiPTR): Likewise.
21387 [C99-based-standards] (PRIoPTR): Likewise.
21388 [C99-based-standards] (PRIuPTR): Likewise.
21389 [C99-based-standards] (PRIxPTR): Likewise.
21390 [C99-based-standards] (PRIXPTR): Likewise.
21391 [C99-based-standards] (SCNdPTR): Likewise.
21392 [C99-based-standards] (SCNiPTR): Likewise.
21393 [C99-based-standards] (SCNoPTR): Likewise.
21394 [C99-based-standards] (SCNuPTR): Likewise.
21395 [C99-based-standards] (SCNxPTR): Likewise.
21396 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21398 * conform/data/stdint.h-data: Update comments to clarify
21400 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21402 [C99-based standards] (INT8_MAX): Likewise.
21403 [C99-based standards] (INT16_MIN): Likewise.
21404 [C99-based standards] (INT16_MAX): Likewise.
21405 [C99-based standards] (INT32_MIN): Likewise.
21406 [C99-based standards] (INT32_MAX): Likewise.
21407 [C99-based standards] (INT64_MIN): Likewise.
21408 [C99-based standards] (INT64_MAX): Likewise.
21409 [C99-based standards] (UINT8_MAX): Likewise.
21410 [C99-based standards] (UINT16_MAX): Likewise.
21411 [C99-based standards] (UINT32_MAX): Likewise.
21412 [C99-based standards] (UINT64_MAX): Likewise.
21413 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21414 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21415 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21416 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21417 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21418 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21419 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21420 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21421 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21422 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21423 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21424 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21425 [C99-based standards] (INT_FAST8_MIN): Likewise.
21426 [C99-based standards] (INT_FAST8_MAX): Likewise.
21427 [C99-based standards] (INT_FAST16_MIN): Likewise.
21428 [C99-based standards] (INT_FAST16_MAX): Likewise.
21429 [C99-based standards] (INT_FAST32_MIN): Likewise.
21430 [C99-based standards] (INT_FAST32_MAX): Likewise.
21431 [C99-based standards] (INT_FAST64_MIN): Likewise.
21432 [C99-based standards] (INT_FAST64_MAX): Likewise.
21433 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21434 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21435 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21436 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21437 [C99-based standards] (INTPTR_MIN): Likewise.
21438 [C99-based standards] (INTPTR_MAX): Likewise.
21439 [C99-based standards] (UINTPTR_MAX): Likewise.
21440 [C99-based standards] (INTMAX_MIN): Likewise.
21441 [C99-based standards] (INTMAX_MAX): Likewise.
21442 [C99-based standards] (UINTMAX_MAX): Likewise.
21443 [C99-based standards] (PTRDIFF_MIN): Likewise.
21444 [C99-based standards] (PTRDIFF_MAX): Likewise.
21445 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21446 [C99-based standards] (SIZE_MAX): Likewise.
21447 [C99-based standards] (WCHAR_MAX): Likewise.
21448 [C99-based standards] (WINT_MAX): Likewise.
21449 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21450 constraint on value.
21451 [C99-based standards] (WCHAR_MIN): Likewise.
21452 [C99-based standards] (WINT_MIN): Likewise.
21453 [C99-based standards] (*_t): Allow.
21454 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21455 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21456 Include math.h-data and complex.h-data. Remove all expectations
21457 of math.h and complex.h contents.
21458 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21460 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21461 (struct tm): Expect tag.
21462 [C99-based-standards] (wcstof): Expect function.
21463 [C99-based-standards] (wcstold): Likewise.
21464 [C99-based-standards] (wcstoll): Likewise.
21465 [C99-based-standards] (wcstoull): Likewise.
21466 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21467 macro-int-constant. Specify type.
21468 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21469 constraint on value.
21470 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21472 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21474 [ISO C standards]: Do not allow headers.
21475 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21476 wcs[abcdefghijklmnopqrstuvwxyz]*.
21477 [ISO C standards] (*_t): Do not allow.
21478 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21480 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21481 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21483 [ISO C standards]: Do not allow headers.
21484 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21485 is[abcdefghijklmnopqrstuvwxyz]*.
21486 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21487 to[abcdefghijklmnopqrstuvwxyz]*.
21488 [ISO C standards] (*_t): Do not allow.
21489 * conform/data/stdalign.h-data: New file.
21490 * conform/data/stdbool.h-data: Likewise.
21491 * conform/data/stdnoreturn.h-data: Likewise.
21493 2012-11-07 Roland McGrath <roland@hack.frob.com>
21496 * manual/filesys.texi (Directory Entries): Typo fix.
21497 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21499 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21501 * elf/elf.h (EM_AARCH64): New macro.
21502 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21503 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21504 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21505 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21506 (R_AARCH64_TLSDESC): Likewise.
21507 (NT_ARM_TLS): Likewise.
21508 (NT_ARM_HW_BREAK): Likewise.
21509 (NT_ARM_HW_WATCH): Likewise.
21511 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21514 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21515 (__ieee754_powl): Saturate nonzero exponents with absolute value
21516 below 0x1p-79 to +/- 0x1p-79.
21517 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21518 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21519 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21520 nonzero exponents with absolute value below 0x1p-32 to +/-
21522 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21523 (__ieee754_powl): Saturate nonzero exponents with absolute value
21524 below 0x1p-79 to +/- 0x1p-79.
21525 * math/libm-test.inc (pow_test): Add more tests.
21527 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21529 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21530 _dl_s390_cap_flags with kernel. Increase string length.
21531 (_dl_s390_platforms): Add z196 and zEC12.
21533 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21535 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21536 Change XOPEN21K to XOPEN2K.
21538 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21540 * string/memmove.c: Use memcpy when possible.
21542 2012-11-06 Andreas Jaeger <aj@suse.de>
21544 * po/eo.po: Update from translation team.
21546 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21550 exponent and small x and y exponents, scale x or y up. Increase
21551 by 2 the exponent used in scaling up.
21552 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21553 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21554 * math/libm-test.inc (fma_test): Add more tests.
21555 (fma_test_towardzero): Likewise.
21556 (fma_test_downward): Likewise.
21557 (fma_test_upward): Likewise.
21559 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21562 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21566 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21567 namespace for names of struct fields.
21568 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21570 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21571 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21573 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21576 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21578 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21580 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21584 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21587 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21591 definitely overflow as x * y not x * y + z.
21592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21593 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21594 * math/libm-test.inc (fma_test): Add more tests.
21595 (fma_test_towardzero): Likewise.
21596 (fma_test_downward): Likewise.
21597 (fma_test_upward): Likewise.
21599 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21603 * include/stub-tag.h: Remove file.
21604 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21606 * manual/maint.texi (Porting): Don't reference it.
21607 * Makerules ($(objpfx)stubs): Likewise.
21608 * dirent/closedir.c: Don't include <stub-tag.h>.
21609 * dirent/dirfd.c: Likewise.
21610 * dirent/fdopendir.c: Likewise.
21611 * dirent/getdents.c: Likewise.
21612 * dirent/getdents64.c: Likewise.
21613 * dirent/opendir.c: Likewise.
21614 * dirent/readdir.c: Likewise.
21615 * dirent/readdir64.c: Likewise.
21616 * dirent/readdir64_r.c: Likewise.
21617 * dirent/readdir_r.c: Likewise.
21618 * dirent/rewinddir.c: Likewise.
21619 * dirent/seekdir.c: Likewise.
21620 * dirent/telldir.c: Likewise.
21621 * gmon/profil.c: Likewise.
21622 * grp/setgroups.c: Likewise.
21623 * inet/if_index.c: Likewise.
21624 * io/access.c: Likewise.
21625 * io/chdir.c: Likewise.
21626 * io/chmod.c: Likewise.
21627 * io/chown.c: Likewise.
21628 * io/close.c: Likewise.
21629 * io/dup.c: Likewise.
21630 * io/dup2.c: Likewise.
21631 * io/dup3.c: Likewise.
21632 * io/euidaccess.c: Likewise.
21633 * io/faccessat.c: Likewise.
21634 * io/fchdir.c: Likewise.
21635 * io/fchmod.c: Likewise.
21636 * io/fchmodat.c: Likewise.
21637 * io/fchown.c: Likewise.
21638 * io/fchownat.c: Likewise.
21639 * io/fcntl.c: Likewise.
21640 * io/flock.c: Likewise.
21641 * io/fstatfs.c: Likewise.
21642 * io/fstatfs64.c: Likewise.
21643 * io/fstatvfs.c: Likewise.
21644 * io/fstatvfs64.c: Likewise.
21645 * io/futimens.c: Likewise.
21646 * io/fxstat.c: Likewise.
21647 * io/fxstat64.c: Likewise.
21648 * io/fxstatat.c: Likewise.
21649 * io/fxstatat64.c: Likewise.
21650 * io/getcwd.c: Likewise.
21651 * io/isatty.c: Likewise.
21652 * io/lchmod.c: Likewise.
21653 * io/lchown.c: Likewise.
21654 * io/link.c: Likewise.
21655 * io/linkat.c: Likewise.
21656 * io/lseek.c: Likewise.
21657 * io/lseek64.c: Likewise.
21658 * io/lxstat64.c: Likewise.
21659 * io/mkdir.c: Likewise.
21660 * io/mkdirat.c: Likewise.
21661 * io/mkfifo.c: Likewise.
21662 * io/mkfifoat.c: Likewise.
21663 * io/open.c: Likewise.
21664 * io/open64.c: Likewise.
21665 * io/openat.c: Likewise.
21666 * io/openat64.c: Likewise.
21667 * io/pipe.c: Likewise.
21668 * io/pipe2.c: Likewise.
21669 * io/poll.c: Likewise.
21670 * io/posix_fadvise.c: Likewise.
21671 * io/posix_fadvise64.c: Likewise.
21672 * io/posix_fallocate.c: Likewise.
21673 * io/posix_fallocate64.c: Likewise.
21674 * io/read.c: Likewise.
21675 * io/readlink.c: Likewise.
21676 * io/readlinkat.c: Likewise.
21677 * io/rmdir.c: Likewise.
21678 * io/sendfile.c: Likewise.
21679 * io/sendfile64.c: Likewise.
21680 * io/statfs.c: Likewise.
21681 * io/statfs64.c: Likewise.
21682 * io/statvfs.c: Likewise.
21683 * io/statvfs64.c: Likewise.
21684 * io/symlink.c: Likewise.
21685 * io/symlinkat.c: Likewise.
21686 * io/ttyname.c: Likewise.
21687 * io/ttyname_r.c: Likewise.
21688 * io/umask.c: Likewise.
21689 * io/unlink.c: Likewise.
21690 * io/unlinkat.c: Likewise.
21691 * io/utime.c: Likewise.
21692 * io/utimensat.c: Likewise.
21693 * io/write.c: Likewise.
21694 * io/xmknod.c: Likewise.
21695 * io/xmknodat.c: Likewise.
21696 * io/xstat.c: Likewise.
21697 * io/xstat64.c: Likewise.
21698 * login/getpt.c: Likewise.
21699 * login/grantpt.c: Likewise.
21700 * login/unlockpt.c: Likewise.
21701 * math/e_acoshl.c: Likewise.
21702 * math/e_acosl.c: Likewise.
21703 * math/e_asinl.c: Likewise.
21704 * math/e_atan2l.c: Likewise.
21705 * math/e_atanhl.c: Likewise.
21706 * math/e_coshl.c: Likewise.
21707 * math/e_expl.c: Likewise.
21708 * math/e_fmodl.c: Likewise.
21709 * math/e_gammal_r.c: Likewise.
21710 * math/e_hypotl.c: Likewise.
21711 * math/e_j0l.c: Likewise.
21712 * math/e_j1l.c: Likewise.
21713 * math/e_jnl.c: Likewise.
21714 * math/e_lgammal_r.c: Likewise.
21715 * math/e_log10l.c: Likewise.
21716 * math/e_log2l.c: Likewise.
21717 * math/e_logl.c: Likewise.
21718 * math/e_powl.c: Likewise.
21719 * math/e_rem_pio2l.c: Likewise.
21720 * math/e_sinhl.c: Likewise.
21721 * math/e_sqrtl.c: Likewise.
21722 * math/fclrexcpt.c: Likewise.
21723 * math/fedisblxcpt.c: Likewise.
21724 * math/feenablxcpt.c: Likewise.
21725 * math/fegetenv.c: Likewise.
21726 * math/fegetexcept.c: Likewise.
21727 * math/fegetround.c: Likewise.
21728 * math/feholdexcpt.c: Likewise.
21729 * math/fesetenv.c: Likewise.
21730 * math/fesetround.c: Likewise.
21731 * math/feupdateenv.c: Likewise.
21732 * math/fgetexcptflg.c: Likewise.
21733 * math/fraiseexcpt.c: Likewise.
21734 * math/fsetexcptflg.c: Likewise.
21735 * math/ftestexcept.c: Likewise.
21736 * math/k_cosl.c: Likewise.
21737 * math/k_rem_pio2l.c: Likewise.
21738 * math/k_sinl.c: Likewise.
21739 * math/k_tanl.c: Likewise.
21740 * math/s_asinhl.c: Likewise.
21741 * math/s_atanl.c: Likewise.
21742 * math/s_cbrtl.c: Likewise.
21743 * math/s_erfl.c: Likewise.
21744 * math/s_expm1l.c: Likewise.
21745 * math/s_log1pl.c: Likewise.
21746 * math/s_tanhl.c: Likewise.
21747 * misc/acct.c: Likewise.
21748 * misc/brk.c: Likewise.
21749 * misc/chflags.c: Likewise.
21750 * misc/chroot.c: Likewise.
21751 * misc/fchflags.c: Likewise.
21752 * misc/fgetxattr.c: Likewise.
21753 * misc/flistxattr.c: Likewise.
21754 * misc/fremovexattr.c: Likewise.
21755 * misc/fsetxattr.c: Likewise.
21756 * misc/fsync.c: Likewise.
21757 * misc/ftruncate.c: Likewise.
21758 * misc/futimes.c: Likewise.
21759 * misc/futimesat.c: Likewise.
21760 * misc/getdomain.c: Likewise.
21761 * misc/getdtsz.c: Likewise.
21762 * misc/gethostid.c: Likewise.
21763 * misc/gethostname.c: Likewise.
21764 * misc/getloadavg.c: Likewise.
21765 * misc/getpagesize.c: Likewise.
21766 * misc/getsysstats.c: Likewise.
21767 * misc/getxattr.c: Likewise.
21768 * misc/gtty.c: Likewise.
21769 * misc/ioctl.c: Likewise.
21770 * misc/lgetxattr.c: Likewise.
21771 * misc/listxattr.c: Likewise.
21772 * misc/llistxattr.c: Likewise.
21773 * misc/lremovexattr.c: Likewise.
21774 * misc/lsetxattr.c: Likewise.
21775 * misc/lutimes.c: Likewise.
21776 * misc/madvise.c: Likewise.
21777 * misc/mincore.c: Likewise.
21778 * misc/mlock.c: Likewise.
21779 * misc/mlockall.c: Likewise.
21780 * misc/mmap.c: Likewise.
21781 * misc/mprotect.c: Likewise.
21782 * misc/msync.c: Likewise.
21783 * misc/munlock.c: Likewise.
21784 * misc/munlockall.c: Likewise.
21785 * misc/munmap.c: Likewise.
21786 * misc/preadv.c: Likewise.
21787 * misc/preadv64.c: Likewise.
21788 * misc/ptrace.c: Likewise.
21789 * misc/pwritev.c: Likewise.
21790 * misc/pwritev64.c: Likewise.
21791 * misc/readv.c: Likewise.
21792 * misc/reboot.c: Likewise.
21793 * misc/remap_file_pages.c: Likewise.
21794 * misc/removexattr.c: Likewise.
21795 * misc/revoke.c: Likewise.
21796 * misc/select.c: Likewise.
21797 * misc/setdomain.c: Likewise.
21798 * misc/setegid.c: Likewise.
21799 * misc/seteuid.c: Likewise.
21800 * misc/sethostid.c: Likewise.
21801 * misc/sethostname.c: Likewise.
21802 * misc/setregid.c: Likewise.
21803 * misc/setreuid.c: Likewise.
21804 * misc/setxattr.c: Likewise.
21805 * misc/sstk.c: Likewise.
21806 * misc/stty.c: Likewise.
21807 * misc/swapoff.c: Likewise.
21808 * misc/swapon.c: Likewise.
21809 * misc/sync.c: Likewise.
21810 * misc/syncfs.c: Likewise.
21811 * misc/syscall.c: Likewise.
21812 * misc/truncate.c: Likewise.
21813 * misc/ualarm.c: Likewise.
21814 * misc/usleep.c: Likewise.
21815 * misc/ustat.c: Likewise.
21816 * misc/utimes.c: Likewise.
21817 * misc/vhangup.c: Likewise.
21818 * misc/writev.c: Likewise.
21819 * posix/_exit.c: Likewise.
21820 * posix/alarm.c: Likewise.
21821 * posix/execve.c: Likewise.
21822 * posix/fexecve.c: Likewise.
21823 * posix/fork.c: Likewise.
21824 * posix/fpathconf.c: Likewise.
21825 * posix/getaddrinfo.c: Likewise.
21826 * posix/getegid.c: Likewise.
21827 * posix/geteuid.c: Likewise.
21828 * posix/getgid.c: Likewise.
21829 * posix/getgroups.c: Likewise.
21830 * posix/getlogin.c: Likewise.
21831 * posix/getlogin_r.c: Likewise.
21832 * posix/getpgid.c: Likewise.
21833 * posix/getpid.c: Likewise.
21834 * posix/getppid.c: Likewise.
21835 * posix/getresgid.c: Likewise.
21836 * posix/getresuid.c: Likewise.
21837 * posix/getsid.c: Likewise.
21838 * posix/getuid.c: Likewise.
21839 * posix/glob64.c: Likewise.
21840 * posix/nanosleep.c: Likewise.
21841 * posix/pathconf.c: Likewise.
21842 * posix/pause.c: Likewise.
21843 * posix/posix_madvise.c: Likewise.
21844 * posix/pread.c: Likewise.
21845 * posix/pread64.c: Likewise.
21846 * posix/pwrite.c: Likewise.
21847 * posix/pwrite64.c: Likewise.
21848 * posix/sched_getaffinity.c: Likewise.
21849 * posix/sched_getp.c: Likewise.
21850 * posix/sched_gets.c: Likewise.
21851 * posix/sched_primax.c: Likewise.
21852 * posix/sched_primin.c: Likewise.
21853 * posix/sched_rr_gi.c: Likewise.
21854 * posix/sched_setaffinity.c: Likewise.
21855 * posix/sched_setp.c: Likewise.
21856 * posix/sched_sets.c: Likewise.
21857 * posix/sched_yield.c: Likewise.
21858 * posix/setgid.c: Likewise.
21859 * posix/setlogin.c: Likewise.
21860 * posix/setpgid.c: Likewise.
21861 * posix/setresgid.c: Likewise.
21862 * posix/setresuid.c: Likewise.
21863 * posix/setsid.c: Likewise.
21864 * posix/setuid.c: Likewise.
21865 * posix/sleep.c: Likewise.
21866 * posix/spawni.c: Likewise.
21867 * posix/sysconf.c: Likewise.
21868 * posix/times.c: Likewise.
21869 * posix/wait.c: Likewise.
21870 * posix/wait3.c: Likewise.
21871 * posix/wait4.c: Likewise.
21872 * posix/waitpid.c: Likewise.
21873 * resolv/gai_sigqueue.c: Likewise.
21874 * resource/getpriority.c: Likewise.
21875 * resource/getrlimit.c: Likewise.
21876 * resource/getrusage.c: Likewise.
21877 * resource/nice.c: Likewise.
21878 * resource/setpriority.c: Likewise.
21879 * resource/setrlimit.c: Likewise.
21880 * resource/ulimit.c: Likewise.
21881 * rt/aio_cancel.c: Likewise.
21882 * rt/aio_fsync.c: Likewise.
21883 * rt/aio_read.c: Likewise.
21884 * rt/aio_sigqueue.c: Likewise.
21885 * rt/aio_suspend.c: Likewise.
21886 * rt/aio_write.c: Likewise.
21887 * rt/clock_getres.c: Likewise.
21888 * rt/clock_gettime.c: Likewise.
21889 * rt/clock_nanosleep.c: Likewise.
21890 * rt/clock_settime.c: Likewise.
21891 * rt/lio_listio.c: Likewise.
21892 * rt/mq_close.c: Likewise.
21893 * rt/mq_getattr.c: Likewise.
21894 * rt/mq_notify.c: Likewise.
21895 * rt/mq_open.c: Likewise.
21896 * rt/mq_receive.c: Likewise.
21897 * rt/mq_send.c: Likewise.
21898 * rt/mq_setattr.c: Likewise.
21899 * rt/mq_timedreceive.c: Likewise.
21900 * rt/mq_timedsend.c: Likewise.
21901 * rt/mq_unlink.c: Likewise.
21902 * rt/shm_open.c: Likewise.
21903 * rt/shm_unlink.c: Likewise.
21904 * rt/timer_create.c: Likewise.
21905 * rt/timer_delete.c: Likewise.
21906 * rt/timer_getoverr.c: Likewise.
21907 * rt/timer_gettime.c: Likewise.
21908 * rt/timer_settime.c: Likewise.
21909 * setjmp/__longjmp.c: Likewise.
21910 * setjmp/setjmp.c: Likewise.
21911 * signal/kill.c: Likewise.
21912 * signal/killpg.c: Likewise.
21913 * signal/raise.c: Likewise.
21914 * signal/sigaction.c: Likewise.
21915 * signal/sigaltstack.c: Likewise.
21916 * signal/sigblock.c: Likewise.
21917 * signal/sigignore.c: Likewise.
21918 * signal/sigintr.c: Likewise.
21919 * signal/signal.c: Likewise.
21920 * signal/sigpause.c: Likewise.
21921 * signal/sigpending.c: Likewise.
21922 * signal/sigqueue.c: Likewise.
21923 * signal/sigreturn.c: Likewise.
21924 * signal/sigset.c: Likewise.
21925 * signal/sigsetmask.c: Likewise.
21926 * signal/sigstack.c: Likewise.
21927 * signal/sigsuspend.c: Likewise.
21928 * signal/sigtimedwait.c: Likewise.
21929 * signal/sigvec.c: Likewise.
21930 * signal/sigwait.c: Likewise.
21931 * signal/sigwaitinfo.c: Likewise.
21932 * signal/sysv_signal.c: Likewise.
21933 * socket/accept.c: Likewise.
21934 * socket/accept4.c: Likewise.
21935 * socket/bind.c: Likewise.
21936 * socket/connect.c: Likewise.
21937 * socket/getpeername.c: Likewise.
21938 * socket/getsockname.c: Likewise.
21939 * socket/getsockopt.c: Likewise.
21940 * socket/isfdtype.c: Likewise.
21941 * socket/listen.c: Likewise.
21942 * socket/recv.c: Likewise.
21943 * socket/recvfrom.c: Likewise.
21944 * socket/recvmsg.c: Likewise.
21945 * socket/send.c: Likewise.
21946 * socket/sendmsg.c: Likewise.
21947 * socket/sendto.c: Likewise.
21948 * socket/setsockopt.c: Likewise.
21949 * socket/shutdown.c: Likewise.
21950 * socket/sockatmark.c: Likewise.
21951 * socket/socket.c: Likewise.
21952 * socket/socketpair.c: Likewise.
21953 * stdio-common/ctermid.c: Likewise.
21954 * stdio-common/cuserid.c: Likewise.
21955 * stdio-common/remove.c: Likewise.
21956 * stdio-common/rename.c: Likewise.
21957 * stdio-common/renameat.c: Likewise.
21958 * stdio-common/tempname.c: Likewise.
21959 * stdlib/getcontext.c: Likewise.
21960 * stdlib/makecontext.c: Likewise.
21961 * stdlib/setcontext.c: Likewise.
21962 * stdlib/swapcontext.c: Likewise.
21963 * stdlib/system.c: Likewise.
21964 * streams/fattach.c: Likewise.
21965 * streams/fdetach.c: Likewise.
21966 * streams/getmsg.c: Likewise.
21967 * streams/getpmsg.c: Likewise.
21968 * streams/putmsg.c: Likewise.
21969 * streams/putpmsg.c: Likewise.
21970 * sysdeps/unix/bsd/getpt.c: Likewise.
21971 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21972 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21973 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21976 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21977 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21978 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21979 * sysvipc/msgctl.c: Likewise.
21980 * sysvipc/msgget.c: Likewise.
21981 * sysvipc/msgrcv.c: Likewise.
21982 * sysvipc/msgsnd.c: Likewise.
21983 * sysvipc/semctl.c: Likewise.
21984 * sysvipc/semget.c: Likewise.
21985 * sysvipc/semop.c: Likewise.
21986 * sysvipc/semtimedop.c: Likewise.
21987 * sysvipc/shmat.c: Likewise.
21988 * sysvipc/shmctl.c: Likewise.
21989 * sysvipc/shmdt.c: Likewise.
21990 * sysvipc/shmget.c: Likewise.
21991 * termios/tcdrain.c: Likewise.
21992 * termios/tcflow.c: Likewise.
21993 * termios/tcflush.c: Likewise.
21994 * termios/tcgetattr.c: Likewise.
21995 * termios/tcgetpgrp.c: Likewise.
21996 * termios/tcsendbrk.c: Likewise.
21997 * termios/tcsetattr.c: Likewise.
21998 * termios/tcsetpgrp.c: Likewise.
21999 * time/adjtime.c: Likewise.
22000 * time/clock.c: Likewise.
22001 * time/getitimer.c: Likewise.
22002 * time/gettimeofday.c: Likewise.
22003 * time/setitimer.c: Likewise.
22004 * time/settimeofday.c: Likewise.
22005 * time/stime.c: Likewise.
22006 * time/time.c: Likewise.
22008 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22010 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22013 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22015 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22017 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22020 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22021 FE_TONEAREST before applying Dekker multiplication and Knuth
22022 addition. Clear inexact exceptions and check for exact zero
22023 results afterwards.
22024 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22025 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22026 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22027 * math/libm-test.inc (fma_test): Add more tests.
22028 (fma_test_towardzero): Likewise.
22029 (fma_test_downward): Likewise.
22030 (fma_test_upward): Likewise.
22031 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22033 (libc_fesetround): New macro.
22034 (libc_fesetroundf): Likewise.
22035 (libc_fesetroundl): Likewise.
22036 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22038 (libc_fesetround_387): Likewise.
22039 (libc_fesetroundf): New macro.
22040 (libc_fesetround): Likewise.
22041 (libc_fesetroundl): Likewise.
22042 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22044 (libc_fesetroundf): New macro.
22045 (libc_fesetround): Likewise.
22046 (libc_fesetroundl): Likewise.
22047 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22048 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22049 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22051 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22052 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22054 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22055 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22057 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22061 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22062 integer constant usable in #if and use that to give value to enum
22064 (FE_DIVBYZERO): Likewise.
22065 (FE_UNDERFLOW): Likewise.
22066 (FE_OVERFLOW): Likewise.
22067 (FE_INVALID): Likewise.
22068 (FE_INVALID_SNAN): Likewise.
22069 (FE_INVALID_ISI): Likewise.
22070 (FE_INVALID_IDI): Likewise.
22071 (FE_INVALID_ZDZ): Likewise.
22072 (FE_INVALID_IMZ): Likewise.
22073 (FE_INVALID_COMPARE): Likewise.
22074 (FE_INVALID_SOFTWARE): Likewise.
22075 (FE_INVALID_SQRT): Likewise.
22076 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22077 (FE_TONEAREST): Likewise.
22078 (FE_TOWARDZERO): Likewise.
22079 (FE_UPWARD): Likewise.
22080 (FE_DOWNWARD): Likewise.
22081 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22082 (FE_DIVBYZERO): Likewise.
22083 (FE_OVERFLOW): Likewise.
22084 (FE_UNDERFLOW): Likewise.
22085 (FE_INEXACT): Likewise.
22086 (FE_TONEAREST): Likewise.
22087 (FE_DOWNWARD): Likewise.
22088 (FE_UPWARD): Likewise.
22089 (FE_TOWARDZERO): Likewise.
22090 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22091 (FE_UNDERFLOW): Likewise.
22092 (FE_OVERFLOW): Likewise.
22093 (FE_DIVBYZERO): Likewise.
22094 (FE_INVALID): Likewise.
22095 (FE_TONEAREST): Likewise.
22096 (FE_TOWARDZERO): Likewise.
22097 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22098 (FE_OVERFLOW): Likewise.
22099 (FE_UNDERFLOW): Likewise.
22100 (FE_DIVBYZERO): Likewise.
22101 (FE_INEXACT): Likewise.
22102 (FE_TONEAREST): Likewise.
22103 (FE_TOWARDZERO): Likewise.
22104 (FE_UPWARD): Likewise.
22105 (FE_DOWNWARD): Likewise.
22106 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22107 (FE_DIVBYZERO): Likewise.
22108 (FE_OVERFLOW): Likewise.
22109 (FE_UNDERFLOW): Likewise.
22110 (FE_INEXACT): Likewise.
22111 (FE_TONEAREST): Likewise.
22112 (FE_DOWNWARD): Likewise.
22113 (FE_UPWARD): Likewise.
22114 (FE_TOWARDZERO): Likewise.
22116 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22118 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22120 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22122 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22123 commands. Quote $PWD.
22124 (blacklist_exports): Don't use remove_newlines. Replace "declare
22126 (remove_newlines): Remove.
22128 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22130 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22131 * stdlib/stdlib.h (atof): Moved to ...
22132 * include/bits/stdlib-float.h: Here. New file.
22133 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22134 * stdlib/bits/stdlib-float.h: New file.
22135 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22137 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22140 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22142 * conform/conformtest.pl (@headers): Add fenv.h.
22143 * conform/data/fenv.h-data: New file.
22144 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22145 include of <math/fenv.h>.
22147 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22148 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22149 && !UNIX98]. Enables tests for XOPEN2K8.
22150 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22151 POSIX2008]: Likewise.
22153 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22154 (struct rusage): Do not expect type or its members.
22157 * math/math.h (FP_NAN): Define macro to integer constant usable in
22158 #if and use that to give value to enum constant.
22159 (FP_INFINITE): Likewise.
22160 (FP_ZERO): Likewise.
22161 (FP_SUBNORMAL): Likewise.
22162 (FP_NORMAL): Likewise.
22164 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22166 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22167 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22170 2012-11-02 Roland McGrath <roland@hack.frob.com>
22172 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22173 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22174 autoconf-time if not.
22175 * configure.in: Remove AC_PREREQ.
22177 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22179 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22180 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22181 of the internal implementation.
22183 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22185 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22186 except include of <misc/sys/syslog.h>.
22188 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22191 function returns with a NULL context exit with zero.
22193 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22195 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22197 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22199 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22200 (run_program_cmd): This.
22201 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22202 (tst_langinfo): New variable. Use it.
22204 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22206 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22207 floating point opcodes.
22209 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22211 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22214 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22216 * sysdeps/mach/hurd/powerpc: Remove directory.
22217 * sysdeps/mach/powerpc: Likewise.
22219 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22221 * scripts/check-local-headers.sh: Ignore c++ headers.
22223 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22225 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22226 __libc_cleanup_region_start argument.
22228 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22233 x * y using scaling, not as x * y + z.
22234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22235 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22236 * math/libm-test.inc (fma_test): Add more tests.
22237 (fma_test_towardzero): Likewise.
22238 (fma_test_downward): Likewise.
22239 (fma_test_upward): Likewise.
22241 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22243 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22245 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22247 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22250 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22252 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22254 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22261 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22264 Fix the order of the list for glibc 2.17.
22265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22268 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22272 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22275 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22276 for low part of x being zero before using __atanl (y).
22277 * math/libm-test.inc (atan2_test): Add another test.
22279 * manual/install.texi (Configuring and compiling): Document
22280 general use of test-wrapper and test-wrapper-env.
22281 * INSTALL: Regenerated.
22283 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22284 (__fma): Do not extract and scale down low bits on after-rounding
22285 systems when result rounded to normal precision would have normal
22287 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22288 (__fmal): Do not extract and scale down low bits on after-rounding
22289 systems when result rounded to normal precision would have normal
22291 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22292 (__fmal): Do not extract and scale down low bits on after-rounding
22293 systems when result rounded to normal precision would have normal
22295 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22297 (fma_test): Add more tests.
22298 (fma_test_towardzero): Likewise.
22299 (fma_test_downward): Likewise.
22300 (fma_test_upward): Likewise.
22302 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22304 * sysdeps/i386/tininess.h: Renamed to ...
22305 * sysdeps/x86/tininess.h: This.
22306 * sysdeps/x86_64/tininess.h: Removed.
22308 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22310 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22311 input. Use $(build-program-cmd).
22312 ($(objpfx)tst-array1-static.out): Likewise.
22313 ($(objpfx)tst-array2.out): Likewise.
22314 ($(objpfx)tst-array3.out): Likewise.
22315 ($(objpfx)tst-array4.out): Likewise.
22316 ($(objpfx)tst-array5.out): Likewise.
22317 ($(objpfx)tst-array5-static.out): Likewise.
22319 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22321 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22324 * nss/nsswitch.h (nss_interface_function): Provide new
22325 macro for use with NSS functions.
22326 * grp/initgroups.c: Use new macro.
22327 * nss/getXXbyYY.c: Likewise.
22328 * nss/getXXbyYY_r.c: Likewise.
22329 * nss/getXXent.c: Likewise.
22330 * nss/getXXent_r.c: Likewise.
22331 * sysdeps/posix/getaddrinfo.c: Likewise.
22333 2012-10-30 Andreas Jaeger <aj@suse.de>
22335 * po/ru.po: Update Russion translation from translation project.
22337 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22341 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22342 result and shift together with sticky bit instead of replicating
22343 round-to-nearest rounding.
22344 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22345 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22346 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22347 missing underflow exceptions.
22348 (fma_test_towardzero): Add more tests.
22349 (fma_test_downward): Likewise.
22350 (fma_test_upward): Likewise.
22353 * sysdeps/generic/tininess.h: New file.
22354 * sysdeps/i386/tininess.h: Likewise.
22355 * sysdeps/sh/tininess.h: Likewise.
22356 * sysdeps/x86_64/tininess.h: Likewise.
22357 * stdlib/tst-strtod-underflow.c: Likewise.
22358 * stdlib/tst-tininess.c: Likewise.
22359 * stdlib/strtod_l.c: Include <tininess.h>.
22360 (round_and_return): Do not set errno for exact underflow cases.
22361 Force an underflow exception when setting errno for underflow.
22362 Determine underflow based on rounding to normal precision if
22363 TININESS_AFTER_ROUNDING.
22364 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22365 ERANGE for exact underflow cases.
22366 * stdlib/Makefile (tests): Add tst-tininess and
22367 tst-strtod-underflow.
22368 ($(objpfx)tst-tininess): Use $(link-libm).
22369 ($(objpfx)tst-strtod-underflow): Likewise.
22371 2012-10-30 Andreas Jaeger <aj@suse.de>
22374 * elf/Makefile (tests): Remove conditional for have-initfini-array
22375 since this is now always required and the variable does not exist
22377 (tests-static): Likewise.
22378 (modules-names): Likewise.
22380 * po/eo.po: Add Esperanto translation from translation project.
22382 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22383 merged with constructor/destructor.
22384 (init_array): Likewise.
22385 * elf/tst-array2dep.c (fini_array): Likewise.
22386 (init_array): Likewise.
22388 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22390 * manual/message.texi: Delete @cartouche tags.
22392 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22394 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22396 * sysdeps/mach/hurd/fsync.c: Likewise.
22398 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22399 [_POSIX_REALTIME_SIGNALS]: Change condition to
22400 [_POSIX_REALTIME_SIGNALS > 0].
22402 2012-10-27 Andreas Jaeger <aj@suse.de>
22404 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22405 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22406 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22407 [__WORDSIZE != 64]: Likewise.
22409 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22411 * iconvdata/tst-table.sh: Remove ${SHELL}.
22412 * iconvdata/tst-tables.sh: Likewise.
22414 2012-10-25 David S. Miller <davem@davemloft.net>
22416 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22417 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22420 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22422 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22423 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22424 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22427 2012-10-25 Roland McGrath <roland@hack.frob.com>
22429 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22430 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22433 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22434 Jim Blandy <jimb@codesourcery.com>
22436 * scripts/cross-test-ssh.sh: New file.
22437 * manual/install.texi (Configuring and compiling): Document use of
22439 * INSTALL: Regenerated.
22441 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22443 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22446 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22448 * Makeconfig (run-program-prefix): Fix comment.
22450 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22451 Jim Blandy <jimb@codesourcery.com>
22453 * Makeconfig (test-wrapper): New variable,
22454 (test-wrapper-env): Likewise.
22455 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22456 (run-built-tests): Define to yes.
22457 (run-program-prefix): Use $(test-wrapper).
22458 (built-program-cmd): Likewise.
22459 * Rules (make-test-out): Use $(test-wrapper-env) and
22460 $(host-built-program-cmd).
22461 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22462 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22464 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22465 $(test-wrapper-env) to tst-rtld-load-self.sh.
22466 ($(objpfx)order2.out): Use $(test-wrapper).
22467 ($(objpfx)tst-initorder.out): Likewise.
22468 ($(objpfx)tst-initorder2.out): Likewise.
22469 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22470 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22471 (test_wrapper_env): New variable. Use it to run ld.so.
22472 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22473 Use it to run ld.so.
22474 (test_wrapper_env): Likewise.
22475 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22476 $(test-wrapper) to run-iconv-test.sh.
22477 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22478 (ICONV): Use $test_wrapper.
22479 * posix/Makefile ($(objpfx)globtest.out): Pass
22480 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22481 globtest.sh, not $(run-program-prefix).
22482 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22483 (test_wrapper): Likewise.
22484 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22485 set together with run_via_rtld_prefix.
22486 (run_program_prefix): Define in terms of test_wrapper and
22487 run_via_rtld_prefix.
22489 2012-10-24 Roland McGrath <roland@hack.frob.com>
22491 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22492 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22496 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22497 Declare __clock_getres, __clock_gettime, __clock_settime,
22498 __clock_nanosleep, and __clock_getcpuclockid.
22499 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22500 Remove librt_hidden_def (clock_gettime).
22501 * sysdeps/unix/clock_gettime.c: Likewise.
22502 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22503 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22504 * rt/clock_getres.c: Define __clock_getres as an alias.
22505 * sysdeps/posix/clock_getres.c: Likewise.
22506 * rt/clock_settime.c: Define __clock_settime as an alias.
22507 * sysdeps/unix/clock_settime.c: Likewise.
22508 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22509 * sysdeps/unix/clock_nanosleep.c: Likewise.
22510 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22511 * rt/clock-compat.c: New file.
22512 * rt/Makefile (librt-routines): Add clock-compat and move
22513 $(clock-routines) to ...
22514 (routines): ... here, new variable.
22515 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22516 Don't add get_clockfreq here.
22517 * rt/Versions (libc: GLIBC_2.17): New version set.
22518 Add clock_* symbols here.
22519 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22520 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22521 (GLIBC_2.17): Add clock_* symbols.
22522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22524 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22533 * NEWS: Mention the move.
22535 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22536 Use __open, __read, __close rather than their public counterparts.
22537 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22538 (__get_clockfreq_via_cpuinfo): Likewise.
22539 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22540 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22542 * config.h.in (HAVE_IFUNC): New #undef.
22543 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22545 * configure: Regenerated.
22547 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22549 * configure.in: Move READELF check to start of file.
22550 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22551 libc_cv_asm_gnu_indirect_function in the process.
22552 * configure: Regenerated.
22554 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22556 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22557 send the output to /dev/null.
22558 (libc_cv_cc_with_libunwind): Likewise.
22559 (libc_cv_as_noexecstack): Likewise.
22560 * configure: Regenerate.
22562 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22564 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22566 * posix/globtest.sh (TMPDIR): Do not set.
22567 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22568 (testout): Likewise.
22570 2012-10-24 Andreas Jaeger <aj@suse.de>
22572 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22573 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22574 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22575 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22576 posix_fadvise64, posix_fallocate64.
22578 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22579 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22580 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22582 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22584 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22586 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22587 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22588 <bits/fcntl-linux.h>.
22589 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22591 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22592 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22593 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22594 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22595 [__WORDSIZE != 64]: Likewise.
22597 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22599 * Makeconfig (run-built-tests): New variable.
22600 * Rules [$(cross-compiling) = yes]: Change condition to
22601 [$(run-built-tests) = no].
22602 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22603 to [$(run-built-tests) = yes].
22604 * elf/Makefile [$(cross-compiling) = no]: Likewise
22605 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22606 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22607 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22608 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22609 * io/Makefile [$(cross-compiling) = no]: Likewise.
22610 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22611 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22612 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22613 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22614 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22615 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22616 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22617 * string/Makefile [$(cross-compiling) = no]: Likewise.
22619 * posix/Makefile ($(objpfx)globtest.out): Pass
22620 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22621 $(rtld-installed-name).
22622 * posix/globtest.sh (elf_objpfx): Remove variable.
22623 (rtld_installed_name): Likewise.
22624 (library_path): Likewise.
22625 (run_program_prefix): New variable. Use for running globtest
22628 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22629 Joseph Myers <joseph@codesourcery.com>
22631 * Makeconfig (host-built-program-cmd): New variable.
22632 * elf/Makefile (tst-stackguard1-ARGS): Use
22633 $(host-built-program-cmd).
22634 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22635 (tst-spawn-ARGS): Likewise.
22636 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22638 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22639 Jim Blandy <jimb@codesourcery.com>
22641 * Makeconfig (run-via-rtld-prefix): New variable.
22642 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22643 (built-program-cmd): Likewise.
22645 2012-10-22 Andreas Jaeger <aj@suse.de>
22647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22648 __O_RSYNC if it exists, otherwise to O_SYNC.
22650 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22651 Joseph Myers <joseph@codesourcery.com>
22653 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22655 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22657 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22660 2012-10-22 Andreas Jaeger <aj@suse.de>
22662 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22664 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22667 bits/fcntl-linux.h.
22669 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22670 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22677 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22678 Joseph Myers <joseph@codesourcery.com>
22680 * config.make.in (NM): New variable.
22682 2012-10-21 Andreas Jaeger <aj@suse.de>
22684 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22685 definitions and declarations that are provided by
22686 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22688 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22691 * elf/Makefile (tests-static): Add tst-leaks1-static.
22692 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22693 ($(objpfx)tst-leaks1-static): New rule.
22694 ($(objpfx)tst-leaks1-static-mem): Likewise.
22695 (tst-leaks1-static-ENV): New macro.
22696 * elf/dl-open.c (dl_open_worker): Check the main application
22697 only if SHARED is defined.
22698 * elf/tst-leaks1-static.c: New file.
22700 2012-10-20 Andreas Jaeger <aj@suse.de>
22702 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22703 generic values for Linux.
22704 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22705 and declarations that are provided by <bits/fcntl-linux.h> and
22706 include <bits/fcntl-linux.h>.
22707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22710 2012-10-20 Roland McGrath <roland@hack.frob.com>
22712 * io/fcntl.h: Move include of <bits/types.h> to the top and
22713 include it unconditionally.
22715 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22717 * wcsmbs/Makefile (tests-ifunc): New variable.
22718 (tests): Add $(tests-ifunc).
22719 * wcsmbs/test-wcschr-ifunc.c: New file.
22720 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22721 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22722 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22723 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22724 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22726 * string/Makefile (tests-ifunc): New variable.
22727 (tests): Add $(tests-ifunc).
22728 * string/test-memccpy.c (TEST_NAME): New macro.
22729 * string/test-memchr.c (TEST_NAME): Likewise.
22730 * string/test-memcmp.c (TEST_NAME): Likewise.
22731 * string/test-memcpy.c (TEST_NAME): Likewise.
22732 * string/test-memmem.c (TEST_NAME): Likewise.
22733 * string/test-memmove.c (TEST_NAME): Likewise.
22734 * string/test-memset.c (TEST_NAME): Likewise.
22735 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22736 * string/test-stpcpy.c (TEST_NAME): Likewise.
22737 * string/test-stpncpy.c (TEST_NAME): Likewise.
22738 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22739 * string/test-strcasestr.c (TEST_NAME): Likewise.
22740 * string/test-strcat.c (TEST_NAME): Likewise.
22741 * string/test-strchr.c (TEST_NAME): Likewise.
22742 * string/test-strcmp.c(TEST_NAME): Likewise.
22743 * string/test-strcpy.c (TEST_NAME): Likewise.
22744 * string/test-strcspn.c (TEST_NAME): Likewise.
22745 * string/test-strlen.c (TEST_NAME): Likewise.
22746 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22747 * string/test-strncmp.c (TEST_NAME): Likewise.
22748 * string/test-strncpy.c (TEST_NAME): Likewise.
22749 * string/test-strnlen.c (TEST_NAME): Likewise.
22750 * string/test-strpbrk.c (TEST_NAME): Likewise.
22751 * string/test-strrchr.c (TEST_NAME): Likewise.
22752 * string/test-strspn.c (TEST_NAME): Likewise.
22753 * string/test-strstr.c (TEST_NAME): Likewise.
22754 * string/test-bcopy-ifunc.c: New file.
22755 * string/test-bzero-ifunc.c: Likewise.
22756 * string/test-memccpy-ifunc.c: Likewise.
22757 * string/test-memchr-ifunc.c: Likewise.
22758 * string/test-memcmp-ifunc.c: Likewise.
22759 * string/test-memcpy-ifunc.c: Likewise.
22760 * string/test-memmem-ifunc.c: Likewise.
22761 * string/test-memmove-ifunc.c: Likewise.
22762 * string/test-mempcpy-ifunc.c: Likewise.
22763 * string/test-memset-ifunc.c: Likewise.
22764 * string/test-rawmemchr-ifunc.c: Likewise.
22765 * string/test-stpcpy-ifunc.c: Likewise.
22766 * string/test-stpncpy-ifunc.c: Likewise.
22767 * string/test-strcasecmp-ifunc.c: Likewise.
22768 * string/test-strcasestr-ifunc.c: Likewise.
22769 * string/test-strcat-ifunc.c: Likewise.
22770 * string/test-strchr-ifunc.c: Likewise.
22771 * string/test-strchrnul-ifunc.c: Likewise.
22772 * string/test-strcmp-ifunc.c: Likewise.
22773 * string/test-strcpy-ifunc.c: Likewise.
22774 * string/test-strcspn-ifunc.c: Likewise.
22775 * string/test-strlen-ifunc.c: Likewise.
22776 * string/test-strncasecmp-ifunc.c: Likewise.
22777 * string/test-strncat-ifunc.c: Likewise.
22778 * string/test-strncmp-ifunc.c: Likewise.
22779 * string/test-strncpy-ifunc.c: Likewise.
22780 * string/test-strnlen-ifunc.c: Likewise.
22781 * string/test-strpbrk-ifunc.c: Likewise.
22782 * string/test-strrchr-ifunc.c: Likewise.
22783 * string/test-strspn-ifunc.c: Likewise.
22784 * string/test-strstr-ifunc.c: Likewise.
22786 * debug/Makefile (tests-ifunc): New variable.
22787 (tests): Add $(tests-ifunc).
22788 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22789 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22790 * debug/test-stpcpy_chk-ifunc.c: New file.
22791 * debug/test-strcpy_chk-ifunc.c: Likewise.
22793 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22796 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22797 header is not read in.
22799 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22801 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22802 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22803 directly. Pass built executable to script as
22804 $(built-program-cmd).
22805 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22806 $testprogram without using LD_LIBRARY_PATH and $ldso.
22808 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22809 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22810 $(rtld-installed-name).
22811 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22812 (rtld_installed_name): Likewise.
22813 (library_path): Likewise.
22814 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22815 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22816 $(run-program-prefix) to tst-tables.sh.
22817 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22818 it to run tst-table-from and tst-table-to.
22819 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22820 Pass it to tst-table.sh.
22821 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22822 $(run-program-prefix) to tst-gettext.sh.
22823 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22825 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22827 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22828 to run tst-gettext.
22829 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22830 to run tst-gettext2.
22831 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22832 to run tst-translit.
22833 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22834 $(run-program-prefix) to tst-mtrace.sh.
22835 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22837 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22838 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22839 $(rtld-installed-name).
22840 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22841 (rtld_installed_name): Likewise.
22842 (run_program_prefix): New variable. Use it to run wordexp-test.
22844 * Makeconfig (ARCH): Remove all definitions.
22845 (machine): Likewise.
22846 [ARCH]: Remove conditional code.
22847 [!objdir]: Give error.
22848 [!objdir] (objpfx): Remove.
22849 [!objdir] (common-objpfx): Likewise.
22850 [!objdir] (common-objdir): Likewise.
22851 * configure.in (config_makefile): Remove. Hardcode Makefile in
22852 AC_CONFIG_FILES call.
22853 * configure: Regenerated.
22856 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22858 (testout): Likewise.
22860 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22861 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22862 $(rtld-installed-name).
22863 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22864 (rtld_installed_name): Likwise.
22865 (runit): Remove function.
22866 (run_getconf): New variable, Use it for running getconf binary.
22868 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22871 * string/test-memmem.c (check_result): New function.
22872 (do_one_test): Use it.
22873 (check1): New function.
22874 (test_main): Use it.
22876 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22878 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22880 2012-10-18 Joseph Myers <joseph@codesourcery.com>
22882 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22883 (_G_LSEEK64): Likewise.
22884 (_G_MMAP64): Likewise.
22885 (_G_FSTAT64): Likewise.
22886 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22887 (_G_LSEEK64): Likewise.
22888 (_G_MMAP64): Likewise.
22889 (_G_FSTAT64): Likewise.
22890 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22891 unconditional. Call __mmap64 directly.
22892 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22893 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22894 __lseek64 directly.
22895 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22896 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22898 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22899 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22900 __lseek64 directly.
22901 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22902 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22903 __lseek64 directly.
22904 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22905 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22906 __lseek64 directly.
22907 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22908 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22909 __fxstat64 directly.
22910 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22911 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22913 (freopen64) [!_G_OPEN64]: Remove conditional code.
22914 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22916 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22917 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22919 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22920 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22922 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22923 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22925 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22926 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22928 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22929 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22931 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22932 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22934 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22936 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22939 * manual/memory.texi (Malloc Tunable Parameters): Add note
22940 about free list pointers overwriting some perturb bytes.
22941 Wording suggested by Roland McGrath.
22943 2012-10-17 Joseph Myers <joseph@codesourcery.com>
22945 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22946 (lgamma_test): Likewise.
22947 (tgamma_test): Likewise.
22949 2012-10-16 Florian Weimer <fweimer@redhat.com>
22952 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22953 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22955 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22957 * NEWS: Mention BZ #14716.
22958 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22959 when removing AVAILABLE1_USES_J macro.
22961 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22963 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22964 (__bswap_64): __uint64_t for unsigned 64-bit int.
22966 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22968 * include/string.h (memmem): Declare libc hidden alias.
22969 * string/memmem.c (memmem): Define libc hidden alias.
22970 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22971 __read, __close instead of open, read, close.
22973 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22975 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22976 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22978 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22979 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22980 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22982 (__rawmemchr_sse2): Likewise.
22983 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22984 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22985 (__strchr_sse2): Likewise.
22986 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22987 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22988 (__strcasecmp_sse2): Likewise.
22989 (__strncasecmp_sse2): Likewise.
22990 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22991 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22992 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22993 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22994 (__strrchr_sse2): Likewise.
22995 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22997 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22998 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22999 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23000 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23001 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23002 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23003 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23004 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23005 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23006 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23007 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23008 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23009 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23010 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23011 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23012 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23013 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23014 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23015 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23016 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23017 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23018 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23019 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23020 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23021 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23022 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23023 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23024 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23025 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23026 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23028 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23030 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23031 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23032 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23033 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23035 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23037 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23038 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23039 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23040 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23042 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23043 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23044 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23045 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23046 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23047 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23048 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23049 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23050 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23051 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23052 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23053 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23054 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23055 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23056 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23057 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23058 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23059 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23060 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23061 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23062 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23063 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23064 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23065 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23066 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23067 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23068 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23069 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23070 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23071 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23072 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23073 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23074 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23075 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23076 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23077 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23078 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23079 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23080 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23081 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23082 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23084 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23085 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23086 * include/ifunc-impl-list.h: New file.
23087 * misc/ifunc-impl-list.c: Likewise.
23088 * misc/Makefile (routines): Add ifunc-impl-list.
23089 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23090 * string/test-string.h: Include <ifunc-impl-list.h>.
23091 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23092 impl_array): New variables.
23093 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23095 (test_init): Call __libc_ifunc_impl_list to initialize
23096 func_list if TEST_IFUNC and TEST_NAME are defined.
23098 * string/Makefile (strop-tests): Add bcopy and bzero.
23099 * string/test-bcopy.c: New file.
23100 * string/test-bzero.c: Likewise.
23101 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23103 * string/test-memset.c: Support bzero test if TEST_BZERO is
23105 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23107 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23109 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23112 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23114 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23115 * configure: Regenerated.
23117 * Makeconfig (+link-static-before-libc): Don't include
23118 $(link-static-libc).
23120 * libio/libio.h (_IO_pos_t): Remove.
23122 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23124 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23127 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23129 * crypt/crypt-entry.c: Include fips-private.h.
23130 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23131 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23132 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23133 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23135 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23137 * crypt/crypt-private.h: Include stdbool.h.
23138 (_ufc_setup_salt_r): Return bool.
23139 * crypt/crypt-entry.c: Include errno.h.
23140 (__crypt_r): Return NULL with EINVAL for bad salt.
23141 * crypt/crypt_util.c (bad_for_salt): New.
23142 (_ufc_setup_salt_r): Check that salt is long enough and within
23143 the specified alphabet.
23144 * crypt/badsalttest.c: New file.
23145 * crypt/Makefile (tests): Add it.
23146 ($(objpfx)badsalttest): New.
23148 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23150 * NEWS: Add entry for BZ #14602.
23152 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23154 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23156 * math/libm-test.inc: Update comment listing what functions and
23158 (isgreater_test): New function.
23159 (isgreaterequal_test): Likewise.
23160 (isless_test): Likewise.
23161 (islessequal_test): Likewise.
23162 (islessgreater_test): Likewise.
23163 (isunordered_test): Likewise.
23164 (main): Call the new functions.
23166 2012-10-09 Roland McGrath <roland@hack.frob.com>
23168 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23169 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23170 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23171 * sysdeps/i386/configure: Regenerated.
23172 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23173 * sysdeps/mach/configure: Regenerated.
23174 * sysdeps/mach/hurd/configure: Regenerated.
23175 * sysdeps/powerpc/configure: Regenerated.
23176 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23177 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23178 * sysdeps/s390/s390-32/configure: Regenerated.
23179 * sysdeps/s390/s390-64/configure: Regenerated.
23180 * sysdeps/sh/configure: Regenerated.
23181 * sysdeps/sparc/configure: Regenerated.
23182 * sysdeps/unix/sysv/linux/configure: Regenerated.
23183 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23184 * sysdeps/x86_64/configure: Regenerated.
23186 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23187 defined. Don't check if MAP is NULL.
23189 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23191 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23192 (_G_stat64): Likewise.
23193 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23194 (_G_stat64): Likewise.
23195 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23196 instead of struct _G_stat64.
23197 * libio/fileops.c (mmap_remap_check): Likewise.
23198 (decide_maybe_mmap): Likewise.
23199 (_IO_new_file_seekoff): Likewise.
23200 (_IO_file_stat): Likewise.
23201 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23203 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23204 instead of struct _G_stat64.
23205 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23207 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23210 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23212 (CHECK_EOL): New macro.
23213 (two_way_short_needle): Check beginning of haystack for EOL. Use
23215 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23216 Replace with CHECK_EOL.
23217 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23218 Replace with CHECK_EOL.
23220 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23222 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23224 * math/libm-test.inc: Update comment listing what functions and
23226 (finite_test): New function.
23227 (isinf_test): Likewise.
23228 (isnan_test): Likewise.
23229 (fpclassify_test): Test subnormal input.
23230 (isfinite_test): Likewise.
23231 (isnormal_test): Likewise.
23232 (main): Call the new functions.
23234 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23237 * Makerules (%.dynsym): Force C locale when running
23238 $(OBJDUMP) --dynamic-syms.
23240 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23242 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23245 2012-10-06 David S. Miller <davem@davemloft.net>
23247 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23248 upper 32-bits of the length value in %o2 since we use branch-on-register
23249 tests which consider the entire 64-bit register.
23251 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23253 * string/test-strstr.c (check2): Add a test for page boundary.
23255 2012-10-05 David S. Miller <davem@davemloft.net>
23257 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23258 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23260 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23262 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23263 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23264 and bzero when HWCAP_SPARC_CRYPTO is present.
23266 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23269 * string/test-strstr.c (check2): New function.
23270 (test_main): Call check2.
23272 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23274 * string/bug-strcasestr1.c (do_test): Moved to ...
23275 * string/test-strcasestr.c (check1): Here. New function.
23276 (do_one_test): Break out result checking code into ...
23277 (check_result): This. New function.
23278 (do_one_test): Call check_result.
23279 (test_main): Call check1.
23280 * string/bug-strchr1.c (do_test): Moved to ...
23281 * string/test-strchr.c (check1): Here. New function.
23282 (do_one_test): Break out result checking code into ...
23283 (check_result): This. New function.
23284 (do_one_test): Call check_result.
23285 (test_main): Call check1.
23286 * string/bug-strstr1.c (main): Moved to ...
23287 * string/test-strstr.c (check1): Here. New function.
23288 (do_one_test): Break out result checking code into ...
23289 (check_result): This. New function.
23290 (do_one_test): Call check_result.
23291 (test_main): Call check1.
23292 * string/bug-strcasestr1.c: Removed.
23293 * string/bug-strchr1.c: Likewise.
23294 * string/bug-strstr1.c: Likewise.
23296 * elf/Makefile (dl-routines): Add hwcaps.
23297 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23298 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23299 (_dl_important_hwcaps): Moved to ...
23300 * elf/dl-hwcaps.c: Here. New file.
23301 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23304 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23305 if IS_IN_rtld isn't defined.
23307 * elf/dl-support.c (_dl_sysinfo_map): New.
23308 Include "get-dynamic-info.h" and "setup-vdso.h".
23309 (_dl_non_dynamic_init): Call setup_vdso.
23310 * elf/dynamic-link.h: Don't include <assert.h>.
23311 (elf_get_dynamic_info): Moved to ...
23312 * elf/get-dynamic-info.h: Here. New file.
23313 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23314 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23315 * elf/setup-vdso.h: Here. New file.
23316 * elf/rtld.c: Include "setup-vdso.h".
23317 (dl_main): Call setup_vdso.
23319 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23321 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23322 creal in comment listing functions tested. List finite, isinf,
23323 isnan, isless, islessequal, isgreater, isgreaterequal,
23324 islessgreater, isunordered, lgamma_r and pow10 as functions and
23325 macros not tested. Mention which functions not tested are aliases
23326 for other functions. Fix typo. Note that signs of NaNs are not
23329 * scripts/config.guess: Update from config.git.
23330 * scripts/config.sub: Likewise.
23332 2012-10-04 Roland McGrath <roland@hack.frob.com>
23334 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23335 * misc/madvise.c (madvise): Renamed to __madvise.
23336 Make madvise a weak alias.
23337 * include/sys/mman.h: Declare __madvise.
23338 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23339 * sysdeps/unix/syscalls.list
23340 (madvise): Make __madvise the strong name, and madvise a weak alias.
23341 * sysdeps/unix/sysv/linux/syscalls.list
23342 (madvise, mmap): Remove redundant entries.
23343 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23344 * malloc/malloc.c (mtrim): Likewise.
23345 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23347 2012-10-03 Roland McGrath <roland@hack.frob.com>
23349 * sysdeps/mach/hurd/dl-cache.c: File removed.
23350 * config.h.in (USE_LDCONFIG): New #undef.
23351 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23352 * configure: Regenerated.
23353 * elf/Makefile (dl-routines): Add dl-cache only under
23354 [$(use-ldconfig) = yes].
23355 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23356 cache on [USE_LDCONFIG].
23357 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23359 * elf/rtld.c (dl_main): Likewise.
23361 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23363 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23364 _SC_LEVEL4_CACHE_LINESIZE.
23366 2012-10-03 Roland McGrath <roland@hack.frob.com>
23368 * sysdeps/unix/bsd/confstr.h: File removed.
23370 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23372 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23375 2012-10-02 Roland McGrath <roland@hack.frob.com>
23377 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23378 Make 'mapoff' field ElfW(Off) rather than off_t.
23380 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23382 * nscd/Makefile: Remove nscd-cflags and all its users.
23383 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23384 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23387 * malloc.c (malloc_printerr): Clarify error message.
23389 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23393 Set bit_FMA_Usable if FMA is supported.
23394 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23396 (bit_FMA4_Usable): Updated.
23397 (index_FMA_Usable): New macro.
23398 (CPUID_FMA): Likewise
23399 (HAS_FMA): Defined with bit_FMA_Usable.
23401 2012-10-01 Roland McGrath <roland@hack.frob.com>
23403 * bits/types.h (__swblk_t): Type removed.
23404 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23405 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23406 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23407 (__SWBLK_T_TYPE): Likewise.
23408 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23409 (__SWBLK_T_TYPE): Likewise.
23410 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23411 (__SWBLK_T_TYPE): Likewise.
23412 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23413 (__SWBLK_T_TYPE): Likewise.
23415 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23416 Honza Horak <hhorak@redhat.com>
23418 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23419 (xdr_mapname): Use YPMAXMAP as maxsize.
23420 (xdr_peername): Use YPMAXPEER as maxsize.
23421 (xdr_keydat): Use YPAXRECORD as maxsize.
23422 (xdr_valdat): Use YPMAXRECORD as maxsize.
23424 2012-10-01 Roland McGrath <roland@hack.frob.com>
23426 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23428 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23429 * csu/init-first.c: ... here.
23430 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23431 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23432 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23433 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23434 * sysdeps/i386/init-first.c: File removed.
23435 * sysdeps/sh/init-first.c: File removed.
23437 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23441 if x * y might underflow to zero and z is zero.
23442 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23443 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23444 * math/libm-test.inc (min_subnorm_value): New variable.
23445 (fma_test): Add more tests.
23446 (fma_test_towardzero): Likewise.
23447 (fma_test_downward): Likewise
23448 (fma_test_upward): Likewise.
23449 (initialize): Set min_subnorm_value.
23451 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23456 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23457 mode for addition resulting in exact zero.
23458 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23459 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23461 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23462 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23463 * math/libm-test.inc (fma_test): Add more tests.
23464 (fma_test_towardzero): New function.
23465 (fma_test_downward): Likewise.
23466 (fma_test_upward): Likewise.
23467 (main): Call the new functions.
23469 2012-09-28 David S. Miller <davem@davemloft.net>
23471 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23473 2012-09-28 Roland McGrath <roland@hack.frob.com>
23475 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23476 instead of SIGALRM.
23478 * sysdeps/gnu/_G_config.h: Moved to ...
23479 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23480 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23481 * sysdeps/generic/_G_config.h: ... here.
23483 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23485 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23487 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23488 Conditionalize target on [libnss_test1.so-version].
23490 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23492 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23493 (elfobjdir): Move out of conditionals.
23495 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23496 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23497 (__nss_lookup_function): Conditionalize label remove_from_tree on
23498 [!DO_STATIC_NSS || SHARED], matching its only use.
23500 2012-09-28 David S. Miller <davem@davemloft.net>
23502 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23503 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23505 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23507 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23508 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23509 when HWCAP_SPARC_CRYPTO is present.
23511 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23513 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23515 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23518 * stdio-common/vfprintf.c (process_string_arg): Revert
23521 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23523 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23525 * stdio-common/tst-sprintf.c: Include <locale.h>
23526 (main): Test sprintf's handling of incomplete multibyte
23529 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23531 * elf/dl-runtime.c (VERSYMIDX): Removed.
23532 * elf/dl-version.c (VERSYMIDX): Likewise.
23533 * elf/do-rel.h (VERSYMIDX): Likewise.
23534 (VALIDX): Likewise.
23535 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23536 * elf/rtld.c (VALIDX): Likewise.
23537 (ADDRIDX): Likewise.
23538 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23539 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23540 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23541 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23542 (VALIDX): Likewise.
23543 (ADDRIDX): Likewise.
23545 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23547 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23549 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23552 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23554 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23555 addresses are in the same scope as 192.0.2/24.
23556 * posix/gai.conf: Document new scope table defaults.
23558 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23561 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23562 for ftell. Compute offsets from write pointers instead.
23563 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23565 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23568 * libio/Makefile (tests): New test case tst-fseek.
23569 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23570 combination works in wide mode.
23571 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23572 state when the external buffer state changes.
23574 2012-09-27 David S. Miller <davem@davemloft.net>
23577 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23578 pass reloc->r_addend in as the 'high' argument to
23579 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23583 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23585 * rt/tst-aio2.c: Include <pthread.h>.
23586 * rt/tst-aio3.c: Likewise.
23588 2012-09-27 Steve Ellcey <sellcey@mips.com>
23590 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23592 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23594 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23595 contents on [SHARED].
23597 2012-09-26 Marek Polacek <polacek@redhat.com>
23601 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23602 for C++ and GCC <4.3 as well as for non GCC compilers.
23604 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23606 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23608 2012-09-25 Roland McGrath <roland@hack.frob.com>
23610 * Makefile.in (all, install): Declare with .PHONY.
23611 Reported by Michael Hope <michael.hope@linaro.org>.
23613 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23615 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23616 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23618 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23620 (sydep_routines): Add the new and the internal functions.
23621 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23622 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23624 (GLIBC_2.17): Add the new function.
23625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23626 (GLIBC_2.17): Likewise.
23627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23628 (GLIBC_2.17): Likewise.
23629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23630 (GLIBC_2.17): Likewise.
23631 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23633 2012-09-25 Alan Modra <amodra@gmail.com>
23635 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23636 Add release barrier before setting once_control to say
23637 initialisation is done. Add hints on lwarx. Use macro in
23639 (clear_once_control): Add release barrier.
23641 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23644 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23646 * math/s_clog10.c (__clog10): Likewise.
23647 * math/s_clog10f.c (__clog10f): Likewise.
23648 * math/s_clog10l.c (__clog10l): Likewise.
23649 * math/s_clogf.c (__clogf): Likewise.
23650 * math/s_clogl.c (__clogl): Likewise.
23651 * math/Makefile (libm-calls): Add x2y2m1.
23652 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23653 (__x2y2m1): Likewise.
23654 (__x2y2m1l): Likewise.
23655 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23656 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23657 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23658 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23659 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23660 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23661 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23662 * sysdeps/i386/fpu/libm-test-ulps: Update.
23663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23666 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23667 int as type of variable DEPTH.
23668 (glob): Use size_t instead of int as type of variables NEWCOUNT
23671 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23673 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23674 Add s_sincosf-sse2.
23675 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23676 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23677 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23678 macros for using routine as __sincosf_ia32.
23679 Use macro for function declaration and weak_alias.
23680 * sysdeps/i386/fpu/libm-test-ulps: Update.
23682 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23685 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23686 subnormal argument.
23687 * math/s_cexpf.c (__cexpf): Likewise.
23688 * math/s_csinf.c (__csinf): Likewise.
23689 * math/s_csinhf.c (__csinhf): Likewise.
23690 * math/s_ctanf.c (__ctanf): Likewise.
23691 * math/s_ctanhf.c (__ctanhf): Likewise.
23692 * math/s_ccosh.c (__ccoshf): Likewise.
23693 * math/s_cexp.c (__cexpl): Likewise.
23694 * math/s_csin.c (__csin): Likewise.
23695 * math/s_csinh.c (__csinh): Likewise.
23696 * math/s_ctan.c (__ctan): Likewise.
23697 * math/s_ctanh.c (ctanh): Likewise.
23698 * math/s_ccoshl.c (__ccoshl): Likewise.
23699 * math/s_cexpl.c (__cexpl): Likewise.
23700 * math/s_csinl.c (__csinl): Likewise.
23701 * math/s_csinhl.c (__csinhl): Likewise.
23702 * math/s_ctanl.c (__ctanl): Likewise.
23703 * math/s_ctanhl.c (__ctanhl): Likewise.
23705 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23707 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23708 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23709 (_IO_off_t): Define to __off_t, not _G_off_t.
23710 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23711 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23712 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23713 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23714 type of __dummy and __dummy2 fields.
23715 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23716 (_G_ssize_t): Likewise.
23717 (_G_off_t): Likewise.
23718 (_G_pid_t): Likewise.
23719 (_G_uid_t): Likewise.
23720 (_G_wchar_t): Likewise.
23721 (_G_wint_t): Likewise.
23722 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23723 (_G_ssize_t): Likewise.
23724 (_G_off_t): Likewise.
23725 (_G_pid_t): Likewise.
23726 (_G_uid_t): Likewise.
23727 (_G_wchar_t): Likewise.
23728 (_G_wint_t): Likewise.
23729 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23730 (_G_ssize_t): Likewise.
23731 (_G_off_t): Likewise.
23732 (_G_pid_t): Likewise.
23733 (_G_uid_t): Likewise.
23734 (_G_wchar_t): Likewise.
23735 (_G_wint_t): Likewise.
23737 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23739 * malloc/arena.c: Include malloc-sysdep.h.
23740 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23741 is sufficient to shrink the heap or an unmap is needed.
23742 * sysdeps/generic/malloc-sysdep.h: New file. Define
23743 new function check_may_shrink_heap.
23744 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23745 new function check_may_shrink_heap.
23747 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23749 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23752 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23754 * catgets/test-gencat.sh: Add "set -e".
23755 * elf/tst-pathopt.sh: Likewise.
23756 * grp/tst_fgetgrent.sh: Likewise.
23757 * iconvdata/run-iconv-test.sh: Likewise.
23758 * intl/tst-gettext.sh: Likewise.
23759 * intl/tst-gettext2.sh: Likewise.
23760 * intl/tst-gettext4.sh: Likewise.
23761 * intl/tst-gettext6.sh: Likewise.
23762 * intl/tst-translit.sh: Likewise.
23763 * io/ftwtest-sh: Likewise.
23764 * libio/test-freopen.sh: Likewise.
23765 * malloc/tst-mtrace.sh: Likewise.
23766 * posix/globtest.sh: Likewise.
23767 * posix/tst-getconf.sh: Likewise.
23768 * posix/wordexp-tst.sh: Likewise.
23769 * stdio-common/tst-printf.sh: Likewise.
23770 * stdio-common/tst-unbputc.sh: Likewise.
23771 * stdlib/tst-fmtmsg.sh: Likewise.
23772 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23773 * catgets/Makefile: Do not specify -e option when running
23774 testsuite shell scripts.
23775 * elf/Makefile: Likewise.
23776 * grp/Makefile: Likewise.
23777 * iconvdata/Makefile: Likewise.
23778 * intl/Makefile: Likewise.
23779 * io/Makefile: Likewise.
23780 * libio/Makefile: Likewise.
23781 * malloc/Makefile: Likewise.
23782 * posix/Makefile: Likewise.
23783 * stdio-common/Makefile: Likewise.
23784 * stdlib/Makefile: Likewise.
23785 * sysdeps/x86_64/Makefile: Likewise.
23787 * io/ftwtest-sh: Add copyright header.
23788 * posix/globtest.sh: Likewise.
23789 * posix/tst-getconf.sh: Likewise.
23790 * posix/wordexp-tst.sh: Likewise.
23791 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23793 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23796 * Makeconfig (+link): Defined as $(+link-static) if
23797 $(build-shared) isn't yes.
23798 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23800 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23802 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23805 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23806 new chunk size with MALLOC_ALIGN_MASK.
23808 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23811 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23813 (__printf_fphex): Determine rounding using get_rounding_mode and
23815 * stdio-common/tst-printf-round.c (struct hex_test): New
23817 (hex_tests): New variable.
23818 (test_hex_in_one_mode): New function.
23819 (do_test): Also run tests for hex float output.
23821 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23823 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23824 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23825 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23826 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23827 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23828 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23829 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23830 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23832 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23834 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23835 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23836 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23837 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23839 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23842 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23844 * elf/tst-rtld-load-self.sh: New test.
23845 * elf/Makefile: Run it.
23847 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23849 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23850 (tst-writev-ENV): Remove.
23851 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23853 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23855 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23857 2012-09-17 Joseph Myers <joseph@codesourcery.com>
23859 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23861 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23863 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23864 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23865 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23868 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23871 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23872 * config.make.in (have-cpp-asm-debuginfo): Removed.
23873 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23874 * configure: Regenerated.
23876 2012-09-14 Joseph Myers <joseph@codesourcery.com>
23879 * stdio-common/printf_fp.c: Include <stdbool.h> and
23881 (___printf_fp): Determine rounding using get_rounding_mode and
23883 * stdio-common/tst-printf-round.c: New file.
23884 * stdio-common/Makefile (tests): Add tst-printf-round.
23885 (link-libm): New variable.
23886 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23888 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23891 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23892 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23894 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23897 2012-09-13 Joseph Myers <joseph@codesourcery.com>
23899 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23900 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23901 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23902 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23904 2012-09-12 Joseph Myers <joseph@codesourcery.com>
23907 * include/rounding-mode.h: New file.
23908 * sysdeps/generic/get-rounding-mode.h: Likewise.
23909 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23910 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23911 (MAX_VALUE): New macro.
23912 (MIN_VALUE): Likewise.
23913 (overflow_value): New function.
23914 (underflow_value): Likewise.
23915 (round_and_return): Use overflow_value and underflow_value to
23916 determine return values in overflow and underflow cases. Use
23917 round_away to determine rounding depending on rounding mode.
23918 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23919 determine return values in overflow and underflow cases.
23920 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23921 (struct test_results): New structure.
23922 (struct test): Use struct test_results to store expected results
23923 for all rounding modes.
23924 (TEST): Include expected results for all rounding modes.
23925 (test_in_one_mode): New function.
23926 (do_test): Use test_in_one_mode to compute and check results.
23927 Check results for all rounding modes.
23928 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23931 2012-12-09 Allan McRae <allan@archlinux.org>
23933 * sysdeps/i386/fpu/libm-test-ulps: Update
23935 2012-09-11 Joseph Myers <joseph@codesourcery.com>
23937 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23938 (_G_int32_t): Likewise.
23939 (_G_uint16_t): Likewise.
23940 (_G_uint32_t): Likewise.
23941 (_G_HAVE_BOOL): Likewise.
23942 (_G_HAVE_ATEXIT): Likewise.
23943 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23944 (_G_HAVE_IO_FILE_OPEN): Likewise.
23945 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23946 (_G_int32_t): Likewise.
23947 (_G_uint16_t): Likewise.
23948 (_G_uint32_t): Likewise.
23949 (_G_HAVE_BOOL): Likewise.
23950 (_G_HAVE_ATEXIT): Likewise.
23951 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23952 (_G_HAVE_IO_FILE_OPEN): Likewise.
23953 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23954 (_G_int32_t): Likewise.
23955 (_G_uint16_t): Likewise.
23956 (_G_uint32_t): Likewise.
23957 (_G_HAVE_BOOL): Likewise.
23958 (_G_HAVE_ATEXIT): Likewise.
23959 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23960 (_G_HAVE_IO_FILE_OPEN): Likewise.
23962 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23964 * csu/libc-tls.c: Update copyright years.
23966 2012-09-10 Joseph Myers <joseph@codesourcery.com>
23968 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23969 [!_G_USING_THUNKS]: Remove conditional code.
23970 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23971 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23973 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23974 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23975 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23976 (_G_VTABLE_LABEL_PREFIX): Likewise.
23977 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23978 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23979 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23980 (_G_VTABLE_LABEL_PREFIX): Likewise.
23981 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23982 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23983 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23984 (_G_VTABLE_LABEL_PREFIX): Likewise.
23985 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23987 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23989 * libio/Makefile: Include ../Makeconfig before tests.
23990 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23991 only if $(build-shared) is yes.
23993 * iconv/gconv_db.c: Update copyright years.
23995 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23997 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23998 unwind info if defined PIC. Fix special cases description.
23999 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24001 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24003 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24005 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24007 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24009 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24012 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24013 (LDLIBS-tst-chk4): This.
24014 (LDFLAGS-tst-chk5): Renamed to ...
24015 (LDLIBS-tst-chk5): This.
24016 (LDFLAGS-tst-chk6): Renamed to ...
24017 (LDLIBS-tst-chk6): This.
24018 (LDFLAGS-tst-lfschk4): Renamed to ...
24019 (LDLIBS-tst-lfschk4): This.
24020 (LDFLAGS-tst-lfschk5): Renamed to ...
24021 (LDLIBS-tst-lfschk5): This.
24022 (LDFLAGS-tst-lfschk6): Renamed to ...
24023 (LDLIBS-tst-lfschk6): This.
24025 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24026 on $(common-objpfx)soversions.mk.
24028 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24031 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24034 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24036 * malloc/arena.c (arena_get_retry): New function that gets
24037 another arena for the caller to try its request on.
24038 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24039 current arena cannot fulfill the request.
24040 (__libc_memalign): Likewise.
24041 (__libc_memalign): Likewise.
24042 (__libc_pvalloc): Likewise.
24043 (__libc_calloc): Likewise.
24045 2012-09-05 John Tobey <john.tobey@gmail.com>
24048 * manual/arith.texi (Operations on Complex): Fix description
24049 of carg branch cut.
24051 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24054 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24058 * manual/memory.texi (Memory): Make order of menu items match
24061 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24063 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24064 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24065 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24067 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24069 * csu/libc-tls.c (static_dtv): Renamed to ...
24070 (_dl_static_dtv): This. Make it global.
24071 (_dl_initial_dtv): Removed.
24072 (__libc_setup_tls): Updated.
24073 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24074 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24077 2012-09-06 Petr Machata <pmachata@redhat.com>
24079 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24080 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24081 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24082 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24084 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24087 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24088 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24091 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24094 * Makeconfig (link-static-before-libc): Replace $(+prector)
24096 (link-static-after-libc): Replace $(+postctor) with
24098 (link-bounded): Replace $(+prector)/$(+postctor) with
24099 $(+prectorT)/$(+postctorT).
24100 (+prectorT): New macro.
24101 (+postctorT): Likewise.
24103 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24105 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24106 (round_str): Handle values above the maximum for IBM long double
24108 * stdlib/tst-strtod-round.c (tests): Regenerated.
24110 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24112 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24114 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24115 zarch_nohighgprs around the zarch optimized routines.
24116 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24117 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24118 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24121 2012-09-05 David S. Miller <davem@davemloft.net>
24123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24125 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24126 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24127 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24128 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24131 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24133 * malloc/arena.c: Fold copyright years.
24134 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24136 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24138 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24140 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24142 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24144 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24146 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24147 change internal state upon failure.
24149 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24151 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24152 * malloc/memusage.c (mmap): Likewise.
24153 (mmap64, mremap): Likewise. Adjust name in comment.
24155 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24157 * libio/fileops.c: Fix typos in comments.
24158 * libio/oldfileops.c: Likewise.
24159 * libio/wfileops.c: Likewise.
24161 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24164 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24165 (tst-malloc-usable-ENV): Set environment for test case.
24166 * malloc/hooks.c (malloc_check_get_size): New function to get
24168 * malloc/malloc.c (musable): Use malloc_check_get_size.
24169 * malloc/tst-malloc-usable.c: New test case.
24171 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24173 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24175 2012-09-05 Allan McRae <allan@archlinux.org>
24178 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24179 determine header location.
24180 * configure: Regenerated.
24182 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24184 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24186 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24187 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24189 (test): Regenerate.
24191 2012-09-04 David S. Miller <davem@davemloft.net>
24193 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24194 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24195 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24197 2012-09-04 Florian Weimer <fweimer@redhat.com>
24199 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24202 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24204 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24207 * libio/iogetdelim.c: Include <limits.h>.
24208 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24209 + len + 1 would overflow.
24211 2012-09-03 Andreas Jaeger <aj@suse.de>
24213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24214 * sysdeps/i386/fpu/libm-test-ulps: Update.
24216 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24218 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24219 Add s_sinf-sse2, s_conf-sse2.
24221 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24222 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24223 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24224 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24226 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24227 for using routine as __sinf_ia32.
24228 Use macro for function declaration and weak_alias.
24229 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24230 for using routine as __cosf_ia32.
24231 Use macro for function declaration and weak_alias.
24233 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24234 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24236 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24237 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24240 * math/libm-test.inc (cos_test): Add more test cases.
24241 (sin_test): Likewise.
24242 (sincos_test): Likewise.
24244 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24246 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24247 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24249 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24251 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24254 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24255 first element of the GOT.
24256 (elf_machine_load_address): Return the difference between
24257 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24259 2012-09-01 Allan McRae <allan@archlinux.org>
24262 * configure.in (AWK): Require gawk version 3.0 or later.
24263 * configure: Regenerated.
24265 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24267 * sysdeps/unix/sysv/linux/kernel-features.h
24268 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24269 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24270 [__NR_clock_getres]: Make code unconditional.
24271 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24272 (clock_getcpuclockid): Remove code left unreachable by removal of
24274 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24275 code unconditional.
24276 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24277 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24278 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24279 Make code unconditional.
24280 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24281 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24282 * sysdeps/unix/sysv/linux/clock_settime.c
24283 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24285 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24286 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24288 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24291 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24292 scripts/test-installation.pl.
24294 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24295 and $ld_so_version if it is set.
24297 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24300 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24301 failure if reading from procfs failed.
24302 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24304 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24306 * sysdeps/unix/sysv/linux/kernel-features.h
24307 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24308 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24309 Remove conditional code.
24310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24311 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24312 Remove conditional code.
24313 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24314 * sysdeps/unix/sysv/linux/i386/fxstat.c
24315 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24316 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24317 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24318 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24319 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24320 * sysdeps/unix/sysv/linux/i386/lxstat.c
24321 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24322 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24323 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24324 Remove conditional code.
24325 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24326 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24327 Remove conditional code.
24328 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24329 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24330 <kernel-features.h>.
24331 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24333 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24334 Remove conditional code.
24335 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24336 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24337 Remove conditional.
24339 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24342 * NEWS: Add fixed bug number.
24344 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24347 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24348 underflowing exponent in case of negative sign.
24349 * stdlib/tst-strtod-round-data: Add more tests.
24350 * stdlib/tst-strtod-round.c (tests): Regenerated.
24353 * stdlib/strtod_l.c (NDIG): Remove.
24354 (HEXNDIG): Likewise.
24355 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24356 smallest representable value.
24357 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24358 lie within an exact representation of 1/2 ulp of the result.
24359 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24361 (TENS_P9_IDX): Define unconditionally.
24362 (TENS_P9_SIZE): Likewise.
24363 (TENS_P10_IDX): Likewise.
24364 (TENS_P10_SIZE): Likewise.
24365 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24366 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24367 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24368 entries for 10^2^13 and 10^2^14.
24369 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24370 (TENS_P13_IDX): Define.
24371 (TENS_P13_SIZE): Likewise.
24372 (TENS_P14_IDX): Likewise.
24373 (TENS_P14_SIZE): Likewise.
24374 (_fpioconst_pow10): Change array size to
24375 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24377 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24378 1024]: Add entries for 10^2^13 and 10^2^14.
24379 [LAST_POW10 > _LAST_POW10]: Remove #error.
24380 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24381 (_fpioconst_pow10): Change array size to
24382 FPIOCONST_POW10_ARRAY_SIZE.
24383 * stdlib/gen-fpioconst.c: New file.
24384 * stdlib/gen-tst-strtod-round.c: Likewise.
24385 * stdlib/tst-strtod-round-data: Likewise.
24386 * stdlib/tst-strtod-round.c: Likewise.
24387 * stdlib/Makefile (tests): Add tst-strtod-round.
24390 * stdlib/strtod_l.c: Include <stdint.h>.
24391 (NDEBUG): Do not define.
24392 (round_and_return): Change EXPONENT parameter to type intmax_t.
24393 Rearrange calculations to avoid internal overflow possibilities.
24394 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24395 Rearrange calculations to avoid internal overflow possibilities.
24396 Assert that number fits inside MPNSIZE limbs.
24397 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24398 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24399 calculations and add assertions to avoid internal overflow
24400 possibilities. Add casts to avoid signed/unsigned operations.
24401 * stdlib/tst-strtod-overflow.c: New file.
24402 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24404 2012-08-25 Marek Polacek <polacek@redhat.com>
24406 * time/time.h: Fix some typos in comments.
24408 2012-08-23 Roland McGrath <roland@hack.frob.com>
24410 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24411 * posix/tst-rfc3484-2.c: Likewise.
24412 * posix/tst-rfc3484-3.c: Likewise.
24414 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24416 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24417 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24419 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24421 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24422 #include of fxstatat64.c.
24424 2012-08-22 Roland McGrath <roland@hack.frob.com>
24426 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24427 * shadow/getspent_r.c: Likewise.
24428 * shadow/getspnam.c: Likewise.
24429 * shadow/getspnam_r.c: Likewise.
24430 * gshadow/getsgent.c: Likewise.
24431 * gshadow/getsgent_r.c: Likewise.
24432 * gshadow/getsgnam.c: Likewise.
24433 * gshadow/getsgnam_r.c: Likewise.
24434 * inet/getnetbyad.c: Likewise.
24435 * inet/getnetbyad_r.c: Likewise.
24436 * inet/getnetbynm.c: Likewise.
24437 * inet/getnetbynm_r.c: Likewise.
24438 * inet/getnetent.c: Likewise.
24439 * inet/getnetent_r.c: Likewise.
24440 * inet/getproto.c: Likewise.
24441 * inet/getproto_r.c: Likewise.
24442 * inet/getprtent.c: Likewise.
24443 * inet/getprtent_r.c: Likewise.
24444 * inet/getprtname.c: Likewise.
24445 * inet/getprtname_r.c: Likewise.
24446 * inet/getrpcbyname.c: Likewise.
24447 * inet/getrpcbyname_r.c: Likewise.
24448 * inet/getrpcbynumber.c: Likewise.
24449 * inet/getrpcbynumber_r.c: Likewise.
24450 * inet/getrpcent.c: Likewise.
24451 * inet/getrpcent_r.c: Likewise.
24452 * inet/getaliasent.c: Likewise.
24453 * inet/getaliasent_r.c: Likewise.
24454 * inet/getaliasname.c: Likewise.
24455 * inet/getaliasname_r.c: Likewise.
24456 * nscd/getgrgid_r.c: Likewise.
24457 * nscd/getgrnam_r.c: Likewise.
24458 * nscd/gethstbyad_r.c: Likewise.
24459 * nscd/gethstbynm3_r.c: Likewise.
24460 * nscd/getpwnam_r.c: Likewise.
24461 * nscd/getpwuid_r.c: Likewise.
24462 * nscd/getsrvbynm_r.c: Likewise.
24463 * nscd/getsrvbypt_r.c: Likewise.
24464 * nscd/gai.c: Likewise.
24466 * configure.in (build_nscd): New substituted variable, set
24467 by --disable-build-nscd and defaults to $use_nscd.
24468 * configure: Regenerated.
24469 * config.make.in (build-nscd): New substituted variable.
24470 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24471 Change conditional to require [$(build-nscd) = yes] as well.
24472 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24475 * configure.in (use_nscd): New substituted variable, set by
24476 --disable-nscd. If enabled, define USE_NSCD.
24477 * configure: Regenerated.
24478 * config.h.in: Add USE_NSCD.
24479 * config.make.in (use-nscd): New substituted variable.
24480 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24481 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24482 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24483 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24484 (CFLAGS-getgrnam_r.c): Likewise.
24485 (CFLAGS-initgroups.c): Likewise.
24486 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24487 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24489 * inet/getnetgrent_r.c
24490 (nscd_setnetgrent): New function, broken out of ...
24491 (setnetgrent): ... here. Call it.
24492 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24493 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24494 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24495 * nscd/Makefile (routines, aux): Move definitions after include of
24496 Makeconfig. Conditionalize on [$(use-nscd) != no].
24497 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24498 Conditionalize on [USE_NSCD].
24499 (is_nscd, nscd_init_cb): Likewise.
24500 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24501 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24502 * nss/nss_db/db-init.c: Likewise.
24503 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24505 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24506 (make_request): Use it.
24507 (cache_valid_p): New function.
24508 (__check_pf): Use it.
24509 * NEWS: Add item for --disable-nscd.
24511 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24513 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24514 to support sed >= 4.2.1-20-ga9bf076.
24515 * configure: Regenerated.
24517 2012-08-22 Roland McGrath <roland@hack.frob.com>
24519 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24520 Conditionalize whole body on [IREL].
24522 2012-08-22 Jeff Law <law@redhat.com>
24525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24526 if the family is PF_UNSPEC.
24528 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24530 * Makerules (lib-version): Rename from V.
24531 (install-lib-nosubdir): Change V to lib-version.
24533 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24536 * powerpc32/power6/wcschr.c: New file.
24537 * powerpc32/power6/wcscpy.c: New file.
24538 * powerpc32/power6/wcsrchr.c: New file.
24539 * powerpc64/power6/wcschr.c: New file.
24540 * powerpc64/power6/wcscpy.c: New file.
24541 * powerpc64/power6/wcsrchr.c: New file.
24543 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24545 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24546 (two_way_short_needle): Use it.
24547 * string/strstr.c (AVAILABLE1_USES_J): Define.
24548 * string/strcasestr.c: Likewise.
24550 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24552 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24555 * NEWS: Add an entry.
24556 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24557 define their defaults.
24558 (two_way_short_needle): Detect end-of-string on-the-fly.
24559 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24560 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24561 * string/bug-strcasestr1.c: New test.
24562 * string/Makefile: Run it.
24564 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24567 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24568 the first character.
24570 2012-08-21 Roland McGrath <roland@hack.frob.com>
24572 * csu/elf-init.c (__libc_csu_irel): Function removed.
24573 * csu/libc-start.c (apply_irel): New function.
24574 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24576 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24578 * sysdeps/unix/sysv/linux/kernel-features.h
24579 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24580 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24581 <kernel-features.h>.
24582 [__NR_fadvise64_64]: Make code unconditional.
24583 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24584 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24585 !__NR_fadvise64_64)]: Likewise.
24586 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24587 !__NR_fadvise64_64))]: Likewise.
24588 [__NR_fadvise64]: Make code unconditional.
24589 [!__NR_fadvise64]: Remove conditional code.
24590 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24591 <kernel-features.h>.
24592 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24594 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24597 not include <kernel-features.h>.
24598 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24600 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24602 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24603 include <kernel-features.h>.
24604 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24606 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24609 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24611 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24612 slight instruction rearrangements per scrollpipe analysis.
24613 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24615 2012-08-20 Roland McGrath <roland@hack.frob.com>
24617 * manual/syslog.texi (syslog; vsyslog, closelog):
24618 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24619 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24621 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24622 DSOCAPS to match condition on defining it.
24624 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24626 * sysdeps/unix/sysv/linux/kernel-features.h
24627 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24629 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24630 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24632 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24633 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24635 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24636 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24638 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24639 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24641 * sysdeps/unix/sysv/linux/kernel-features.h
24642 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24643 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24645 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24646 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24647 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24648 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24649 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24650 Make code unconditional.
24651 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24652 (__mmap64) [!__NR_mmap2]: Likewise.
24653 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24654 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24655 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24656 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24657 [__NR_mmap2]: Make code unconditional.
24658 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24659 (__mmap64) [!__NR_mmap2]: Likewise.
24661 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24663 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24665 2012-08-18 Andreas Jaeger <aj@suse.de>
24667 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24669 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24671 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24672 * include/unistd.h (__have_sock_cloexec): Likewise.
24673 (__have_pipe2): Likewise.
24674 (__have_dup3): Likewise.
24676 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24679 * include/unistd.h (__have_pipe2): Change define into an extern int.
24680 (__have_dup3): Likewise.
24681 * socket/have_sock_cloexec.c: Include fcntl.h.
24682 (__have_pipe2): New variable.
24683 (__have_dup3): Likewise.
24685 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24687 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24689 2012-08-17 Marek Polacek <polacek@redhat.com>
24691 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24692 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24694 2012-08-17 Roland McGrath <roland@hack.frob.com>
24696 * configure.in: Add AC_SUBST for sysheaders.
24697 * configure: Regenerated.
24698 * config.make.in (sysheaders): New substituted variable.
24700 * sysdeps/unix/mkfifo.c: Moved ...
24701 * sysdeps/posix/mkfifo.c: ... here.
24702 * sysdeps/unix/mkfifoat.c: Moved ...
24703 * sysdeps/posix/mkfifoat.c: ... here.
24705 * sysdeps/unix/utime.c: Moved ...
24706 * sysdeps/posix/utime.c: ... here.
24708 * sysdeps/unix/time.c: Moved ...
24709 * sysdeps/posix/time.c: ... here.
24710 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24711 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24713 * sysdeps/unix/nice.c: Moved ...
24714 * sysdeps/posix/nice.c: ... here.
24716 * sysdeps/unix/alarm.c: Moved ...
24717 * sysdeps/posix/alarm.c: ... here.
24719 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24721 2012-08-17 Jeff Law <law@redhat.com>
24723 * intl/Makefile (codeset_mo): New variable.
24724 ($(codeset_mo)): New target.
24725 (tst-codeset.out): Depend on that. Remove explicit rule.
24726 (tst-gettext3.out, tst-gettext5.out): Likewise.
24727 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24728 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24729 * intl/tst-codeset.sh: Remove.
24730 * intl/tst-gettext3.sh: Likewise.
24731 * intl/tst-gettext5.sh: Likewise.
24733 2012-08-17 Roland McGrath <roland@hack.frob.com>
24735 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24736 * sysdeps/unix/syscalls.list: ... here.
24738 * sysdeps/posix/getaddrinfo.c
24739 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24740 (gaiconf_init, gaiconf_reload): Use them.
24741 [!_STATBUF_ST_NSEC]
24742 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24743 Define using time_t rather than struct timespec.
24745 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24746 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24748 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24750 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24751 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24754 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24755 __libc_cleanup_push argument.
24757 * bits/param.h: New file.
24758 * misc/sys/param.h: New file.
24759 * include/sys/param.h: New file.
24760 * misc/Makefile (headers): Add bits/param.h.
24761 * sysdeps/generic/sys/param.h: File removed.
24762 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24763 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24764 * sysdeps/mach/hurd/bits/param.h: New file.
24765 * sysdeps/mach/hurd/sys/param.h: File removed.
24767 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24770 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24772 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24773 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24776 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24777 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24778 rather than -D_IO_MTSAFE_IO conditionally.
24779 * stdio-common/Makefile (CPPFLAGS): Likewise.
24780 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24781 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24782 Use $(libio-mtsafe).
24783 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24784 of -D_IO_MTSAFE_IO.
24785 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24786 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24787 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24788 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24789 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24790 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24791 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24792 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24793 (CFLAGS-fread_u_chk.c): Likewise.
24794 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24795 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24796 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24797 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24798 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24799 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24800 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24801 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24802 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24804 * libio/Makefile: Test [$(libc-reentrant) = yes]
24805 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24808 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24809 * sysdeps/pthread/configure: File removed.
24810 * sysdeps/pthread/Makeconfig: New file.
24811 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24812 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24814 2012-08-16 Gary Benson <gbenson@redhat.com>
24816 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24817 unmapping the first object in a namespace.
24819 2012-08-16 Roland McGrath <roland@hack.frob.com>
24821 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24822 (__internal_setnetgrent): ... this. Add internal_function to
24823 definition. Add libc_hidden_def.
24824 (setnetgrent): Update caller.
24825 (internal_endnetgrent): Renamed to ...
24826 (__internal_endnetgrent): ... this. Add internal_function to
24827 definition. Add libc_hidden_def.
24828 (endnetgrent): Update caller.
24829 (internal_getnetgrent_r): Renamed to ...
24830 (__internal_getnetgrent_r): ... this. Add internal_function to
24831 definition. Add libc_hidden_def.
24832 (__getnetgrent_r): Update caller.
24833 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24835 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24837 * stdlib/longlong.h: Update from GCC.
24839 2012-08-16 Roland McGrath <roland@hack.frob.com>
24841 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24842 on _QL, which is set by umul_ppmm but never used.
24843 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24844 variables, which are set by GMP macros but never used.
24845 * stdio-common/_itowa.c (_itowa): Likewise.
24846 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24847 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24849 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24851 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24852 struct La_sh_regs is not constant.
24853 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24854 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24855 and struct La_sparc64_regs are not constant.
24857 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24859 * sysdeps/unix/sysv/linux/kernel-features.h
24860 (__ASSUME_POSIX_TIMERS): Remove.
24861 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24862 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24863 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24864 Make code unconditional.
24865 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24866 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24867 Make code unconditional.
24868 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24869 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24870 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24871 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24872 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24873 Make code unconditional.
24874 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24875 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24876 (__libc_missing_posix_timers): Remove.
24878 2012-08-15 Roland McGrath <roland@hack.frob.com>
24880 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24881 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24883 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24885 * elf/dl-sym.c: Include <stdlib.h>.
24887 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24888 constants, which avoids warnings in 32-bit builds.
24890 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24891 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24893 * misc/lseek.c: File moved to ...
24894 * io/lseek.c: ... here.
24896 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24898 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24899 shifting LEN more than 31 bits at once.
24901 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24904 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24905 segmentation fault for a case of two empty input strings.
24906 * string/test-strncasecmp.c (check1): Renamed to...
24907 (bz12205): ...this.
24908 (bz14195): Add new testcase for two empty input strings and N > 0.
24909 (test_main): Call new testcase, adapt for renamed function.
24911 2012-08-15 Andreas Jaeger <aj@suse.de>
24914 * crypt/md5test2.c: New test, based on test supplied by Serge
24915 Belyshev <belyshev@depni.sinp.msu.ru>.
24916 * crypt/Makefile (xtests): Add md5test-giant..
24917 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24919 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24922 * crypt/md5.c (md5_process_block): Don't assume the buffer
24923 length is less than 2**32.
24924 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24925 length is less than 2**64.
24927 2012-08-15 Roland McGrath <roland@hack.frob.com>
24929 * string/str-two-way.h: Include <sys/param.h>.
24930 (MAX): Macro removed.
24932 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24933 Move #define and #undef of memmove to just before and after
24934 including <string.h>.
24936 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24937 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24938 and after including <string.h>. Move declarations of
24939 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24940 to before #include "string/memmove.c".
24942 * include/dirent.h: Declare __getdirentries.
24944 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24945 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24947 2012-08-14 Mike Frysinger <vapier@gentoo.org>
24949 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24950 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24951 * sysdeps/i386/configure: Regenerated.
24952 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24953 STABS_CURRENT_FILE, and STABS_FUN.
24954 (END): Remove call to STABS_FUN_END.
24955 (STABS_CURRENT_FILE1): Delete.
24956 (STABS_CURRENT_FILE): Likewise.
24957 (STABS_FUN): Likewise.
24958 (STABS_FUN_END): Likewise.
24959 (STABS_FUN2): Likewise.
24960 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24961 * sysdeps/x86_64/configure: Regenerated.
24963 2012-08-14 Roland McGrath <roland@hack.frob.com>
24965 * elf/dl-open.c: Include <atomic.h>.
24966 * elf/dl-lookup.c: Likewise.
24968 2012-08-14 Joseph Myers <joseph@codesourcery.com>
24970 * sysdeps/unix/sysv/linux/kernel-features.h
24971 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24972 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24974 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24976 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24977 condition on __ASSUME_CLONE_THREAD_FLAGS.
24979 2012-08-14 Andreas Jaeger <aj@suse.de>
24981 * sysdeps/i386/fpu/libm-test-ulps: Update.
24983 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24985 * include/atomic.h (atomic_exchange_and_add): Split into ...
24986 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24989 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24993 2012-08-13 Jeff Law <law@redhat.com>
24995 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24996 null byte in the output string.
24998 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25000 * sysdeps/unix/sysv/linux/kernel-features.h
25001 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25002 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25003 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25004 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25005 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25006 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25007 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25009 2012-08-09 Jeff Law <law@redhat.com>
25012 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25013 When avoid_arena is set, don't retry in the that arena. Pick the
25014 next one, whatever it might be.
25015 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25016 (arena_lock): Pass in new parameter to arena_get2.
25017 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25019 (__libc_malloc): Unify retrying after main arena failure with
25020 __libc_memalign version.
25021 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25023 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25026 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25027 to __redirect_strstr.
25028 (__strstr_sse42): Use typeof __redirect_strstr.
25029 (__strstr_ia32): Likewise.
25030 (__libc_strstr): New prototype.
25031 (strstr): Renamed to ...
25032 (__libc_strstr): This.
25033 (strstr): New strong alias of __libc_strstr.
25034 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25035 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25038 (__libc_time): New prototype.
25039 (time_ifunc): Replace time with __libc_time.
25040 (time): New strong alias and hidden definition of __libc_time.
25041 (__GI_time): Remove strong alias.
25042 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25043 Include <stddef.h>.
25044 (memmove): Redefined to __redirect_memmove.
25045 (__memmove_sse2): Use typeof __redirect_memmove.
25046 (__memmove_ssse3): Likewise.
25047 (__memmove_ssse3_back): Likewise.
25048 (__libc_memmove): New prototype.
25049 (memmove): Renamed to ...
25050 (__libc_memmove): This.
25051 (memmove): New strong alias of __libc_memmove.
25053 2012-08-08 Mark Salter <msalter@redhat.com>
25056 (R_MN10300_TLS_GD): Define.
25057 (R_MN10300_TLS_LD): Likewise.
25058 (R_MN10300_TLS_LDO): Likewise.
25059 (R_MN10300_TLS_GOTIE): Likewise.
25060 (R_MN10300_TLS_IE): Likewise.
25061 (R_MN10300_TLS_LE): Likewise.
25062 (R_MN10300_TLS_DTPMOD): Likewise.
25063 (R_MN10300_TLS_DTPOFF): Likewise.
25064 (R_MN10300_TLS_TPOFF): Likewise.
25065 (R_MN10300_SYM_DIFF): Likewise.
25066 (R_MN10300_ALIGN): Likewise.
25067 (R_MN10300_NUM): Update.
25069 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25071 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25074 2012-08-08 Roland McGrath <roland@hack.frob.com>
25076 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25078 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25079 sysdeps/unix -> sysdeps/posix move.
25080 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25082 2012-08-07 Allan McRae <allan@archlinux.org>
25085 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25086 (SUNOS_CPP): Likewise.
25087 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25089 (open_input): Call CPP using execvp.
25091 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25093 * sysdeps/unix/sysv/linux/kernel-features.h
25094 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25095 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25096 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25097 (__ASSUME_WAITID_SYSCALL): Likewise.
25098 * sysdeps/unix/sysv/linux/dl-execstack.c
25099 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25100 code unconditional.
25101 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25103 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25104 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25105 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25107 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25109 [__ASSUME_WAITID_SYSCALL]: Likewise.
25110 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25112 2012-08-07 Roland McGrath <roland@hack.frob.com>
25114 * sysdeps/unix/closedir.c: Renamed to ...
25115 * sysdeps/posix/closedir.c: ... here.
25116 * sysdeps/unix/dirfd.c: Renamed to ...
25117 * sysdeps/posix/dirfd.c: ... here.
25118 * sysdeps/unix/dirstream.h: Renamed to ...
25119 * sysdeps/posix/dirstream.h: ... here.
25120 * sysdeps/unix/fdopendir.c: Renamed to ...
25121 * sysdeps/posix/fdopendir.c: ... here.
25122 * sysdeps/unix/opendir.c: Renamed to ...
25123 * sysdeps/posix/opendir.c: ... here.
25124 * sysdeps/unix/readdir.c: Renamed to ...
25125 * sysdeps/posix/readdir.c: ... here.
25126 * sysdeps/unix/readdir_r.c: Renamed to ...
25127 * sysdeps/posix/readdir_r.c: ... here.
25128 * sysdeps/unix/rewinddir.c: Renamed to ...
25129 * sysdeps/posix/rewinddir.c: ... here.
25130 * sysdeps/unix/seekdir.c: Renamed to ...
25131 * sysdeps/posix/seekdir.c: ... here.
25132 * sysdeps/unix/telldir.c: Renamed to ...
25133 * sysdeps/posix/telldir.c: ... here.
25134 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25135 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25136 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25137 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25139 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25140 * bits/fcntl.h: ... here.
25142 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25144 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25145 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25146 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25147 (struct flock): Move l_start, l_len to the beginning.
25148 Use __pid_t for l_pid.
25149 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25150 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25151 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25152 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25153 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25154 [__USE_LARGEFILE64] (struct flock64): New type.
25155 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25157 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25158 * bits/dirent.h: ... here.
25160 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25161 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25163 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25165 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25166 Change from 2.6.0 to 2.6.16.
25167 * sysdeps/unix/sysv/linux/configure: Regenerated.
25168 * sysdeps/unix/sysv/linux/kernel-features.h
25169 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25170 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25172 (__ASSUME_UTIMES): Likewise.
25173 (__ASSUME_CLONE_STOPPED): Remove.
25174 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25175 architectures, not kernel version.
25176 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25177 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25178 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25179 (__ASSUME_WAITID_SYSCALL): Likewise.
25180 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25181 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25182 * README: State 2.6.16 as minimum Linux kernel version. Do not
25183 refer to older versions.
25185 2012-08-06 Roland McGrath <roland@hack.frob.com>
25187 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25188 Define alphasort64 as an alias.
25189 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25190 Define versionsort64 as an alias.
25191 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25192 Define scandir64 as an alias.
25193 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25194 Define scandirat64 as an alias.
25195 * dirent/alphasort64.c (alphasort64):
25196 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25197 * dirent/versionsort64.c: Likewise.
25198 * dirent/scandir64.c: Likewise.
25199 * dirent/scandirat64.c: Likewise.
25200 * sysdeps/wordsize-64/alphasort.c: File removed.
25201 * sysdeps/wordsize-64/alphasort64.c: File removed.
25202 * sysdeps/wordsize-64/scandir.c: File removed.
25203 * sysdeps/wordsize-64/scandir64.c: File removed.
25204 * sysdeps/wordsize-64/scandirat.c: File removed.
25205 * sysdeps/wordsize-64/scandirat64.c: File removed.
25206 * sysdeps/wordsize-64/versionsort.c: File removed.
25207 * sysdeps/wordsize-64/versionsort64.c: File removed.
25208 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25209 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25210 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25211 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25212 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25213 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25214 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25215 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25217 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25218 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25219 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25220 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25221 [defined __arch64__ || defined __sparcv9]
25222 (__INO_T_MATCHES_INO64_T): New macro.
25223 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25224 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25225 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25226 * sysdeps/unix/sysv/linux/bits/dirent.h
25227 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25228 (_DIRENT_MATCHES_DIRENT64): New macro.
25230 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25231 Define lockf64 as an alias.
25232 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25233 Define fseeko64 as an alias.
25234 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25235 Define ftello64 as an alias.
25236 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25237 Define _IO_fgetpos64 and fgetpos64 as aliases.
25238 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25239 Define _IO_fsetpos64 and fsetpos64 as aliases.
25240 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25241 Conditionalize body on this.
25242 * libio/fseeko64.c: Likewise.
25243 * libio/ftello64.c: Likewise.
25244 * libio/iofgetpos64.c: Likewise.
25245 * libio/iofsetpos64.c: Likewise.
25246 * sysdeps/wordsize-64/lockf.c: File removed.
25247 * sysdeps/wordsize-64/lockf64.c: File removed.
25248 * sysdeps/wordsize-64/fseeko.c: File removed.
25249 * sysdeps/wordsize-64/fseeko64.c: File removed.
25250 * sysdeps/wordsize-64/ftello.c: File removed.
25251 * sysdeps/wordsize-64/ftello64.c: File removed.
25252 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25253 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25254 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25255 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25256 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25257 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25258 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25259 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25260 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25261 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25262 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25263 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25264 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25265 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25267 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25268 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25269 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25270 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25271 [defined __arch64__ || defined __sparcv9]
25272 (__OFF_T_MATCHES_OFF64_T): New macro.
25273 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25274 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25275 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25276 (__OFF_T_MATCHES_OFF64_T): New macro.
25278 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25280 * stdlib/secure-getenv.c (__secure_getenv): Replace
25281 GLIBC_2_16 with GLIBC_2_17.
25283 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25285 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25286 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25288 2012-08-03 David S. Miller <davem@davemloft.net>
25290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25292 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25294 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25296 (__ASSUME_CORRECT_SI_PID): Likewise.
25297 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25298 (__ASSUME_TMPFS_NAME): Likewise.
25299 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25300 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25301 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25302 (HAVE_AUX_SECURE): Make definition unconditional.
25303 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25304 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25306 2012-08-03 Roland McGrath <roland@hack.frob.com>
25308 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25309 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25310 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25311 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25312 __eloop_threshold instead of SYMLOOP_MAX.
25314 * sysdeps/generic/eloop-threshold.h: New file.
25315 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25317 * elf/chroot_canon.c (chroot_canon): Likewise.
25319 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25322 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25323 Change to 2.6.0 everywhere.
25324 * sysdeps/unix/sysv/linux/configure: Regenerated.
25325 * sysdeps/unix/sysv/linux/kernel-features.h
25326 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25327 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25329 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25330 (__ASSUME_FUTEX_REQUEUE): Remove.
25331 (__ASSUME_STATFS64): Define unconditionally.
25332 (__ASSUME_AT_SECURE): Likewise.
25333 (__ASSUME_CORRECT_SI_PID): Likewise.
25334 (__ASSUME_TGKILL): Define without depending on kernel version for
25336 (__ASSUME_UTIMES): Likewise.
25337 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25339 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25340 (__ASSUME_TMPFS_NAME): Likewise.
25341 * README: Update reference to Linux kernel versions.
25343 2012-08-02 Marek Polacek <polacek@redhat.com>
25346 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25347 libc_cv_asm_type_prefix with %.
25348 * configure: Regenerated.
25349 * include/libc-symbols.h: Remove comment about
25350 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25351 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25352 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25353 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25354 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25355 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25356 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25357 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25358 * elf/tst-unique2mod1.c: Likewise.
25359 * elf/tst-unique1mod2.c: Likewise.
25360 * elf/tst-unique1mod1.c: Likewise.
25361 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25362 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25363 Replace ASM_TYPE_DIRECTIVE with .type.
25364 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25365 * sysdeps/i386/sysdep.h: Likewise.
25366 * sysdeps/x86_64/sysdep.h: Likewise.
25367 * sysdeps/sh/sysdep.h: Likewise.
25368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25369 Do not define ASM_TYPE_DIRECTIVE.
25370 * sysdeps/powerpc/sysdep.h: Likewise.
25371 * sysdeps/powerpc/powerpc32/sysdep.h:
25372 Replace ASM_TYPE_DIRECTIVE with .type.
25373 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25374 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25375 * sysdeps/i386/fpu/e_powf.S: Likewise.
25376 * sysdeps/i386/fpu/e_expl.S: Likewise.
25377 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25378 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25379 * sysdeps/i386/fpu/e_pow.S: Likewise.
25380 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25381 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25382 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25383 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25384 * sysdeps/i386/fpu/e_log2.S: Likewise.
25385 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25386 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25387 * sysdeps/i386/fpu/e_powl.S: Likewise.
25388 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25389 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25390 * sysdeps/i386/fpu/e_logl.S: Likewise.
25391 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25392 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25393 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25394 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25395 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25396 * sysdeps/i386/fpu/e_log.S: Likewise.
25397 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25398 * sysdeps/i386/fpu/e_logf.S: Likewise.
25399 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25400 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25401 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25402 * sysdeps/i386/fpu/e_log10.S: Likewise.
25403 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25404 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25405 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25406 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25407 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25408 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25409 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25410 * sysdeps/i386/i686/strtok.S: Likewise.
25411 * sysdeps/i386/i386-mcount.S: Likewise.
25412 * sysdeps/i386/strtok.S: Likewise.
25413 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25414 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25415 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25416 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25417 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25418 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25419 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25420 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25421 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25422 * sysdeps/x86_64/_mcount.S: Likewise.
25423 * sysdeps/x86_64/strtok.S: Likewise.
25424 * sysdeps/sh/_mcount.S: Likewise.
25426 2012-08-01 Roland McGrath <roland@hack.frob.com>
25428 * libio/iofopen.c: Include <fcntl.h>.
25429 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25430 (_IO_fopen64, fopen64): Define as aliases.
25431 * libio/iofopen64.c: Include <fcntl.h>.
25432 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25433 Conditionalize body on this.
25434 * sysdeps/wordsize-64/iofopen.c: File removed.
25435 * sysdeps/wordsize-64/iofopen64.c: File removed.
25437 2012-08-01 Marek Polacek <polacek@redhat.com>
25439 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25440 Use dlfcn directly instead of a variable.
25441 (binfmt-subdir): Do not define.
25444 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25446 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25447 Remove all definitions.
25448 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25449 <kernel-features.h>.
25450 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25451 (miss_F_GETOWN_EX): Remove all definitions.
25452 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25454 [!__ASSUME_FCNTL64]: Remove conditional code.
25455 [__ASSUME_FCNTL64]: Make code unconditional.
25456 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25457 <kernel-features.h>.
25458 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25459 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25460 (lockf64) [__NR_fcntl64]: Make code unconditional.
25461 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25463 * sysdeps/unix/sysv/linux/kernel-features.h
25464 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25465 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25466 Make code unconditional.
25467 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25468 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25470 [__NR_vfork]: Make code unconditional.
25471 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25472 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25474 [__NR_vfork]: Make code unconditional.
25475 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25476 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25478 2012-08-01 Roland McGrath <roland@hack.frob.com>
25480 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25481 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25483 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25484 Define mkstemp64 as an alias.
25485 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25486 Define mkstemps64 as an alias.
25487 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25488 Define mkostemp64 as an alias.
25489 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25490 Define mkostemps64 as an alias.
25491 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25492 Conditionalize body on this.
25493 * misc/mkostemp64.c: Likewise.
25494 * misc/mkostemps64.c: Likewise.
25495 * misc/mkstemps64.c: Likewise.
25496 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25497 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25498 * sysdeps/wordsize-64/mkostemp.c: File removed.
25499 * sysdeps/wordsize-64/mkstemp.c: File removed.
25500 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25501 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25502 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25503 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25506 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25507 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25508 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25509 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25511 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25512 compat_symbol macros from <shlib-compat.h> rather than the underlying
25513 default_symbol_version and symbol_version macros, so that DEFAULT
25514 lines in shlib-versions are respected.
25515 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25517 2012-08-01 Florian Weimer <fweimer@redhat.com>
25519 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25520 Declare with warn_unused_result.
25521 (setgid, setregid, setegid, setresgid): Likewise.
25522 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25524 * WUR-REPORT: Remove set*id functions.
25526 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25528 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25530 2012-07-31 Roland McGrath <roland@hack.frob.com>
25533 * include/sys/socket.h (__libc_accept, __libc_accept4):
25534 Add attribute_hidden.
25535 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25537 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25539 * inet/getnetgrent_r.c (setup): Likewise.
25541 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25543 2012-07-31 David S. Miller <davem@davemloft.net>
25545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25547 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25550 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25551 value between 1.0 and 2.0 and smaller part has absolute value less
25553 * math/s_clog10.c (__clog10): Likewise.
25554 * math/s_clog10f.c (__clog10f): Likewise.
25555 * math/s_clog10l.c (__clog10l): Likewise.
25556 * math/s_clogf.c (__clogf): Likewise.
25557 * math/s_clogl.c (__clogl): Likewise.
25558 * math/libm-test.inc (clog_test): Add more tests.
25559 (clog10_test): Likewise.
25560 * sysdeps/i386/fpu/libm-test-ulps: Update.
25561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25563 2012-07-31 Florian Weimer <fweimer@redhat.com>
25565 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25566 Exit with zero in case no suitable GID is found, and write a
25567 message to standard error.
25569 2012-07-30 Roland McGrath <roland@hack.frob.com>
25571 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25573 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25574 (MAXPATHLEN): Removed.
25575 (NOGROUP, NODEV): New macros.
25576 (setbit, clrbit, isset, isclr): New macros.
25577 (howmany, roundup, powerof2): New macros.
25578 (DEV_BSIZE): New macro.
25580 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25581 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25583 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25584 definition on [!__NO_LONG_DOUBLE_MATH].
25586 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25587 PTR_MANGLE and PTR_DEMANGLE.
25589 * socket/accept4.c (accept4): Rename to __libc_accept4.
25590 Define accept4 as a weak alias.
25592 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25593 on [_DIRENT_HAVE_D_TYPE].
25594 * io/ftw.c (ftw_dir): Likewise.
25596 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25598 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25600 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25601 Use the BSD numbers rather than the arbitrary ones we had.
25602 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25603 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25604 (SIGXCPU, SIGXFSZ): New macros.
25607 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25608 initializer on [_LIBC_REENTRANT].
25610 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25611 definitions inside [_POSIX_MAPPED_FILES].
25613 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25615 * dirent/opendir.c: Include <fcntl.h>.
25617 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25618 (__libc_getspecific): Likewise.
25619 (__libc_key_create): Likewise.
25621 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25622 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25623 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25624 (tmpfile64): Define as alias.
25625 * sysdeps/wordsize-64/tmpfile.c: File removed.
25626 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25627 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25628 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25630 * stdio-common/vfscanf.c: Include <stdbool.h>.
25631 * nss/makedb.c: Likewise.
25632 * stdio-common/_i18n_number.h: Likewise.
25633 * argp/argp-help.c: Likewise.
25634 * posix/wordexp.c: Likewise.
25635 * sysdeps/posix/spawni.c: Likewise.
25636 * nss/nss_files/files-initgroups.c: Likewise.
25637 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25638 * nss/nss_files/files-initgroups.c: Likewise.
25639 * nss/nss_db/db-netgrp.c: Likewise.
25640 * nss/nss_db/db-initgroups.c: Likewise.
25641 * io/fchmodat.c: Include <sys/stat.h>.
25643 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25644 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25646 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25649 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25650 Add multiple inclusion protection.
25652 2012-07-27 David S. Miller <davem@davemloft.net>
25654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25656 2012-07-27 Gary Benson <gbenson@redhat.com>
25659 * elf/rtld.c: Include <stap-probe.h>.
25660 (dl_main): Added static probes "init_start" and "init_complete".
25661 * elf/dl-load.c: Include <stap-probe.h>.
25662 (lose): Take new parameter "nsid".
25663 Added static probe "map_failed".
25664 (_dl_map_object_from_fd): Pass namespace id to lose.
25665 Added static probe "map_start".
25666 (open_verify): Pass namespace id to lose.
25667 * elf/dl-open.c: Include <stap-probe.h>.
25668 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25669 and "reloc_complete".
25670 * elf/dl-close.c: Include <stap-probe.h>.
25671 (_dl_close_worker): Added static probes "unmap_start" and
25673 * elf/rtld-debugger-interface.txt: New file documenting the above.
25675 2012-07-26 Roland McGrath <roland@hack.frob.com>
25677 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25678 rather than a string variable.
25679 * sunrpc/rpc_main.c (h_output): Likewise.
25680 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25682 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25684 * inet/check_native.c: New file.
25686 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25689 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25690 if larger part has absolute value 1.0.
25691 * math/s_clog10.c (__clog10): Likewise.
25692 * math/s_clog10f.c (__clog10f): Likewise.
25693 * math/s_clog10l.c (__clog10l): Likewise.
25694 * math/s_clogf.c (__clogf): Likewise.
25695 * math/s_clogl.c (__clogl): Likewise.
25696 * math/libm-test.inc (clog_test): Add more tests.
25697 (clog10_test): Likewise.
25698 * sysdeps/i386/fpu/libm-test-ulps: Update.
25699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25701 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25702 (pltexit): Likewise.
25703 (La_regs): Likewise.
25704 (La_retval): Likewise.
25705 (int_retval): Likewise.
25706 Update #error for removed macros to refer only to definitions in
25708 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25710 (pltexit): Likewise.
25711 (La_regs): Likewise.
25712 (La_retval): Likewise.
25713 (int_retval): Likewise.
25714 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25716 (pltexit): Likewise.
25717 (La_regs): Likewise.
25718 (La_retval): Likewise.
25719 (int_retval): Likewise.
25720 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25722 (pltexit): Likewise.
25723 (La_regs): Likewise.
25724 (La_retval): Likewise.
25725 (int_retval): Likewise.
25726 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25728 (pltexit): Likewise.
25729 (La_regs): Likewise.
25730 (La_retval): Likewise.
25731 (int_retval): Likewise.
25732 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25734 (pltexit): Likewise.
25735 (La_regs): Likewise.
25736 (La_retval): Likewise.
25737 (int_retval): Likewise.
25738 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25740 (pltexit): Likewise.
25741 (La_regs): Likewise.
25742 (La_retval): Likewise.
25743 (int_retval): Likewise.
25744 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25745 macro definitions in tst-audit.h.
25746 * sysdeps/i386/tst-audit.h: New file.
25747 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25748 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25749 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25750 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25751 * sysdeps/sh/tst-audit.h: Likewise.
25752 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25753 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25754 * sysdeps/x86_64/tst-audit.h: Likewise.
25756 2012-07-26 Andreas Jaeger <aj@suse.de>
25758 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25761 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25762 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25763 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25765 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25766 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25767 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25769 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25772 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25774 (si_call_addr, si_syscall, si_arch): Define new macro.
25775 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25777 (si_call_addr, si_syscall, si_arch): Define new marcro.
25778 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25780 (si_call_addr, si_syscall, si_arch): Define new macro.
25781 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25783 (si_call_addr, si_syscall, si_arch): Define new macro.
25785 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25788 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25789 Change to 2.4.21 where previously 2.4.1.
25790 * sysdeps/unix/sysv/linux/configure: Regenerated.
25791 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25792 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25793 Linux kernel version.
25794 (__ASSUME_STD_AUXV): Remove.
25795 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25797 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25798 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25799 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25800 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25801 (__ASSUME_NETLINK_SUPPORT): Likewise.
25802 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25803 (__no_netlink_support): Remove conditional definition.
25804 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25806 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25807 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25808 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25809 (if_nameindex_ioctl): Remove.
25810 (if_nameindex_netlink): Do not handle __no_netlink_support.
25811 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25813 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25814 Remove conditional code.
25815 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25817 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25819 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25820 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25821 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25823 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25824 [!__ASSUME_STD_AUXV]: Remove conditional code.
25825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25826 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25827 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25829 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25830 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25832 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25834 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25835 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25837 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25839 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25842 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25845 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25846 code unconditional.
25847 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25849 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25851 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25854 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25856 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25859 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25860 code unconditional.
25861 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25863 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25865 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25868 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25869 code unconditional.
25870 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25872 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25874 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25877 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25879 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25880 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25881 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25882 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25883 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25884 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25885 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25886 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25887 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25888 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25889 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25890 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25891 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25892 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25893 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25894 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25895 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25896 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25897 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25898 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25899 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25900 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25901 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25903 2012-07-25 Florian Weimer <fweimer@redhat.com>
25905 * Versions.def: Add GLIBC_2.17.
25906 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25907 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25908 Introduce __libc_secure_getenv.
25909 * stdlib/Versions (2.17): Add secure_getenv
25910 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25911 * stdlib/secure-getenv.c: Rename __secure_getenv to
25912 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25913 symbol __secure_getenv for GLIBC_2.0.
25914 * stdlib/tst-secure-getenv.c: New.
25915 * stdlib/Makefile (tests): Add testcase.
25916 * manual/startup.texi (Environment Access): Document
25918 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25919 __libc_secure_getenv.
25920 * inet/ruserpass.c (ruserpass): Likewise.
25921 * malloc/mtrace.c (mtrace): Likewise.
25922 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25923 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25924 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25925 * sysdeps/posix/tempname.c: Likewise. Evaluate
25926 HAVE_SECURE_GETENV.
25927 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25928 __secure_getenv to __libc_secure_getenv.
25929 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25936 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25942 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25944 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25945 (struct La_i86_retval): Likewise.
25946 (struct La_x86_64_regs): Likewise.
25947 (struct La_x86_64_retval): Likewise.
25948 (struct La_x32_regs): Likewise.
25949 (struct La_x32_retval): Likewise.
25950 (struct La_ppc32_regs): Likewise.
25951 (struct La_ppc32_retval): Likewise.
25952 (struct La_ppc64_regs): Likewise.
25953 (struct La_ppc64_retval): Likewise.
25954 (struct La_sh_regs): Likewise.
25955 (struct La_sh_retval): Likewise.
25956 (struct La_s390_32_regs): Likewise.
25957 (struct La_s390_32_retval): Likewise.
25958 (struct La_s390_64_regs): Likewise.
25959 (struct La_s390_64_retval): Likewise.
25960 (struct La_sparc32_regs): Likewise.
25961 (struct La_sparc32_retval): Likewise.
25962 (struct La_sparc64_regs): Likewise.
25963 (struct La_sparc64_retval): Likewise.
25964 (struct audit_ifaces): Remove architecture-specific pltenter and
25966 * sysdeps/i386/ldsodefs.h: New file.
25967 * sysdeps/powerpc/ldsodefs.h: Likewise.
25968 * sysdeps/s390/ldsodefs.h: Likewise.
25969 * sysdeps/sh/ldsodefs.h: Likewise.
25970 * sysdeps/sparc/ldsodefs.h: Likewise.
25971 * sysdeps/x86_64/ldsodefs.h: Likewise.
25973 2012-07-25 Marek Polacek <polacek@redhat.com>
25976 * math/libm-test.inc (yn_test): Add another test.
25977 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25978 to ERANGE when the result is +-Inf.
25979 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25980 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25981 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25982 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25984 2012-07-24 Joseph Myers <joseph@codesourcery.com>
25986 * conform/data/time.h-data (NULL): Use macro-constant. Require
25988 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25990 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25992 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25994 * configure.in <sysdeps resolving>: Correct printing
25996 * configure: Regenerate.
25998 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26000 * math/w_ilogb.c: Include <limits.h>.
26001 * math/w_ilogbl.c: Likewise.
26003 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26005 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26006 va_copy. Document allowing for unavailable va_copy only as
26007 pre-C99 compatibility.
26008 * manual/string.texi (Copying and Concatenation): Use va_copy
26009 instead of __va_copy in concat example.
26011 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26013 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26014 (__sendto): Use create_address_port. Initialize APORT and deallocate
26017 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26018 with O_NOLINK passed to __file_name_lookup.
26020 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26021 with O_NOLINK passed to __file_name_lookup.
26023 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26024 negative N or less than NGIDS.
26026 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26027 type to string_t. Set ERANGE as errno and return it if NAME is not big
26028 enough. Use memcpy instead of strncpy.
26030 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26032 * elf/Makefile (check-data): Remove.
26033 (localplt.data): New vpath directive.
26034 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26035 instead of $(check-data).
26036 * scripts/data/localplt-generic.data: Move to ...
26037 * sysdeps/generic/localplt.data: ... here.
26038 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26039 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26040 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26043 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26046 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26049 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26052 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26055 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26059 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26061 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26062 PPC32 and PPC64 files.
26063 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26064 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26066 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26068 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26069 __makecontext_ret to ...
26070 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26071 ... here and call exit if uc_link is NULL. New file.
26072 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26073 __makecontext_ret.S.
26074 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26075 __makecontext_ret to ...
26076 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26077 ... here and call exit if uc_link is NULL. New file.
26078 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26079 __makecontext_ret.S.
26081 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26083 * elf/elf.h (R_390_IRELATIVE): New definition.
26084 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26085 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26086 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26087 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26088 (elf_machine_lazy_rel): Likewise.
26089 * sysdeps/s390/dl-irel.h: New file.
26090 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26091 * sysdeps/s390/s390-64/memset.S: New asm code.
26092 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26093 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26094 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26095 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26096 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26097 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26098 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26099 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26100 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26101 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26102 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26103 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26104 * sysdeps/s390/s390-32/memset.S: New asm code.
26105 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26107 2012-07-17 Marek Polacek <polacek@redhat.com>
26110 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26111 * sysdeps/s390/s390-64/configure.in: Likewise.
26112 * sysdeps/sparc/configure.in: Likewise.
26113 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26114 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26115 * sysdeps/i386/configure.in: Likewise.
26116 * sysdeps/x86_64/configure.in: Likewise.
26117 * sysdeps/sh/configure.in: Likewise.
26118 * sysdeps/s390/s390-32/configure: Regenerated.
26119 * sysdeps/s390/s390-64/configure: Likewise.
26120 * sysdeps/x86_64/configure: Likewise.
26121 * sysdeps/sh/configure: Likewise.
26122 * sysdeps/powerpc/powerpc64/configure: Likewise.
26123 * sysdeps/powerpc/powerpc32/configure: Likewise.
26124 * sysdeps/sparc/configure: Likwise.
26125 * sysdeps/i386/configure: Likewise.
26127 * elf/dl-open.c: Comment fixes.
26129 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26131 * Makefile [CXX] (check-data): Remove.
26132 [CXX] (c++-types.data): New vpath directive.
26133 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26134 vpath. Do not allow for C++ type data being missing.
26135 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26136 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26137 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26138 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26139 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26140 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26141 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26144 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26147 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26150 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26153 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26156 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26159 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26162 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26165 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26166 definitions to architecture-specific files.
26167 (TLS_IE): Likewise.
26168 (TLS_LD): Likewise.
26169 (TLS_GD): Likewise.
26170 * sysdeps/i386/tls-macros.h: New file.
26171 * sysdeps/powerpc/tls-macros.h: Likewise.
26172 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26173 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26174 * sysdeps/sh/tls-macros.h: Likewise.
26175 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26176 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26177 * sysdeps/x86_64/tls-macros.h: Likewise.
26179 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26181 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26182 zero value for regular exit case.
26184 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26185 (__start_context): Preserve zero value for regular exit case.
26187 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26188 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26190 * manual/setjmp.texi (setcontext): Clarify normal process
26191 termination when uc_link is the null pointer.
26192 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26195 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26197 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26198 preprocessor. Test for each exception mask separately.
26200 2012-07-16 Andreas Jaeger <aj@suse.de>
26202 * po/ru.po: Update from translation team.
26204 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26206 * conform/data/string.h-data (NULL): Use macro-constant. Require
26208 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26209 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26210 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26211 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26212 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26214 2012-07-13 Andreas Jaeger <aj@suse.de>
26216 * po/fr.po: Update from translation team.
26218 2012-07-12 Marek Polacek <polacek@redhat.com>
26221 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26222 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26225 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26228 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26229 Change to 2.4.1 where previously 2.4.0.
26230 * sysdeps/unix/sysv/linux/configure: Regenerated.
26231 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26232 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26234 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26235 (__ASSUME_AT_CLKTCK): Remove.
26236 (__ASSUME_AT_PAGESIZE): Likewise.
26237 (__ASSUME_AT_XID): Likewise.
26238 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26239 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26240 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26242 (HAVE_AUX_PAGESIZE): Likewise.
26243 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26244 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26245 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26247 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26251 the temporary buffer used to invoke __gethostbyname2_r,
26252 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26253 host_data / struct gaih_addrtuple.
26254 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26255 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26256 header file nss/nsswitch.h.
26257 * nss/nsswitch.h (global scope): Add definition of implementation
26258 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26259 resolv/nss_dns/dns-host.c).
26261 2012-07-11 Andreas Jaeger <aj@suse.de>
26263 * po/fr.po: Update from translation team.
26265 * po/sv.po: Update from translation team
26266 * po/fr.po: Another update from translation team.
26268 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26270 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26271 for subnormals or multiply small sinh result by itself.
26272 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26275 2012-07-11 David S. Miller <davem@davemloft.net>
26277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26279 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26282 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26283 (INTERNAL_MARK): Shift it here.
26285 2012-07-10 Marek Polacek <polacek@redhat.com>
26288 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26289 libc_cv_asm_global_directive with .globl.
26290 * configure: Regenerated.
26291 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26293 * sysdeps/i386/configure: Regenerated.
26294 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26296 * sysdeps/x86_64/configure: Regenerated.
26297 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26298 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26299 * elf/tst-unique2mod2.c: Likewise.
26300 * elf/tst-unique2mod1.c: Likewise.
26301 * elf/tst-unique1mod2.c: Likewise.
26302 * elf/tst-unique1mod1.c: Likewise.
26303 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26304 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26305 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26306 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26307 * sysdeps/mach/sysdep.h: Likewise.
26308 * sysdeps/i386/sysdep.h: Likewise.
26309 * sysdeps/i386/i386-mcount.S: Likewise.
26310 * sysdeps/x86_64/_mcount.S: Likewise.
26311 * sysdeps/x86_64/sysdep.h: Likewise.
26312 * sysdeps/sh/_mcount.S: Likewise.
26313 * sysdeps/sh/sysdep.h: Likewise.
26314 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26315 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26316 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26317 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26318 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26319 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26320 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26321 * locale/localeinfo.h: Likewise.
26322 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26323 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26325 2012-07-09 Roland McGrath <roland@hack.frob.com>
26328 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26330 * manual/message.texi (The Uniforum approach): Likewise.
26331 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26332 (glibc iconv Implementation): Likewise.
26334 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26337 * math/s_clog.c (__clog): Avoid scaling a value down where that
26338 could result in underflow.
26339 * math/s_clog10.c (__clog10): Likewise.
26340 * math/s_clog10f.c (__clog10f): Likewise.
26341 * math/s_clog10l.c (__clog10l): Likewise.
26342 * math/s_clogf.c (__clogf): Likewise.
26343 * math/s_clogl.c (__clogl): Likewise.
26344 * math/libm-test.inc (clog_test): Add more tests.
26345 (clog10_test): Likewise.
26346 * sysdeps/i386/fpu/libm-test-ulps: Update.
26347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26349 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26352 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26353 by 7 not 8 to examine high bit of fractional part.
26356 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26357 for call to __mcount_internal.
26358 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26359 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26360 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26362 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26365 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26366 approximation for values within 0x1p-13f of an odd multiple of
26368 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26369 exception. Add more tests.
26370 * sysdeps/i386/fpu/libm-test-ulps: Update.
26373 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26374 inputs and return -1 for them. Do not check for +Inf in case not
26375 reachable for +Inf.
26376 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26377 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26378 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26379 and return -1 for them. Do not check for +Inf in case not
26380 reachable for +Inf.
26381 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26383 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26384 and return -1 for them. Do not check for +Inf in case not
26385 reachable for +Inf.
26386 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26387 spurious underflow.
26388 * sysdeps/i386/fpu/libm-test-ulps: Update.
26389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26391 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26393 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26395 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26399 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26400 could result in spurious underflow. Scale down values above
26401 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26402 * math/s_csqrtf.c (__csqrtf): Likewise.
26403 * math/s_csqrtl.c (__csqrtl): Likewise.
26404 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26405 spurious underflow.
26406 * sysdeps/i386/fpu/libm-test-ulps: Update.
26407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26409 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26411 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26413 * catgets/xopen-msg.awk: New file.
26414 * catgets/xopen-msg.sed: Removed.
26416 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26418 * intl/po2test.awk: New file.
26419 * intl/po2test.sed: Removed.
26421 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26424 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26425 or multiply small sinh result by itself.
26426 * math/s_ctanf.c (__ctanf): Likewise.
26427 * math/s_ctanh.c (__ctanh): Likewise.
26428 * math/s_ctanhf.c (__ctanhf): Likewise.
26429 * math/s_ctanhl.c (__ctanhl): Likewise.
26430 * math/s_ctanl.c (__ctanl): Likewise.
26431 * math/libm-test.inc (ctan_test_tonearest): New function.
26432 (ctan_test_towardzero): Likewise.
26433 (ctan_test_downward): Likewise.
26434 (ctan_test_upward): Likewise.
26435 (ctanh_test_tonearest): Likewise.
26436 (ctanh_test_towardzero): Likewise.
26437 (ctanh_test_downward): Likewise.
26438 (ctanh_test_upward): Likewise.
26439 (main): Call these new functions.
26440 * sysdeps/i386/fpu/libm-test-ulps: Update.
26441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26443 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26445 * .gitignore: Delete /ports entry.
26447 2012-07-03 Andreas Jaeger <aj@suse.de>
26449 * po/bg.po: Update from translation team.
26450 * po/cs.po: Likewise.
26451 * po/de.po: Likewise.
26452 * po/hr.po: Likewise.
26453 * po/nl.pl: Likewise.
26454 * po/pl.po: Likewise.
26455 * po/vi.po: Likewise.
26457 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26459 * Makeconfig [!+link] (+link-before-libc): New variable.
26460 [!+link] (+link-after-libc): Likewise.
26461 [!+link] (+link-tests): Likewise.
26462 [!+link] (+link): Define in terms of $(+link-before-libc) and
26463 $(+link-after-libc).
26464 [!+link-static] (+link-static-before-libc): New variable.
26465 [!+link-static] (+link-static-after-libc): Likewise.
26466 [!+link-static] (+link-static-tests): Likewise.
26467 [!+link-static] (+link-static): Define in terms of
26468 $(+link-static-before-libc) and $(+link-static-after-libc).
26469 [build-shared] (link-libc-before-gnulib): New variable.
26470 [build-shared] (link-libc-tests): Likewise.
26471 [build-shared] (link-libc): Define in terms of
26472 $(link-libc-before-gnulib).
26473 [!build-shared] (link-libc-tests): New variable.
26474 (link-libc-static-tests): New variable.
26475 [!gnulib] (gnulib-arch): New variable.
26476 [!gnulib] (gnulib-tests): Likewise.
26477 [!gnulib] (static-gnulib-arch): Likewise.
26478 [!gnulib] (static-gnulib-tests): Likewise.
26479 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26480 Define with "=" instead of ":=".
26481 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26482 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26483 * Rules (binaries-all-notests): New variable.
26484 (binaries-all-tests): Likewise.
26485 (binaries-static-notests): Likewise.
26486 (binaries-static-tests): Likewise.
26487 (binaries-all): Define using $(binaries-all-notests) and
26488 $(binaries-all-tests).
26489 (binaries-static): Define using $(binaries-static-notests) and
26490 $(binaries-static-tests).
26491 (binaries-shared-tests): New variable.
26492 (binaries-shared-notests): Likewise.
26493 (binaries-shared): Remove variable.
26494 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26495 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26496 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26497 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26498 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26499 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26500 * elf/Makefile (sln-modules): New variable.
26501 (extra-objs): Add $(sln-modules:=.o).
26502 (ldconfig-modules): Add static-stubs.
26503 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26504 * elf/static-stubs.c: New file.
26507 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26508 by 7 not 8 to examine high bit of fractional part. Use volatile
26509 variables when splitting into final array of floats if
26510 __FLT_EVAL_METHOD__ != 0.
26511 * math/libm-test.inc (cos_test): Add another test.
26512 (sin_test): Likewise.
26513 * sysdeps/i386/fpu/libm-test-ulps: Update.
26516 * math/libm-test.inc (cosh_test): Add more tests.
26518 * version.h (RELEASE): Set to "development".
26519 (VERSION): Set to "2.16.90".
26521 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26523 * NEWS: Update copyright. Remove last-updated date.
26524 Mention math library bug fixes and timezone data changes.
26525 * README: Mention GNU/Hurd, x32, and HPPA support status.
26527 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26529 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26531 2012-06-27 Andreas Jaeger <aj@suse.de>
26533 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26535 2012-06-25 Andreas Jaeger <aj@suse.de>
26537 * sysdeps/s390/fpu/libm-test-ulps: Update.
26539 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26540 Thomas Schwinge <thomas@codesourcery.com>
26542 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26543 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26544 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26547 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26549 * sysdeps/mach/start.c: Remove file.
26550 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26551 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26552 * sysdeps/sh/init-first.c: Likewise.
26554 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26555 registers for frame unwinding purposes, add CFI directives.
26556 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26557 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26558 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26561 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26562 __fortify_fail returning.
26563 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26565 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26566 sysdeps/sh/____longjmp_chk.S.
26567 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26568 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26569 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26570 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26572 * sysdeps/sh/abort-instr.h: New file.
26573 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26574 process in case exit returns.
26576 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26577 initialize the GOT register before use.
26579 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26580 calculation of ARGC > 4.
26582 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26583 meaningful names to some local labels.
26585 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26586 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26588 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26589 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26590 (__arch_compare_and_exchange_val_16_acq): Likewise.
26591 (__arch_compare_and_exchange_val_32_acq): Likewise.
26592 (atomic_exchange_and_add): Fix gUSA sequence.
26593 (atomic_add): Likewise.
26594 (atomic_add_negative): Likewise.
26595 (atomic_add_zero): Likewise.
26596 (atomic_bit_test_set): Likewise.
26598 2012-06-22 Andreas Schwab <schwab@redhat.com>
26601 * include/link.h (struct link_map): Add l_free_initfini.
26602 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26604 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26605 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26606 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26609 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26611 * configure.in: Use AC_LANG_SOURCE.
26612 * configure: Regenerate.
26614 2012-06-22 Roland McGrath <roland@hack.frob.com>
26616 * configure.in (libc_cv_localstatedir): New substituted variable.
26617 * configure: Regenerated.
26618 * config.make.in (localstatedir): New variable, substituted from
26619 libc_cv_localstatedir.
26620 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26621 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26622 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26623 * sysdeps/gnu/configure: Regenerated.
26625 2012-06-21 Jeff Law <law@redhat.com>
26628 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26629 free. Simplify list management for _LIBC case.
26631 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26634 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26635 Clear sign bit of 64-bit integer value before comparing against
26638 * sysdeps/mach/configure: Regenerated.
26640 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26643 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26645 2012-06-21 Jeff Law <law@redhat.com>
26648 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26649 uint16_t for elements in the "seen" array to avoid char overflows.
26650 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26651 * elf/dl-open.c (dl_open_worker): Likewise.
26653 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26655 * scripts/list-sources.sh: Scan PORTS for translations.
26656 * po/libc.pot: Regenerated.
26658 2012-06-21 Andreas Jaeger <aj@suse.de>
26661 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26663 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26664 * bits/byteswap-16.h (__bswap_16): Likewise.
26665 * bits/byteswap.h (__bswap_constant_16): Likewise.
26667 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26670 * sysdeps/i386/fpu_control.h: Removed.
26671 * sysdeps/x86_64/fpu_control.h: Moved to ...
26672 * sysdeps/x86/fpu_control.h: Here.
26674 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26675 (_FPU_SETCW): Likewise.
26677 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26680 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26681 * sysdeps/x86/fpu/bits/mathinline.h: This.
26682 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26686 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26687 functions if __x86_64__ is defined.
26689 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26691 * string/endian.h: Add !__ASSEMBLER__ condition for including
26692 conversion interfaces.
26694 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26697 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26698 of ABS(x) in calculating zero to negative powers other than odd
26700 * math/libm-test.inc (pow_test): Add more tests.
26702 2012-06-15 Andreas Jaeger <aj@suse.de>
26704 * manual/contrib.texi (Contributors): Update entry of Liubov
26705 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26708 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26710 * string/string.h: Add __wur to GNU version of strerror_r.
26712 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26715 * string/Makefile (tests): Add tst-strtok_r.
26716 * string/tst-strtok_r.c: New file.
26717 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26718 RAX_LP/RDX_LP on SAVE_PTR.
26720 2012-06-14 Roland McGrath <roland@hack.frob.com>
26722 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26724 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26726 * libm_test.inc (csqrt_test): Allow more spurious underflow
26728 (j0_test): Likewise.
26729 (j1_test): Likewise.
26730 (y0_test): Likewise.
26731 (y1_test): Likewise.
26733 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26735 * po/Makefile (libc.pot): Use UTF-8 charset.
26737 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26740 Suppress sign-conversion warning from FD_SET.
26741 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26742 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26743 not unsigned long int.
26744 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26746 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26750 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26751 __extern_always_inline instead of __extern_inline.
26752 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26753 (__signbit): Likewise.
26754 (__signbitl): Support C++ namespace.
26755 (lrintf): New inline function.
26757 (llrintf): Likewise.
26758 (llrint): Likewise.
26768 (floorf): Likewise.
26769 (nearbyint): Likewise.
26770 (nearbyintf): Likewise.
26772 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26774 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26775 non-default versions.
26777 2012-06-11 Roland McGrath <roland@hack.frob.com>
26780 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26782 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26784 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26785 (FE_UPWARD, FE_DOWNWARD): Don't define.
26786 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26787 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26789 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26791 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26792 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26794 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26796 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26797 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26798 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26799 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26801 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26804 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26805 * sysdeps/i386/fpu/Implies: New file.
26806 * sysdeps/x86_64/fpu/Implies: Likewise.
26807 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26808 * sysdeps/x86/fpu/bits/fenv.h: This.
26810 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26813 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26816 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26817 character 0xffff that matches the last element of the
26820 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26822 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26825 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26827 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26828 values higher than 25.6283.
26830 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26832 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26833 subnormal exponent extraction and add some __builtin_expect.
26834 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26835 Fix for subnormal mantissa calculation.
26837 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26839 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26840 cpu2 is -1 and errno is not ENOSYS.
26842 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26845 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26846 * sysdeps/x86/bits/string.h: This.
26847 * sysdeps/x86_64/bits/string.h: Removed.
26849 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26850 if not compiling for x86-64, but compiling for >= i486.
26852 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26853 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26855 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26856 New macro from Linux kernel 3.4.0.
26857 (FP_XSTATE_MAGIC2): Likewise.
26858 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26859 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26860 (struct _fpx_sw_bytes): New struct.
26861 (struct _xsave_hdr): Likewise.
26862 (struct _ymmh_state): Likewise.
26863 (struct _xstate): Likewise.
26865 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26866 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26867 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26868 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26869 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26870 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26872 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26873 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26874 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26875 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26876 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26877 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26879 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26882 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26883 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26884 (sysdep_headers): Include sys/platform/ppc.h.
26885 * sysdeps/powerpc/test-gettimebase.c: Test for
26886 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26887 * manual/Makefile (appendices): Include platform.texi.
26888 * manual/contrib.texi (Contributors): Update @node pointers.
26889 * manual/maint.texi (Maintenance): Likewise.
26890 (Platform): New node.
26891 * manual/platform.texi: New file. Document the new features.
26893 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26894 Jakub Jelinek <jakub@redhat.com>
26897 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26898 where __builtin_expect is unavailable.
26900 2012-06-03 David S. Miller <davem@davemloft.net>
26902 * stdlib/longlong.h: Updated from GCC.
26904 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26907 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26908 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26911 (GLIBC_2.16): Likewise.
26913 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26915 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26917 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26920 (default-abi): New variable.
26921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26922 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26924 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26926 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26928 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26931 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26932 definition. Document in comment.
26934 2012-06-01 David S. Miller <davem@davemloft.net>
26936 * stdlib/longlong.h: Updated from GCC.
26938 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26941 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26942 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26943 sys/debugreg.h sys/io.h here.
26944 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26945 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26947 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26948 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26949 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26950 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26951 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26952 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26954 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26955 Define only if __x86_64__ is defined.
26957 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26960 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26961 Use int64_t for variable i.
26962 * math/libm-test.inc (fmod_test): Add more tests.
26964 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26965 z computation is not scheduled after fetestexcept.
26966 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26967 Use math_force_eval instead of asm to ensure calculation scheduled
26968 before exception test.
26969 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26970 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26972 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26974 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26975 computation is not scheduled after fetestexcept.
26977 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26980 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26981 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26983 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26985 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26986 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26988 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26991 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26993 (__WCHAR_MIN): Support __WORDSIZE == 64.
26994 (__WCHAR_MAX): Likewise.
26996 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26997 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27000 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27001 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27004 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27005 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27007 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27008 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27010 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27011 Defined to 1 if __x86_64__ isn't defined.
27012 (_STAT_VER_LINUX_OLD): New.
27013 (st_atime): Remove duplicate.
27014 (st_mtime): Likewise.
27015 (st_ctime): Likewise.
27017 2012-05-31 David S. Miller <davem@davemloft.net>
27019 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27022 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27024 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27028 * elf/dl-reloc.c: Include <_itoa.h>.
27029 (_dl_reloc_bad_type): Remove use of INTUSE.
27030 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27031 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27032 * stdio-common/psiginfo.c (psiginfo): Likewise.
27033 * stdio-common/psignal.c (psignal): Likewise.
27034 * string/strsignal.c (strsignal): Likewise.
27035 * include/signal.h (_sys_siglist): Declare hidden proto.
27036 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27037 INTVARDEF with libc_hidden_data_def.
27038 * stdio-common/itoa-udigits.c: Likewise.
27039 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27040 (_itoa_lower_digits_internal): Remove declaration.
27041 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27042 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27043 (_sys_sigabbrev_internal): Remove aliases.
27044 (_sys_siglist): Define hidden alias.
27046 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27051 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27054 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27055 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27057 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27058 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27059 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27060 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27061 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27062 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27064 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27065 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27066 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27068 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27076 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27077 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27078 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27080 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27081 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27082 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27083 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27084 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27085 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27087 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27088 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27090 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27091 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27093 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27094 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27095 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27097 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27098 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27100 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27102 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27103 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27104 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27106 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27108 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27110 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27112 * math/math.h (M_El): Use two more decimal places.
27113 (M_LOG2El): Likewise.
27114 (M_LOG10El): Likewise.
27115 (M_LN2l): Likewise.
27116 (M_LN10l): Likewise.
27118 (M_PI_2l): Likewise.
27119 (M_PI_4l): Likewise.
27120 (M_1_PIl): Likewise.
27121 (M_2_PIl): Likewise.
27122 (M_2_SQRTPIl): Likewise.
27123 (M_SQRT2l): Likewise.
27124 (M_SQRT1_2l): Likewise.
27126 2012-05-31 David S. Miller <davem@davemloft.net>
27128 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27129 values between float registers.
27130 * sysdeps/sparc/sparc64/memset.S: Likewise.
27131 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27133 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27135 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27136 -D_FORTIFY_SOURCE=1.
27137 (CPPFLAGS-tst-longjmp_chk.c): Define.
27138 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27139 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27140 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27141 CFLAGS-tst-wchar-h.c.
27143 2012-05-31 Marek Polacek <polacek@redhat.com>
27146 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27147 __endmntent_internal): Remove declaration.
27148 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27149 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27150 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27152 2012-05-30 David S. Miller <davem@davemloft.net>
27154 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27155 (___Q_simulate_exceptions): Use real FP ops rather than writing
27157 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27160 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27163 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27164 * sysdeps/x86/bits/xtitypes.h: This.
27166 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27167 * sysdeps/x86/bits/wordsize.h: This.
27169 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27170 * sysdeps/x86/bits/huge_vall.h: This.
27172 * sysdeps/i386/bits/select.h: Removed.
27173 * sysdeps/x86_64/bits/select.h: Renamed to ...
27174 * sysdeps/x86/bits/select.h: This.
27176 * sysdeps/i386/bits/setjmp.h: Removed.
27177 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27178 * sysdeps/x86/bits/setjmp.h: This.
27180 * sysdeps/i386/bits/mathdef.h: Removed.
27181 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27182 * sysdeps/x86/bits/mathdef.h: This.
27184 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27187 * include/sys/socket.h (__connect_internal)
27188 (__libc_sa_len_internal): Remove declaration.
27189 (__connect, __libc_sa_len): Declare hidden_proto.
27190 (SA_LEN): Remove use of INTUSE.
27191 * socket/connect.c: Add libc_hidden_def.
27192 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27193 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27194 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27196 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27197 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27198 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27199 of adding _internal alias.
27201 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27204 * sysdeps/i386/bits/link.h: Removed.
27205 * sysdeps/i386/bits/linkmap.h: Likewise.
27206 * sysdeps/x86_64/bits/link.h: Renamed to ...
27207 * sysdeps/x86/bits/link.h: This.
27208 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27209 * sysdeps/x86/bits/linkmap.h: This.
27211 * sysdeps/i386/bits/endian.h: Removed.
27212 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27213 * sysdeps/x86/bits/endian.h: This.
27215 * sysdeps/i386/bits/byteswap.h: Removed.
27216 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27217 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27218 * sysdeps/x86/bits/byteswap.h: This.
27219 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27220 * sysdeps/x86/bits/byteswap-16.h: This.
27221 * sysdeps/i386/Implies: Add x86.
27222 * sysdeps/x86_64/Implies: Likewise.
27224 2012-05-30 David S. Miller <davem@davemloft.net>
27226 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27227 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27228 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27229 (FP_TRAPPING_EXCEPTIONS): Define.
27230 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27231 (FP_TRAPPING_EXCEPTIONS): Define.
27232 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27233 subnormals only when inexact has been signalled or underflow
27234 exceptions are enabled.
27235 (_FP_PACK_CANONICAL): Likewise.
27237 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27240 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27241 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27243 2012-05-30 Richard Henderson <rth@twiddle.net>
27245 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27246 with #ifndef NOT_IN_libc.
27248 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27249 marked to avoid plt entry.
27251 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27254 * Makeconfig (default-abi): New macro.
27255 (abi-includes): Likewise.
27256 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27257 $(abi-$(default-abi)-lib-soname) for soname if defined.
27258 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27260 * Makefile (installed-stubs): Likewise.
27261 * include/stubs-biarch.h: Removed.
27262 * scripts/lib-names.awk: Only handle one library at a time.
27263 * scripts/soversions.awk: Remove WORDSIZE support.
27264 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27266 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27268 (syscall-list-default-condition): Likewise.
27269 (syscall-list-default-condition): Likewise.
27270 (syscall-list-includes): Likewise.
27271 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27272 syscall-list-* with abi-*. Handle undefined abi-variants.
27273 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27274 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27275 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27276 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27277 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27278 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27280 (syscall-list-32-options): Likewise.
27281 (syscall-list-32-condition): Likewise.
27282 (syscall-list-64-options): Likewise.
27283 (syscall-list-64-condition): Likewise.
27284 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27286 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27289 (abi-64-ld-soname): New macro.
27290 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27291 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27294 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27295 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27297 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27299 * sysdeps/unix/sysv/linux/kernel-features.h
27300 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27301 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27302 include <kernel-features.h>.
27303 [!__NR_ftruncate64]: Remove conditional code.
27304 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27305 [__NR_ftruncate64]: Make code unconditional.
27306 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27307 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27308 include <kernel-features.h>.
27309 [!__NR_ftruncate64]: Remove conditional code.
27310 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27311 [__NR_ftruncate64]: Make code unconditional.
27312 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27314 include <kernel-features.h>.
27315 [!__NR_ftruncate64]: Remove conditional code.
27316 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27317 [__NR_ftruncate64]: Make code unconditional.
27318 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27320 include <kernel-features.h>.
27321 [!__NR_ftruncate64]: Remove conditional code.
27322 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27323 [__NR_ftruncate64]: Make code unconditional.
27324 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27326 * configure.in (libc_cv_fpie): Weaken to a compile test using
27327 LIBC_TRY_CC_OPTION.
27328 * configure: Regenerated.
27330 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27345 2012-05-27 David S. Miller <davem@davemloft.net>
27347 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27349 (__Q_simulate_exceptions): Return void. Change to simulate
27350 exceptions by writing into the %fsr.
27351 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27352 (__Qp_handle_exceptions): Likewise.
27354 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27355 __Qp_handle_exceptions.
27356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27357 __Qp_handle_exceptions.
27358 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27359 as unused and give dummy FP_RND_NEAREST initializer.
27360 (FP_INHIBIT_RESULTS): Define.
27361 (___Q_simulate_exceptions): Update declaration.
27362 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27364 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27365 as unused and give dummy FP_RND_NEAREST initializer.
27366 (__Qp_handle_exceptions): Update declaration.
27367 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27370 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27372 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27373 the temporary FPU control word.
27374 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27375 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27376 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27377 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27378 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27379 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27380 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27381 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27382 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27383 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27384 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27386 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27388 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27391 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27393 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27394 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27395 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27396 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27398 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27399 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27402 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27404 * po/h.po: Update from translation team.
27406 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27408 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27410 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27411 handling of denormals.
27412 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27413 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27414 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27415 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27416 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27417 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27418 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27421 2012-05-26 Marek Polacek <polacek@redhat.com>
27424 * math/libm-test.inc (fma_test): Don't always expect underflow
27427 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27430 * elf/tst-execstack.c: Include stackinfo.h.
27431 (do_test): Adjust test case to ensure that pthread_getattr_np
27432 behaviour remains the same after marking stack executable.
27434 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27436 * sysdeps/unix/sysv/linux/kernel-features.h
27437 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27438 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27440 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27441 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27442 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27444 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27445 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27447 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27449 * configure.in: Define the default includes to being none.
27450 * configure: Regenerated.
27452 2012-05-25 Roland McGrath <roland@hack.frob.com>
27454 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27455 * sysdeps/x86_64/setjmp.S: Likewise.
27456 * sysdeps/i386/bsd-setjmp.S: Likewise.
27457 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27458 * sysdeps/i386/setjmp.S: Likewise.
27459 * sysdeps/i386/__longjmp.S: Likewise.
27460 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27461 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27463 * include/stap-probe.h: New file.
27464 * configure.in: Handle --enable-systemtap.
27465 * configure: Regenerated.
27466 * config.h.in (USE_STAP_PROBE): New #undef.
27467 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27468 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27469 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27471 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27474 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27475 to 2.4.0 where earlier.
27476 * sysdeps/unix/sysv/linux/configure: Regenerated.
27477 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27478 <kernel-features.h>.
27479 [__ASSUME_32BITUIDS]: Make code unconditional.
27480 [!__ASSUME_32BITUIDS]: Remove conditional code.
27481 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27482 <kernel-features.h>.
27483 [__ASSUME_32BITUIDS]: Make code unconditional.
27484 [!__ASSUME_32BITUIDS]: Remove conditional code.
27485 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27486 [__ASSUME_32BITUIDS]: Make code unconditional.
27487 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27488 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27489 <kernel-features.h>.
27490 [__ASSUME_32BITUIDS]: Make code unconditional.
27491 [!__ASSUME_32BITUIDS]: Remove conditional code.
27492 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27493 <kernel-features.h>.
27494 [__ASSUME_32BITUIDS]: Make code unconditional.
27495 [!__ASSUME_32BITUIDS]: Remove conditional code.
27496 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27497 <kernel-features.h>.
27498 [__ASSUME_32BITUIDS]: Make code unconditional.
27499 [!__ASSUME_32BITUIDS]: Remove conditional code.
27500 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27501 <kernel-features.h>.
27502 [__ASSUME_32BITUIDS]: Make code unconditional.
27503 [!__ASSUME_32BITUIDS]: Remove conditional code.
27504 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27505 <kernel-features.h>.
27506 [__ASSUME_32BITUIDS]: Make code unconditional.
27507 [!__ASSUME_32BITUIDS]: Remove conditional code.
27508 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27509 <kernel-features.h>.
27510 [__ASSUME_32BITUIDS]: Make code unconditional.
27511 [!__ASSUME_32BITUIDS]: Remove conditional code.
27512 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27513 <kernel-features.h>.
27514 [__ASSUME_32BITUIDS]: Make code unconditional.
27515 [!__ASSUME_32BITUIDS]: Remove conditional code.
27516 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27517 <kernel-features.h>.
27518 [__ASSUME_32BITUIDS]: Make code unconditional.
27519 [!__ASSUME_32BITUIDS]: Remove conditional code.
27520 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27521 <kernel-features.h>.
27522 [__ASSUME_32BITUIDS]: Make code unconditional.
27523 [!__ASSUME_32BITUIDS]: Remove conditional code.
27524 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27525 <kernel-features.h>.
27526 [__ASSUME_32BITUIDS]: Make code unconditional.
27527 [!__ASSUME_32BITUIDS]: Remove conditional code.
27528 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27529 <kernel-features.h>.
27530 [__NR_setresgid] (__setresgid): Do not declare.
27531 [__ASSUME_32BITUIDS]: Make code unconditional.
27532 [!__ASSUME_32BITUIDS]: Remove conditional code.
27533 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27534 <kernel-features.h>.
27535 [__NR_setresuid] (__setresuid): Do not declare.
27536 [__ASSUME_32BITUIDS]: Make code unconditional.
27537 [!__ASSUME_32BITUIDS]: Remove conditional code.
27538 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27539 <kernel-features.h>.
27540 [__ASSUME_32BITUIDS]: Make code unconditional.
27541 [!__ASSUME_32BITUIDS]: Remove conditional code.
27542 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27543 <kernel-features.h>.
27544 [__ASSUME_32BITUIDS]: Make code unconditional.
27545 [!__ASSUME_32BITUIDS]: Remove conditional code.
27546 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27547 <kernel-features.h>.
27548 [__ASSUME_32BITUIDS]: Make code unconditional.
27549 [!__ASSUME_32BITUIDS]: Remove conditional code.
27550 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27551 <kernel-features.h>.
27552 [__ASSUME_32BITUIDS]: Make code unconditional.
27553 [!__ASSUME_32BITUIDS]: Remove conditional code.
27554 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27555 <kernel-features.h>.
27556 [__ASSUME_32BITUIDS]: Make code unconditional.
27557 [!__ASSUME_32BITUIDS]: Remove conditional code.
27558 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27559 <kernel-features.h>.
27560 [__ASSUME_32BITUIDS]: Make code unconditional.
27561 [!__ASSUME_32BITUIDS]: Remove conditional code.
27562 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27563 <kernel-features.h>.
27564 [__ASSUME_32BITUIDS]: Make code unconditional.
27565 [!__ASSUME_32BITUIDS]: Remove conditional code.
27566 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27567 <kernel-features.h>.
27568 [__ASSUME_32BITUIDS]: Make code unconditional.
27569 [!__ASSUME_32BITUIDS]: Remove conditional code.
27570 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27571 <kernel-features.h>.
27572 [__ASSUME_32BITUIDS]: Make code unconditional.
27573 [!__ASSUME_32BITUIDS]: Remove conditional code.
27574 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27575 <kernel-features.h>.
27576 [__ASSUME_32BITUIDS]: Make code unconditional.
27577 [!__ASSUME_32BITUIDS]: Remove conditional code.
27578 * sysdeps/unix/sysv/linux/kernel-features.h
27579 (__ASSUME_SETRESUID_SYSCALL): Remove.
27580 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27581 (__ASSUME_32BITUIDS): Likewise.
27582 (__ASSUME_LDT_WORKS): Likewise.
27583 (__ASSUME_O_DIRECTORY): Likewise.
27584 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27585 architecture but not kernel version.
27586 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27587 (__ASSUME_MMAP2_SYSCALL): Likewise.
27588 (__ASSUME_STAT64_SYSCALL): Likewise.
27589 (__ASSUME_IPC64): Likewise.
27590 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27591 <kernel-features.h>.
27592 [__ASSUME_32BITUIDS]: Make code unconditional.
27593 [!__ASSUME_32BITUIDS]: Remove conditional code.
27594 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27595 <kernel-features.h>.
27596 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27597 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27598 132096]: Remove conditional code.
27599 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27600 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27601 <kernel-features.h>.
27602 [__ASSUME_32BITUIDS]: Make code unconditional.
27603 [!__ASSUME_32BITUIDS]: Remove conditional code.
27604 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27605 <kernel-features.h>.
27606 [__ASSUME_32BITUIDS]: Make code unconditional.
27607 [!__ASSUME_32BITUIDS]: Remove conditional code.
27608 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27609 <kernel-features.h>.
27610 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27612 (__setresgid): Do not declare.
27613 [__ASSUME_32BITUIDS]: Make code unconditional.
27614 [!__ASSUME_32BITUIDS]: Remove conditional code.
27615 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27616 <kernel-features.h>.
27617 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27619 (__setresuid): Do not declare.
27620 [__ASSUME_32BITUIDS]: Make code unconditional.
27621 [!__ASSUME_32BITUIDS]: Remove conditional code.
27622 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27623 <kernel-features.h>.
27624 [__ASSUME_32BITUIDS]: Make code unconditional.
27625 [!__ASSUME_32BITUIDS]: Remove conditional code.
27626 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27627 <kernel-features.h>.
27628 [__ASSUME_32BITUIDS]: Make code unconditional.
27629 [!__ASSUME_32BITUIDS]: Remove conditional code.
27631 2012-05-25 Richard Henderson <rth@twiddle.net>
27633 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27634 dl_hwcap to ifunc resolver.
27635 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27637 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27638 dl_hwcap to ifunc resolver.
27639 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27641 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27644 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27645 for |x| <= 2**-26, not 2**-57.
27646 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27649 2012-05-24 Jeff Law <law@redhat.com>
27651 * stdio-common/Makefile (tests): Add bug25.
27652 * stdio-common/bug25.c: New test.
27654 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27657 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27658 multiple of MALLOC_ALIGNMENT in size.
27659 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27661 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27663 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27665 (FILENAME_MAX): Use macro-int-constant.
27666 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27667 (_IOFBF): Use macro-int-constant.
27668 (_IOLBF): Likewise.
27669 (_IONBF): Likewise.
27670 (SEEK_CUR): Likewise.
27671 (SEEK_END): Likewise.
27672 (SEEK_SET): Likewise.
27673 (TMP_MAX): Likewise.
27674 (EOF): Use macro-int-constant. Require < 0.
27675 (NULL): Use macro-constant. Require == 0.
27676 (stdin): Require type to be FILE *.
27677 (stdout): Likewise.
27678 (stderr): Likewise.
27679 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27680 macro-int-constant.
27681 (EXIT_SUCCESS): Likewise.
27682 (NULL): Use macro-constant. Require == 0.
27683 (RAND_MAX): Use macro-int-constant.
27684 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27685 [C99-based standards] (strtof): Require function.
27686 [C99-based standards] (strtold): Likewise.
27687 [C99-based standards] (strtoll): Likewise.
27688 [C99-based standards] (strtoull): Likewise.
27689 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27690 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27691 [ISO || ISO99 || ISO11] (math.h): Likewise.
27692 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27693 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27694 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27696 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27699 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27700 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27701 * intl/dgettext.c (DCGETTEXT): Likewise.
27702 * intl/gettext.c (DCGETTEXT): Likewise.
27703 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27704 * posix/regex_internal.h (gettext): Likewise.
27705 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27706 Remove declaration.
27707 * include/argz.h (__argz_count_internal)
27708 (__argz_stringify_internal): Remove declaration.
27709 (__argz_count, __argz_stringify): Declare hidden proto.
27710 * intl/dcgettext.c: Remove use of INTDEF.
27711 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27712 * string/argz-stringify.c: Likewise.
27713 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27714 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27715 Declare hidden proto.
27716 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27717 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27718 Declare hidden proto.
27719 * include/stdio.h (__asprintf_internal): Don't declare.
27720 (__asprintf): Don't define as macro. Declare hidden proto.
27721 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27722 (__fsetlocking): Declare hidden proto.
27723 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27724 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27726 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27727 (_IO_setlinebuf): Remove use of INTUSE.
27728 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27729 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27730 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27731 Remove declaration.
27732 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27733 (_IO_do_flush): Remove use of INTUSE.
27734 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27735 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27736 (_IO_adjust_column, _IO_least_wmarker)
27737 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27738 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27739 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27740 (_IO_default_doallocate, _IO_wdefault_doallocate)
27741 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27742 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27743 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27744 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27745 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27746 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27747 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27748 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27749 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27750 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27751 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27752 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27753 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27755 (_IO_flush_all_internal, _IO_adjust_column_internal)
27756 (_IO_default_uflow_internal, _IO_default_finish_internal)
27757 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27758 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27759 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27760 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27761 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27762 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27763 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27764 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27765 (_IO_file_close_internal, _IO_file_close_it_internal)
27766 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27767 (_IO_file_init_internal, _IO_file_attach_internal)
27768 (_IO_file_fopen_internal, _IO_file_read_internal)
27769 (_IO_file_sync_internal, _IO_file_seek_internal)
27770 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27771 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27772 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27773 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27774 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27775 (_IO_list_all_internal, _IO_link_in_internal)
27776 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27777 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27778 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27779 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27780 (_IO_do_write_internal, _IO_padn_internal)
27781 (_IO_getline_info_internal, _IO_getline_internal)
27782 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27783 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27784 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27785 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27786 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27787 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27788 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27789 with libc_hidden_ver, remove use of INTUSE.
27790 * libio/genops.c: Likewise.
27791 * libio/freopen.c: Likewise.
27792 * libio/freopen64.c: Likewise.
27793 * libio/iofclose.c: Likewise.
27794 * libio/iofdopen.c: Likewise.
27795 * libio/iofflush.c: Likewise.
27796 * libio/iofflush_u.c: Likewise.
27797 * libio/iofgets.c: Likewise.
27798 * libio/iofgets_u.c: Likewise.
27799 * libio/iofopen.c: Likewise.
27800 * libio/iofopncook.c: Likewise.
27801 * libio/iofread.c: Likewise.
27802 * libio/iofread_u.c: Likewise.
27803 * libio/ioftell.c: Likewise.
27804 * libio/iofwrite.c: Likewise.
27805 * libio/iogetline.c: Likewise.
27806 * libio/iogets.c: Likewise.
27807 * libio/iogetwline.c: Likewise.
27808 * libio/iopadn.c: Likewise.
27809 * libio/iopopen.c: Likewise.
27810 * libio/ioseekoff.c: Likewise.
27811 * libio/ioseekpos.c: Likewise.
27812 * libio/iosetbuffer.c: Likewise.
27813 * libio/iosetvbuf.c: Likewise.
27814 * libio/ioungetc.c: Likewise.
27815 * libio/ioungetwc.c: Likewise.
27816 * libio/iovdprintf.c: Likewise.
27817 * libio/iovsprintf.c: Likewise.
27818 * libio/iovsscanf.c: Likewise.
27819 * libio/memstream.c: Likewise.
27820 * libio/obprintf.c: Likewise.
27821 * libio/oldfileops.c: Likewise.
27822 * libio/oldiofclose.c: Likewise.
27823 * libio/oldiofdopen.c: Likewise.
27824 * libio/oldiofopen.c: Likewise.
27825 * libio/oldiopopen.c: Likewise.
27826 * libio/oldstdfiles.c: Likewise.
27827 * libio/putc.c: Likewise.
27828 * libio/setbuf.c: Likewise.
27829 * libio/setlinebuf.c: Likewise.
27830 * libio/stdfiles.c: Likewise.
27831 * libio/strops.c: Likewise.
27832 * libio/vasprintf.c: Likewise.
27833 * libio/vscanf.c: Likewise.
27834 * libio/vsnprintf.c: Likewise.
27835 * libio/vswprintf.c: Likewise.
27836 * libio/wfiledoalloc.c: Likewise.
27837 * libio/wfileops.c: Likewise.
27838 * libio/wgenops.c: Likewise.
27839 * libio/wmemstream.c: Likewise.
27840 * libio/wstrops.c: Likewise.
27841 * libio/__fpurge.c: Likewise.
27842 * libio/__fsetlocking.c: Likewise.
27843 * assert/assert.c: Likewise.
27844 * debug/fgets_chk.c: Likewise.
27845 * debug/fgets_u_chk.c: Likewise.
27846 * debug/fread_chk.c: Likewise.
27847 * debug/fread_u_chk.c: Likewise.
27848 * debug/gets_chk.c: Likewise.
27849 * debug/obprintf_chk.c: Likewise.
27850 * debug/vasprintf_chk.c: Likewise.
27851 * debug/vdprintf_chk.c: Likewise.
27852 * debug/vsnprintf_chk.c: Likewise.
27853 * debug/vsprintf_chk.c: Likewise.
27854 * malloc/mtrace.c: Likewise.
27855 * misc/error.c: Likewise.
27856 * misc/syslog.c: Likewise.
27857 * stdio-common/asprintf.c: Likewise.
27858 * stdio-common/fxprintf.c: Likewise.
27859 * stdio-common/getw.c: Likewise.
27860 * stdio-common/isoc99_fscanf.c: Likewise.
27861 * stdio-common/isoc99_scanf.c: Likewise.
27862 * stdio-common/isoc99_vfscanf.c: Likewise.
27863 * stdio-common/isoc99_vscanf.c: Likewise.
27864 * stdio-common/isoc99_vsscanf.c: Likewise.
27865 * stdio-common/printf-prs.c: Likewise.
27866 * stdio-common/printf_fp.c: Likewise.
27867 * stdio-common/printf_fphex.c: Likewise.
27868 * stdio-common/printf_size.c: Likewise.
27869 * stdio-common/putw.c: Likewise.
27870 * stdio-common/scanf.c: Likewise.
27871 * stdio-common/sprintf.c: Likewise.
27872 * stdio-common/tmpfile.c: Likewise.
27873 * stdio-common/vfprintf.c: Likewise.
27874 * stdio-common/vfscanf.c: Likewise.
27875 * stdlib/strfmon_l.c: Likewise.
27876 * sunrpc/openchild.c: Likewise.
27877 * sunrpc/xdr_stdio.c: Likewise.
27878 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27879 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27881 2012-05-24 Roland McGrath <roland@hack.frob.com>
27883 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27885 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27886 in the third column, to generate for the shared library an IFUNC
27887 that uses _dl_vdso_vsym.
27888 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27889 * Makeconfig (object-suffixes-noshared): New variable.
27891 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27892 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27893 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27894 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27897 * include/sys/time.h (__gettimeofday): Remove macro.
27898 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27899 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27901 (__gettimeofday): Add libc_hidden_def.
27902 (gettimeofday): Add libc_hidden_weak.
27903 * sysdeps/mach/gettimeofday.c: Likewise.
27904 * sysdeps/posix/gettimeofday.c: Likewise.
27905 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27906 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27907 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27908 (__gettimeofday_internal): Remove strong_alias.
27909 (__gettimeofday): Add libc_hidden_def.
27910 (gettimeofday): Add libc_hidden_weak.
27911 * sysdeps/unix/syscalls.list (gettimeofday):
27912 Remove __gettimeofday_internal alias.
27914 2012-05-24 Daniel Jacobowitz <drow@false.org>
27915 H.J. Lu <hongjiu.lu@intel.com>
27918 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27919 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27920 (largebin_index_32_big): New.
27921 (largebin_index): Use it for 16-byte alignment.
27922 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27923 correction with front_misalign.
27925 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27953 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27954 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27956 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27960 * math/libm-test.inc (exp_test): Add test from bug 14036.
27961 (pow_test): Add test from bug 10846.
27963 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27965 (special_function): Do not include flags in test name.
27966 (parse_args): Likewise.
27967 * sysdeps/i386/fpu/libm-test-ulps: Update.
27968 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27969 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27970 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27973 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27975 * math/libm-test.inc ("Philosophy"): Update comment about
27977 (UNDERFLOW_EXCEPTION): New macro.
27978 (UNDERFLOW_EXCEPTION_OK): Likewise.
27979 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27980 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27981 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27982 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27983 (INVALID_EXCEPTION_OK): Update value.
27984 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27985 (OVERFLOW_EXCEPTION_OK): Likewise.
27986 (IGNORE_ZERO_INF_SIGN): Likewise.
27987 (test_exceptions): Handle underflow exceptions.
27988 (acos_test): Update for underflow exception expectations.
27989 (cexp_test): Likewise.
27990 (clog_test): Likewise.
27991 (clog10_test): Likewise.
27992 (csqrt_test): Likewise.
27993 (ctan_test): Likewise.
27994 (ctanh_test): Likewise.
27995 (exp_test): Likewise.
27996 (exp10_test): Likewise.
27997 (exp2_test): Likewise.
27998 (expm1_test): Likewise.
27999 (fma_test): Likewise.
28000 (j0_test): Likewise.
28001 (jn_test): Likewise.
28002 (nexttoward_test): Likewise.
28003 (pow_test): Likewise.
28004 (scalbn_test): Likewise.
28005 (scalbln_test): Likewise.
28006 (tan_test): Likewise.
28007 (y1_test): Likewise.
28008 * sysdeps/i386/fpu/libm-test-ulps: Update.
28009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28011 2012-05-23 David S. Miller <davem@davemloft.net>
28013 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28014 (__libc_sigaction): Remove unused local variables.
28016 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28018 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28020 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28022 mktime: avoid signed integer overflow
28023 * time/mktime.c (__mktime_internal): Do not mishandle the case
28024 where diff == INT_MIN.
28026 mktime: simplify computation of average
28027 * time/mktime.c (ranged_convert): Use new time_t_avg function
28028 instead of rolling our own (probably-slower) code.
28030 mktime: do not assume signed right shift propagates sign bit
28031 * time/mktime.c (isdst_differ): New static function.
28032 (__mktime_internal): No need to normalize tm_isdst now.
28033 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28036 mktime: merge another wrapv change from gnulib
28037 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28038 from some compilers.
28040 mktime: remove incorrect attempt at unusual arithmetics
28041 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28042 The code didn't really work on such machines anyway.
28043 (TYPE_MINIMUM): Assume two's complement.
28044 (twos_complement_arithmetic): Verify that long_int and time_t
28045 are two's complement (or unsigned, in the latter case).
28047 mktime: check signed shifts on long_int and time_t, too
28048 * time/mktime.c (SHR): Check that shifts work as desired
28049 on the types long_int and time_t too, as SHR is used on
28052 mktime: do not assume 'long' is wide enough
28053 * time/mktime.c (verify): Move decl up.
28054 (long_int): New type.
28055 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28056 to remove assumption in the code that 'long' is wide enough to
28057 store year values. This assumption is not true on x32 and on
28058 some non-glibc platforms.
28060 mktime: merge wrapv change from gnulib
28061 * time/mktime.c (WRAPV): New macro.
28062 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28063 (guess_time_tm, __mktime_internal): Do not assume that signed
28064 integer overflow wraps around; modern compilers generate code
28065 where this assumption is no longer valid.
28067 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28069 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28070 Replace "jmp L(pseudo_end)" with "ret".
28071 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28074 2012-05-23 Andreas Jaeger <aj@suse.de>
28076 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28077 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28079 2012-05-23 Andreas Jaeger <aj@suse.de>
28080 Maximilian Attems <max@stro.at>
28082 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28085 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28087 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28088 code so that pseudo_end is just ret and the stack pointer is
28089 correct also for static library in error case.
28091 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28093 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28094 move to syscalls.list.
28095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28100 * manual/install.texi (Running make install): Do not mention Linux
28101 kernel version for which pt_chown is not needed.
28102 (Linux): Do not mention problems with nscd with 2.0 kernels.
28103 * INSTALL: Regenerated.
28105 2012-05-23 Andreas Jaeger <aj@suse.de>
28107 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28108 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28110 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28111 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28112 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28113 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28114 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28115 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28116 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28117 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28118 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28119 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28120 * sysdeps/unix/sysv/linux/bits/in.h
28121 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28123 2012-05-22 Roland McGrath <roland@hack.frob.com>
28125 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28126 (PREPARE_VERSION): Just use assert instead, it will be elided
28127 under [NDEBUG] anyway.
28129 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28131 * sysdeps/unix/sysv/linux/Makefile: Include
28132 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28133 (sysdep_routines): Remove sysctl.
28134 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28135 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28136 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28137 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28138 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28140 2012-05-22 Andreas Jaeger <aj@suse.de>
28142 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28143 that pseudo_end is just ret and the stack pointer is correct also
28144 for static library in error case.
28146 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28149 * nss/nsswitch.c (defconfig_entries): New variable.
28150 (__nss_database_lookup): Don't leak defconfig entries.
28151 (nss_parse_service_list): Don't leak on error paths.
28152 (free_database_entries): New function.
28153 (free_defconfig): New function.
28154 (free_mem): Move common code to free_database_entries.
28156 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28158 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28160 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28162 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28163 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28166 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28167 (INTERNAL_SYSCALL_TYPES): Likewise.
28168 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28169 (LOAD_REGS_TYPES_[1-6]): Likewise.
28170 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28171 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28173 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28175 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28176 copysignl for GLIBC_2_0.
28177 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28178 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28179 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28180 logbl for GLIBC_2_0.
28181 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28182 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28184 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28186 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28187 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28189 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28192 * time/mktime.c: Update copyright years.
28194 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28196 mktime: merge comment-quoting-style change from gnulib
28197 * time/mktime.c: Quote 'like this' in comments.
28198 The GNU coding standards suggest that we no longer quote `like this',
28199 as "`" and "'" are typically rendered asymmetrically nowadays.
28200 The typical gnulib style is to quote 'like this' when quoting
28201 code, and "like this" when quoting English.
28203 * time/mktime.c (compile-command): Add "-I.".
28205 mktime: merge mktime-internal.h change from gnulib
28206 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28208 mktime: merge time_r change from gnulib
28209 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28211 mktime: merge DEBUG change from gnulib
28212 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28213 case system <time.h> has a #define.
28215 mktime: merge <sys/types.h> change from gnulib
28216 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28217 since <time.t> is now guaranteed to define time_t.
28219 mktime: merge HAVE_CONFIG_H change from gnulib
28220 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28222 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28227 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28229 (struct rusage): Use anonymous union to pad each field to
28232 2012-05-21 David S. Miller <davem@davemloft.net>
28234 * Makefules (o-iterator): Remove .s cases.
28235 (compile-command.s): Delete.
28236 (COMPILE.s): Delete.
28237 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28239 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28241 * configure.in (libc_cv_predef_stack_protector): Only consider
28242 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28243 * configure: Regenerated.
28245 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28247 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28248 New macro. Use R*LP on int and pointer.
28249 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28250 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28251 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28252 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28254 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28255 [__WORDSIZE_TIME64_COMPAT32] instead of
28256 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28257 (struct utmp): Likewise.
28258 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28259 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28261 (__WORDSIZE_TIME64_COMPAT32): This.
28262 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28263 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28264 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28265 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28266 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28267 (__WORDSIZE_TIME64_COMPAT32): New macro.
28269 2012-05-21 Andreas Jaeger <aj@suse.de>
28271 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28272 only if [SHARED]. Add prototype for __wcschr_ia32.
28274 2012-05-21 Roland McGrath <roland@hack.frob.com>
28276 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28277 of %rbp unmolested in the jmp_buf while mangling the low bits.
28278 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28279 unmolested high bits of %rbp while demangling the low bits.
28280 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28282 2012-05-21 Andreas Jaeger <aj@suse.de>
28284 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28285 * sunrpc/svc_simple.c: Use it for registerrpc.
28286 * sunrpc/xcrypt.c: Use it for passwd2des.
28288 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28290 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28292 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28293 Don't define if [__SYSCALL_WORDSIZE != 32].
28294 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28297 2012-05-21 Bruno Haible <bruno@clisp.org>
28298 Andreas Jaeger <aj@suse.de>
28300 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28301 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28302 inptr and inend for must_buffer_ch.
28303 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28304 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28305 * stdio-common/Makefile (tests): Remove bug15.
28306 (bug15-ENV): Remove macro.
28307 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28310 2012-05-19 Andreas Jaeger <aj@suse.de>
28311 Roland McGrath <roland@hack.frob.com>
28313 * manual/contrib.texi: Completely rewritten. It contains now an
28314 alphabetical list of contributors and their contributions.
28316 2012-05-21 Richard Henderson <rth@twiddle.net>
28318 * misc/getauxval.c (__getauxval): Use unsigned long int.
28319 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28320 (getauxval): Use unsigned long int.
28322 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28324 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28326 2012-05-21 Roland McGrath <roland@hack.frob.com>
28328 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28329 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28330 __alignof__ (long double).
28332 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28336 2012-05-20 Richard Henderson <rth@twiddle.net>
28338 * misc/getauxval.c: New file.
28339 * misc/sys/auxv.h: New file.
28340 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28341 (routines): Add getauxval.
28342 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28343 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28344 * elf/dl-sysdep.c (_dl_auxv): Remove.
28345 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28346 * elf/dl-support.c (_dl_auxv): New variable.
28347 (_dl_aux_init): Initialize it.
28348 * manual/startup.texi (Auxiliary Vector): New node.
28349 * sysdeps/generic/bits/hwcap.h: New file.
28350 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28351 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28352 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28353 * sysdeps/sparc/sysdep.h: ... here. Include it.
28354 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28355 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28361 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28367 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28371 2012-05-19 David S. Miller <davem@davemloft.net>
28373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28375 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28378 * math/s_ccosh.c: Include <float.h>
28379 (__ccosh): Avoid internal overflow calculating sinh and cosh
28380 values before multiplying by sin and cos values.
28381 * math/s_ccoshf.c: Likewise.
28382 * math/s_ccoshl.c: Likewise.
28383 * math/s_csin.c: Likewise.
28384 * math/s_csinf.c: Likewise.
28385 * math/s_csinl.c: Likewise.
28386 * math/s_csinh.c: Likewise.
28387 * math/s_csinhf.c: Likewise.
28388 * math/s_csinhl.c: Likewise.
28389 * math/libm-test.inc (ccos_test): Add more tests.
28390 (ccosh_test): Likewise.
28391 (csin_test): Likewise.
28392 (csinh_test): Likewise.
28393 * sysdeps/i386/fpu/libm-test-ulps: Update.
28394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28396 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28398 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28399 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28401 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28403 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28405 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28406 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28407 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28408 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28409 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28410 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28411 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28412 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28413 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28414 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28415 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28416 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28417 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28418 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28419 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28420 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28421 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28422 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28423 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28424 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28425 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28426 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28427 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28428 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28429 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28430 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28431 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28432 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28433 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28434 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28435 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28437 2012-05-18 Andreas Jaeger <aj@suse.de>
28439 * csu/.gitignore: Delete.
28441 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28443 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28444 (timex): Use __syscall_slong_t.
28446 2012-05-18 Andreas Jaeger <aj@suse.de>
28447 Carlos O'Donell <carlos_odonell@mentor.com>
28449 * manual/install.texi (Configuring and compiling): Update
28450 description about files modified in the source directory.
28451 * INSTALL: Regenerated.
28453 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28455 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28456 value. Use "or" to set return value to -1.
28457 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28458 negate return value.
28460 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28462 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28463 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28464 failure if the compiler has Graphite support disabled.
28465 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28467 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28468 CFLAGS-memmove.c): Likewise.
28469 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28472 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28474 * sysdeps/x86_64/x32/_itoa.h: New file.
28476 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28477 getdents system call only if kernel and user dirents have the
28478 same d_ino and d_off.
28480 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28481 LLONG_MAX != LONG_MAX.
28482 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28483 (_fitoa_word): Likewise.
28485 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28487 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28488 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28489 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28491 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28492 include <bits/wordsize.h>. Check __x86_64__ instead of
28494 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28495 if __x86_64__ is defined. Use anonymous union on fpstate.
28497 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28500 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28502 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28503 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28504 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28505 Refer to _rtld_local_ro instead of _rtld_global_ro.
28506 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28508 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28510 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28512 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28513 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28514 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28516 * sysdeps/powerpc/powerpc32/dl-machine.c
28517 (__elf_machine_runtime_setup) [PROF]: Don't reference
28520 2012-05-18 Andreas Jaeger <aj@suse.de>
28522 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28523 function only available for GCCs before 3.4 since GCC 3.4
28524 introduced a builtin.
28526 (llrintf): Likewise.
28527 (llrint): Likewise.
28534 (nearbyint): Likewise.
28535 (nearbyintf): Likewise.
28539 (floorf): Likewise.
28541 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28543 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28544 on both fields and cast pointer to __syscall_ulong_t.
28546 * bits/types.h (__fsword_t): New type.
28547 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28548 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28550 (__FSWORD_T_TYPE): Likewise.
28551 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28552 (__FSWORD_T_TYPE): Likewise.
28553 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28554 (__FSWORD_T_TYPE): Likewise.
28555 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28556 (__FSWORD_T_TYPE): Likewise.
28557 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28558 __SWORD_TYPE with __fsword_t.
28559 (statfs64): Likewise.
28561 2012-05-17 David S. Miller <davem@davemloft.net>
28563 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28565 2012-05-17 Andreas Jaeger <aj@suse.de>
28567 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28570 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28572 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28574 2012-05-17 Andreas Jaeger <aj@suse.de>
28576 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28579 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28581 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28583 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28585 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28586 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28588 2012-05-17 Andreas Jaeger <aj@suse.de>
28589 Carlos O'Donell <carlos_odonell@mentor.com>
28592 * sysdeps/x86_64/multiarch/init-arch.h
28593 (bit_YMM_Usable): Rename to...
28594 (bit_AVX_Usable): ... this.
28595 (bit_FMA4_Usable): New macro.
28596 (bit_XMM_state): New macro.
28597 (bit_YMM_state): New macro.
28598 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28599 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28600 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28601 (CPUID_OSXSAVE): New macro.
28602 (CPUID_AVX): New macro.
28603 (CPUID_FMA4): New macro.
28604 (index_YMM_Usable): Rename to...
28605 (index_AVX_Usable): ... this.
28606 (HAS_AVX): Use HAS_ARCH_FEATURE.
28607 (HAS_FMA4): Likewise.
28608 (HAS_YMM_USABLE): Remove.
28609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28610 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28612 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28613 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28614 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28615 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28616 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28618 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28620 * math/libm-test.c: Support platforms without multiple rounding modes.
28621 * math/bug-nextafter.c: Support platforms without FP exceptions.
28622 * math/bug-nexttoward.c: Likewise.
28623 * math/test-fenv.c: Likewise.
28624 * math/test-misc.c: Likewise.
28625 * stdlib/bug-getcontext.c: Likewise.
28627 2012-05-17 Andreas Jaeger <aj@suse.de>
28629 * manual/examples/search.c (critter_cmp): Change signature to
28631 * manual/string.texi (Collation Functions): Likewise.
28633 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28635 * bits/types.h: Fold copyright years.
28636 * bits/typesizes.h: Likewise.
28637 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28638 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28639 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28640 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28641 * time/time.h: Likewise.
28643 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28646 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28647 in instead of returning them. Return void.
28648 (__libc_mallinfo): Accumulate over all arenas.
28649 (__malloc_stats): Adjust for change in int_mallinfo interface.
28651 2012-05-16 Roland McGrath <roland@hack.frob.com>
28654 * configure.in (NM): Add AC_CHECK_TOOL for it.
28655 (libc_extra_cflags): New substituted variable.
28656 Check for -fstack-protector being used implicitly.
28657 * configure: Regenerated.
28658 * config.make.in (config-extra-cflags): New variable,
28659 gets @libc_extra_cflags@.
28660 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28663 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28664 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28665 * configure: Regenerated.
28666 * config.make.in (CPPUNDEFS): New substituted variable.
28667 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28668 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28669 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28671 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28673 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28674 (mq_attr): Use __syscall_slong_t.
28676 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28678 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28679 Check __x86_64__ instead of __WORDSIZE.
28680 (_STAT_VER_LINUX): Likewise.
28681 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28682 __syscall_ulong_t and __syscall_slong_t.
28683 (stat64): Likewise.
28685 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28687 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28689 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28691 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28693 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28695 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28698 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28699 include <bits/wordsize.h>. Check __x86_64__ instead of
28701 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28703 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28705 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28706 include <bits/wordsize.h>. Check __x86_64__ instead of
28708 (user_regs_struct): Use "__extension__ unsigned long long"
28709 instead of "unsigned long" if __x86_64__ is defined.
28710 (user): Likewise. Pad after pointer field if __ILP32__ is
28713 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28715 * configure.in (makeinfo): Require version 4.5 or later. Allow
28717 * configure: Regenerated.
28718 * manual/install.texi (texinfo): Increase version requirement to
28720 * INSTALL: Regenerated.
28722 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28724 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28726 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28728 * sysdeps/x86_64/x32/ffs.c: New file.
28730 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28732 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28733 defined. Use __syscall_ulong_t.
28734 (shminfo): Use __syscall_ulong_t.
28735 (shm_info): Likewise.
28737 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28740 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28742 (msgqnum_t): Use __syscall_ulong_t.
28743 (msglen_t): Likewise.
28744 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28747 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28748 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28750 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28752 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28753 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28755 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28758 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28759 include <bits/wordsize.h>. Check __x86_64__ instead of
28762 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28763 "unsigned long long int" if __x86_64__ is defined.
28764 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28766 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28767 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28768 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28770 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28772 (GET_PC): Cast to uintptr_t first.
28773 (GET_FRAME): Likewise.
28774 (GET_STACK): Likewise.
28776 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28777 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28778 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28779 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28780 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28781 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28782 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28783 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28784 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28785 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28786 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28787 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28788 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28789 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28790 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28791 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28792 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28793 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28794 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28795 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28796 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28797 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28798 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28799 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28800 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28801 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28802 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28803 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28804 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28806 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28808 * Makerules (+depfiles): Also collect depfiles from .oS in
28810 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28811 .oS, $(libnldbl-routines)).
28813 * Makerules (native-compile-mkdep-flags): Define.
28814 * sunrpc/Makefile (extra-objs): Add $(addprefix
28815 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28816 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28817 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28818 calling $(make-target-directory).
28820 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28822 * bits/types.h (__snseconds_t): Removed.
28823 * time/time.h (struct timespec): Replace __snseconds_t with
28825 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28826 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28829 (__SNSECONDS_T_TYPE): Likewise.
28830 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28831 (__SNSECONDS_T_TYPE): Likewise.
28832 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28833 (__SNSECONDS_T_TYPE): Likewise.
28835 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28837 * sysdeps/mach/hurd/bits/typesizes.h
28838 (__SYSCALL_SLONG_TYPE): New macro.
28839 (__SYSCALL_ULONG_TYPE): Likewise.
28841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28843 * bits/types.h (__syscall_slong_t): New type.
28844 (__syscall_ulong_t): Likewise.
28846 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28847 (__SYSCALL_ULONG_TYPE): Likewise.
28848 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28849 (__SYSCALL_SLONG_TYPE): Likewise.
28850 (__SYSCALL_ULONG_TYPE): Likewise.
28851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28852 (__SYSCALL_SLONG_TYPE): Likewise.
28853 (__SYSCALL_ULONG_TYPE): Likewise.
28854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28855 (__SYSCALL_SLONG_TYPE): Likewise.
28856 (__SYSCALL_ULONG_TYPE): Likewise.
28858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28860 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28861 Add sigaltstack-offsets.sym.
28862 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28863 <sigaltstack-offsets.h>.
28864 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28865 longjmp_msg pointer.
28866 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28867 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28869 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28871 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28873 * elf/stackguard-macros.h: Remove file.
28874 * sysdeps/generic/stackguard-macros.h: New file.
28875 * sysdeps/i386/stackguard-macros.h: Likewise.
28876 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28877 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28878 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28879 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28880 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28881 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28882 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28883 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28884 <elf/stackguard-macros.h>.
28887 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28888 __aligned__ in attribute.
28889 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28890 (gregset_t): Likewise.
28892 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28894 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28895 * sysdeps/x86_64/64/Implies-after: Here. New file.
28896 * sysdeps/x86_64/x32/Implies-after: New file.
28898 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28900 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28901 and access return value for _dl_profile_fixup. Use R10_LP to
28904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28906 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28908 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28910 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28911 * sysdeps/x86_64/x32/sysdep.h: New file.
28913 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28915 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28916 * sysdeps/x86_64/setjmp.S: Likewise.
28918 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28920 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28921 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28922 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28923 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28924 remove unused global constant.
28926 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28928 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28929 include of <not-cancel.h>.
28931 2012-05-15 Roland McGrath <roland@hack.frob.com>
28933 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28935 2012-05-15 Jeff Law <law@redhat.com>
28936 Andreas Jaeger <aj@suse.de>
28939 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28941 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28942 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28943 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28944 code changing __hst_map_handle.map.
28946 2012-05-15 Roland McGrath <roland@hack.frob.com>
28948 * configure.in (sysnames): Look for Implies-before and Implies-after
28950 * configure: Regenerated.
28952 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28954 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28955 8-byte data alignment with LP_SIZE alignment.
28957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28959 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28962 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28964 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28966 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28968 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28969 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28970 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28972 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28974 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28976 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28977 (stackinfo_sub_sp): Likewise.
28979 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28981 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28986 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28989 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28991 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28994 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28996 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28998 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29000 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29001 into R11_LP and load __x86_64_shared_cache_size_half into
29004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29006 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29009 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29011 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29013 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29015 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29017 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29018 powerpc32/power7/fpu/s_logb.c via #include.
29019 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29020 powerpc32/power7/fpu/s_logbf.c via #include.
29021 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29022 powerpc32/power7/fpu/s_logbl.c via #include.
29024 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29026 * README.libm: Remove file.
29028 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29030 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29031 count for x32. Use R*_LP and omit operand-size suffix.
29033 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29035 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29036 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29037 * sysdeps/x86_64/x32/shlib-versions: New file.
29039 2012-05-14 Roland McGrath <roland@hack.frob.com>
29041 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29042 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29043 Use _dl_fatal_printf instead.
29045 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29047 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29048 set if not set by the user. Do not allow for being unset.
29049 * sysdeps/unix/sysv/linux/configure: Regenerated.
29051 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29053 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29054 the `q' suffix from lea and replace .quad with ASM_ADDR.
29056 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29058 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29059 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29061 (PTR_DEMANGLE): Likewise.
29063 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29065 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29067 (ASM_ADDR): Likewise.
29068 (RAX_LP): Likewise.
29069 (RBP_LP): Likewise.
29070 (RBX_LP): Likewise.
29071 (RCX_LP): Likewise.
29072 (RDI_LP): Likewise.
29073 (RSI_LP): Likewise.
29074 (RSP_LP): Likewise.
29077 (R10_LP): Likewise.
29078 (R10_LP): Likewise.
29079 (R11_LP): Likewise.
29080 (R12_LP): Likewise.
29081 (R13_LP): Likewise.
29082 (R14_LP): Likewise.
29083 (R15_LP): Likewise.
29085 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29087 * sysdeps/x86_64/x32/dl-machine.h: New file.
29089 2012-05-14 Andreas Jaeger <aj@suse.de>
29091 * manual/Makefile (subdir): Remove export of subdir.
29092 (all): Remove target.
29093 (.PHONY): Remove all from list.
29094 (mkinstalldirs): Remove.
29095 (.PHONY): Remove installdirs from list.
29096 ($(inst_infodir)/libc.info): Use make-target-directory.
29097 (installdirs): Remove.
29098 (subdir_%): Remove.
29099 (glibc-targets): Remove.
29102 ($(objpfx)stubs ../po/manual.pot): Remove.
29103 ($(objpfx)stamp%): Remove.
29104 (make-target-directory): Remove.
29105 (subdir_install): Remove.
29106 (routines): Remove.
29113 * manual/.gitignore: Remove, it's not needed anymore.
29114 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29116 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29118 (texis): Renamed to $(objpfx)texis.
29119 (texis-path): New, contains path to generated files.
29120 (chapters.%): Use texis-path for complete path, add extra argument
29122 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29123 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29124 (summary,texi, stamp-summary): Use complete path of
29125 files. Generate files in build dir.
29126 (dir-add.texi): Build in build dir.
29127 (libm-err.texi,stamp-libm-err): Likewise.
29128 (version.texi, stamp-version): Likewise.
29129 (.%c.texi): Likewise.
29130 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29131 (mostlyclean): Remove target.
29132 (realclean): Remove target.
29133 (generated): Add new variable with contents from mostlyclean and
29134 realclean, remove entries duplicated in common-mostlyclean, add
29135 stamp-libm-err and stamp-version.
29136 (generated-dirs): Add libc directory.
29137 ($(inst_infodir)/libc.info): Install files from build dir.
29139 * manual/install.texi (Configuring and compiling): Adjust since
29140 the info files are not part of the tar ball anymore.
29142 2012-05-14 Andreas Jaeger <aj@suse.de>
29144 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29147 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29150 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29151 to 2.2.0 where earlier.
29152 * sysdeps/unix/sysv/linux/configure: Regenerated.
29153 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29154 Remove conditional code.
29155 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29156 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29157 Remove conditional code.
29158 [!__NR_lchown]: Likewise.
29159 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29160 [__NR_lchown]: Likewise.
29161 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29162 comment referencing __ASSUME_LCHOWN_SYSCALL.
29163 * sysdeps/unix/sysv/linux/i386/sigaction.c
29164 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29165 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29166 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29167 Remove conditional code.
29168 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29169 (__protocol_available): Remove #if 0 code.
29170 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29172 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29173 * sysdeps/unix/sysv/linux/kernel-features.h
29174 (__ASSUME_GETCWD_SYSCALL): Don't define.
29175 (__ASSUME_REALTIME_SIGNALS): Likewise.
29176 (__ASSUME_PREAD_SYSCALL): Likewise.
29177 (__ASSUME_PWRITE_SYSCALL): Likewise.
29178 (__ASSUME_POLL_SYSCALL): Likewise.
29179 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29180 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29182 (__ASSUME_SIOCGIFNAME): Don't define.
29183 (__ASSUME_MSG_NOSIGNAL): Likewise.
29184 (__ASSUME_SENDFILE): Define unconditionally.
29185 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29186 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29188 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29189 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29190 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29191 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29192 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29193 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29194 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29196 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29197 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29199 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29200 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29202 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29203 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29205 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29206 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29208 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29211 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29214 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29217 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29219 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29220 Remove conditional code.
29221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29222 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29223 Remove conditional code.
29224 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29225 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29226 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29227 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29228 Remove conditional code.
29229 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29230 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29231 Remove conditional code.
29232 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29233 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29234 Remove conditional code.
29235 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29236 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29237 Remove conditional code.
29238 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29239 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29240 Remove conditional code.
29241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29242 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29243 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29244 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29245 * sysdeps/unix/sysv/linux/sigaction.c
29246 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29247 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29248 * sysdeps/unix/sysv/linux/sigpending.c
29249 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29250 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29251 * sysdeps/unix/sysv/linux/sigprocmask.c
29252 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29253 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29254 * sysdeps/unix/sysv/linux/sigsuspend.c
29255 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29256 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29257 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29258 (__libc_missing_rt_sigs): Remove.
29259 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29260 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29261 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29262 Remove conditional code.
29263 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29264 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29266 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29267 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29268 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29269 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29271 2012-05-14 Andreas Jaeger <aj@suse.de>
29273 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29274 it's not used in glibc.
29275 (__coshm1): Likewise.
29276 (__acosh1p): Likewise.
29279 * manual/string.texi (Copying and Concatenation): Add missing
29280 variable in concat example.
29281 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29283 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29286 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29287 __builtin_clzl with __builtin_clzll.
29289 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29292 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29295 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29297 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29298 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29299 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29300 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29302 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29304 * NEWS: Update ia64 info.
29306 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29308 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29311 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29313 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29314 * sysdeps/unix/syscalls.list (dup3): Likewise.
29315 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29316 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29318 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29320 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29321 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29323 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29325 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29327 (TLS_IE): Use mov/add instead of movq/addq to load thread
29329 (TLS_GD_PREFIX): New.
29332 2012-05-11 David S. Miller <davem@davemloft.net>
29334 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29335 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29336 (_FPU_SETCW): Likewise.
29338 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29340 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29341 is 32-byte aligned.
29343 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29346 * iconvdata/gb18030.c: Update tables.
29347 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29348 characters specially.
29349 (BODY for TO_LOOP): Add encoding of missing ranges.
29351 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29354 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29355 * sysdeps/mach/hurd/dup3.c: Likewise.
29356 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29357 * sysdeps/powerpc/memmove.c:: Likewise.
29359 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29361 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29362 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29364 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29366 * elf/elf.h (R_X86_64_RELATIVE64): New.
29367 (R_X86_64_NUM): Updated.
29368 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29369 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29370 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29371 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29372 tst-quad1pie tst-quad2pie
29373 (modules-names): Add tst-quadmod1 tst-quadmod2.
29374 ($(objpfx)tst-quad1): New dependency.
29375 ($(objpfx)tst-quad2): Likewise.
29376 ($(objpfx)tst-quad1pie): Likewise.
29377 ($(objpfx)tst-quad2pie): Likewise.
29378 * sysdeps/x86_64/tst-quad1.c: New file.
29379 * sysdeps/x86_64/tst-quad1pie.c: New file.
29380 * sysdeps/x86_64/tst-quad2.c: Likewise.
29381 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29382 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29383 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29384 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29385 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29387 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29389 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29390 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29391 * streams/stropts.h (t_scalar_t): Define type.
29393 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29394 (_PATH_PRESERVE): Set to "/var/lib".
29395 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29397 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29400 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29401 if __dir_mkfile succeeded.
29403 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29404 checking for _hurd_dtablesize. Unlock it right after having
29405 finished _hurd_dtable allocation.
29407 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29409 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29410 * sysdeps/mach/hurd/configure: Regenerated.
29411 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29412 special-casing to...
29413 * sysdeps/gnu/configure.in: ... this new file.
29414 * sysdeps/unix/sysv/linux/configure: Regenerated.
29415 * sysdeps/gnu/configure: New generated file.
29417 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29418 for Linux: use nsec instead of usec, as well as:
29419 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29420 members of type struct timespec.
29421 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29423 (struct stat64): Likewise.
29424 (_STATBUF_ST_NSEC): New macro.
29425 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29427 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29428 __strtoul_internal rather than strtoul.
29430 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29432 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29435 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29437 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29438 which preserves existing values.
29439 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29441 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29443 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29444 TIMEOUT values. Return EINVAL for NFDS values either negative or
29445 greater than FD_SETSIZE.
29447 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29449 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29450 allocated, call __vm_protect to finish enabling the existing space, and
29451 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29452 allocate the remainder.
29454 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29456 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29457 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29459 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29461 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29462 sysdeps/mach/hurd/readlink.c.
29464 * posix/tst-sysconf.c (posix_options): Only use
29465 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29466 _POSIX_SYNCHRONIZED_IO when they are defined
29467 * sysdeps/mach/hurd/bits/posix_opt.h:
29468 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29469 (_XOPEN_REALTIME): Undefine macro.
29470 (_XOPEN_REALTIME_THREADS): Undefine macro.
29471 (_XOPEN_SHM): Undefine macro.
29472 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29474 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29476 (_POSIX_ASYNC_IO): Undefine macro.
29477 (_POSIX_PRIORITIZED_IO): Undefine macro.
29478 (_POSIX_SPIN_LOCKS): Define macro to -1.
29480 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29481 SA_NODEFER, SA_RESETHAND.
29482 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29483 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29486 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29488 * elf/Makefile (pldd-modules): Define unconditionally.
29490 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29492 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29494 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29496 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29497 Return ENOENT when name is empty.
29498 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29500 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29502 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29504 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29506 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29508 Fix mlock in all cases except non-readable pages.
29509 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29510 instead of VM_PROT_ALL as parameter to __vm_wire function.
29512 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29513 (__mkdir): When path is `/', just fail with EEXIST.
29514 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29516 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29518 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29519 <sys/uio.h> (for writev).
29520 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29521 and <sys/param.h> (for MIN).
29523 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29525 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29526 REQUESTED_TIME. Properly set the remaining time and return EINTR
29529 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29531 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29532 Depend on against $(link-rpcuserlibs).
29534 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29536 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29537 (__libc_stack_end): Do not use attribute_relro.
29538 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29539 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29540 to libthread-provided value.
29541 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29544 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29547 * bits/libc-lock.h (__libc_once_get): New macro.
29548 * sysdeps/mach/bits/libc-lock.h: Likewise.
29549 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29550 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29551 instead of using implementation details.
29553 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29554 * libio/freopen.c: Likewise.
29555 * libio/freopen64.c: Likewise.
29556 * misc/syslog.c: Likewise.
29557 * nscd/connections.c: Likewise.
29558 * nscd/netgroupcache.c: Likewise.
29559 * sysdeps/posix/getcwd.c: Likewise.
29561 2012-05-10 Roland McGrath <roland@hack.frob.com>
29563 * math/w_ilogbf.c: Add #include <limits.h>.
29565 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29567 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29568 path instead of returning without unlocking.
29570 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29571 immediate-write ioctls.
29572 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29574 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29576 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29577 __builtin_frame_address instead of making assumptions about the
29578 location of the return address relative to DATA. Force early load of
29579 the return address.
29580 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29581 __builtin_frame_address.
29584 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29585 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29586 implement dup3 and do some further code clean-ups.
29587 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29588 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29590 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29592 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29594 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29595 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29596 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29597 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29598 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29601 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29602 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29603 when handler == SIG_ERR, not when handler != SIG_ERR.
29605 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29607 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29608 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29611 accept4 for GNU Hurd.
29612 * include/sys/socket.h (__libc_accept4): New prototype.
29613 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29614 to implement __libc_accept4.
29615 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29617 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29619 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29620 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29621 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29622 signal-defines.sym.
29624 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29626 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29628 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29630 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29631 assertion on O_CLOEXEC flag.
29632 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29633 * hurd/intern-fd.c: Likewise.
29634 * hurd/port2fd.c: Likewise.
29636 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29639 * bits/in.h (IPV6_PKTINFO): Define new macro.
29640 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29642 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29647 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29648 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29649 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29650 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29651 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29652 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29653 * math/libm-test.inc (logb_test) : Additional logb tests.
29655 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29656 Andreas Jaeger <aj@suse.de>
29658 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29659 * configure: Regenerated.
29660 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29661 * config.make.in (link-obsolete-rpc): New substituted variable.
29662 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29663 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29664 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29665 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29666 so that libc.a contains the symbols.
29667 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29668 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29669 * sunrpc/auth_none.c: Likewise.
29670 * sunrpc/auth_unix.c: Likewise.
29671 * sunrpc/authdes_prot.c: Likewise.
29672 * sunrpc/authuxprot.c: Likewise.
29673 * sunrpc/clnt_gen.c: Likewise.
29674 * sunrpc/clnt_perr.c: Likewise.
29675 * sunrpc/clnt_raw.c: Likewise.
29676 * sunrpc/clnt_simp.c: Likewise.
29677 * sunrpc/clnt_tcp.c: Likewise.
29678 * sunrpc/clnt_udp.c: Likewise.
29679 * sunrpc/clnt_unix.c: Likewise.
29680 * sunrpc/des_crypt.c: Likewise.
29681 * sunrpc/des_soft.c: Likewise.
29682 * sunrpc/get_myaddr.c: Likewise.
29683 * sunrpc/key_call.c: Likewise.
29684 * sunrpc/key_prot.c: Likewise.
29685 * sunrpc/netname.c: Likewise.
29686 * sunrpc/pm_getmaps.c: Likewise.
29687 * sunrpc/pm_getport.c: Likewise.
29688 * sunrpc/pmap_clnt.c: Likewise.
29689 * sunrpc/pmap_prot.c: Likewise.
29690 * sunrpc/pmap_prot2.c: Likewise.
29691 * sunrpc/pmap_rmt.c: Likewise.
29692 * sunrpc/publickey.c: Likewise.
29693 * sunrpc/rpc_cmsg.c: Likewise.
29694 * sunrpc/rpc_common.c: Likewise.
29695 * sunrpc/rpc_dtable.c: Likewise.
29696 * sunrpc/rpc_prot.c: Likewise.
29697 * sunrpc/rpc_thread.c: Likewise.
29698 * sunrpc/rtime.c: Likewise.
29699 * sunrpc/svc.c: Likewise.
29700 * sunrpc/svc_auth.c: Likewise.
29701 * sunrpc/svc_raw.c: Likewise.
29702 * sunrpc/svc_run.c: Likewise.
29703 * sunrpc/svc_tcp.c: Likewise.
29704 * sunrpc/svc_udp.c: Likewise.
29705 * sunrpc/svc_unix.c: Likewise.
29706 * sunrpc/svcauth_des.c: Likewise.
29707 * sunrpc/xcrypt.c: Likewise.
29708 * sunrpc/xdr.c: Likewise.
29709 * sunrpc/xdr_array.c: Likewise.
29710 * sunrpc/xdr_float.c: Likewise.
29711 * sunrpc/xdr_intXX_t.c: Likewise.
29712 * sunrpc/xdr_mem.c: Likewise.
29713 * sunrpc/xdr_rec.c: Likewise.
29714 * sunrpc/xdr_ref.c: Likewise.
29715 * sunrpc/xdr_sizeof.c: Likewise.
29716 * sunrpc/xdr_stdio.c: Likewise.
29718 2012-05-10 Roland McGrath <roland@hack.frob.com>
29720 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29721 change. Update copyright years.
29723 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29725 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29727 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29728 Joseph Myers <joseph@codesourcery.com>
29729 Paul Pluzhnikov <ppluzhnikov@google.com>
29732 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29734 [cross-compiling] (extra-libs): Likewise.
29735 [cross-compiling] (extra-libs-others): Likewise.
29736 [cross-compiling] (librpcsvc-routines): Likewise.
29737 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29738 [cross-compiling] (omit-deps): Likewise.
29739 (sunrpc-CPPFLAGS): New variable.
29740 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29741 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29742 (cross-rpcgen-objs): New variable.
29743 (extra-objs): Append $(cross-rpcgen-objs).
29744 ($(cross-rpcgen-objs)): New rule.
29745 ($(objpfx)cross-rpcgen): Likewise.
29746 (rpcgen-cmd): Define to use $(built-program-file). Expand
29748 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29749 ($(objpfx)x%.stmp): Likewise.
29750 * sunrpc/proto.h [IS_IN_build] (_): Define.
29751 [IS_IN_build] (_libc_intl_domainname): Likewise.
29753 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29755 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29756 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29757 and R_X86_64_TPOFF64.
29759 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29761 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29762 sysdeps/unix/sysv/syscalls.list.
29765 * sysdeps/unix/sysv/syscalls.list: Remove file.
29767 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29770 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29771 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29772 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29773 (__LC_IDENTIFICATION): Make these macros useful in #if
29774 expressions, as required by C99.
29776 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29778 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29779 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29782 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29784 * stdlib/longlong.h: Updated from GCC.
29786 2012-05-09 Andreas Jaeger <aj@suse.de>
29788 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29789 default is first entry.
29790 (run_mode): Set type.
29791 (main): Remove informal message about syslog.
29792 (options): Fix typo.
29795 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29798 (llrintf): Likewise.
29799 (llrint): Likewise.
29802 (nearbyint): Likewise.
29803 (nearbyintf): Likewise.
29805 2012-05-09 Andreas Jaeger <aj@suse.de>
29806 Pedro Alves <palves@redhat.com>
29808 * nscd/nscd.c (run_mode): Use enum.
29809 (main): Cleanup coding style issue.
29811 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29812 Andreas Jaeger <aj@suse.de>
29814 * nscd/nscd.c (go_background): Replaced with...
29815 (run_mode): ... this.
29816 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29817 (options): Add -F --foreground.
29818 (main): Implement it.
29819 (parse_opt): Parse it.
29821 2012-05-09 Andreas Jaeger <aj@suse.de>
29824 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29825 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29826 -Wconversion warning.
29827 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29830 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29832 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29834 (LC_ALL): Use macro-int-constant.
29835 (LC_COLLATE): Likewise.
29836 (LC_CTYPE): Likewise.
29837 (LC_MESSAGES): Likewise.
29838 (LC_MONETARY): Likewise.
29839 (LC_NUMERIC): Likewise.
29840 (LC_TIME): Likewise.
29841 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29842 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29843 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29844 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29846 [C99-based standards] (float_t): Expect type.
29847 [C99-based standards] (double_t): Expect type.
29848 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29850 [C99-based standards] (HUGE_VALL): Likewise.
29851 [C99-based standards] (INFINITY): Likewise.
29852 [C99-based standards] (NAN): Likewise.
29853 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29854 [C99-based standards] (FP_NAN): Likewise.
29855 [C99-based standards] (FP_NORMAL): Likewise.
29856 [C99-based standards] (FP_SUBNORMAL): Likewise.
29857 [C99-based standards] (FP_ZERO): Likewise.
29858 [C99-based standards] (FP_FAST_FMA): Use
29859 optional-macro-int-constant. Specify type. Require == 1.
29860 [C99-based standards] (FP_FAST_FMAF): Likewise.
29861 [C99-based standards] (FP_FAST_FMAL): Likewise.
29862 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29863 [C99-based standards] (FP_ILOGBNAN): Likewise.
29864 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29866 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29867 [C99-based standards] (math_errhandling): Specify type.
29868 [ISO99 || ISO11] (signgam): Do not allow.
29869 [non-C99-based standards] (copysignf): Do not allow.
29870 [non-C99-based standards] (exp2f): Likewise.
29871 [non-C99-based standards] (log2f): Likewise.
29872 [non-C99-based standards] (modff): Allow.
29873 [non-C99-based standards] (erff): Do not allow.
29874 [non-C99-based standards] (erfcf): Likewise.
29875 [non-C99-based standards] (gammaf): Likewise.
29876 [non-C99-based standards] (hypotf): Likewise.
29877 [non-C99-based standards] (j0f): Likewise.
29878 [non-C99-based standards] (j1f): Likewise.
29879 [non-C99-based standards] (jnf): Likewise.
29880 [non-C99-based standards] (lgammaf): Likewise.
29881 [non-C99-based standards] (tgammaf): Likewise.
29882 [non-C99-based standards] (y0f): Likewise.
29883 [non-C99-based standards] (y1f): Likewise.
29884 [non-C99-based standards] (ynf): Likewise.
29885 [non-C99-based standards] (isnanf): Likewise.
29886 [non-C99-based standards] (acoshf): Likewise.
29887 [non-C99-based standards] (asinhf): Likewise.
29888 [non-C99-based standards] (atanhf): Likewise.
29889 [non-C99-based standards] (cbrtf): Likewise.
29890 [non-C99-based standards] (expm1f): Likewise.
29891 [non-C99-based standards] (ilogbf): Likewise.
29892 [non-C99-based standards] (log1pf): Likewise.
29893 [non-C99-based standards] (logbf): Likewise.
29894 [non-C99-based standards] (nextafterf): Likewise.
29895 [non-C99-based standards] (remainderf): Likewise.
29896 [non-C99-based standards] (rintf): Likewise.
29897 [non-C99-based standards] (scalbf): Likewise.
29898 [non-C99-based standards] (copysignl): Likewise.
29899 [non-C99-based standards] (exp2l): Likewise.
29900 [non-C99-based standards] (log2l): Likewise.
29901 [non-C99-based standards] (modfl): Allow.
29902 [non-C99-based standards] (erfl): Do not allow.
29903 [non-C99-based standards] (erfcl): Likewise.
29904 [non-C99-based standards] (gammal): Likewise.
29905 [non-C99-based standards] (hypotl): Likewise.
29906 [non-C99-based standards] (j0l): Likewise.
29907 [non-C99-based standards] (j1l): Likewise.
29908 [non-C99-based standards] (jnl): Likewise.
29909 [non-C99-based standards] (lgammal): Likewise.
29910 [non-C99-based standards] (tgammal): Likewise.
29911 [non-C99-based standards] (y0l): Likewise.
29912 [non-C99-based standards] (y1l): Likewise.
29913 [non-C99-based standards] (ynl): Likewise.
29914 [non-C99-based standards] (isnanl): Likewise.
29915 [non-C99-based standards] (acoshl): Likewise.
29916 [non-C99-based standards] (asinhl): Likewise.
29917 [non-C99-based standards] (atanhl): Likewise.
29918 [non-C99-based standards] (cbrtl): Likewise.
29919 [non-C99-based standards] (expm1l): Likewise.
29920 [non-C99-based standards] (ilogbl): Likewise.
29921 [non-C99-based standards] (log1pl): Likewise.
29922 [non-C99-based standards] (logbl): Likewise.
29923 [non-C99-based standards] (nextafterl): Likewise.
29924 [non-C99-based standards] (remainderl): Likewise.
29925 [non-C99-based standards] (rintl): Likewise.
29926 [non-C99-based standards] (scalbl): Likewise.
29927 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29928 [non-C99-based standards] (FP_*): Do not allow.
29929 [C99-based standards] (FP_*): Change to
29930 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29931 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29933 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29934 (SIG_ERR): Likewise.
29935 [X/Open-based standards] (SIG_HOLD): Likewise.
29936 (SIG_IGN): Likewise.
29937 (SIGABRT): Use macro-int-constant. Specify type. Require
29939 (SIGFPE): Likewise.
29940 (SIGILL): Likewise.
29941 (SIGINT): Likewise.
29942 (SIGSEGV): Likewise.
29943 (SIGTER): Likewise.
29944 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29945 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29946 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29947 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29948 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29949 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29950 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29951 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29952 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29953 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29954 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29955 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29956 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29957 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29958 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29959 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29960 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29961 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29962 [X/Open-based standards] (SIGTRAP): Likewise.
29963 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29964 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29965 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29966 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29967 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29970 2012-05-08 Ian Wienand <ianw@vmware.com>
29973 * time/tzset.c (__tzset_parse_tz): Update default rules for
29974 daylight time changes in the Energy Policy Act of 2005.
29976 2012-05-09 Andreas Jaeger <aj@suse.de>
29979 * elf/ldconfig.c (parse_conf): Change string to make clear that
29980 ldconfig only issued a warning if ld.so.conf does not exist.
29982 2012-05-08 David S. Miller <davem@davemloft.net>
29984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29985 movxtod instead of popping the value on the stack.
29987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29989 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29991 * config.h.in: Add HAVE_ARM_PCS_VFP.
29993 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
29996 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29997 checking but the checks are disabled for any reason.
29999 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30001 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30002 and ELF64_R_TYPE with ELFW(R_TYPE).
30004 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30006 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30007 (ulimit): Likewise.
30009 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30010 (settimeofday): Likewise.
30012 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30014 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30015 a struct th_u2 inside the union, and move tu_block/tu_code into
30016 a new th_u3 union of tu_block/tu_code inside of that. Move
30017 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30018 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30019 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30020 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30021 (th_stuff): Change to th_u1.tu_stuff.
30023 (th_msg): Change to th_u1.th_u2.tu_data.
30025 2012-05-07 David S. Miller <davem@davemloft.net>
30027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30030 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30031 (SETUP_PIC_REG): Use it.
30032 (SETUP_PIC_REG_LEAF): Use it.
30034 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30038 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30040 (EXPL_FINITE): Likewise.
30041 (FLDLOG): Likewise.
30042 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30043 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30045 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30047 (EXPL_FINITE): Likewise.
30048 (FLDLOG): Likewise.
30049 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30050 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30052 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30053 test of -max_value argument for long double.
30054 * sysdeps/i386/fpu/libm-test-ulps: Update.
30055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30057 2012-05-06 David S. Miller <davem@davemloft.net>
30059 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30060 quad soft-float symbols whose references which are compiler
30062 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30064 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30068 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30070 (EXPL_FINITE): Likewise.
30071 (FLDLOG): Likewise.
30074 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30075 Adjust comments for base varying.
30076 (__expl_finite): Change alias to EXPL_FINITE.
30077 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30079 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30080 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30081 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30082 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30083 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30085 (EXPL_FINITE): Likewise.
30086 (FLDLOG): Likewise.
30089 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30090 Adjust comments for base varying.
30091 (__expl_finite): Change alias to EXPL_FINITE.
30092 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30097 * math/libm-test.inc (check_float_internal): Correct ulp
30098 calculation for subnormal expected results.
30100 2012-05-06 Andreas Jaeger <aj@suse.de>
30102 * Makeconfig (+math-flags): New, set to -frounding-math.
30103 (+cflags): Add +math-flags so that all of glibc gets compiled with
30106 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30108 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30110 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30116 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30117 (__ieee754_expl): Allow for and saturate large arguments.
30118 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30119 (u_threshold): Likewise.
30120 (__exp): Call __ieee754_exp before checking for overflow and
30122 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30123 (u_threshold): Likewise.
30124 (__expf): Call __ieee754_expf before checking for overflow and
30126 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30127 (u_threshold): Likewise.
30128 (__expl): Call __ieee754_expl before checking for overflow and
30130 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30131 (__ieee754_expl): Allow for and saturate large arguments.
30132 * math/libm-test.inc (exp_test): Add another test. Do not allow
30133 missing overflow exception on overflow.
30134 (expm1_test): Do not allow missing overflow exception on overflow.
30136 * sysdeps/i386/fpu/e_expl.c: Move to ...
30137 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30138 rather than using inline asm.
30139 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30140 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30141 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30143 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30146 (signal): Likewise.
30150 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30152 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30153 sysdeps/unix/common/syscalls.list.
30154 (fchmod): Likewise.
30155 (fchown): Likewise.
30156 (ftruncate): Likewise.
30157 (getrusage): Likewise.
30158 (gettimeofday): Likewise.
30159 (setpgid): Likewise.
30160 (setregid): Likewise.
30161 (setreuid): Likewise.
30162 (sigaction): Likewise.
30163 (truncate): Likewise.
30164 (vhangup): Likewise.
30165 * sysdeps/unix/common/syscalls.list: Remove file.
30166 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30167 * sysdeps/unix/sysv/linux/Implies: Likewise.
30169 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30171 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30173 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30177 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30180 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30183 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30186 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30189 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30192 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30195 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30199 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30203 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30206 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30210 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30214 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30216 * sysdeps/unix/common/bits/dirent.h: Remove file.
30217 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30219 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30220 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30221 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30222 * sysdeps/unix/bsd/isatty.c: Likewise.
30223 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30224 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30225 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30227 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30230 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30231 long double comparison inaccuracies.
30232 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30235 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30237 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30238 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30240 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30243 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30244 nonzero digits before rounding a hex value.
30245 * stdlib/tst-strtod.c (tests): Add another test.
30247 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30249 * sysdeps/s390/fpu/libm-test-ulps: Update.
30251 2012-05-03 Andreas Jaeger <aj@suse.de>
30253 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30254 does not get optimized out.
30255 (malloc_opt_barrier): New.
30257 2012-05-03 Andreas Jaeger <aj@suse.de>
30258 Roland McGrath <roland@hack.frob.com>
30260 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30261 intermediate file deletion.
30262 (generated): Add .symlist files.
30264 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30267 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30268 Redirect under this condition.
30269 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30270 [__USE_GNU] (__dprintf_chk): Not under this condition.
30271 [__USE_GNU] (__vdprintf_chk): Likewise.
30272 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30273 under this condition.
30274 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30275 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30276 [__USE_XOPEN2K8] (vdprintf): Likewise.
30277 [__USE_GNU] (__dprintf_chk): Not under this condition.
30278 [__USE_GNU] (__vdprintf_chk): Likewise.
30279 [__USE_GNU] (dprintf): Likewise.
30280 [__USE_GNU] (vdprintf): Likewise.
30282 2012-05-03 Roland McGrath <roland@hack.frob.com>
30284 * elf/Makefile (common-generated): Set this instead of generated for
30285 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30286 $(all-built-dso)-derived lists.
30288 2012-05-03 Andreas Jaeger <aj@suse.de>
30290 * sysdeps/i386/fpu/libm-test-ulps: Update.
30293 * FAQ.in: Likewise.
30294 * scripts/gen-FAQ.pl: Likewise.
30295 * manual/install.texi (Installation): Point to online location of
30297 * Makefile (files-for-dist): Remove FAQ.
30300 2012-05-02 Allan McRae <allan@archlinux.org>
30302 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30303 (LDFLAGS-reldepmod5.so): Likewise.
30304 (LDFLAGS-reldep6mod1.so): Likewise.
30305 (LDFLAGS-reldep6mod4.so): Likewise.
30306 (LDFLAGS-reldep8mod3.so): Likewise.
30307 (LDFLAGS-unload4mod1.so): Likewise.
30308 (LDFLAGS-unload4mod2.so): Likewise.
30309 (LDFLAGS-tst-initorder): Likewise.
30310 (LDFLAGS-tst-initordera2.so): Likewise.
30311 (LDFLAGS-tst-initordera3.so): Likewise.
30312 (LDFLAGS-tst-initordera4.so): Likewise.
30313 (LDFLAGS-tst-initorderb2.so): Likewise.
30314 (LDFLAGS-noload): Likewise.
30315 (LDFLAGS-next): Likewise.
30316 (LDFLAGS-order2mod1.so): Likewise.
30317 (LDFLAGS-order2mod2.so): Likewise.
30318 (LDFLAGS-tst-initorder2): Likewise.
30319 (LDFLAGS-tst-initorder2a.so): Likewise.
30320 (LDFLAGS-tst-initorder2b.so): Likewise.
30321 (LDFLAGS-tst-initorder2c.so): Likewise.
30322 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30324 2012-05-02 David S. Miller <davem@davemloft.net>
30326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30328 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30331 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30333 2012-05-02 Andreas Jaeger <aj@suse.de>
30335 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30336 since we manipulate rounding mode.
30337 (CPPFLAGS-test-idouble.c): Likewise.
30338 (CPPFLAGS-test-ifloat.c): Likewise.
30339 (CFLAGS-test-ldouble.c): Likewise.
30340 (CFLAGS-test-double.c): Likewise.
30341 (CFLAGS-test-float.c): Likewise.
30342 (CFLAGS-test-misc.c): Likewise.
30343 (CFLAGS-test-test-fenv.c): Likewise.
30345 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30349 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30350 comparisons to determine direction to adjust input.
30352 2012-05-01 Roland McGrath <roland@hack.frob.com>
30354 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30355 output to the target.
30357 * scripts/localplt.awk: New file.
30358 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30359 (check-localplt-CFLAGS): Variable removed.
30360 ($(all-built-dso:=.jmprel)): New static pattern rule.
30361 (generated): Add those targets.
30362 (localplt-built-dso): New variable.
30363 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30365 * elf/check-localplt.c: File removed.
30367 * scripts/check-execstack.awk: New file.
30368 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30369 (check-execstack-CFLAGS): Variable removed.
30370 ($(objpfx)check-execstack.h): Target removed.
30371 ($(objpfx)execstack-default): New target.
30372 (generated): Add that instead of check-execstack.h.
30373 ($(all-built-dso:=.phdr)): New static pattern rule.
30374 (generated): Add those targets.
30375 * elf/check-execstack.c: File removed.
30377 * scripts/check-textrel.awk: New file.
30378 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30379 (check-textrel-CFLAGS): Variable removed.
30380 (all-built-dso): Use := to define.o
30381 ($(all-built-dso:=.dyn)): New static pattern rule.
30382 (generated): Add those targets.
30383 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30384 * config.make.in (READELF): New substituted variable.
30385 * elf/check-textrel.c: File removed.
30387 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30389 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30391 * conform/data/ctype.h-data [C99-based standards] (isblank):
30393 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30394 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30395 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30396 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30397 Specify type. Require positive value.
30398 (EILSEQ): Likewise.
30399 (ERANGE): Likewise.
30400 [ISO || POSIX] (EILSEQ): Do not expect.
30401 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30402 Specify type. Require positive value.
30403 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30404 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30405 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30406 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30407 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30408 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30409 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30410 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30411 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30412 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30413 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30414 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30415 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30416 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30417 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30418 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30419 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30420 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30421 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30422 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30423 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30424 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30425 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30426 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30427 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30428 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30429 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30430 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30431 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30432 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30433 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30434 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30435 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30436 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30437 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30438 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30439 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30440 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30441 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30442 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30443 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30444 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30445 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30446 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30447 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30448 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30449 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30450 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30451 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30452 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30453 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30454 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30455 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30456 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30457 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30458 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30459 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30460 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30461 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30462 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30463 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30464 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30465 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30466 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30467 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30468 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30469 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30470 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30471 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30472 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30473 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30474 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30475 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30476 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30477 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30478 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30479 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30481 (FLT_ROUNDS): Expect as macro, not constant.
30482 (FLT_MANT_DIG): Use macro-int-constant.
30483 (DBL_MANT_DIG): Likewise.
30484 (LDBL_MANT_DIG): Likewise.
30485 (FLT_DIG): Likewise.
30486 (DBL_DIG): Likewise.
30487 (LDBL_DIG): Likewise.
30488 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30489 (DBL_MIN_EXP): Likewise.
30490 (LDBL_MIN_EXP): Likewise.
30491 (FLT_MAX_EXP): Use macro-int-constant.
30492 (DBL_MAX_EXP): Likewise.
30493 (LDBL_MAX_EXP): Likewise.
30494 (FLT_MAX_10_EXP): Likewise.
30495 (DBL_MAX_10_EXP): Likewise.
30496 (LDBL_MAX_10_EXP): Likewise.
30497 (FLT_MAX): Use macro-constant.
30498 (DBL_MAX): Likewise.
30499 (LDBL_MAX): Likewise.
30500 (FLT_EPSILON): Use macro-constant. Give upper bound.
30501 (DBL_EPSILON): Likewise.
30502 (LDBL_EPSILON): Likewise.
30503 (FLT_MIN): Likewise.
30504 (DBL_MIN): Likewise.
30505 (LDBL_MIN): Likewise.
30506 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30507 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30508 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30509 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30510 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30511 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30512 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30513 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30514 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30515 [ISO11] (FLT_TRUE_MIN): Likewise.
30516 [ISO11] (LDBL_TRUE_MIN): Likewise.
30517 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30518 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30519 (SCHAR_MIN): Use macro-int-constant. Specify type.
30520 (SCHAR_MAX): Likewise.
30521 (UCHAR_MAX): Likewise.
30522 (CHAR_MIN): Likewise.
30523 (CHAR_MAX): Likewise.
30524 (MB_LEN_MAX): Use macro-int-constant.
30525 (SHRT_MIN): Use macro-int-constant. Specify type.
30526 (SHRT_MAX): Likewise.
30527 (USHRT_MAX): Likewise.
30528 (INT_MAX): Likewise.
30529 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30531 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30533 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30535 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30536 bound negative. Suffix upper bound with "L".
30537 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30539 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30541 [C99-based standards] (LLONG_MAX): Likewise.
30542 [C99-based standards] (ULLONG_MAX): Likewise.
30543 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30545 [ISO11] (max_align_t): Require type.
30546 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30548 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30549 from $CFLAGS, without defining away __attribute__ calls.
30550 (checknamespace): Use $CFLAGS_namespace.
30552 * conform/conformtest.pl (@keywords): Only include C99 keywords
30553 for standards based on C99 or C11.
30555 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30557 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30560 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30561 usability of symbols in #if.
30563 * conform/conformtest.pl: If macro or constant types start
30564 "promoted:", expect the symbol to be of the following type
30565 promoted by the integer promotions.
30567 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30568 in one place. Also handle "macro-constant".
30570 * conform/conformtest.pl: Only accept expected macro values with
30571 "==". Parse all "macro" lines in one place.
30572 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30574 * conform/conformtest.pl: Handle braced types on "constant" lines
30575 instead of handling "typed-constant".
30576 * conform/data/signal.h-data: Use "constant" instead of
30579 * conform/conformtest.pl: Handle "optional-" at start of lines in
30580 one place rather than duplicating several cases. Handle each
30581 format of "macro" line with initial "optional-".
30583 * conform/conformtest.pl: Only accept expected constant or
30584 optional-constant values with "==". Parse all "constant" lines in
30585 one place. Parse all "optional-constant" lines in one place.
30586 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30587 * conform/data/fmtmsg.h-data: Likewise.
30588 * conform/data/netinet/in.h-data: Likewise.
30589 * conform/data/tar.h-data: Likewise.
30590 * conform/data/limits.h-data: Use "==" form on "constant" and
30591 "optional-constant" lines.
30593 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30594 Use -std=c99 for XOPEN2K.
30595 (@knownproblems): Remove.
30596 (newtoken): Don't check %isknown.
30598 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30599 Do not expect macro.
30600 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30601 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30602 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30603 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30604 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30605 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30606 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30607 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30608 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30609 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30610 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30611 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30612 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30613 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30614 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30615 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30616 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30617 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30618 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30619 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30620 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30621 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30622 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30623 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30624 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30625 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30626 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30627 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30628 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30629 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30630 [XPG3] (acosh): Likewise.
30631 [XPG3] (asinh): Likewise.
30632 [XPG3] (atanh): Likewise.
30633 [XPG3] (cbrt): Likewise.
30634 [XPG3] (expm1): Likewise.
30635 [XPG3] (ilogb): Likewise.
30636 [XPG3] (log1p): Likewise.
30637 [XPG3] (logb): Likewise.
30638 [XPG3] (nextafter): Likewise.
30639 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30640 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30641 [XPG3] (remainder): Likewise.
30642 [XPG3] (rint): Likewise.
30643 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30644 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30645 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30646 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30647 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30648 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30649 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30650 [UNIX98 || XOPEN2K] (scalb): Expect.
30651 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30652 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30653 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30654 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30655 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30656 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30657 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30658 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30659 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30660 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30661 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30662 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30663 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30664 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30665 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30666 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30667 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30668 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30669 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30670 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30671 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30672 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30673 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30674 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30675 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30676 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30677 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30678 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30679 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30680 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30681 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30682 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30683 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30684 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30685 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30686 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30687 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30688 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30689 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30690 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30691 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30692 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30694 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30697 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30698 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30699 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30703 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30704 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30706 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30707 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30709 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30710 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30721 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30722 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30723 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30724 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30725 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30726 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30727 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30728 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30729 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30730 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30731 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30732 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30733 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30736 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30739 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30741 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30742 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30743 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30744 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30748 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30749 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30757 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30758 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30759 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30761 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30762 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30763 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30764 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30765 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30766 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30767 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30768 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30769 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30772 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30773 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30777 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30778 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30779 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30780 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30781 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30782 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30783 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30784 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30785 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30786 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30787 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30789 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30790 _XOPEN_SOURCE_EXTENDED for XPG4.
30792 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30794 * Makeconfig (localtime): Remove variable.
30795 (inst_localtime-file): Likewise.
30797 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30818 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30822 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30823 comparisons to determine direction to adjust input.
30824 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30825 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30826 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30828 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30830 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30832 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30833 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30835 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30837 * math/libm-test.inc (nexttoward_test): Add more tests.
30839 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30842 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30843 in version GLIBC_2.1, not GLIBC_2.0.
30844 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30847 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30850 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30852 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30853 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30854 * math/libm-test.inc (acos_test): Add more tests.
30855 (asin_test): Likewise.
30856 * sysdeps/i386/fpu/libm-test-ulps: Update.
30857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30860 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30862 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30863 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30864 * math/libm-test.inc (acos_test_tonearest): New function.
30865 (acos_test_towardzero): Likewise.
30866 (acos_test_downward): Likewise.
30867 (acos_test_upward): Likewise.
30868 (asin_test_tonearest): Likewise.
30869 (asin_test_towardzero): Likewise.
30870 (asin_test_downward): Likewise.
30871 (asin_test_upward): Likewise.
30872 (main): Call the new functions.
30873 * sysdeps/i386/fpu/libm-test-ulps: Update.
30874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30878 * math/e_exp10.c: Include <float.h>.
30879 (__ieee754_exp10): Handle underflow here rather than multiplying
30880 large negative argument by M_LN10.
30881 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30883 * math/e_exp10l.c: Include <float.h>.
30884 (__ieee754_exp10l): Handle underflow here rather than multiplying
30885 large negative argument by M_LN10l.
30886 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30887 spurious overflow exception on underflow.
30889 2012-04-29 Marek Polacek <polacek@redhat.com>
30891 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30892 (__fortify_function): New macro.
30893 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30894 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30895 __extern_always_inline.
30896 * libio/bits/stdio2.h: Likewise.
30897 * libio/bits/stdio.h: Likewise.
30898 * string/string.h: Likewise.
30899 * string/bits/string3.h: Likewise.
30900 * include/stdio.h: Likewise.
30901 * stdlib/bits/stdlib.h: Likewise.
30902 * stdlib/stdlib.h: Likewise.
30903 * rt/bits/mqueue2.h: Likewise.
30904 * rt/mqueue.h: Likewise.
30905 * posix/bits/unistd.h: Likewise.
30906 * posix/unistd.h: Likewise.
30907 * io/bits/poll2.h: Likewise.
30908 * io/bits/fcntl2.h: Likewise.
30909 * io/fcntl.h: Likewise.
30910 * io/sys/poll.h: Likewise.
30911 * misc/bits/syslog.h: Likewise.
30912 * misc/bits/syslog-ldbl.h: Likewise.
30913 * misc/sys/syslog.h: Likewise.
30914 * socket/bits/socket2.h: Likewise.
30915 * socket/sys/socket.h: Likewise.
30916 * debug/tst-chk1.c: Likewise.
30917 * wcsmbs/bits/wchar2.h: Likewise.
30918 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30919 * wcsmbs/wchar.h: Likewise.
30921 2012-04-29 Andreas Jaeger <aj@suse.de>
30923 * Makerules (tests): Remove enable-check-abi protection.
30924 (check-abi-warn): Remove.
30925 (check-abi-%): Remove check-abi-warn usage.
30927 * configure.in: Remove check-abi configure option.
30928 * configure: Regenerated.
30929 * config.make.in (enable-check-abi): Remove.
30931 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30934 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30935 double functions to double *_finite functions.
30938 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30939 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30941 * stdio-common/Makefile (tests): Add tst-sprintf3.
30942 * stdio-common/tst-sprintf3.c: New file.
30944 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30945 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30947 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30949 * conform/conformtest.pl: Remove duplicate typed-constant
30952 2012-04-28 David S. Miller <davem@davemloft.net>
30954 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30955 (check-abi-%): Remove AWK script prerequisite and explicit
30957 (check-abi): Rewrite to just diff the symlist with the abilist.
30958 (config-tls, config-abi-config): Delete, no longer used.
30959 (update-abi-%): Remove AWK script and explicit abilist directory.
30960 (update-abi): Rewrite to simply compare and conditionally copy the
30961 symlist and the sysdep abilist file. Remove update-abi-config
30963 * abilist/ld.abilist: Remove.
30964 * abilist/libBrokenLocale.abilist: Remove.
30965 * abilist/libanl.abilist: Remove.
30966 * abilist/libcrypt.abilist: Remove.
30967 * abilist/libdl.abilist: Remove.
30968 * abilist/librt.abilist: Remove.
30969 * abilist/libthread_db.abilist: Remove.
30970 * abilist/libutil.abilist: Remove.
30971 * scripts/extract-abilist.awk: Remove.
30972 * scripts/merge-abilist.awk: Remove.
30973 * sysdeps/generic/libcidn.abilist: New file.
30974 * sysdeps/generic/libnss_compat.abilist: New file.
30975 * sysdeps/generic/libnss_db.abilist: New file.
30976 * sysdeps/generic/libnss_dns.abilist: New file.
30977 * sysdeps/generic/libnss_files.abilist: New file.
30978 * sysdeps/generic/libnss_hesiod.abilist: New file.
30979 * sysdeps/generic/libnss_nis.abilist: New file.
30980 * sysdeps/generic/libnss_nisplus.abilist: New file.
30981 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30982 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30983 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30985 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30986 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30987 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30988 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30989 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30990 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30991 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30992 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30993 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30995 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30996 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30997 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30998 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31000 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31001 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31002 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31003 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31004 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31005 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31007 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31008 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31009 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31011 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31114 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31115 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31116 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31118 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31119 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31120 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31121 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31122 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31123 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31124 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31125 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31126 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31127 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31179 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31181 * conform/conformtest.pl: Fix typo in handling typed-constant from
31184 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31186 * README: Cut down references to pre-2.6 Linux kernels and
31187 Linuxthreads. Update lists of configurations in libc and ports
31188 and sort alphabetically. Say "or newer" with Linux kernel version
31191 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31193 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31196 * math/libm-test.inc (logb_test_downward): New test to expose
31197 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31200 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31203 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31205 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31206 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31208 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31210 * sysdeps/unix/i386/brk.S: Remove file.
31211 * sysdeps/unix/i386/dl-brk.S: Likewise.
31212 * sysdeps/unix/i386/pipe.S: Likewise.
31213 * sysdeps/unix/i386/sigreturn.S: Likewise.
31214 * sysdeps/unix/i386/syscall.S: Likewise.
31215 * sysdeps/unix/i386/vfork.S: Likewise.
31216 * sysdeps/unix/i386/wait.S: Likewise.
31218 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31219 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31221 * configure.in (arm*-none*): Do not allow without
31222 --enable-hacker-mode.
31223 (netbsd*): Remove case setting base_os.
31224 (386bsd*): Likewise.
31225 (freebsd*): Likewise.
31228 (sunos*): Likewise.
31229 (ultrix*): Likewise.
31230 (newsos*): Likewise.
31231 (dynix*): Likewise.
31237 (minix*): Likewise.
31238 (irix4*): Likewise.
31239 (irix6*): Likewise.
31240 (solaris[2-9]*): Likewise.
31242 * configure: Regenerated.
31244 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31247 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31248 overflow or cancellation in calculating denominator.
31249 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31250 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31251 down expression to avoid unexpected rounding in newer GCCs.
31252 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31254 2012-04-26 David S. Miller <davem@davemloft.net>
31256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31257 long-double compat symbols.
31258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31272 2012-04-25 David S. Miller <davem@davemloft.net>
31274 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31275 HWCAP_* values only after the memory barriers have been defined.
31276 (atomic_full_barrier): Define.
31277 (atomic_read_barrier): Define.
31278 (atomic_write_barrier): Define.
31280 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31282 * shlib-versions: Add libgcc_s version information.
31283 * sysdeps/generic/libgcc_s.h: Remove.
31284 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31286 * sysdeps/gnu/unwind-resume.c: Likewise.
31287 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31289 2012-04-25 David S. Miller <davem@davemloft.net>
31291 * sysdeps/unix/sparc/brk.S: Delete.
31292 * sysdeps/unix/sparc/dl-brk.S: Delete.
31293 * sysdeps/unix/sparc/pipe.S: Delete.
31294 * sysdeps/unix/sparc/sysdep.S: Delete.
31295 * sysdeps/unix/sparc/sysdep.h: Delete.
31296 * sysdeps/unix/sparc/vfork.S: Delete.
31297 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31298 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31299 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31300 ret_ERRVAL, r0, r1, MOVE): Define.
31301 (JUMPTARGET): Remove.
31302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31303 sysdeps/unix/sparc/sysdep.h
31304 (ENTRY, END): Remove.
31305 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31307 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31309 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31310 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31313 * timezone/README: Update upstream location and email address for
31315 * timezone/zdump.c: Update from tzcode 2012b.
31316 * timezone/zic.c: Likewise.
31318 * configure.in (libc_cv_as_needed): Remove test.
31319 * configure: Regenerated.
31320 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31321 conditional definition.
31322 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31323 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31324 * config.make.in (have-as-needed): Remove variable.
31326 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31327 Paul Pluzhnikov <ppluzhnikov@google.com>
31329 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31332 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31334 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31335 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31336 * sysdeps/sh/strlen.S: Likewise.
31338 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31340 * sysdeps/unix/fork.S: Remove file.
31341 * sysdeps/unix/i386/fork.S: Likewise.
31342 * sysdeps/unix/sparc/fork.S: Likewise.
31344 * sysdeps/unix/system.c: Remove file.
31345 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31347 * sysdeps/unix/getegid.S: Remove file.
31348 * sysdeps/unix/geteuid.S: Likewise.
31350 2012-04-24 Roland McGrath <roland@hack.frob.com>
31352 * scripts/check-localplt.awk: New file.
31353 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31355 * scripts/data/localplt-generic.data: Add a comment.
31357 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31358 NODE when __dir_mkfile failed.
31359 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31360 Reported by Ludovic Courtès <ludo@gnu.org>.
31362 2012-04-24 Andreas Jaeger <aj@suse.de>
31364 * Makerules (common-clean): Also remove gen-as-const-headers
31367 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31369 * Makerules (native-compile): Do not change working directory for
31370 build. Use $(OUTPUT_OPTION) in command.
31371 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31373 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31376 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31377 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31378 * math/libm-test.inc (floor_test): Add more tests.
31379 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31381 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31383 * sysdeps/unix/getdents.c: Remove file.
31384 * sysdeps/unix/sysv/getdents.c: Likewise.
31385 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31387 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31388 sysdeps/unix/mman/syscalls.list.
31390 (mprotect): Likewise.
31392 (munmap): Likewise.
31393 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31394 * sysdeps/unix/mman/syscalls.list: Remove.
31395 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31397 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31398 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31399 * configure: Regenerated.
31400 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31401 $(libgcc_s_suffix).
31402 * config.make.in (libgcc_s_suffix): Remove variable.
31404 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31406 * sysdeps/unix/sysv/gethostname.c: Move to ...
31407 * sysdeps/posix/gethostname.c: ... here.
31409 * sysdeps/unix/execve.S: Remove file.
31411 * sysdeps/unix/_exit.S: Remove file.
31413 2012-04-23 Andreas Jaeger <aj@suse.de>
31416 * manual/Makefile: Remove make dist support, there's no
31417 need for a stand-alone documentation tar ball.
31418 (TEXI2DVI): Define always, it's not in Makeconfig.
31421 (edition): Removed.
31422 (glibc-doc-$(edition).tar): Removed
31426 (ETAGS): Remove, it's in Makeconfig.
31427 (move-if-change): Remove, it's in Makeconfig.
31429 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31432 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31433 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31434 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31435 (strtod_l, strtof_l, strtold_l): Remove __wur.
31436 It is not necessarily an error to ignore strtol's return value.
31437 One can reliably look at the stored endptr to decide whether
31438 the number had valid syntax.
31440 2012-04-21 Andreas Jaeger <aj@suse.de>
31443 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31445 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31447 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31448 * sysdeps/unix/sysv/Versions: Remove file.
31450 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31455 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31458 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31459 version from __vm86.
31461 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31463 * sysdeps/unix/common/lxstat.c: Remove file.
31464 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31466 * sysdeps/unix/sysv/Makefile: Remove file.
31468 * sysdeps/unix/sysv/direct.h: Remove file.
31470 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31471 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31472 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31473 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31474 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31475 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31476 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31478 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31480 * sysdeps/unix/xmknod.c: Remove file.
31481 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31483 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31485 * sysdeps/unix/sysv/i386/time.S: Remove file.
31487 * sysdeps/unix/fxstat.c: Remove file.
31488 * sysdeps/unix/xstat.c: Likewise.
31489 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31491 * sysdeps/unix/sysv/sigaction.c: Remove file.
31493 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31494 (sysdep_headers): Remove variable.
31495 [termio.h not in sysdep_headers] (generated): Likewise.
31496 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31497 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31498 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31499 * sysdeps/unix/sysv/tcflow.c: Likewise.
31500 * sysdeps/unix/sysv/tcflush.c: Likewise.
31501 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31502 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31503 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31504 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31505 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31507 * sysdeps/unix/siglist.c: Remove file.
31509 * sysdeps/unix/getppid.S: Remove file.
31511 * sysdeps/unix/mkdir.c: Remove file.
31512 * sysdeps/unix/rmdir.c: Likewise.
31514 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31516 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31518 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31519 errlist-compat value.
31521 2012-04-18 David S. Miller <davem@davemloft.net>
31523 * sysdeps/generic/memcopy.h (reg_char): Delete.
31524 * debug/strcat_chk.c: Use char, not reg_char.
31525 * debug/strcpy_chk.c: Likewise.
31526 * debug/strncat_chk.c: Likewise.
31527 * debug/strncpy_chk.c: Likewise.
31528 * string/memchr.c: Likewise.
31529 * string/memrchr.c: Likewise.
31530 * string/rawmemchr.c: Likewise.
31531 * string/strcat.c: Likewise.
31532 * string/strchr.c: Likewise.
31533 * string/strchrnul.c: Likewise.
31534 * string/strcmp.c: Likewise.
31535 * string/strcpy.c: Likewise.
31536 * string/strncat.c: Likewise.
31537 * string/strncmp.c: Likewise.
31538 * string/strncpy.c: Likewise.
31540 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31542 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31543 __builtin_memcopy is called when src and dest ranges are known to not
31546 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31548 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31549 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31550 fwd_align_merge macro call.
31551 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31552 bwd_align_merge macro call.
31553 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31555 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31557 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31558 bwd_align_merge macros.
31559 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31560 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31561 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31563 2012-04-18 David S. Miller <davem@davemloft.net>
31565 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31567 2012-04-18 Andreas Jaeger <aj@suse.de>
31570 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31571 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31572 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31574 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31575 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31576 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31578 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31579 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31580 Adjust for changed ldbl-128 files.
31582 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31583 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31584 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31586 2012-04-17 David S. Miller <davem@davemloft.net>
31588 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31590 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31592 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31593 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31594 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31595 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31596 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31597 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31599 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31602 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31603 * math/libm-test.inc: Add ilogb errno and exception tests.
31604 * math/w_ilogb.c: New file: ilogb wrapper.
31605 * math/w_ilogbf.c: New file: ilogbf wrapper.
31606 * math/w_ilogbl.c: New file: ilogbl wrapper.
31607 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31608 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31609 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31610 exception being thrown with 0.0 as argument.
31611 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31612 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31613 exception being thrown with 0.0 as argument.
31614 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31615 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31616 exception being thrown with 0.0 as argument.
31617 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31618 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31619 exception being thrown with 0.0 as argument.
31620 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31621 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31622 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31623 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31624 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31625 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31626 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31627 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31628 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31630 2012-04-17 Petr Baudis <pasky@ucw.cz>
31632 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31635 2012-04-16 Marek Polacek <polacek@redhat.com>
31637 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31639 2012-04-16 Marek Polacek <polacek@redhat.com>
31641 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31642 operands of fdivp instruction.
31644 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31646 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31647 * elf/tst-auditmod3b.c: Likewise.
31648 * elf/tst-auditmod4b.c: Likewise.
31649 * elf/tst-auditmod5b.c: Likewise.
31650 * elf/tst-auditmod6b.c: Likewise.
31651 * elf/tst-auditmod6c.c: Likewise.
31652 * elf/tst-auditmod7b.c: Likewise.
31653 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31654 * sysdeps/x86_64/preconfigure.in: Likewise.
31655 * sysdeps/x86_64/preconfigure: Regenerated.
31657 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31659 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31662 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31664 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31665 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31667 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31670 * locale/iso-639.def: Fix gl language name. Spotted by
31673 2012-04-12 Roland McGrath <roland@hack.frob.com>
31676 * libio/libio.h (__io_write_fn): Update comment.
31678 2012-04-12 Petr Baudis <pasky@ucw.cz>
31681 * stdio.texi (Hook Functions): The user provided writer function
31682 is not allowed to return -1.
31684 2012-04-11 David S. Miller <davem@davemloft.net>
31686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31688 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31690 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31691 Add a leading slash to rtkaio.
31693 2012-04-11 Jim Meyering <meyering@redhat.com>
31696 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31697 It is not necessarily an error to ignore fwrite's return
31698 value. One can reliably use ferror to test for errors after
31701 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31703 * bits/types.h (__snseconds_t): New type.
31704 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31706 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31707 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31708 (__SNSECONDS_T_TYPE): Likewise.
31709 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31710 (__SNSECONDS_T_TYPE): Likewise.
31711 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31712 (__SNSECONDS_T_TYPE): Likewise.
31714 2012-04-10 Andreas Jaeger <aj@suse.de>
31717 * manual/time.texi (Processor Time): Return type of times is
31718 elapsed real time since an arbitrary point in the past.
31719 (CPU Time): Move CLK_TCK from here...
31720 (Processor Time): ...to here. Correct description.
31721 * manual/conf.texi (Constants for Sysconf): Correct description of
31724 2012-04-10 David S. Miller <davem@davemloft.net>
31727 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31728 where the is a gap between DT_REL(A) and DT_JMPREL.
31730 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31732 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31733 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31734 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31736 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31738 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31739 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31740 (dl_main): Handle --inhibit-cache.
31741 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31743 * elf/dl-load.c (_dl_map_object): Use it.
31744 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31746 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31749 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31750 (__ieee754_powl): Saturate large exponents rather than testing for
31751 overflow of y*log2(x).
31752 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31753 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31757 * math/s_ctan.c: Include <float.h>.
31758 (__ctan): Avoid internal overflow or cancellation in calculating
31760 * math/s_ctanf.c: Likewise.
31761 * math/s_ctanl.c: Likewise.
31762 * math/s_ctanh.c: Likewise.
31763 * math/s_ctanhf.c: Likewise.
31764 * math/s_ctanhl.c: Likewise.
31765 * math/libm-test.inc (ctan_test): Add more tests.
31766 (ctanh_test): Likewise.
31767 * sysdeps/i386/fpu/libm-test-ulps: Update.
31768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31770 2012-04-09 Andreas Jaeger <aj@suse.de>
31773 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31774 is an optional BSD extension.
31777 * manual/stdio.texi (Opening Streams): Document additional fopen
31780 2012-04-09 Roland McGrath <roland@hack.frob.com>
31782 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31783 %eax without telling the compiler.
31785 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31788 * manual/install.texi: Use sourceware.org.
31790 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31793 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31794 (__ieee754_pow): Generate overflow and underflow using huge*huge
31795 and tiny*tiny rather than just returning constant infinity or zero
31796 for large exponents.
31797 * math/libm-test.inc (pow_test): Require overflow exceptions for
31798 applicable cases of large exponents.
31801 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31802 (__ieee754_pow): Use iterative multiplication algorithm only for
31803 integer exponents with absolute value below 1024. Check for odd
31804 integer exponents when using algorithm for real exponents.
31805 * math/libm-test.inc (pow_test): Add more tests.
31806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31808 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31811 * math/libm-test.inc (exp_test): Do not allow overflow exception
31814 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31817 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31818 instead of __kernel_standard_f.
31820 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31822 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31823 * sysdeps/x86_64/memset_chk.S: Likewise.
31825 2012-04-08 Andreas Jaeger <aj@suse.de>
31828 * manual/startup.texi (Environment Access): Describe return value
31829 for putenv and setenv.
31832 * manual/filesys.texi (Directory Entries): Add description for
31836 * manual/filesys.texi (Directory Entries): Clarify that it's file
31837 system not operating system in the description of DT_UNKNOWN.
31840 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31842 2012-04-08 Stephen Compall <s11@member.fsf.org>
31845 * manual/llio.texi (Opening and Closing Files): Add cross
31846 reference to explain mode argument.
31848 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31850 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31851 * sysdeps/x86_64/memset_chk.S: Likewise.
31853 2012-04-07 David S. Miller <davem@davemloft.net>
31855 * elf/elf.h (R_SPARC_WDISP10): Define.
31856 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31858 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31859 R_SPARC_SIZE64 and R_SPARC_H34.
31861 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31863 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31864 conditions and remove no longer applicable assertion.
31866 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31868 * 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-06 H.J. Lu <hongjiu.lu@intel.com>
31874 * bits/byteswap.h (__bswap_16): Removed.
31875 Include <bits/byteswap-16.h> to get __bswap_16.
31876 * sysdeps/i386/bits/byteswap.h: Likewise.
31877 * sysdeps/s390/bits/byteswap.h: Likewise.
31878 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31879 * bits/byteswap-16.h: New file.
31880 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31881 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31882 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31883 * string/Makefile (headers): Add bits/byteswap-16.h.
31885 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31888 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31890 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31891 * nss/tst-nss-static.c: New.
31893 2012-04-06 Robert Millan <rmh@gnu.org>
31896 * manual/llio.texi (File Position Primitive): lseek
31897 refers to WHENCE when it really means OFFSET.
31899 2012-04-06 Andreas Jaeger <aj@suse.de>
31901 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31902 strncmp declarations.
31904 * abilist/libc.abilist: Add __poll and __ppoll.
31906 2012-04-05 David S. Miller <davem@davemloft.net>
31908 * scripts/check-local-headers.sh: Accept a host triplet in the
31909 path matched by the exclude regexp.
31911 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31913 * sysdeps/powerpc/powerpc32/dl-machine.h
31914 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31915 * sysdeps/s390/s390-32/dl-machine.h
31916 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31917 * sysdeps/sparc/sparc32/dl-machine.h
31918 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31919 * sysdeps/sparc/sparc64/dl-machine.h
31920 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31922 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31924 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31925 undefined symbol errors.
31927 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31930 2012-04-05 Michael Matz <matz@suse.de>
31933 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31935 2012-04-05 Andreas Jaeger <aj@suse.de>
31938 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31941 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31943 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31944 which ROUND is no valid rounding mode.
31946 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31948 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31950 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31952 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31954 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31955 an exception using FPU order intentionally.
31957 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31959 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31960 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31961 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31962 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31964 2012-04-05 Simon Josefsson <simon@josefsson.org>
31967 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31968 EINVAL when BUFLEN is too smal.
31970 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31973 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31974 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31976 2012-04-03 Andreas Jaeger <aj@suse.de>
31979 * manual/setjmp.texi (System V contexts): Fix sentence.
31982 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31983 New macro for this case.
31984 [!__GNUC__] (__bswap_64): New inline function for this case.
31985 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31986 * bits/byteswap.h: Likewise.
31987 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31988 ull, guard with __GLIBC_HAVE_LONG_LONG.
31990 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31991 __GLIBC_HAVE_LONG_LONG.
31993 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31994 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31996 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31999 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32000 inptr and inend, rather than using last_ch.
32002 2012-04-02 David S. Miller <davem@davemloft.net>
32004 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32005 * stdio-common/printf-parse.h (read_int): Change return type to
32006 'int', return -1 on INT_MAX overflow.
32007 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32008 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32009 overflows INT_MAX. Check for overflow of in-format-string precision
32010 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32011 SIZE_MAX not INT_MAX for integer overflow test.
32012 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32013 skip the construct in the format string but do not record anything.
32014 * stdio-common/bug22.c: Adjust to test both width/prevision
32015 INT_MAX overflow as well as total length INT_MAX overflow. Check
32016 explicitly for proper errno values.
32018 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32020 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32022 * string/test-strcmp.c [! WIDE]: Likewise.
32023 * time/tst-mktime2.c: Likewise for INT_MAX.
32024 * string/test-string.h: #include <sys/param.h> for MIN.
32026 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32027 * sysdeps/i386/init-first.c (init): Likewise.
32028 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32029 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32030 * sysdeps/sh/init-first.c (init): Likewise.
32032 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32034 * po/ru.po: Update from translation team.
32035 * po/vi.po: Likewise.
32037 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32039 * resolv/nss_dns/dns-host.c: Merge copyright years.
32041 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32043 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32044 Optimize memcpy with prefetch if
32045 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32046 src, dst pointers have unequal 16 byte alignments.
32048 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32051 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32052 from a CNAME entry and return the minimum ttl for the query.
32053 (gaih_getanswer_slice): Likewise.
32055 2012-03-30 Jeff Law <law@redhat.com>
32057 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32059 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32060 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32062 * resolv/nss_dns/dns-host.c: Update copyright year.
32064 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32066 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32067 requests to save a system call. Fix check that all bytes are sent.
32069 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32070 comments for sendmmsg.
32072 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32075 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32076 with only 1 character between 0x0041 and 0x01b0.
32077 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32078 * wcsmbs/tst-mbsnrtowcs.c: New file.
32080 2012-03-29 David S. Miller <davem@davemloft.net>
32082 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32083 small copies by hand.
32085 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32088 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32089 _nss_compat_initgroups_dyn): Fall back to malloc/free
32090 for large group memberships.
32092 2012-03-28 David S. Miller <davem@davemloft.net>
32094 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32095 that branches into memcpy.
32096 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32097 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32098 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32099 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32102 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32103 implementation too.
32104 * sysdeps/sparc/mempcpy.S: New file.
32106 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32107 the IFUNC routine in the libc case.
32108 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32110 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32111 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32112 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32113 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32114 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32115 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32116 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32117 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32119 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32120 loop to 256 bytes instead of 64 bytes and fix test signedness.
32122 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32123 * sysdeps/sparc/sparc32/Makefile: rather than here...
32124 * sysdeps/sparc/sparc64/Makefile: and here.
32126 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32128 * malloc/mallocbug.c: Avoid warnings about unused variables.
32130 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32133 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32134 in the right place. Discard and retry query if response is
32135 larger than input buffer size.
32137 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32142 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32143 x for large integer exponent.
32144 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32145 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32146 sign of result as needed afterwards.
32147 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32148 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32149 result for underflowing pow the same as for overflow.
32150 (__kernel_standard_l): Handle powl overflow and underflow here
32151 rather than calling __kernel_standard.
32152 * math/libm-test.inc (pow_test): Add more tests.
32167 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32168 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32169 (__kernel_standard_l): New function.
32170 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32172 * math/w_acosl.c (__acosl): Likewise.
32173 * math/w_asinl.c (__asinl): Likewise.
32174 * math/w_atan2l.c (__atan2l): Likewise.
32175 * math/w_atanhl.c (__atanhl): Likewise.
32176 * math/w_coshl.c (__coshl): Likewise.
32177 * math/w_exp10l.c (__exp10l): Likewise.
32178 * math/w_exp2l.c (__exp2l): Likewise.
32179 * math/w_fmodl.c (__fmodl): Likewise.
32180 * math/w_hypotl.c (__hypotl): Likewise.
32181 * math/w_j0l.c (__j0l, __y0l): Likewise.
32182 * math/w_j1l.c (__j1l, __y1l): Likewise.
32183 * math/w_jnl.c (__jnl, __ynl): Likewise.
32184 * math/w_lgammal.c (__lgammal): Likewise.
32185 * math/w_log10l.c (__log10l): Likewise.
32186 * math/w_log2l.c (__log2l): Likewise.
32187 * math/w_logl.c (__logl): Likewise.
32188 * math/w_powl.c (__powl): Likewise.
32189 * math/w_remainderl.c (__remainderl): Likewise.
32190 * math/w_scalbl.c (sysv_scalbl): Likewise.
32191 * math/w_sinhl.c (__sinhl): Likewise.
32192 * math/w_sqrtl.c (__sqrtl): Likewise.
32193 * math/w_tgammal.c (__tgammal): Likewise.
32194 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32195 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32196 * math/libm-test.inc (acos_test): Add more tests.
32197 (acosh_test): Likewise.
32198 (asin_test): Likewise.
32199 (atanh_test): Likewise.
32200 (exp_test): Likewise.
32201 (exp10_test): Likewise.
32202 (exp2_test): Likewise.
32203 (expm1_test): Likewise.
32204 (lgamma_test): Likewise.
32205 (log_test): Likewise.
32206 (log10_test): Likewise.
32207 (log1p_test): Likewise.
32208 (log2_test): Likewise.
32209 (pow_test): Do not allow some spurious overflow exceptions.
32210 (sqrt_test): Add more tests.
32211 (tgamma_test): Likewise.
32212 (y0_test): Likewise.
32213 (y1_test): Likewise.
32214 (yn_test): Likewise.
32216 2012-03-27 Anton Blanchard <anton@samba.org>
32218 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32220 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32221 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32222 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32224 2012-03-27 David S. Miller <davem@davemloft.net>
32226 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32228 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32229 have-as-vis3 check.
32231 2012-03-27 Andreas Jaeger <aj@suse.de>
32233 * sysdeps/x86_64/elf/configure.in: Moved to ...
32234 * sysdeps/x86_64/configure.in: ... here.
32235 * sysdeps/x86_64/elf/start.S: Moved to ...
32236 * sysdeps/x86_64/start.S: ... here.
32237 * sysdeps/x86_64/elf/configure: Delete.
32239 * sysdeps/x86_64/configure.in: Merge contents from
32240 sysdeps/i386/configure.in (without i686 check).
32242 * sysdeps/i386/elf/Versions: Merge into ...
32243 * sysdeps/i386/Versions: ... this.
32244 * sysdeps/i386/elf/Versions: Delete file.
32245 * sysdeps/i386/elf/start.S: Moved to ...
32246 * sysdeps/i386/start.S: ...here.
32247 * sysdeps/i386/elf/configure.in: Merge into...
32248 * sysdeps/i386/configure.in: ...here.
32249 * sysdeps/i386/elf/configure.in: Delete file.
32250 * sysdeps/i386/elf/configure: Delete file.
32252 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32253 * debug/backtracesyms.c: ... here.
32254 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32255 * debug/backtracesymsfd.c: ... here.
32256 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32257 * sysdeps/generic/ifunc-sel.h: ... here.
32259 * sysdeps/unix/i386/start.c: Delete file.
32260 * sysdeps/unix/sparc/start.c: Delete file.
32261 * sysdeps/unix/start.c: Delete file.
32263 * sysdeps/sh/elf/configure.in: Moved to ...
32264 * sysdeps/sh/configure.in: ... here.
32265 * sysdeps/sh/elf/start.S: Moved to ...
32266 * sysdeps/sh/start.S: ... here.
32267 * sysdeps/sh/elf/configure: Delete file.
32269 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32270 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32271 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32272 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32273 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32274 * sysdeps/powerpc/powerpc64/start.S: here.
32275 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32276 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32277 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32278 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32279 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32281 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32282 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32283 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32284 * sysdeps/powerpc/powerpc32/start.S: ... here.
32285 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32286 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32287 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32289 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32290 * sysdeps/powerpc/ifunc-sel.h: ... here.
32291 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32292 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32294 * sysdeps/sparc/elf/configure.in: Moved to ...
32295 * sysdeps/sparc/configure.in: ... here.
32296 * sysdeps/sparc/elf/configure: Delete file.
32297 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32298 * sysdeps/sparc/sparc32/start.S: ... here.
32299 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32300 * sysdeps/sparc/sparc64/start.S: ... here.
32301 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32302 * sysdeps/sparc/sparc32/Makefile: ... this.
32303 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32304 * sysdeps/sparc/sparc64/Makefile: ... this.
32306 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32307 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32308 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32309 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32310 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32311 * sysdeps/s390/s390-32/setjmp.S: ... here.
32312 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32313 * sysdeps/s390/s390-32/configure.in: ... here.
32314 * sysdeps/s390/s390-32/elf/configure: Delete file.
32315 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32316 * sysdeps/s390/s390-32/start.S: ... here.
32318 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32319 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32320 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32321 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32322 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32323 * sysdeps/s390/s390-64/setjmp.S: ... here.
32324 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32325 * sysdeps/s390/s390-64/configure.in: ... here
32326 * sysdeps/s390/s390-64/elf/configure: Delete file.
32327 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32328 * sysdeps/s390/s390-64/start.S: ... here.
32329 * sysdeps/s390/s390-64/elf/configure: Delete.
32331 * configure.in: Remove support for elf directories in sysdeps.
32333 * configure: Regenerated.
32334 * sysdeps/i386/configure: Regenerated.
32335 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32336 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32337 * sysdeps/s390/s390-32/configure: Regenerated.
32338 * sysdeps/s390/s390-64/configure: Regenerated.
32339 * sysdeps/sh/configure: Regenerated.
32340 * sysdeps/sparc/configure: Regenerated.
32341 * sysdeps/x86_64/configure: Regenerated.
32343 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32347 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32348 denormal result into account.
32350 2012-03-25 Roland McGrath <roland@hack.frob.com>
32352 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32353 Reported by Allan McRae <allan@archlinux.org>.
32355 2012-03-23 Jeff Law <law@redhat.com>
32357 * nss/getnssent.c (__nss_getent): Fix typo.
32359 2012-03-23 David S. Miller <davem@davemloft.net>
32361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32363 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32365 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32366 to pad to uint64_t for each field.
32367 (dl_tls_index): Replace unsigned long with uint64_t.
32369 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32370 Paul Pluzhnikov <ppluzhnikov@google.com>
32373 * grp/Makefile (otherlibs): Don't set it.
32374 * inet/Makefile (otherlibs): Likewise.
32375 * login/Makefile (otherlibs): Likewise.
32376 * nscd/Makefile (otherlibs): Likewise.
32377 * posix/Makefile (otherlibs): Likewise.
32378 * pwd/Makefile (otherlibs): Likewise.
32379 * rt/Makefile (otherlibs): Likewise.
32380 * sunrpc/Makefile (otherlibs): Likewise.
32381 * nss/Makefile (otherlibs): Likewise.
32382 Add libnss_files to routines and static-only-routines.
32383 ($(objpfx)getent): Remove rule.
32384 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32385 static-only-routines.
32387 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32390 * math/s_cexp.c: Include <float.h>.
32391 (__cexp): Handle exp result overflowing not necessarily
32392 overflowing both real and imaginary parts of result.
32393 * math/s_cexpf.c: Likewise.
32394 * math/s_cexpl.c: Likewise.
32395 * math/libm-test.inc (cexp_test): Add more tests.
32396 * sysdeps/i386/fpu/libm-test-ulps: Update.
32397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32399 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32401 * include/link.h (ELFW): New macro.
32402 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32403 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32405 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32407 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32410 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32412 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32414 (struct La_x32_retval): Likewise.
32416 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32418 * sysdeps/x86_64/preconfigure.in: New file.
32419 * sysdeps/x86_64/preconfigure: New generated file.
32421 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32424 * math/e_exp2l.c: Include <float.h>.
32425 (__ieee754_exp2l): Handle overflow and underflow cases
32426 separately. Only pass fractional part of argument to
32428 * math/libm-test.inc (exp2_test): Add more tests.
32430 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32431 negating x to take absolute value.
32432 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32434 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32435 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32437 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32438 computing low part if x was negated.
32439 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32441 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32443 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32444 la_x32_gnu_pltexit.
32445 (pltexit): Cast int_retval to ptrdiff_t.
32446 * elf/tst-auditmod3b.c: Likewise.
32447 * elf/tst-auditmod4b.c: Likewise.
32448 * elf/tst-auditmod5b.c: Likewise.
32449 * elf/tst-auditmod6b.c: Likewise.
32450 * elf/tst-auditmod6c.c: Likewise.
32451 * elf/tst-auditmod7b.c: Likewise.
32453 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32454 and x32_gnu_pltexit.
32456 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32457 __ELF_NATIVE_CLASS.
32458 (La_x32_regs): New macro.
32459 (La_x32_retval): Likewise.
32460 (la_x32_gnu_pltenter): New function prototype.
32461 (la_x32_gnu_pltexit): Likewise.
32463 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32465 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32470 * configure.in (libc_cv_cc_nofma): Check for option to disable
32471 generation of FMA instructions.
32472 * configure: Regenerate.
32473 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32474 * sysdeps/ieee754/dbl-64/Makefile: New file.
32475 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32476 Remove brandred-fma4.
32477 (CFLAGS-brandred-fma4.c): Remove.
32478 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32479 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32481 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32484 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32486 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32487 LLONG_MAX != LONG_MAX.
32488 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32489 (_fitoa_word): Likewise.
32490 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32491 LLONG_MAX != LONG_MAX.
32492 * stdio-common/_itowa.h: Include <_itoa.h>.
32493 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32494 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32495 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32496 only if not defined.
32497 (_ITOA_WORD_TYPE): Likewise.
32498 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32499 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32501 2012-03-21 David S. Miller <davem@davemloft.net>
32503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32505 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32507 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32508 of x86_64 when setting libc_cv_slibdir, libdir and
32510 * sysdeps/unix/sysv/linux/configure: Regenerated.
32512 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32514 * manual/lang.texi (Old Varargs): Remove section.
32515 (How Variadic): Update menu.
32516 (va_start): Do not mention varargs.h.
32518 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32519 Joseph Myers <joseph@codesourcery.com>
32521 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32523 * configure: Regenerated.
32525 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32527 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32528 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32531 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32534 * Makefile (files-for-dist): Remove NOTES.
32535 (NOTES): Remove rule.
32536 * README: Don't refer to NOTES.
32537 * manual/creature.texi: Don't include macros.texi.
32538 * manual/intro.texi (creature.texi): Remove comment referring to
32541 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32542 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32543 * configure: Regenerated.
32544 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32545 LIBC_TRY_CC_OPTION.
32546 (libc_cv_as_i686): Likewise.
32547 (libc_cv_cc_avx): Likewise.
32548 (libc_cv_cc_sse2avx): Likewise.
32549 (libc_cv_cc_fma4): Likewise.
32550 (libc_cv_cc_novzeroupper): Likewise.
32551 * sysdeps/i386/configure: Regenerated.
32554 * sysdeps/i386/fpu/s_cexp.S: Remove.
32555 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32556 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32557 * math/libm-test.inc (cexp_test): Add more tests.
32558 * sysdeps/i386/fpu/libm-test-ulps: Update.
32559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32561 2012-03-21 Allan McRae <allan@archlinux.org>
32563 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32565 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32568 * math/w_exp2.c: Do not include <float.h>.
32569 (o_threshold, u_threshold): Remove.
32570 (__exp2): Calculate result before checking finiteness and calling
32572 * math/w_exp2f.c: Likewise.
32573 * math/w_exp2l.c: Likewise.
32574 * math/libm-test.inc (exp2_test): Require overflow exception for
32578 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32579 range of signed 64-bit integers before using fistpll. Remove
32580 checks for whether integers fit in mantissa bits.
32581 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32582 the range of signed 32-bit integers before using fistpl. Remove
32583 checks for whether integers fit in mantissa bits.
32584 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32585 (__ieee754_powl): Test for y outside the range of signed 64-bit
32586 integers before using fistpll. Reduce 64-bit values to 63-bit
32588 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32589 divide-by-zero is raised for zero to large negative powers.
32590 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32591 (__ieee754_powl): Test for y outside the range of signed 64-bit
32592 integers before using fistpll. Reduce 64-bit values to 63-bit
32594 * math/libm-test.inc (pow_test): Add more tests.
32596 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32598 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32599 <stdio-common/_itoa.h>.
32600 * debug/segfault.c: Likewise.
32601 * elf/dl-cache.c: Likewise.
32602 * elf/dl-minimal.c: Likewise.
32603 * elf/dl-misc.c: Likewise.
32604 * elf/dl-sysdep.c: Likewise.
32605 * elf/dl-version.c: Likewise.
32606 * elf/rtld.c: Likewise.
32607 * hurd/hurdsock.c: Likewise.
32608 * hurd/lookup-retry.c: Likewise.
32609 * malloc/malloc.c: Likewise.
32610 * malloc/mtrace.c: Likewise.
32611 * nscd/nscd_getgr_r.c: Likewise.
32612 * nscd/nscd_getpw_r.c: Likewise.
32613 * nscd/nscd_getserv_r.c: Likewise.
32614 * posix/getopt_init.c: Likewise.
32615 * posix/wordexp.c: Likewise.
32616 * stdio-common/_itoa.c: Likewise.
32617 * stdio-common/printf_fphex.c: Likewise.
32618 * stdio-common/vfprintf.c: Likewise.
32619 * string/_strerror.c: Likewise.
32620 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32621 * sysdeps/i386/i686/hp-timing.h: Likewise.
32622 * sysdeps/mach/_strerror.c: Likewise.
32623 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32624 * sysdeps/mach/hurd/sethostid.c: Likewise.
32625 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32626 * sysdeps/mach/xpg-strerror.c: Likewise.
32627 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32628 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32629 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32630 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32631 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32632 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32633 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32634 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32635 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32636 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32637 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32638 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32639 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32640 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32641 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32642 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32643 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32644 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32645 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32646 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32647 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32649 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32651 * stdio-common/_itoa.h: Moved to ...
32652 * sysdeps/generic/_itoa.h: Here.
32654 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32656 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32657 instead of "_itoa.h" and "_itowa.h".
32658 * stdio-common/vfprintf.: Likewise.
32660 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32662 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32664 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32665 (__signbit): Likwise.
32666 (llrintf): Likwise.
32669 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32671 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32674 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32676 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32677 OVERFLOW_EXCEPTION_OK.
32678 * math/libm-test.inc ("Philosophy"): Update comment about
32680 (OVERFLOW_EXCEPTION): Define.
32681 (OVERFLOW_EXCEPTION_OK): Likewise.
32682 (INVALID_EXCEPTION_OK): Renumber.
32683 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32684 (IGNORE_ZERO_INF_SIGN): Likewise.
32685 (test_exceptions): Handle FE_OVERFLOW.
32686 (exp10_test): Expect overflow exceptions.
32687 (exp2_test): Likewise.
32688 (expm1_test): Likewise.
32689 (nextafter_test): Likewise.
32690 (pow_test): Likewise.
32691 (scalbn_test): Likewise.
32692 (scalbln_test): Likewise.
32694 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32696 * sysdeps/x86_64/bits/atomic.h
32697 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32699 (atomic_exchange_acq): Likewise.
32700 (__arch_exchange_and_add_body): Likewise.
32701 (__arch_add_body): Likewise.
32702 (atomic_add_negative): Likewise.
32703 (atomic_add_zero): Likewise.
32705 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32707 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32708 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32710 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32712 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32713 Check __x86_64__ instead of __WORDSIZE.
32715 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32717 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32719 2012-03-19 David S. Miller <davem@davemloft.net>
32721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32723 * sysdeps/sparc/fpu/fenv_private.h: New file.
32724 * sysdeps/sparc/fpu/math_private.h: Use it.
32725 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32727 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32728 (libc_feholdexcept_setroundl): Remove.
32729 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32731 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32732 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32734 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32736 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32737 int64_t instead of long int.
32738 (INSERT_WORDS64): Likwise.
32740 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32742 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32743 _Unwind_GetCFA return to _Unwind_Ptr first.
32745 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32748 * math/s_clog.c: Include <float.h>.
32749 (__clog): Scale large or subnormal inputs.
32750 * math/s_clogf.c: Likewise.
32751 * math/s_clogl.c: Likewise.
32752 * math/s_clog10.c: Include <float.h>.
32753 (M_LOG10_2): Define.
32754 (__clog10): Scale large or subnormal inputs.
32755 * math/s_clog10f.c: Likewise.
32756 * math/s_clog10l.c: Likewise.
32757 * math/libm-test.inc (clog_test): Add more tests.
32758 (clog10_test): Likewise.
32759 * sysdeps/i386/fpu/libm-test-ulps: Update.
32760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32763 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32765 * math/libm-test.inc (atan2_test): Add another test.
32767 * Makerules (common-objdir-compile): Remove.
32768 * sysdeps/unix/Makefile (config-generated): Do not add
32769 $(unix-generated) to variable.
32770 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32771 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32773 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32775 [generic bits/local_lim.h] (before-compile): Do not append to
32777 [generic bits/local_lim.h] (common-generated): Likewise.
32778 [generic sys/param.h] (before-compile): Do not append to variable.
32779 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32780 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32781 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32782 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32784 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32785 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32786 [generic sys/param.h] ($(addprefix
32787 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32788 [generic sys/param.h] (common-generated): Do not append to
32790 [generic sys/param.h] (sysdep_headers): Likewise.
32791 [generic bits/errno.h] (before-compile): Do not append to
32793 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32795 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32796 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32797 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32798 [generic bits/errno.h] (common-generated): Do not append to
32800 [generic bits/ioctls.h] (before-compile): Do not append to
32802 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32804 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32805 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32806 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32808 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32809 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32810 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32811 [generic bits/ioctls.h] (common-generated): Do not append to
32813 [generic sys/syscall.h] (syscall.h): Remove variable.
32814 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32816 [generic sys/syscall.h] (before-compile): Do not append to
32818 [generic sys/syscall.h] (common-generated): Likewise.
32819 * sysdeps/unix/errnos-tmpl.c: Remove file.
32820 * sysdeps/unix/errnos.awk: Likewise.
32821 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32822 * sysdeps/unix/ioctls.awk: Likewise.
32823 * sysdeps/unix/mk-local_lim.c: Likewise.
32824 * sysdeps/unix/snarf-ioctls: Likewise.
32826 2012-03-19 Richard Henderson <rth@twiddle.net>
32828 * sysdeps/i386/fpu/fenv_private.h: New file.
32829 * sysdeps/i386/fpu/math_private.h: Use it.
32830 (math_opt_barrier, math_force_eval): Remove.
32831 (libc_feholdexcept_setround_53bit): Remove.
32832 (libc_feupdateenv_53bit): Remove.
32833 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32834 (math_opt_barrier, math_force_eval): Remove.
32835 (libc_feholdexcept): Remove.
32836 (libc_feholdexcept_setround): Remove.
32837 (libc_fetestexcept, libc_fesetenv): Remove.
32838 (libc_feupdateenv_test): Remove.
32839 (libc_feupdateenv, libc_feholdsetround): Remove.
32840 (libc_feresetround): Remove.
32842 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32843 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32845 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32846 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32847 (libc_feupdateenv_testl): New.
32848 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32849 (libc_feupdateenv_testf): New.
32850 (libc_feupdateenv): Use libc_feupdateenv_test.
32851 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32852 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32854 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32855 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32856 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32857 (libc_feresetround_noex): New.
32858 (libc_feresetround_noexf): New.
32859 (libc_feresetround_noexl): New.
32860 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32861 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32862 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32863 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32866 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32868 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32869 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32870 SET_RESTORE_ROUND_NOEX.
32871 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32872 SET_RESTORE_ROUND_NOEXF.
32873 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32874 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32875 (libc_feholdsetroundf): New.
32876 (libc_feresetround, libc_feresetroundf): New.
32878 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32879 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32880 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32882 * sysdeps/generic/math_private.h: Include <fenv.h>.
32883 (default_libc_feholdexcept): New.
32884 (default_libc_feholdexcept_setround): New.
32885 (default_libc_fesetenv, default_libc_feupdateenv): New.
32886 (libc_feholdexcept): Only define if undefined.
32887 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32888 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32889 (libc_feholdexcept_setroundl): Likewise.
32890 (libc_feholdexcept_setround_53bit): Likewise.
32891 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32892 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32893 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32894 (libc_feupdateenv_53bit): Likewise.
32895 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32896 (libc_feholdexcept): Convert from macro to inline function.
32897 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32898 (libc_fesetenv, libc_feupdateenv): Likewise.
32900 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32901 not previously defined.
32902 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32903 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32904 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32905 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32906 * sysdeps/ieee754/flt-32/math_private.h: New file.
32907 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32908 math_private.h below SET_FLOAT_WORD.
32909 (__isnan, __isinf_ns, __finite): Remove.
32910 (__isnanf, __isinf_nsf, __finitef): Remove.
32912 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32916 2012-03-17 David S. Miller <davem@davemloft.net>
32919 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32922 2012-03-16 David S. Miller <davem@davemloft.net>
32924 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32928 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32930 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32931 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32932 sysdep_routines when subdir is sysvipc.
32933 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32934 __getshmlba helper.
32936 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32938 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32940 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32943 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32945 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32946 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32947 (__lround): Renamed to ...
32948 (__llround): This. Replace long int with long long int.
32949 Define lround functions as aliases of llround functions.
32950 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32952 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32954 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32955 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32956 adresses to uintptr_t. Replace "long int" and "unsigned long
32957 int" with "greg_t" on va_arg.
32959 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32961 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32962 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32964 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32965 Move e_machine check before EI_CLASS check. Handle x32
32966 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32967 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32968 SKIP_EM_IA_64 and include
32969 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32971 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32972 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32973 (add_system_dir): New macro.
32975 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32976 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32978 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32989 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32991 * math/w_j0f.c (j0f): Likewise.
32993 * math/w_j0l.c (__j0l): Likewise.
32995 * math/w_j1.c (j1): Likewise.
32997 * math/w_j1f.c (j1f): Likewise.
32999 * math/w_j1l.c (__j1l): Likewise.
33001 * math/w_jn.c (jn): Likewise.
33003 * math/w_jnf.c (jnf): Likewise.
33005 * math/w_jnl.c (__jnl): Likewise.
33007 * math/libm-test.inc (j0_test): Add more tests.
33008 (j1_test): Likewise.
33009 (jn_test): Likewise. Add trailing semicolon to existing test.
33010 (y0_test): Likewise.
33011 (y1_test): Likewise.
33012 * sysdeps/i386/fpu/libm-test-ulps: Update.
33013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33017 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33018 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33019 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33020 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33021 (__tanl): Set errno for infinite argument.
33022 * sysdeps/i386/fpu/mptan.c: Remove.
33023 * sysdeps/i386/fpu/s_tan.S: Likewise.
33024 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33025 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33026 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33027 * math/libm-test.inc (tan_test): Add more tests and enable more
33028 tests for double and long double.
33029 * sysdeps/i386/fpu/libm-test-ulps: Update.
33030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33032 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33034 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33035 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33037 2012-03-16 Roland McGrath <roland@hack.frob.com>
33039 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33040 * configure.in: Use it for both main tree and add-ons.
33041 * configure: Regenerated.
33043 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33045 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33047 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33049 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33053 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33054 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33055 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33056 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33057 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33059 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33060 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33061 != 0 for prec == 2.
33062 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33063 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33064 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33065 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33066 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33067 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33068 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33069 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33070 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33071 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33072 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33073 * math/libm-test.inc (cos_test): Add more tests and enable more
33074 tests for long double.
33075 (sin_test): Likewise.
33076 (sincos_test): Likewise.
33077 * sysdeps/i386/fpu/libm-test-ulps: Update.
33078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33080 2012-03-16 David S. Miller <davem@davemloft.net>
33082 * sysdeps/sparc/fpu/math_private.h: New file.
33084 2012-03-15 David S. Miller <davem@davemloft.net>
33086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33096 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33100 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33101 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33103 * sysdeps/sparc/sparc-ifunc.h: New file.
33104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33128 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33129 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33130 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33131 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33133 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33142 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33143 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33144 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33145 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33146 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33147 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33149 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33151 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33155 2012-03-15 Andreas Jaeger <aj@suse.de>
33158 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33159 ieee754/flt-32 implementation for sin, cos and sincos.
33160 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33161 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33162 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33163 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33164 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33165 ieee754/flt-32 implementation for tan.
33167 * math/libm-test.inc (cos_test): Enable some large input tests for
33169 (sin_test): Likewise.
33170 (sincos_test): Likewise.
33171 (tan_test): Add tests for large input.
33173 * sysdeps/i386/fpu/libm-test-ulps: Update.
33175 2012-03-15 Andreas Jaeger <aj@suse.de>
33178 * math/libm-test.inc (cos_test): Add more test cases.
33179 (sin_test): Likewise.
33180 (sincos_test): Likewise.
33182 2012-03-15 Andreas Jaeger <aj@suse.de>
33185 * math/libm-test.inc (cos_test): Add a test case for large input
33187 (sin_test): Likewise.
33188 (sincos_test): Likewise.
33190 2012-03-15 Andreas Jaeger <aj@suse.de>,
33191 Joseph Myers <joseph@codesourcery.com>
33194 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33195 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33196 * sysdeps/i386/fpu/branred.c: Likewise.
33197 * sysdeps/i386/fpu/dosincos.c: Likewise.
33198 * sysdeps/i386/fpu/mpa.c: Likewise.
33199 * sysdeps/i386/fpu/s_cos.S: Likewise.
33200 * sysdeps/i386/fpu/s_sin.S: Likewise.
33201 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33202 * sysdeps/i386/fpu/sincos32.c: Likewise.
33204 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33206 (libc_feupdateenv_53bit): Define.
33207 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33209 (libc_feupdateenv_53bit): Define.
33211 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33212 53 bit (without extend i386 double precision).
33214 * math/libm-test.inc (sincos_test): Add tests for large input.
33218 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33220 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33224 2012-03-15 David S. Miller <davem@davemloft.net>
33226 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33227 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33228 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33229 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33253 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33254 fmin/fmax sysdep routines.
33255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33257 2012-03-14 David S. Miller <davem@davemloft.net>
33259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33263 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33264 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33265 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33266 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33268 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33270 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33273 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33274 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33276 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33279 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33280 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33281 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33282 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33283 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33284 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33285 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33286 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33287 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33331 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33336 * sysdeps/sparc/configure.in: New file.
33337 * sysdeps/sparc/configure: Generate.
33338 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33339 * configure: Regenerate.
33340 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33341 * config.make.in (have-as-vis3): New.
33342 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33343 available use -Av9d instead of -Av9a.
33344 * sysdeps/sparc/sparc64/Makefile: Likewise.
33345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33354 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33355 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33356 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33357 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33358 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33360 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33361 fzeros/fnegs to load 0x80000000 into a float register instead of
33363 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33365 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33369 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33370 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33371 ($(inst_includedir)/bits/syscall.h): Remove rule.
33372 ($(objpfx)bits/syscall.d): Include instead of
33373 $(objpfx)syscall-list.d.
33374 (generated): Change syscall-list.h and syscall-list.d to
33375 bits/syscall.h and bits/syscall.d.
33377 2012-03-14 Roland McGrath <roland@hack.frob.com>
33380 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33382 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33385 * math/s_csqrt.c: Include <float.h>.
33386 (__csqrt): Scale large or subnormal inputs.
33387 * math/s_csqrtf.c: Likewise.
33388 * math/s_csqrtl.c: Likewise.
33389 * math/libm-test.inc (csqrt_test): Add more tests.
33390 * sysdeps/i386/fpu/libm-test-ulps: Update.
33391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33394 * math/libm-test.inc (hypot_test): Add more tests.
33396 2012-03-13 David S. Miller <davem@davemloft.net>
33399 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33400 double-precision for the calculation instead of scaling.
33402 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33404 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33405 manipulate bits before adding and subtracting TWO52[sx].
33406 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33407 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33409 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33411 2012-03-13 David S. Miller <davem@davemloft.net>
33413 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33414 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33415 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33416 rtld-global-offsets.h
33417 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33419 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33422 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33424 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33425 'err' in the ifdef scope in which it is actually used.
33427 * nss/nss_db/db-init.c: Include string.h
33429 2012-03-12 David S. Miller <davem@davemloft.net>
33431 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33432 masking out of the most significant byte of random value used.
33433 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33434 Fix coding style in previous change.
33436 * sysdeps/unix/sysv/linux/kernel-features.h
33437 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33438 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33440 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33443 2012-03-11 David S. Miller <davem@davemloft.net>
33445 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33446 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33447 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33448 for 'resultvar' otherwise things get truncated on 64-bit.
33450 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33451 Fix masking out of the most significant byte of random value used.
33453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33455 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33459 2012-03-09 David S. Miller <davem@davemloft.net>
33461 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33462 variables with appropriate CPP guards.
33463 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33464 frame pointer, not the stack pointer. Correct layout comments. Fix test
33465 on resulting framesize and the management of the outregs buffer for pltexit.
33466 Preserve floating point return values across _dl_call_pltexit call.
33467 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33468 framesize and the management of the outregs buffer for pltexit.
33469 Preserve floating point return values across _dl_call_pltexit
33471 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33472 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33473 (print_exit): Fix format string for return register value.
33475 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33477 * sunrpc/Makefile (others): Add rpcgen.
33478 ($(objpfx)rpcgen): Remove special build rule and dependency on
33480 * sunrpc/rpcgen.c: New file.
33482 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33485 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33486 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33487 * sysdeps/i386/crti.S: Likewise.
33488 * sysdeps/i386/crtn.S: Likewise.
33489 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33490 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33491 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33492 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33493 * sysdeps/sh/crti.S: Likewise.
33494 * sysdeps/sh/crtn.S: Likewise.
33495 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33498 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33500 * locale/programs/locfile-kw.gperf: Likewise.
33501 * locale/programs/charmap-kw.h: Regenerated.
33502 * locale/programs/locfile-kw.h: Likewise.
33505 * intl/plural.y: Replace FSF snail mail address with URL.
33506 * intl/plural.c: Regenerated.
33508 2012-03-09 Richard Henderson <rth@twiddle.net>
33510 * include/math_private.h: Remove file.
33511 * math/math_private.h: Move file ...
33512 * sysdeps/generic/math_private.h: ... here.
33514 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33515 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33516 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33518 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33519 and <math_private.h>.
33520 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33521 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33522 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33523 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33524 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33525 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33526 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33527 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33528 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33529 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33530 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33531 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33532 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33533 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33534 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33535 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33536 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33537 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33538 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33539 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33541 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33542 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33544 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33545 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33546 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33547 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33548 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33549 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33550 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33551 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33552 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33553 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33554 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33555 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33556 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33557 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33558 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33559 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33560 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33561 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33562 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33563 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33564 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33565 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33566 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33567 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33568 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33569 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33570 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33571 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33572 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33573 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33574 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33575 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33576 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33577 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33578 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33579 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33580 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33581 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33582 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33583 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33584 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33585 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33586 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33587 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33588 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33589 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33590 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33591 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33592 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33593 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33594 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33595 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33596 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33597 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33598 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33599 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33600 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33601 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33602 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33603 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33604 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33605 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33606 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33607 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33608 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33609 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33610 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33611 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33612 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33613 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33614 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33615 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33616 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33617 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33618 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33619 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33620 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33621 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33622 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33623 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33624 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33625 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33626 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33627 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33628 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33629 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33630 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33631 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33632 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33633 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33634 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33635 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33636 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33637 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33638 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33639 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33640 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33641 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33642 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33643 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33644 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33645 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33646 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33647 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33648 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33649 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33650 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33651 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33652 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33653 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33654 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33655 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33656 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33657 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33658 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33659 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33660 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33661 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33662 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33663 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33664 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33665 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33666 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33667 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33668 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33669 * sysdeps/ieee754/k_standard.c: Likewise.
33670 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33671 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33672 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33673 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33678 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33679 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33680 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33682 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33683 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33684 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33685 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33687 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33689 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33690 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33691 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33692 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33693 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33694 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33695 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33696 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33697 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33698 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33699 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33700 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33701 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33702 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33703 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33704 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33705 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33706 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33707 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33708 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33709 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33710 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33711 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33712 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33713 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33715 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33716 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33717 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33718 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33719 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33720 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33721 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33722 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33723 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33724 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33725 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33726 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33727 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33728 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33729 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33730 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33731 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33732 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33733 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33734 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33735 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33736 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33737 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33738 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33739 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33740 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33741 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33742 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33743 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33744 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33745 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33746 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33747 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33748 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33749 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33750 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33752 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33753 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33754 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33755 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33756 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33757 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33758 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33759 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33760 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33761 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33762 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33763 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33764 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33765 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33766 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33767 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33768 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33773 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33774 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33775 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33776 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33777 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33778 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33779 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33780 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33781 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33782 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33783 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33784 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33785 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33786 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33787 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33788 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33789 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33790 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33791 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33792 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33793 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33794 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33795 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33796 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33797 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33798 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33799 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33800 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33801 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33802 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33803 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33804 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33805 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33806 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33807 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33808 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33809 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33810 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33811 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33812 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33813 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33814 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33815 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33816 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33817 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33818 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33819 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33820 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33821 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33822 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33823 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33824 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33825 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33826 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33827 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33828 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33829 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33830 * sysdeps/ieee754/s_lib_version.c: Likewise.
33831 * sysdeps/ieee754/s_matherr.c: Likewise.
33832 * sysdeps/ieee754/s_signgam.c: Likewise.
33833 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33834 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33835 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33836 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33837 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33838 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33839 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33840 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33841 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33842 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33843 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33844 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33845 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33846 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33847 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33848 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33849 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33850 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33851 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33852 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33853 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33855 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33857 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33858 * sunrpc/rpc_main.c: Likewise.
33859 * sunrpc/rpc_svcout.c: Likewise.
33861 2012-03-09 David S. Miller <davem@davemloft.net>
33863 * include/math_private.h: New file.
33865 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33867 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33868 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33869 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33870 from <bits/socket_type.h>.
33871 (enum __socket_type): Don't define here.
33872 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33874 bits/socket_type.h.
33877 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33878 checking __USE_GNU.
33880 * Makerules ($(inst_includedir)/%.h): New rule.
33881 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33882 (install-others): Remove variable setting.
33883 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33885 2012-03-08 Richard Henderson <rth@twiddle.net>
33887 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33888 from macro to inline function; merge with the
33889 !__LIBC_INTERNAL_MATH_INLINES version.
33890 (__ieee754_sqrtf): Likewise.
33892 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33893 to inline function.
33894 (__rintf, __floor, __floorf): Likewise.
33896 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33897 macro to inline function.
33898 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33900 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33901 not <math/math_private.h>.
33903 2012-03-08 David S. Miller <davem@davemloft.net>
33905 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33907 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33909 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33911 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33913 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33914 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33916 2012-03-08 Ulrich Drepper <drepper@gmail.com>
33918 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33919 be defined individually, they must be defined as a block. Define
33920 S for printing a string instead of hidint the different by using a
33921 macro for adding the 'l'.
33922 * stdio-common/tst-fphex-wide.c: Adjust.
33924 2012-03-07 Marek Polacek <polacek@redhat.com>
33926 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33928 2012-03-08 Marek Polacek <polacek@redhat.com>
33931 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33932 * stdio-common/tst-fphex.c: Define a few macros to make the
33933 test reusable. Use them.
33934 * stdio-common/tst-fphex-wide.c: New file.
33936 2012-03-08 Joseph Myers <joseph@codesourcery.com>
33939 * manual/macros.texi (gnusystems): New macro.
33940 (nongnusystems): Likewise.
33941 (gnulinuxhurdsystems): Likewise.
33942 (gnuhurdsystems): Likewise..
33943 (gnulinuxsystems): Likewise.
33944 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33945 variants of the GNU system, not "GNU system".
33946 * manual/conf.texi: Likewise.
33947 * manual/errno.texi: Likewise. Update example of errno macro
33949 * manual/filesys.texi: Likewise.
33950 (getumask): Document as specific to GNU/Hurd.
33951 * manual/install.texi: Likewise. Reword some references to
33953 * manual/intro.texi: Likewise.
33954 * manual/io.texi: Likewise.
33955 (File Name Portability): Detail which constraints are inapplicable
33956 to all GNU systems and which are only inapplicable to GNU/Hurd.
33957 * manual/job.texi: Likewise.
33958 * manual/llio.texi: Likewise.
33959 (O_NOCTTY): Document as present on GNU/Linux.
33960 * manual/maint.texi: Likewise.
33961 * manual/memory.texi: Likewise.
33962 * manual/pattern.texi: Likewise.
33963 * manual/pipe.texi: Likewise.
33964 * manual/process.texi: Likewise.
33965 * manual/resource.texi: Likewise.
33966 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33968 * manual/setjmp.texi: Likewise.
33969 * manual/signal.texi: Likewise.
33970 * manual/startup.texi: Likewise.
33971 * manual/stdio.texi: Likewise.
33972 * manual/terminal.texi: Likewise.
33973 (ONLCR): Document as POSIX.
33974 (OXTABS): Document availability on GNU/Linux as XTABS.
33975 (ONOEOT): Document availability separately from other bits.
33976 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33977 * manual/time.texi: Likewise.
33978 * manual/users.texi: Likewise.
33979 * INSTALL: Regenerated.
33980 * sysdeps/gnu/errlist.c: Regenerated.
33982 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33983 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33984 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33986 * configure: Regenerated.
33988 2012-03-07 Joseph Myers <joseph@codesourcery.com>
33990 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33991 default includes instead of AC_HEADER_CHECK.
33992 * sysdeps/i386/configure: Regenerated.
33995 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33996 * math/s_cacoshf.c (__cacoshf): Likewise.
33997 * math/s_cacoshl.c (__cacoshl): Likewise.
33998 * math/s_casinh.c (__casinh): Set signs of result from argument.
33999 * math/s_casinhf.c (__casinhf): Likewise.
34000 * math/s_casinhl.c (__casinhl): Likewise.
34001 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34002 (casinh_test): Add more tests.
34003 * sysdeps/i386/fpu/libm-test-ulps: Update.
34004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34006 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34008 * po/zh_TW.po: Update from translation team.
34010 * login/Makefile (distribute): Remove variable.
34011 * catgets/Makefile: Likewise.
34012 * mach/Makefile: Likewise.
34013 * malloc/Makefile: Likewise.
34014 * misc/Makefile: Likewise.
34015 * iconv/Makefile: Likewise.
34016 * nscd/Makefile: Likewise.
34017 * hurd/Makefile: Likewise.
34018 * manual/Makefile: Likewise.
34019 * locale/Makefile: Likewise.
34020 * intl/Makefile: Likewise.
34021 * conform/Makefile: Likewise.
34022 * nss/Makefile: Likewise.
34023 * time/Makefile: Likewise.
34024 * soft-fp/Makefile: Likewise.
34025 * dirent/Makefile: Likewise.
34026 * gmon/Makefile: Likewise.
34027 * po/Makefile: Likewise.
34028 * rt/Makefile: Likewise.
34029 * socket/Makefile: Likewise.
34030 * math/Makefile: Likewise.
34031 * signal/Makefile: Likewise.
34032 * debug/Makefile: Likewise.
34033 * elf/Makefile: Likewise.
34034 * timezone/Makefile: Likewise.
34035 * stdlib/Makefile: Likewise.
34036 * iconvdata/Makefile: Likewise.
34037 * sunrpc/Makefile: Likewise.
34038 * io/Makefile: Likewise.
34039 * argp/Makefile: Likewise.
34040 * inet/Makefile: Likewise.
34041 * hesiod/Makefile: Likewise.
34042 * grp/Makefile: Likewise.
34043 * csu/Makefile: Likewise.
34044 * wctype/Makefile: Likewise.
34045 * crypt/Makefile: Likewise.
34046 * libio/Makefile: Likewise.
34047 * string/Makefile: Likewise.
34048 * nis/Makefile: Likewise.
34049 * resolv/Makefile: Likewise.
34050 * stdio-common/Makefile: Likewise.
34051 * wcsmbs/Makefile: Likewise.
34052 * dlfcn/Makefile: Likewise.
34053 * posix/Makefile: Likewise.
34056 * timezone/Makefile: Don't install timezone files, just the programs
34059 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34061 * nss/databases.def: Add missing gshadow entry.
34063 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34065 2012-03-06 Marek Polacek <polacek@redhat.com>
34068 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34069 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34070 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34071 * stdio-common/tst-long-dbl-fphex.c: New file.
34073 2012-03-06 David S. Miller <davem@davemloft.net>
34075 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34076 (set_obp_int): New function.
34077 (get_obp_int): New function.
34078 (__get_clockfreq_via_dev_openprom): Likewise.
34079 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34080 Avoid unused variable warnings on 'val' and use builtin_expect.
34081 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34083 (INLINE_CLONE_SYSCALL): Likewise.
34085 2012-03-05 David S. Miller <davem@davemloft.net>
34087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34089 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34093 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34094 only for |x| >= 40.
34095 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34097 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34099 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34100 Replace gettimeofday with __vdso_gettimeofday.
34102 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34103 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34104 __vdso_clock_gettime and __vdso_getcpu.
34106 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34107 time with __vdso_time.
34109 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34111 * manual/lang.texi (size_t): Note types to which size_t may be
34112 equivalent with the GNU C Library, but do not describe when
34113 differences between them are significant.
34115 2012-03-05 Andreas Jaeger <aj@suse.de>
34117 * sysdeps/i386/fpu/libm-test-ulps: Update.
34119 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34122 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34123 (__ieee754_pow): Save and restore rounding mode and use
34124 round-to-nearest for main computations.
34125 * math/libm-test.inc (pow_test_tonearest): New function.
34126 (pow_test_towardzero): Likewise.
34127 (pow_test_downward): Likewise.
34128 (pow_test_upward): Likewise.
34129 (main): Call the new functions.
34130 * sysdeps/i386/fpu/libm-test-ulps: Update.
34131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34134 * math/libm-test.inc (cosh_test_tonearest): New function.
34135 (cosh_test_towardzero): Likewise.
34136 (cosh_test_downward): Likewise.
34137 (cosh_test_upward): Likewise.
34138 (sinh_test_tonearest): Likewise.
34139 (sinh_test_towardzero): Likewise.
34140 (sinh_test_downward): Likewise.
34141 (sinh_test_upward): Likewise.
34142 (main): Call the new functions.
34143 * sysdeps/i386/fpu/libm-test-ulps: Update.
34144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34146 2012-03-05 Tom de Vries <tom@codesourcery.com>
34148 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34149 default stack guard is set in last bytes.
34150 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34152 2012-03-05 Kees Cook <keescook@chromium.org>
34154 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34157 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34158 possibly allocate from heap instead of stack.
34159 * stdio-common/bug-vfprintf-nargs.c: New file.
34160 * stdio-common/Makefile (tests): Add nargs overflow test.
34162 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34166 2012-03-03 Marek Polacek <polacek@redhat.com>
34168 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34169 * math/math_private.h: Likewise.
34170 * stdlib/tst-strtod.c: Likewise.
34171 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34172 * sysdeps/x86_64/bits/atomic.h: Likewise.
34174 2012-03-02 David S. Miller <davem@davemloft.net>
34176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34180 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34181 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34182 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34183 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34185 2012-03-02 Roland McGrath <roland@hack.frob.com>
34188 * manual/examples/README: New file, says the example source files
34189 can be used under GPL>=2.
34190 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34191 line containing just "*/".
34192 * manual/examples/add.c: Add copyright header (GPL>=2).
34193 * manual/examples/argp-ex1.c: Likewise.
34194 * manual/examples/argp-ex2.c: Likewise.
34195 * manual/examples/argp-ex3.c: Likewise.
34196 * manual/examples/argp-ex4.c: Likewise.
34197 * manual/examples/atexit.c: Likewise.
34198 * manual/examples/db.c: Likewise.
34199 * manual/examples/dir.c: Likewise.
34200 * manual/examples/dir2.c: Likewise.
34201 * manual/examples/execinfo.c: Likewise.
34202 * manual/examples/filecli.c: Likewise.
34203 * manual/examples/filesrv.c: Likewise.
34204 * manual/examples/fmtmsgexpl.c: Likewise.
34205 * manual/examples/genpass.c: Likewise.
34206 * manual/examples/inetcli.c: Likewise.
34207 * manual/examples/inetsrv.c: Likewise.
34208 * manual/examples/isockad.c: Likewise.
34209 * manual/examples/longopt.c: Likewise.
34210 * manual/examples/memopen.c: Likewise.
34211 * manual/examples/memstrm.c: Likewise.
34212 * manual/examples/mkfsock.c: Likewise.
34213 * manual/examples/mkisock.c: Likewise.
34214 * manual/examples/mygetpass.c: Likewise.
34215 * manual/examples/pipe.c: Likewise.
34216 * manual/examples/popen.c: Likewise.
34217 * manual/examples/rprintf.c: Likewise.
34218 * manual/examples/search.c: Likewise.
34219 * manual/examples/select.c: Likewise.
34220 * manual/examples/setjmp.c: Likewise.
34221 * manual/examples/sigh1.c: Likewise.
34222 * manual/examples/sigusr.c: Likewise.
34223 * manual/examples/stpcpy.c: Likewise.
34224 * manual/examples/strdupa.c: Likewise.
34225 * manual/examples/strftim.c: Likewise.
34226 * manual/examples/strncat.c: Likewise.
34227 * manual/examples/subopt.c: Likewise.
34228 * manual/examples/swapcontext.c: Likewise.
34229 * manual/examples/termios.c: Likewise.
34230 * manual/examples/testopt.c: Likewise.
34231 * manual/examples/testpass.c: Likewise.
34232 * manual/examples/timeval_subtract.c: Likewise.
34235 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34237 * manual/timeval_subtract.c.texi: ... here, new file.
34239 2012-03-02 David S. Miller <davem@davemloft.net>
34241 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34243 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34246 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34247 (__sin): Save and restore rounding mode and use round-to-nearest
34248 for all computations.
34249 (__cos): Save and restore rounding mode and use round-to-nearest
34250 for all computations.
34251 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34253 (tan): Save and restore rounding mode and use round-to-nearest for
34255 * math/libm-test.inc (cos_test_tonearest): New function.
34256 (cos_test_towardzero): Likewise.
34257 (cos_test_downward): Likewise.
34258 (cos_test_upward): Likewise.
34259 (sin_test_tonearest): Likewise.
34260 (sin_test_towardzero): Likewise.
34261 (sin_test_downward): Likewise.
34262 (sin_test_upward): Likewise.
34263 (tan_test_tonearest): Likewise.
34264 (tan_test_towardzero): Likewise.
34265 (tan_test_downward): Likewise.
34266 (tan_test_upward): Likewise.
34267 (main): Call the new functions.
34268 * sysdeps/i386/fpu/libm-test-ulps: Update.
34269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34272 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34273 small n, then large n, before computing and testing k+n.
34274 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34275 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34277 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34279 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34280 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34281 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34282 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34283 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34284 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34285 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34286 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34287 * math/libm-test.inc (scalbn_test): Add more tests.
34288 (scalbln_test): Likewise.
34290 * manual/filesys.texi (mode_t): Describe constraints on size and
34291 signedness, not exact equivalence to a particular type.
34293 (ino64_t): Likewise.
34295 (nlink_t): Likewise.
34296 (blkcnt_t): Likewise.
34297 (blkcnt64_t): Likewise.
34298 * manual/llio.texi (off_t): Likewise.
34301 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34302 (__ieee754_exp): Save and restore rounding mode and use
34303 round-to-nearest for all computations.
34304 * math/libm-test.inc (exp_test_tonearest): New function.
34305 (exp_test_towardzero): Likewise.
34306 (exp_test_downward): Likewise.
34307 (exp_test_upward): Likewise.
34308 (main): Call the new functions.
34309 * sysdeps/i386/fpu/libm-test-ulps: Update.
34310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34312 2012-03-01 Chris Demetriou <cgd@google.com>
34314 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34315 have predictable order.
34317 2012-03-01 David S. Miller <davem@davemloft.net>
34319 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34321 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34322 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34323 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34324 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34326 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34327 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34328 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34330 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34331 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34332 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34333 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34334 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34338 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34339 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34340 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34342 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34343 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34344 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34345 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34346 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34347 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34348 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34349 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34350 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34351 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34352 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34353 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34355 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34356 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34357 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34358 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34359 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34360 * sysdeps/sparc/elf/configure: Regenerated.
34362 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34364 * configure.in (AS, LD): Require binutils 2.20 or later.
34365 * configure: Regenerated.
34366 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34367 as required minimum version.
34368 * INSTALL: Regenerated.
34372 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34373 before squaring exponent.
34374 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34375 bottom long double and 27 bits of top long double before squaring
34377 * math/libm-test.inc (erfc_test): Add more tests.
34378 * sysdeps/i386/fpu/libm-test-ulps: Update.
34379 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34382 2012-03-01 Kai Tietz <ktietz@redhat.com>
34384 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34385 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34386 containing bit-fields.
34387 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34388 * soft-fp/single.h (_FP_UNION_S): Likewise.
34389 * soft-fp/double.h (_FP_UNION_D): Likewise.
34391 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34394 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34395 not include ../strcmp.S.
34396 [USE_AS_STRNCASECMP_L]: Likewise.
34397 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34398 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34399 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34400 (__strncasecmp_l_ia32): Define as alias to
34401 __strncasecmp_l_nonascii.
34404 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34405 * sysdeps/i386/fpu/libm-test-ulps: Update.
34406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34408 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34411 2012-02-29 Jeff Law <law@redhat.com>
34413 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34414 out of bounds read.
34416 2012-02-29 Marek Polacek <polacek@redhat.com>
34419 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34420 * elf/Makefile: Add rules to run tst-unused-dep.out.
34422 2012-02-28 David S. Miller <davem@davemloft.net>
34424 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34425 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34426 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34427 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34428 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34429 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34431 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34433 * math/libm-test.inc (llround_test): Move one test from
34434 lround_test. Use TEST_f_L in moved test.
34435 (lround_test): Move misplaced test to llround_test. Add testcase
34438 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34440 * sysdeps/x86_64/fpu/e_expf.S: New file.
34441 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34443 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34446 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34447 of remain_len that may cause incomplete multi-byte character and
34449 * posix/bug-regex33.c: New file.
34450 * posix/Makefile (tests): Add bug-regex33.
34452 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34454 * manual/macros.texi: New file.
34455 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34456 * manual/libc.texinfo: Include macros.texi.
34457 * manual/creatute.texi: Likewise.
34458 * manual/install.texi: Likewise.
34459 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34460 @glibcadj{} in references to the GNU C Library.
34461 * manual/charset.texi: Likewise.
34462 * manual/conf.texi: Likewise.
34463 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34464 when not using those macros.
34465 * manual/creature.texi: Likewise.
34466 * manual/crypt.texi: Likewise.
34467 * manual/errno.texi: Likewise.
34468 * manual/filesys.texi: Likewise.
34469 * manual/header.texi: Likewise.
34470 * manual/install.texi: Likewise.
34471 * manual/intro.texi: Likewise.
34472 * manual/io.texi: Likewise.
34473 * manual/job.texi: Likewise.
34474 * manual/lang.texi: Likewise.
34475 * manual/libc.texiinfo: Likewise.
34476 * manual/llio.texi: Likewise.
34477 * manual/locale.texi: Likewise.
34478 * manual/maint.texi: Likewise.
34479 * manual/math.texi: Likewise.
34480 * manual/memory.texi: Likewise.
34481 * manual/message.texi: Likewise.
34482 * manual/nss.texi: Likewise.
34483 * manual/pattern.texi: Likewise.
34484 * manual/process.texi: Likewise.
34485 * manual/resource.texi: Likewise.
34486 * manual/search.texi: Likewise.
34487 * manual/setjmp.texi: Likewise.
34488 * manual/signal.texi: Likewise.
34489 * manual/socket.texi: Likewise.
34490 * manual/startup.texi: Likewise.
34491 * manual/stdio.texi: Likewise.
34492 * manual/string.texi: Likewise.
34493 * manual/sysinfo.texi: Likewise.
34494 * manual/syslog.texi: Likewise.
34495 * manual/terminal.texi: Likewise.
34496 * manual/time.texi: Likewise.
34497 * manual/users.texi: Likewise.
34498 * INSTALL: Regenerated.
34499 * NOTES: Regenerated.
34500 * sysdeps/gnu/errlist.c: Regenerated.
34502 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34504 * include/dirent.h: Include <dirstream.h> before
34507 2012-02-28 David S. Miller <davem@davemloft.net>
34509 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34510 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34511 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34512 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34514 2012-02-27 David S. Miller <davem@davemloft.net>
34516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34518 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34519 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34522 frame pointer instead of stack pointer relative arg slot.
34523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34524 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34525 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34527 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34530 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34532 2012-02-27 David S. Miller <davem@davemloft.net>
34534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34538 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34539 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34540 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34541 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34543 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34545 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34546 later. Allow versions 5-9.
34547 * configure: Regenerated.
34548 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34549 required minimum version and 4.6 as recommended version. Do not
34550 mention bugs in GCC 2.7 and 2.8.
34551 * INSTALL: Regenerated.
34553 2012-02-27 David S. Miller <davem@davemloft.net>
34555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34559 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34560 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34561 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34562 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34564 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34565 manipulate bits before adding and subtracting TWO112[sx].
34566 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34568 2012-02-27 Roland McGrath <roland@hack.frob.com>
34571 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34572 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34573 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34574 being in POSIX, because they are in 1003.1-2008.
34576 * rt/tst-aio.c: Include <fcntl.h>.
34577 * rt/tst-aio7.c: Likewise.
34578 * rt/tst-aio64.c: Likewise.
34580 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34582 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34584 * manual/install.texi (--with-headers): Describe headers as
34585 interface headers, not private headers.
34586 (Specific advice for GNU/Linux systems): Describe use of headers
34587 from "make headers_install", not private headers from older
34589 * INSTALL: Regenerated.
34590 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34592 * sysdeps/unix/sysv/linux/configure: Regenerated.
34594 * manual/llio.texi (fclean): Remove documentation.
34596 * manual/Makefile (libc-texi-generated): New variable. Include
34598 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34599 $(libc-texi-generated), not duplicated list of files.
34600 (version.texi, stamp-version): New rules.
34601 (realclean): Remove $(libc-texi-generated), not individual files
34602 from that list. Do not remove dir-add.texinfo.
34603 * manual/libc.texinfo: Comment out uses of edition numbers and
34604 references to printed manual. Remove last-updated dates.
34605 (EDITION): Comment out.
34607 (VERSION, UPDATED): Remove.
34608 (version.texi): Include.
34610 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34612 * sysdeps/posix/spawni.c: Include <signal.h>.
34613 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34614 * sysdeps/pthread/aio_fsync.c: Likewise.
34616 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34618 * conform/Makefile (tests): Run only when not cross-compiling and
34619 when fast-check is not defined.
34621 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34622 * conform/data/limits.h-data: Fixes for POSIX2008.
34623 * conform/run-conformtest.sh: Run all tests.
34624 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34626 * include/bits/dlfcn.h: Likewise.
34627 * include/langinfo.h: Likewise.
34628 * include/monetary.h: Likewise.
34629 * include/sys/poll.h: Likewise.
34631 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34633 * posix/spawn.h: Define __need_sigset_t.
34634 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34635 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34636 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34637 to get sigevent_t only.
34638 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34639 only for __USE_GNU.
34640 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34641 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34642 process_vm_writev only for __USE_GNU.
34643 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34645 * conform/Makefile: For now ignore errors from run-conformtest.
34646 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34647 POSIX to avoid namespace pollution. Don't prepend headers.
34648 * conform/data/aio.h-data: Fixes for POSIX testing.
34649 * conform/data/fcntl.h-data: Likewise.
34650 * conform/data/glob.h-data: Likewise.
34651 * conform/data/grp.h-data: Likewise.
34652 * conform/data/pthread.h-data: Likewise.
34653 * conform/data/pwd.h-data: Likewise.
34654 * conform/data/signal.h-data: Likewise.
34655 * conform/data/spawn.h-data: Likewise.
34656 * conform/data/stdio.h-data: Likewise.
34657 * conform/data/stdlib.h-data: Likewise.
34658 * conform/data/stropts.h-data: Likewise.
34659 * conform/data/sys/mman.h-data: Likewise.
34660 * conform/data/sys/stat.h-data: Likewise.
34661 * conform/data/sys/types.h-data: Likewise.
34662 * conform/data/sys/wait.h-data: Likewise.
34663 * conform/data/time.h-data: Likewise.
34664 * conform/data/unistd.h-data: Likewise.
34665 * conform/data/utime.h-data: Likewise.
34667 * io/sys/stat.h: fchmod was always in POSIX.
34668 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34669 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34670 * rt/aio.h: Define __need_timespec before including <time.h>.
34671 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34672 struct. Add forward declaration of pthread_attr_t and use it in
34674 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34675 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34676 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34677 always remove CLK_TCK definition.
34679 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34681 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34683 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34685 * conform/run-conformtest.sh: New file.
34686 * conform/Makefile: Run run-conformtest for tests.
34687 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34690 * conform/data/uchar.h-data: New file.
34691 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34692 * conform/data/arpa/inet.h-data: Likewise.
34693 * conform/data/assert.h-data: Likewise.
34694 * conform/data/complex.h-data: Likewise.
34695 * conform/data/cpio.h-data: Likewise.
34696 * conform/data/ctype.h-data: Likewise.
34697 * conform/data/dirent.h-data: Likewise.
34698 * conform/data/dlfcn.h-data: Likewise.
34699 * conform/data/errno.h-data: Likewise.
34700 * conform/data/fcntl.h-data: Likewise.
34701 * conform/data/float.h-data: Likewise.
34702 * conform/data/fmtmsg.h-data: Likewise.
34703 * conform/data/fnmatch.h-data: Likewise.
34704 * conform/data/ftw.h-data: Likewise.
34705 * conform/data/glob.h-data: Likewise.
34706 * conform/data/grp.h-data: Likewise.
34707 * conform/data/iconv.h-data: Likewise.
34708 * conform/data/inttypes.h-data: Likewise.
34709 * conform/data/langinfo.h-data: Likewise.
34710 * conform/data/libgen.h-data: Likewise.
34711 * conform/data/limits.h-data: Likewise.
34712 * conform/data/locale.h-data: Likewise.
34713 * conform/data/math.h-data: Likewise.
34714 * conform/data/monetary.h-data: Likewise.
34715 * conform/data/mqueue.h-data: Likewise.
34716 * conform/data/ndbm.h-data: Likewise.
34717 * conform/data/net/if.h-data: Likewise.
34718 * conform/data/netdb.h-data: Likewise.
34719 * conform/data/netinet/in.h-data: Likewise.
34720 * conform/data/nl_types.h-data: Likewise.
34721 * conform/data/poll.h-data: Likewise.
34722 * conform/data/pthread.h-data: Likewise.
34723 * conform/data/pwd.h-data: Likewise.
34724 * conform/data/regex.h-data: Likewise.
34725 * conform/data/sched.h-data: Likewise.
34726 * conform/data/search.h-data: Likewise.
34727 * conform/data/semaphore.h-data: Likewise.
34728 * conform/data/setjmp.h-data: Likewise.
34729 * conform/data/signal.h-data: Likewise.
34730 * conform/data/spawn.h-data: Likewise.
34731 * conform/data/stdarg.h-data: Likewise.
34732 * conform/data/stdio.h-data: Likewise.
34733 * conform/data/stdlib.h-data: Likewise.
34734 * conform/data/string.h-data: Likewise.
34735 * conform/data/strings.h-data: Likewise.
34736 * conform/data/stropts.h-data: Likewise.
34737 * conform/data/sys/ipc.h-data: Likewise.
34738 * conform/data/sys/mman.h-data: Likewise.
34739 * conform/data/sys/msg.h-data: Likewise.
34740 * conform/data/sys/resource.h-data: Likewise.
34741 * conform/data/sys/select.h-data: Likewise.
34742 * conform/data/sys/sem.h-data: Likewise.
34743 * conform/data/sys/shm.h-data: Likewise.
34744 * conform/data/sys/socket.h-data: Likewise.
34745 * conform/data/sys/stat.h-data: Likewise.
34746 * conform/data/sys/statvfs.h-data: Likewise.
34747 * conform/data/sys/time.h-data: Likewise.
34748 * conform/data/sys/timeb.h-data: Likewise.
34749 * conform/data/sys/times.h-data: Likewise.
34750 * conform/data/sys/types.h-data: Likewise.
34751 * conform/data/sys/uio.h-data: Likewise.
34752 * conform/data/sys/un.h-data: Likewise.
34753 * conform/data/sys/utsname.h-data: Likewise.
34754 * conform/data/sys/wait.h-data: Likewise.
34755 * conform/data/syslog.h-data: Likewise.
34756 * conform/data/tar.h-data: Likewise.
34757 * conform/data/termios.h-data: Likewise.
34758 * conform/data/utime.h-data: Likewise.
34759 * conform/data/utmpx.h-data: Likewise.
34760 * conform/data/varargs.h-data: Likewise.
34761 * conform/data/wchar.h-data: Likewise.
34762 * conform/data/wctype.h-data: Likewise.
34763 * conform/data/wordexp.h-data: Likewise.
34765 * include/stropts.h: New file.
34766 * include/uchar.h: New file.
34767 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34768 * include/assert.h: Likewise.
34769 * include/ctype.h: Likewise.
34770 * include/dirent.h: Likewise.
34771 * include/dlfcn.h: Likewise.
34772 * include/fcntl.h: Likewise.
34773 * include/fnmatch.h: Likewise.
34774 * include/glob.h: Likewise.
34775 * include/grp.h: Likewise.
34776 * include/libio.h: Likewise.
34777 * include/locale.h: Likewise.
34778 * include/math.h: Likewise.
34779 * include/net/if.h: Likewise.
34780 * include/netdb.h: Likewise.
34781 * include/netinet/in.h: Likewise.
34782 * include/pthread.h: Likewise.
34783 * include/pwd.h: Likewise.
34784 * include/regex.h: Likewise.
34785 * include/sched.h: Likewise.
34786 * include/search.h: Likewise.
34787 * include/setjmp.h: Likewise.
34788 * include/signal.h: Likewise.
34789 * include/stdio.h: Likewise.
34790 * include/stdlib.h: Likewise.
34791 * include/string.h: Likewise.
34792 * include/sys/cdefs.h: Likewise.
34793 * include/sys/mman.h: Likewise.
34794 * include/sys/msg.h: Likewise.
34795 * include/sys/resource.h: Likewise.
34796 * include/sys/select.h: Likewise.
34797 * include/sys/socket.h: Likewise.
34798 * include/sys/stat.h: Likewise.
34799 * include/sys/statvfs.h: Likewise.
34800 * include/sys/time.h: Likewise.
34801 * include/sys/times.h: Likewise.
34802 * include/sys/uio.h: Likewise.
34803 * include/sys/utsname.h: Likewise.
34804 * include/sys/wait.h: Likewise.
34805 * include/termios.h: Likewise.
34806 * include/time.h: Likewise.
34807 * include/ulimit.h: Likewise.
34808 * include/unistd.h: Likewise.
34809 * include/utime.h: Likewise.
34810 * include/wchar.h: Likewise.
34811 * include/wctype.h: Likewise.
34812 * include/wordexp.h: Likewise.
34814 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34816 * time/time.h: TIME_UTC must be a macro.
34817 Make timespec_get available for ISO C11 only as well.
34819 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34821 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34822 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34824 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34826 * configure.in: Use -o not -a in test for unsupported multi-arch.
34828 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34830 * manual/texinfo.tex: Update to version 2012-01-19.16.
34832 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34834 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34836 2012-02-24 Roland McGrath <roland@hack.frob.com>
34839 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34840 * manual/fdl-1.3.texi: New file.
34841 * manual/fdl-1.1.texi: File removed.
34844 * manual/libc.texinfo (FDL_VERSION): New @set.
34845 Use it for mention of FDL in cover text.
34846 (Documentation License): Use it in @include file name.
34848 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34849 Roland McGrath <roland@hack.frob.com>
34852 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34853 not LONG_LONG_MAX and LONG_LONG_MIN.
34854 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34855 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34857 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34859 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34863 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34864 manipulate bits before adding and subtracting TWO23[sx].
34865 * math/libm-test.inc (nearbyint_test): Add more tests.
34867 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34870 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34871 bits before adding and subtracting TWO23[sx].
34872 * math/libm-test.inc (rint_test): Add more tests.
34873 (rint_test_tonearest): Likewise.
34874 (rint_test_towardzero): Likewise.
34875 (rint_test_downward): Likewise.
34876 (rint_test_upward: Likewise.
34878 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34881 * include/stdc-predef.h: New file. Extracted from features.h.
34882 * include/features.h: Include stdc-predef.h.
34883 * Makefile (headers): Add stdc-predef.h.
34884 * CONFORMANCE (Compiler limitations): Update.
34886 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34888 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34890 2012-02-21 David S. Miller <davem@davemloft.net>
34892 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34893 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34895 2012-02-20 David S. Miller <davem@davemloft.net>
34897 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34898 using a normal save/restore sequence, rather than allocating a
34899 dummy stack frame just to store a frame pointer and restore.
34900 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34902 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34904 * manual/install.texi: Fix stray word in line-wrapped comment.
34906 2012-02-20 David S. Miller <davem@davemloft.net>
34908 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34909 both binutils and gcc support GOTDATA.
34911 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34912 "rd %pc" in the PIC register setup sequences.
34914 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34915 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34916 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34917 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34918 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34920 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34921 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34922 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34923 (SYSCALL_ERROR_HANDLER): Likewise.
34924 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34925 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34926 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34927 (SYSCALL_ERROR_HANDLER): Likewise.
34929 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34930 (HAVE_GCC_GOTDATA): New.
34931 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34932 relocation support in both binutils and gcc.
34933 * sysdeps/sparc/elf/configure: Regenerate.
34935 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34936 * sysdeps/sparc/sparc32/elf/configure: Delete.
34937 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34938 * sysdeps/sparc/sparc64/elf/configure: Delete.
34939 * sysdeps/sparc/elf/configure.in: New file.
34940 * sysdeps/sparc/elf/configure: Generate.
34942 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34943 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34944 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34945 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34946 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34948 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34950 * manual/install.texi: Do not mention specific glibc version
34952 * manual/libc.texinfo (VERSION, UPDATED): Update.
34953 (@copying): Use @copyright{} and range of years.
34955 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34958 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34959 [crti.S not in sysdirs] (generated): Do not append.
34960 [crti.S not in sysdirs] (omit-deps): Likewise.
34961 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34962 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34963 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34964 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34965 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34967 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34968 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34969 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34970 * csu/defs.awk: Remove file.
34971 * sysdeps/generic/initfini.c: Likewise.
34972 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34974 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34977 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34979 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34980 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34981 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34982 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34983 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34984 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34986 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34987 (__EPOLL_PACKED): Define to empty if not defined by
34989 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34990 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34993 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34995 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34996 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34997 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34998 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35000 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35004 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35006 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35008 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35009 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35010 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35013 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35015 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35016 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35018 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35020 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35021 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35023 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35025 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35028 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35030 * math/w_acos.c: Use non-signaling floating-point comparisons.
35031 * math/w_acosf.c: Likewise.
35032 * math/w_acosh.c: Likewise.
35033 * math/w_acoshf.c: Likewise.
35034 * math/w_acoshl.c: Likewise.
35035 * math/w_acosl.c: Likewise.
35036 * math/w_asin.c: Likewise.
35037 * math/w_asinf.c: Likewise.
35038 * math/w_asinl.c: Likewise.
35039 * math/w_atanh.c: Likewise.
35040 * math/w_atanhf.c: Likewise.
35041 * math/w_atanhl.c: Likewise.
35042 * math/w_exp2.c: Likewise.
35043 * math/w_exp2f.c: Likewise.
35044 * math/w_exp2l.c: Likewise.
35045 * math/w_j0.c: Likewise.
35046 * math/w_j0f.c: Likewise.
35047 * math/w_j0l.c: Likewise.
35048 * math/w_j1.c: Likewise.
35049 * math/w_j1f.c: Likewise.
35050 * math/w_j1l.c: Likewise.
35051 * math/w_jn.c: Likewise.
35052 * math/w_jnf.c: Likewise.
35053 * math/w_log.c: Likewise.
35054 * math/w_log10.c: Likewise.
35055 * math/w_log10f.c: Likewise.
35056 * math/w_log10l.c: Likewise.
35057 * math/w_log2.c: Likewise.
35058 * math/w_log2f.c: Likewise.
35059 * math/w_log2l.c: Likewise.
35060 * math/w_logf.c: Likewise.
35061 * math/w_logl.c: Likewise.
35062 * math/w_sqrt.c: Likewise.
35063 * math/w_sqrtf.c: Likewise.
35064 * math/w_sqrtl.c: Likewise.
35065 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35066 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35067 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35068 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35069 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35071 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35074 * manual/string.texi (strnlen): Use correct parameter name in
35075 equivalent expression.
35077 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35080 * manual/users.texi (seteuid): Consistently use neweuid for
35083 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35086 * manual/nss.texi (Services in the NSS configuration): Correct
35087 list of services in example configuration file.
35089 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35092 * manual/arith.texi: Remove statements about negative zero
35093 behaving identically to zero.
35095 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35098 * manual/install.texi: Do not document upgrading from libc5.
35100 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35103 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35105 2012-02-18 David S. Miller <davem@davemloft.net>
35107 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35108 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35109 %o7 across the call.
35110 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35113 SETUP_PIC_REG_LEAF.
35114 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35115 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35116 * sysdeps/sparc/crtn.S: Likewise.
35118 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35120 * aout/Makefile: Remove.
35122 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35125 * manual/examples/argp-ex1.c (main): Format definition in GNU
35127 * manual/examples/argp-ex2.c (main): Likewise.
35128 * manual/examples/argp-ex3.c (main): Likewise.
35129 * manual/examples/argp-ex4.c (main): Likewise.
35130 * manual/examples/longopt.c (main): Use new-style prototype
35132 * manual/examples/strncat.c (main): Specify return type and use
35133 (void) for arguments.
35134 * manual/examples/subopt.c (main): Use char **argv argument.
35136 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35139 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35142 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35145 * manual/string.texi (strchr): Change when strchrnul is
35148 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35151 * manual/locale.texi (setlocale): Document LOCPATH.
35153 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35156 * manual/process.texi (execle): Move @dots{} before last argument.
35158 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35161 * manual/charset.texi (Generic Charset Conversion): Fix typo
35162 (LC_TYPE -> LC_CTYPE).
35164 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35167 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35168 (scalbnf): Likewise.
35169 (scalbnl): Likewise.
35170 (scalbln): Likewise.
35171 (scalblnf): Likewise.
35172 (scalblnl): Likewise.
35173 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35174 (vwarnx): Likewise.
35177 * manual/filesys.texi (telldir): Use braces around return type.
35178 * manual/llio.texi (mmap): Add space after comma.
35179 (mmap64): Likewise.
35180 * manual/math.texi (jn): Use @var{} on parameter names.
35186 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35188 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35190 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35191 (sched_get_priority_max): Likewise.
35192 * manual/signal.texi (sigvec): Add space after comma.
35193 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35195 (if_indextoname): Likewise.
35196 (if_freenameindex): Likewise.
35197 (sendto): Use ',' instead of '.' in prototype.
35198 * manual/startup.texi (syscall): Use @dots{} instead of literal
35200 * manual/stdio.texi (__fpending): Separate initial words of
35201 paragraph from @deftypefun line.
35202 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35204 (vsyslog): Use @var{} on parameter names.
35205 * manual/terminal.texi (stty): Use @var{} on parameter names.
35206 * manual/users.texi (getutmp): Use @var{} on parameter names.
35207 (getutmpx): Likewise.
35209 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35212 * manual/stdio.texi (fopen): Fix typos in description of
35215 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35218 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35219 get clock_id definition.
35221 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35224 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35225 (madvise): Cast every argument to void on its own.
35227 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35230 * manual/startup.texi (Exit Status): Fix typo.
35232 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35235 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35236 * manual/examples/argp-ex2.c: Likewise.
35237 * manual/examples/argp-ex3.c: Likewise.
35239 2012-02-16 Richard Henderson <rth@redhat.com>
35241 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35242 * sysdeps/s390/s390-32/initfini.c: Remove.
35243 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35244 * sysdeps/s390/s390-64/initfini.c: Remove.
35246 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35248 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35249 compiler output for sysdeps/generic/initfini.c.
35250 * sysdeps/sh/elf/initfini.c: Remove file.
35252 2012-02-16 David S. Miller <davem@davemloft.net>
35255 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35257 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35258 * sysdeps/sparc/crti.S: New file.
35259 * sysdeps/sparc/crtn.S: New file.
35260 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35261 * sysdeps/sparc/sparc64/Makefile: Likewise.
35263 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35266 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35268 2012-02-15 Roland McGrath <roland@hack.frob.com>
35271 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35273 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35274 (write, read, close): Likewise.
35275 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35277 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35279 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35280 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35281 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35282 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35284 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35288 2012-02-14 Marek Polacek <polacek@redhat.com>
35290 * sysdeps/x86_64/crti.S: New file.
35291 * sysdeps/x86_64/crtn.S: New file.
35292 * sysdeps/x86_64/elf/initfini.c: Remove file.
35294 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35296 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35297 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35298 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35299 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35301 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35305 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35307 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35308 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35309 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35310 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35312 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35316 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35318 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35319 __feraiseexcept instead of feraiseexcept.
35321 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35322 nanosleep invocations.
35323 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35324 strings, and add error checking for a nanosleep invocations.
35326 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35328 Replace FSF snail mail address with URLs, as per GNU coding standards.
35329 Most of the snail mail addresses were wrong anyway, and omitting
35330 them makes the source code easier to maintain. Almost all of the
35331 changes are to license notices and to locale LC_IDENTIFICATION
35332 addresses, except for this one:
35333 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35334 not its snail mail address.
35336 2012-02-09 Richard Henderson <rth@twiddle.net>
35338 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35339 of kernel-features.h.
35341 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35343 2012-02-08 Marek Polacek <polacek@redhat.com>
35345 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35346 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35347 * sysdeps/gnu/_G_config.h: Likewise.
35348 * sysdeps/generic/_G_config.h: Likewise.
35350 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35352 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35356 * sysdeps/powerpc/powerpc32/crti.S: New file.
35357 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35358 * sysdeps/powerpc/powerpc64/crti.S: New file.
35359 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35361 * Makeconfig (have-initfini): Don't set.
35362 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35363 * configure.in (nopic_initfini): Don't substitute.
35364 * config.h.in (HAVE_INITFINI): Don't #undef.
35365 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35366 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35368 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35370 Support crti.S and crtn.S provided directly by architectures.
35371 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35372 [crti.S in sysdirs] (omit-deps): Likewise.
35373 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35374 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35375 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35376 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35377 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35378 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35379 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35380 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35381 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35382 compiler output for sysdeps/generic/initfini.c.
35383 * sysdeps/i386/elf/Makefile: Remove file.
35384 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35386 2012-02-07 Marek Polacek <polacek@redhat.com>
35388 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35389 * sysdeps/gnu/_G_config.h: Likewise.
35390 * sysdeps/mach/hurd/_G_config.h: Likewise.
35392 2012-02-07 Marek Polacek <polacek@redhat.com>
35394 * math/Makefile (tests): Add tst-CMPLX2.
35395 * math/tst-CMPLX2.c: New file.
35397 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35399 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35401 * math/libm-test.inc (jn_test): Add missing L suffix.
35403 2012-02-06 Marek Polacek <polacek@redhat.com>
35405 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35406 * sysdeps/i386/fpu/e_powf.S: Likewise.
35407 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35408 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35409 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35410 * sysdeps/i386/fpu/e_pow.S: Likewise.
35411 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35412 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35413 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35414 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35415 * sysdeps/i386/fpu/e_log2.S: Likewise.
35416 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35417 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35418 * sysdeps/i386/fpu/e_powl.S: Likewise.
35419 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35420 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35421 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35422 * sysdeps/i386/fpu/e_logl.S: Likewise.
35423 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35424 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35425 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35426 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35427 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35428 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35429 * sysdeps/i386/fpu/e_log.S: Likewise.
35430 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35431 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35432 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35433 * sysdeps/i386/fpu/e_logf.S: Likewise.
35434 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35435 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35436 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35437 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35438 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35439 * sysdeps/i386/fpu/e_log10.S: Likewise.
35440 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35441 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35442 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35443 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35444 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35445 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35446 * sysdeps/i386/asm-syntax.h: Likewise.
35447 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35448 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35449 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35450 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35451 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35452 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35453 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35454 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35455 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35456 * sysdeps/powerpc/sysdep.h: Likewise.
35457 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35458 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35460 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35463 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35465 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35467 * sysdeps/i386/sysdep.h: Include <features.h>.
35468 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35471 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35473 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35475 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35478 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35480 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35481 (SETUP_PIC_REG): Use GET_PC_THUNK.
35482 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35485 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35487 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35488 for non-PIC compilation.
35489 (SETUP_PIC_REG): Add .p2align directive.
35490 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35491 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35492 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35493 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35494 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35495 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35496 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35497 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35498 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35499 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35500 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35501 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35502 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35503 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35504 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35505 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35506 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35507 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35508 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35509 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35510 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35511 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35512 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35513 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35514 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35515 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35516 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35517 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35518 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35519 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35520 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35521 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35522 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35523 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35524 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35525 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35526 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35527 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35528 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35529 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35530 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35532 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35534 * math/tst-CMPLX.c: Include <stdio.h>.
35536 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35538 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35540 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35541 * sysdeps/sparc/bits/mathdef.h: Likewise.
35543 2012-01-31 Marek Polacek <polacek@redhat.com>
35545 * libio/libio.h: Don't define _PARAMS.
35546 * locale/programs/config.h: Don't define PARAMS.
35547 * stdlib/strtol_l.c: Likewise.
35548 (__strtol_l): Remove PARAMS from the prototype.
35550 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35552 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35553 names. Just use the correct names. Remove unnecessary wrapper
35555 * malloc/arena.c: Likewise.
35556 * malloc/hooks.c: Likewise.
35558 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35559 ARENA_TEST says not to. Simplify test for creation of a new arena.
35560 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35562 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35564 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35566 (update_get_addr): New function.
35567 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35568 GET_ADDR_MODULE parameter.
35570 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35572 * crypt/cert.c: Remove __STDC__ conditionals.
35573 * crypt/crypt-entry.c: Likewise.
35574 * crypt/crypt_util.c: Likewise.
35575 * libio/filedoalloc.c: Likewise.
35576 * libio/fileops.c: Likewise.
35577 * libio/genops.c: Likewise.
35578 * libio/iofclose.c: Likewise.
35579 * libio/iofdopen.c: Likewise.
35580 * libio/iofopen.c: Likewise.
35581 * libio/iofopen64.c: Likewise.
35582 * libio/iogetdelim.c: Likewise.
35583 * libio/iopopen.c: Likewise.
35584 * libio/obprintf.c: Likewise.
35585 * libio/oldfileops.c: Likewise.
35586 * libio/oldiofclose.c: Likewise.
35587 * libio/oldiofdopen.c: Likewise.
35588 * libio/oldiofopen.c: Likewise.
35589 * libio/oldiopopen.c: Likewise.
35590 * libio/wfiledoalloc.c: Likewise.
35591 * libio/wgenops.c: Likewise.
35592 * locale/programs/xmalloc.c: Likewise.
35593 * misc/syslog.c: Likewise.
35594 * stdio-common/xbug.c: Likewise.
35595 * string/memchr.c: Likewise.
35596 * string/memcmp.c: Likewise.
35597 * string/memrchr.c: Likewise.
35598 * string/rawmemchr.c: Likewise.
35599 * sysdeps/posix/getcwd.c: Likewise.
35600 * time/strftime_l.c: Likewise.
35602 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35604 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35605 * config.make.in (config-cflags-sse2avx): Define.
35606 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35609 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35611 * scripts/config.guess: Update from upstream config git repository.
35612 * scripts/config.sub: Likewise.
35614 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35616 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35618 (R_TILEPRO_*, R_TILEGX_*): New macros.
35620 * scripts/firstversions.awk: Fix bug in version range handling.
35622 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35624 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35626 * include/sys/epoll.h: New file.
35627 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35630 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35632 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35633 Avoid unnecessary __WORDSIZE == 64 test.
35634 (fmaxf): Use VEX format if possible.
35639 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35640 * math/math_private.h: Remove libc_fegetround* and
35642 * sysdeps/i386/configure.in: Check for -msse2avx.
35643 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35644 also if SSE2AVX is defined.
35645 Remove libc_fegetround* and libc_fesetround*.
35646 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35647 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35648 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35650 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35651 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35652 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35653 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35654 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35656 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35658 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35660 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35662 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35664 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35667 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35669 * Makeconfig (libm): Define.
35670 * elf/Makefile: Add rules to build and run tst-relsort1.
35671 * elf/tst-relsort1.c: New file.
35672 * elf/tst-relsort1mod1.c: New file.
35673 * elf/tst-relsort1mod2.c: New file.
35675 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35677 * math/s_ldexp.c: Remove __STDC__ conditionals.
35678 * math/s_ldexpf.c: Likewise.
35679 * math/s_ldexpl.c: Likewise.
35680 * math/s_nextafter.c: Likewise.
35681 * math/s_nexttowardf.c: Likewise.
35682 * math/s_significand.c: Likewise.
35683 * math/s_significandf.c: Likewise.
35684 * math/s_significandl.c: Likewise.
35685 * math/w_jnl.c: Likewise.
35686 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35687 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35688 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35689 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35690 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35691 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35692 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35693 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35694 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35695 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35696 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35697 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35698 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35699 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35700 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35701 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35702 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35703 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35704 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35705 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35706 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35707 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35708 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35709 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35710 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35711 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35712 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35713 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35714 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35715 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35716 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35717 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35718 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35719 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35720 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35721 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35722 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35723 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35724 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35725 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35726 * sysdeps/ieee754/k_standard.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35736 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35745 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35746 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35757 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35758 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35759 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35760 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35761 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35762 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35763 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35764 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35765 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35766 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35767 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35768 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35769 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35770 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35771 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35772 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35773 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35774 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35775 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35776 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35777 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35778 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35779 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35780 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35781 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35782 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35783 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35784 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35785 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35786 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35787 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35788 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35789 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35790 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35791 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35792 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35793 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35794 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35795 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35796 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35797 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35798 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35799 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35800 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35801 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35802 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35803 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35804 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35805 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35806 * sysdeps/ieee754/s_matherr.c: Likewise.
35807 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35808 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35809 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35810 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35812 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35814 * crypt/md5.h: Remove __STDC__ conditionals.
35815 * libio/libioP.h: Likewise.
35816 * locale/programs/config.h: Likewise.
35817 * sysdeps/generic/sysdep.h: Likewise.
35818 * sysdeps/i386/asm-syntax.h: Likewise.
35819 * sysdeps/s390/asm-syntax.h: Likewise.
35820 * sysdeps/unix/sysdep.h: Likewise.
35821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35824 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35826 * libio/libio.h: Remove __STDC__ conditionals.
35827 * malloc/obstack.h: Likewise.
35828 * math/complex.h: Likewise.
35829 * math/math.h: Likewise.
35830 * sysdeps/generic/_G_config.h: Likewise.
35831 * sysdeps/gnu/_G_config.h: Likewise.
35832 * sysdeps/mach/hurd/_G_config.h: Likewise.
35833 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35834 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35835 * sysdeps/sparc/bits/mathdef.h: Likewise.
35837 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35840 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35841 Clean up HAS_* macros.
35842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35843 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35845 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35847 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35848 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35849 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35850 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35851 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35853 2012-01-25 Joseph Myers <joseph@codesourcery.com>
35855 * elf/tst-unique3.cc (gets): Remove declaration.
35856 * elf/tst-unique3lib.cc (gets): Likewise.
35857 * elf/tst-unique3lib2.cc (gets): Likewise.
35858 * elf/tst-unique4.cc (gets): Likewise.
35860 2012-01-24 Ulrich Drepper <drepper@gmail.com>
35862 * include/stdio.h: Add C++ protection. Add gets declarations and
35864 * debug/tst-chk1.c: Don't declare gets here.
35865 * stdio-common/tst-gets.c: Likewise.
35867 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35869 * posix/glob: Remove directory.
35871 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35873 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35875 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35877 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35878 of the non-standard EPFNOSUPPORT.
35880 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35882 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35883 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35884 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35886 2012-01-21 Ulrich Drepper <drepper@gmail.com>
35888 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35890 2012-01-20 Ulrich Drepper <drepper@gmail.com>
35892 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35894 * nscd/grpcache.c (cache_addgr): Likewise.
35895 * nscd/hstcache.c (cache_addhst): Likewise.
35896 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35897 * nscd/pwdcache.c (cache_addpw): Likewise.
35898 * nscd/servicescache.c (cache_addserv): Likewise.
35900 2012-01-16 Ulrich Drepper <drepper@gmail.com>
35902 * malloc/malloc.c: Various cleanups.
35903 * malloc/hooks.c: Likewise.
35905 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35906 * stdlib/bug-fmtmsg1.c: New file.
35908 * stdlib/fmtmsg.c (init): Add missing unlock.
35909 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35911 2012-01-12 Marek Polacek <polacek@redhat.com>
35913 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35916 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35918 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35919 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35920 macro to ensure uniqueness of label name.
35921 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35922 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35924 2012-01-11 Ulrich Drepper <drepper@gmail.com>
35926 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35928 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35929 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35930 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35931 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35933 2012-01-10 Ulrich Drepper <drepper@gmail.com>
35935 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35937 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35938 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35939 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35941 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35943 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35944 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35945 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35946 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35948 * math/bits/math-finite.h: Add ldexp support.
35950 2012-01-10 Marek Polacek <polacek@redhat.com>
35952 * locale/programs/localedef.h (show_archive_content): Add noreturn
35955 2012-01-09 Ulrich Drepper <drepper@gmail.com>
35957 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35959 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35961 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35963 * io/Makefile (headers): Add bits/poll2.h.
35965 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35968 typo #include statement.
35970 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35972 * include/sys/cdefs.h: Define __attribute_alloc_size.
35973 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35974 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35975 * elf/pldd.c: Likewise.
35976 * iconv/iconv_charmap.c: Likewise.
35977 * iconv/iconvconfig.c: Likewise.
35978 * iconv/strtab.c: Likewise.
35979 * locale/programs/locale.c: Likewise.
35980 * locale/programs/localedef.h: Likewise.
35981 * locale/programs/simple-hash.c: Likewise.
35982 * nscd/nscd.h: Likewise.
35983 * nss/makedb.c: Likewise.
35984 * sysdeps/generic/ldconfig.h: Likewise.
35985 * locale/programs/localedef.c: Remove xmalloc prototype.
35986 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35988 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35990 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35993 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35995 * math/Makefile (tests): Add tst-CMPLX.
35996 * math/tst-CMPLX.c: New file.
35998 * math/complex.h (CMPLXL): Fix typo.
36000 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36001 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36003 * debug/tst-chk1.c: Add poll and ppoll tests.
36004 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36005 * include/sys/poll.h: Add hidden proto for ppoll.
36006 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36007 * sysdeps/mach/hurd/ppoll.c: Likewise.
36008 * io/ppoll.c: Likewise.
36009 * debug/poll_chk.c: New file.
36010 * debug/ppoll_chk.c: New file.
36011 * include/bits/poll2.h: New file.
36012 * io/bits/poll2.h: New file.
36015 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36017 * configure.in: static is always set to yes. Remove.
36018 * config.make.in: Don't set build-static.
36019 * Makeconfig: Remove use of build-static.
36020 * dlfcn/Makefile: Likewise.
36021 * elf/Makefile: Likewise.
36022 * math/Makefile: Likewise.
36023 * misc/Makefile: Likewise.
36024 * nptl/Makefile: Likewise.
36025 * sysdeps/mach/hurd/Makefile: Likewise.
36027 * configure.in: PWD_P is not used anymore.
36028 * config.make.in: Remove PWD_P entry.
36030 * configure.in: Remove last remnants of RANLIB.
36031 No need to check for signed size_t anymore.
36032 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36034 Remove __builtin_expect test because we require at least gcc 3.4.
36035 * aclocal.m4: Likewise.
36037 * wcsmbs/mbrtoc16.c: Implement using towc function.
36038 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36039 * wcsmbs/wcsmbsload.c: Likewise.
36040 * iconv/gconv_simple.c: Likewise.
36041 * iconv/gconv_int.h: Likewise.
36042 * iconv/gconv_builtin.h: Likewise.
36043 * iconv/iconv_prog.c: Remove CHAR16 handling.
36045 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36047 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36049 * configure.in: Remove --with-elf and --enable-bounded options.
36050 Dont set base_machine for ia64. More non-ELF conditions removed.
36051 Remove testing and setting of leading underscore information.
36052 * config.make.in (build-bounded): Set to no.
36053 * config.h.in: Remove NO_UNDERSCORES entry.
36054 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36056 * csu/start.c: Remove !NO_UNDERSCORE code.
36057 * locale/localeinfo.h: Likewise.
36058 * sysdeps/generic/machine-gmon.h: Likewise.
36059 * sysdeps/generic/sysdep.h: Likewise.
36060 * sysdeps/i386/sysdep.h: Likewise.
36061 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36062 * sysdeps/mach/sysdep.h: Likewise.
36063 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36064 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36065 * sysdeps/sh/sysdep.h: Likewise.
36066 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36067 * sysdeps/unix/i386/sysdep.S: Likewise.
36068 * sysdeps/unix/sparc/start.c: Likewise.
36069 * sysdeps/unix/sparc/sysdep.S: Likewise.
36070 * sysdeps/unix/sparc/sysdep.h: Likewise.
36071 * sysdeps/unix/start.c: Likewise.
36072 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36073 * sysdeps/x86_64/sysdep.h: Likewise.
36075 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36078 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36080 * argp/argp-fmtstream.h: Use const instead __const.
36081 * argp/argp.h: Likewise.
36082 * assert/assert.h: Likewise.
36083 * bits/fenv.h: Likewise.
36084 * bits/sched.h: Likewise.
36085 * bits/sigset.h: Likewise.
36086 * bits/sigthread.h: Likewise.
36087 * catgets/nl_types.h: Likewise.
36088 * conform/data/pthread.h-data: Likewise.
36089 * crypt/crypt-private.h: Likewise.
36090 * crypt/crypt.h: Likewise.
36091 * crypt/crypt_util.c: Likewise.
36092 * ctype/ctype.h: Likewise.
36093 * debug/execinfo.h: Likewise.
36094 * debug/mbsnrtowcs_chk.c: Likewise.
36095 * debug/mbsrtowcs_chk.c: Likewise.
36096 * debug/wcsnrtombs_chk.c: Likewise.
36097 * debug/wcsrtombs_chk.c: Likewise.
36098 * debug/wcstombs_chk.c: Likewise.
36099 * dirent/dirent.h: Likewise.
36100 * dlfcn/dlfcn.h: Likewise.
36101 * elf/neededtest4.c: Likewise.
36102 * grp/grp.h: Likewise.
36103 * gshadow/gshadow.h: Likewise.
36104 * iconv/gconv.h: Likewise.
36105 * iconv/gconv_int.h: Likewise.
36106 * iconv/gconv_simple.c: Likewise.
36107 * iconv/iconv.h: Likewise.
36108 * iconv/loop.c: Likewise.
36109 * iconv/skeleton.c: Likewise.
36110 * include/aio.h: Likewise.
36111 * include/aliases.h: Likewise.
36112 * include/argz.h: Likewise.
36113 * include/arpa/inet.h: Likewise.
36114 * include/assert.h: Likewise.
36115 * include/dirent.h: Likewise.
36116 * include/dlfcn.h: Likewise.
36117 * include/execinfo.h: Likewise.
36118 * include/fcntl.h: Likewise.
36119 * include/fenv.h: Likewise.
36120 * include/glob.h: Likewise.
36121 * include/grp.h: Likewise.
36122 * include/libintl.h: Likewise.
36123 * include/mntent.h: Likewise.
36124 * include/netdb.h: Likewise.
36125 * include/pwd.h: Likewise.
36126 * include/rpc/netdb.h: Likewise.
36127 * include/sched.h: Likewise.
36128 * include/search.h: Likewise.
36129 * include/shadow.h: Likewise.
36130 * include/signal.h: Likewise.
36131 * include/stdio.h: Likewise.
36132 * include/stdlib.h: Likewise.
36133 * include/string.h: Likewise.
36134 * include/sys/socket.h: Likewise.
36135 * include/sys/stat.h: Likewise.
36136 * include/sys/statfs.h: Likewise.
36137 * include/sys/statvfs.h: Likewise.
36138 * include/sys/syslog.h: Likewise.
36139 * include/sys/time.h: Likewise.
36140 * include/sys/uio.h: Likewise.
36141 * include/time.h: Likewise.
36142 * include/unistd.h: Likewise.
36143 * include/utmp.h: Likewise.
36144 * include/wchar.h: Likewise.
36145 * include/wctype.h: Likewise.
36146 * inet/aliases.h: Likewise.
36147 * inet/arpa/inet.h: Likewise.
36148 * inet/netinet/ether.h: Likewise.
36149 * inet/netinet/in.h: Likewise.
36150 * intl/libintl.h: Likewise.
36151 * io/bits/fcntl2.h: Likewise.
36152 * io/fcntl.h: Likewise.
36153 * io/ftw.h: Likewise.
36154 * io/sys/poll.h: Likewise.
36155 * io/sys/stat.h: Likewise.
36156 * io/sys/statfs.h: Likewise.
36157 * io/sys/statvfs.h: Likewise.
36158 * io/utime.h: Likewise.
36159 * libio/bits/stdio.h: Likewise.
36160 * libio/bits/stdio2.h: Likewise.
36161 * libio/libio.h: Likewise.
36162 * libio/libioP.h: Likewise.
36163 * libio/stdio.h: Likewise.
36164 * locale/lc-ctype.c: Likewise.
36165 * locale/locale.h: Likewise.
36166 * login/utmp.h: Likewise.
36167 * malloc/arena.c: Likewise.
36168 * malloc/malloc.c: Likewise.
36169 * malloc/malloc.h: Likewise.
36170 * malloc/mcheck.c: Likewise.
36171 * malloc/mtrace.c: Likewise.
36172 * math/bits/mathcalls.h: Likewise.
36173 * math/fenv.h: Likewise.
36174 * math/math_private.h: Likewise.
36175 * misc/bits/error.h: Likewise.
36176 * misc/bits/syslog.h: Likewise.
36177 * misc/err.h: Likewise.
36178 * misc/error.h: Likewise.
36179 * misc/fstab.h: Likewise.
36180 * misc/mntent.h: Likewise.
36181 * misc/regexp.h: Likewise.
36182 * misc/search.h: Likewise.
36183 * misc/sgtty.h: Likewise.
36184 * misc/sys/mman.h: Likewise.
36185 * misc/sys/syslog.h: Likewise.
36186 * misc/sys/uio.h: Likewise.
36187 * misc/sys/xattr.h: Likewise.
36188 * misc/ttyent.h: Likewise.
36189 * nis/rpcsvc/ypclnt.h: Likewise.
36190 * nss/nss.h: Likewise.
36191 * posix/bits/unistd.h: Likewise.
36192 * posix/fnmatch.h: Likewise.
36193 * posix/glob.h: Likewise.
36194 * posix/sched.h: Likewise.
36195 * posix/spawn.h: Likewise.
36196 * posix/sys/wait.h: Likewise.
36197 * posix/unistd.h: Likewise.
36198 * posix/wordexp.h: Likewise.
36199 * pwd/pwd.h: Likewise.
36200 * resolv/netdb.h: Likewise.
36201 * resource/sys/resource.h: Likewise.
36202 * rt/aio.h: Likewise.
36203 * rt/bits/mqueue2.h: Likewise.
36204 * rt/mqueue.h: Likewise.
36205 * shadow/shadow.h: Likewise.
36206 * signal/signal.h: Likewise.
36207 * socket/send.c: Likewise.
36208 * socket/sendto.c: Likewise.
36209 * socket/sys/socket.h: Likewise.
36210 * stdio-common/printf.h: Likewise.
36211 * stdlib/bits/stdlib.h: Likewise.
36212 * stdlib/fmtmsg.h: Likewise.
36213 * stdlib/monetary.h: Likewise.
36214 * stdlib/stdlib.h: Likewise.
36215 * stdlib/ucontext.h: Likewise.
36216 * streams/stropts.h: Likewise.
36217 * string/argz.h: Likewise.
36218 * string/bits/string2.h: Likewise.
36219 * string/string.h: Likewise.
36220 * string/strings.h: Likewise.
36221 * sunrpc/rpc/auth.h: Likewise.
36222 * sunrpc/rpc/auth_des.h: Likewise.
36223 * sunrpc/rpc/clnt.h: Likewise.
36224 * sunrpc/rpc/netdb.h: Likewise.
36225 * sunrpc/rpc/pmap_clnt.h: Likewise.
36226 * sunrpc/rpc/xdr.h: Likewise.
36227 * sysdeps/generic/inttypes.h: Likewise.
36228 * sysdeps/generic/net/if.h: Likewise.
36229 * sysdeps/generic/sys/swap.h: Likewise.
36230 * sysdeps/gnu/net/if.h: Likewise.
36231 * sysdeps/gnu/utmpx.h: Likewise.
36232 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36233 * sysdeps/i386/i486/bits/string.h: Likewise.
36234 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36235 * sysdeps/s390/bits/string.h: Likewise.
36236 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36237 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36238 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36239 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36240 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36241 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36242 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36243 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36244 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36245 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36246 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36247 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36248 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36249 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36250 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36251 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36252 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36253 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36254 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36255 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36256 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36257 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36258 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36259 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36260 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36261 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36262 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36263 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36264 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36265 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36266 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36267 * sysvipc/sys/ipc.h: Likewise.
36268 * sysvipc/sys/msg.h: Likewise.
36269 * sysvipc/sys/sem.h: Likewise.
36270 * sysvipc/sys/shm.h: Likewise.
36271 * termios/termios.h: Likewise.
36272 * time/sys/time.h: Likewise.
36273 * time/time.h: Likewise.
36274 * wcsmbs/bits/wchar2.h: Likewise.
36275 * wcsmbs/uchar.h: Likewise.
36276 * wcsmbs/wchar.h: Likewise.
36277 * wctype/wctype.h: Likewise.
36280 * Makeconfig: Remove all but ELF support including AIX support.
36281 * Makerules: Likewise.
36282 * config.h.in: Likewise.
36283 * config.make.in: Likewise.
36284 * configure: Likewise.
36285 * configure.in: Likewise.
36286 * csu/Makefile: Likewise.
36287 * csu/version.c: Likewise.
36288 * debug/Makefile: Likewise.
36289 * dlfcn/Makefile: Likewise.
36290 * elf/Makefile: Likewise.
36291 * extra-lib.mk: Likewise.
36292 * iconv/Makefile: Likewise.
36293 * include/libc-symbols.h: Likewise.
36294 * include/shlib-compat.h: Likewise.
36295 * resolv/Makefile: Likewise.
36296 * resolv/res_libc.c: Likewise.
36297 * rt/Makefile: Likewise.
36298 * sysdeps/i386/asm-syntax.h: Likewise.
36299 * sysdeps/i386/sysdep.h: Likewise.
36300 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36301 * sysdeps/mach/sysdep.h: Likewise.
36302 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36303 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36304 * sysdeps/s390/asm-syntax.h: Likewise.
36305 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36306 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36307 * sysdeps/sh/sysdep.h: Likewise.
36308 * sysdeps/unix/sparc/sysdep.h: Likewise.
36309 * sysdeps/wordsize-32/divdi3.c: Likewise.
36310 * sysdeps/x86_64/sysdep.h: Likewise.
36312 * argp/Versions: Remove _argp_unlock_xxx.
36315 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36316 * abilist/libBrokenLocale.abilist: Likewise.
36317 * abilist/libanl.abilist: Likewise.
36318 * abilist/libc.abilist: Likewise.
36319 * abilist/libcrypt.abilist: Likewise.
36320 * abilist/libdl.abilist: Likewise.
36321 * abilist/libm.abilist: Likewise.
36322 * abilist/libnsl.abilist: Likewise.
36323 * abilist/libpthread.abilist: Likewise.
36324 * abilist/libresolv.abilist: Likewise.
36325 * abilist/librt.abilist: Likewise.
36326 * abilist/libthread_db.abilist: Likewise.
36327 * abilist/libutil.abilist: Likewise.
36328 * abilist/libnss_db.abilist: New file.
36330 * scripts/abilist.awk: Add support for indirect functions.
36332 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36334 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36336 * shlib-versions: Remove entries for ports architectures.
36338 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36340 * elf/stackguard-macros.h: Remove support for IA-64.
36341 * elf/tst-auditmod1.c: Likewise.
36342 * sysdeps/generic/ldsodefs.h: Likewise.
36344 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36345 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36349 * configure.in: Remove --enable-omitfp support.
36351 * config.make.in: Likewise.
36352 * Makeconfig: Likewise.
36353 * manual/install.texi: Likewise.
36355 In case anyone cares, the IA-64 architecture could move to ports.
36356 * sysdeps/ia64/*: Removed.
36357 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36358 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36361 * configure.in: Remove entries for unsupported architectures.
36364 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36365 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36367 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36368 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36369 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36370 fall back to using wcrtomb.
36371 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36372 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36374 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36375 * wcsmbs/tst-c16c32-1.c: New file.
36377 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36380 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36382 * elf/tst-unique3.cc: Add explicit declaration of gets.
36383 * elf/tst-unique3lib.cc: Likewise.
36384 * elf/tst-unique3lib2.cc: Likewise.
36385 * elf/tst-unique4.cc: Likewise.
36387 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36389 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36392 * assert/assert.h (static_assert): Don't define for C++.
36393 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36394 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36396 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36398 * iconv/loop.c (single loop): Fix assertion in storing of
36401 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36403 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36405 * posix/getconf.c: Update copyright year.
36406 * nss/getent.c: Likewise.
36407 * nss/makedb.c: Likewise.
36408 * iconv/iconvconfig.c: Likewise.
36409 * iconv/iconv_prog.c: Likewise.
36410 * elf/ldconfig.c: Likewise.
36411 * elf/pldd.c: Likewise.
36412 * elf/sotruss.ksh: Likewise.
36413 * catgets/gencat.c: Likewise.
36414 * csu/version.c: Likewise.
36415 * elf/ldd.bash.in: Likewise.
36416 * elf/sprof.c (print_version): Likewise.
36417 * locale/programs/locale.c: Likewise.
36418 * locale/programs/localedef.c: Likewise.
36419 * login/programs/pt_chown.c: Likewise.
36420 * nscd/nscd.c (print_version): Likewise.
36421 * debug/xtrace.sh: Likewise.
36422 * malloc/memusage.sh: Likewise.
36423 * malloc/mtrace.pl: Likewise.
36424 * debug/catchsegv.sh: Likewise.
36426 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36428 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36431 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36434 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36435 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36437 * iconv/gconv_int.h: Likewise.
36438 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36439 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36440 from libc for GLIBC_2.16.
36441 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36442 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36443 * wcsmbs/uchar.h: Really define mbstate_t.
36444 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36445 * wcsmbs/c16rtomb.c: New file.
36446 * wcsmbs/mbrtoc16.c: New file.
36447 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36448 for C/POSIX locale.
36449 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36450 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36452 * wcsmbs/wchar.h: Add missing __restrict.
36454 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36457 * time/Makefile (routines): Add timespec_get.
36458 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36459 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36460 timespec for ISO C11.
36461 * time/timespec_get.c: New file.
36462 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36463 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36466 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36467 * stdlib/stdlib.h: Declare aligned_alloc.
36468 * Versions.def: Add GLIBC_2.16 for libc.
36469 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36472 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36475 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36479 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36482 * assert/assert.h (static_assert): Define.
36484 * version.h: Update for 2.16 development version.
36487 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36490 * version.h (RELEASE): Bump for 2.15 release.
36491 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36493 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36494 Patch by Marek Polacek <mpolacek@redhat.com>.
36496 * bits/byteswap.h: Protect long long constants with __extension__.
36497 * sysdeps/i386/bits/byteswap.h: Likewise.
36498 * sysdeps/ia64/bits/byteswap.h: Likewise.
36499 * sysdeps/s390/bits/byteswap.h: Likewise.
36500 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36502 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36505 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36506 destination buffer.
36507 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36509 2011-12-23 Marek Polacek <polacek@redhat.com>
36511 * elf/dl-addr.c (determine_info): Add inline keyword.
36512 * elf/tst-auditmod4b.c (check_avx): Likewise.
36513 * elf/tst-auditmod6b.c (check_avx): Likewise.
36514 * elf/tst-auditmod6c.c (check_avx): Likewise.
36515 * elf/tst-auditmod7b.c (check_avx): Likewise.
36517 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36519 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36522 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36525 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36526 processing for last bytes.
36528 2011-08-06 Bruno Haible <bruno@clisp.org>
36531 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36532 U+0385, not to U+1FEE.
36535 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36536 entry for U+00A5 U+0301.
36538 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36541 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36542 buffer for the output is too small.
36544 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36548 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36549 SSE flags if possible.
36551 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36554 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36555 processing for last bytes.
36557 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36559 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36560 (syscall-list-default-options, syscall-list-default-condition)
36561 (syscall-list-includes): Define.
36562 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36563 list of ABIs and options and #if conditions for each ABI. Do not
36564 handle common syscalls between ABIs specially.
36565 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36567 (syscall-list-variants, syscall-list-32bit-options)
36568 (syscall-list-32bit-condition, syscall-list-64bit-options)
36569 (syscall-list-64bit-condition): Define.
36570 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36571 (syscall-list-variants, syscall-list-32bit-options)
36572 (syscall-list-32bit-condition, syscall-list-64bit-options)
36573 (syscall-list-64bit-condition): Define.
36574 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36576 (syscall-list-variants, syscall-list-32bit-options)
36577 (syscall-list-32bit-condition, syscall-list-64bit-options)
36578 (syscall-list-64bit-condition): Define.
36579 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36581 (syscall-list-variants, syscall-list-32bit-options)
36582 (syscall-list-32bit-condition, syscall-list-64bit-options)
36583 (syscall-list-64bit-condition): Define.
36585 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36587 * locale/iso-639.def: Add brx entry.
36590 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36591 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36593 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36594 __feraiseexcept_renamed.
36596 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36599 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36600 EPOLLET with unsigned values.
36601 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36602 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36604 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36605 to large cancellation.
36606 * math/s_cacoshf.c: Likewise.
36607 * math/s_cacoshl.c: Likewise.
36609 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36613 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36614 * math/s_cacoshf.c: Likewise.
36615 * math/s_cacoshl.c: Likewise.
36617 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36620 * iconv/gconv.h: Define __GCONV_SWAP.
36621 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36622 * iconvdata/utf-16.c: Likewise.
36623 * iconvdata/utf-32.c: Likewise.
36625 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36628 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36629 numerator after shifting it by one limb.
36631 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36633 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36634 under [__USE_EXTERN_INLINES].
36636 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36639 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36641 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36643 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36644 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36646 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36647 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36648 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36649 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36650 for strncasecmp/strncasecmp_l compilation.
36651 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36652 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36654 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36657 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36660 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36663 * time/tzfile.c (__tzfile_read): Check values from file header.
36665 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36667 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36668 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36669 * powerpc/powerpc32/dl-start.S: Likewise.
36670 * powerpc/powerpc32/elf/start.S: Likewise.
36671 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36672 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36673 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36674 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36675 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36676 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36677 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36678 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36679 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36680 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36681 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36682 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36683 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36684 * powerpc/powerpc32/memset.S: Likewise.
36685 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36686 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36687 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36688 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36689 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36690 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36691 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36692 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36693 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36694 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36695 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36696 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36697 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36699 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36701 * math/libm-test.inc: Added more nearbyint tests.
36702 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36703 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36704 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36705 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36707 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36709 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36712 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36714 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36715 Add wcscpy-ssse3 wcscpy-c.
36716 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36717 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36718 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36719 * sysdeps/x86_64/wcschr.S: New file.
36720 * sysdeps/x86_64/wcsrchr.S: New file.
36721 * string/test-strcmp.c: Remove checking of wcscmp function for
36723 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36724 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36725 wcsrchr-sse2 wcsrchr-c.
36726 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36727 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36728 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36729 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36730 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36731 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36732 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36733 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36734 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36735 * wcsmbc/wcschr.c (WCSCHR): New macro.
36737 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36739 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36740 * wcsmbs/test-wcsrchr.c: New file.
36741 * string/test-strrchr.c: Add wcsrchr support.
36743 * wcsmbs/test-wcscpy.c: New file.
36744 * string/test-strcpy.c: Add wcscpy support.
36747 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36749 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36752 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36755 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36757 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36759 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36760 Minor optimizations.
36762 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36763 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36764 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36766 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36768 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36769 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36770 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36771 for gcc to avoid warnings.
36772 * inet/Makefile (tests): Add tst-checks.
36773 * inet/tst-checks.c: New file.
36775 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36778 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36781 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36782 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36784 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36786 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36788 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36791 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36793 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36795 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36796 conditional on GCC version.
36797 (__arch_compare_and_exchange_val_8_acq)
36798 (__arch_compare_and_exchange_val_16_acq)
36799 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36800 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36801 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36803 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36805 * sysdeps/sh/backtrace.c: New file.
36807 2011-12-02 Andreas Schwab <schwab@redhat.com>
36809 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36812 2011-12-01 Andreas Schwab <schwab@redhat.com>
36814 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36815 falling back to utime.
36817 2011-11-30 Andreas Schwab <schwab@redhat.com>
36819 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36820 expectations for float.
36822 2011-11-29 Andreas Schwab <schwab@redhat.com>
36824 * locale/weight.h (findidx): Add parameter len.
36825 * locale/weightwc.h (findidx): Likewise.
36826 * posix/fnmatch_loop.c (FCT): Adjust caller.
36827 * posix/regcomp.c (build_equiv_class): Likewise.
36828 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36829 * posix/regexec.c (check_node_accept_bytes): Likewise.
36830 * string/strcoll_l.c (STRCOLL): Likewise.
36831 * string/strxfrm_l.c (STRXFRM): Likewise.
36833 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36835 * Makefile.in: Remove CVSOPT handling.
36836 * configure.in: Remove use of AC_REVISION.
36837 * iconvdata/Makefile (distribute): No need to filter out CVS.
36838 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36841 2011-11-16 Andreas Schwab <schwab@redhat.com>
36843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36844 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36845 [USE_AS_STRNCASECMP_L]: Likewise.
36846 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36847 NO_TLS_DIRECT_SEG_REFS.
36848 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36849 Fix argument offsets for non-PIC.
36850 [USE_AS_STRNCASECMP_L]: Likewise.
36851 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36852 NO_TLS_DIRECT_SEG_REFS.
36854 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36856 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36858 * locale/loadlocale.c (_nl_load_locale): Likewise.
36860 2011-11-15 Andreas Schwab <schwab@redhat.com>
36862 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36863 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36864 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36865 (SYSCALL_GETTIME): Set errno on error.
36867 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36868 count references to noai6ai_cached.
36870 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36872 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36874 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36875 FD_CLOEXEC for /proc/self/maps.
36877 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36878 FD_CLOEXEC for /proc/meminfo.
36880 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36883 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36884 FD_CLOEXEC for given file.
36886 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36888 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36889 FD_CLOEXEC for /etc/hosts.
36890 (_gethtent): Likewise.
36892 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36894 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36895 cancellation and set FD_CLOEXEC for /etc/netgroup.
36897 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36898 reading /etc/publickey.
36900 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36901 allow cancellation when reading /etc/group.
36903 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36905 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36907 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36908 when using data file.
36910 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36912 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36913 (write_nis_obj): Use "c" and "e" in fopen.
36915 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36917 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36919 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36921 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36923 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36926 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36928 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36930 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36932 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36933 file parsing and set FD_CLOEXEC.
36935 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36937 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36939 2011-11-14 Andreas Schwab <schwab@redhat.com>
36941 * malloc/arena.c (arena_get2): Don't call reused_arena when
36942 _int_new_arena failed.
36944 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36946 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36947 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36948 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36949 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36950 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36951 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36952 to compile strcasecmp and strncasecmp.
36953 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36954 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36956 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36958 2011-11-13 Ulrich Drepper <drepper@gmail.com>
36960 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36961 locale-defines.sym to gen-as-const-headers.
36962 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36963 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36964 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36965 to compile strcasecmp and strncasecmp.
36966 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36967 strcasecmp_l and strncasecmp_l.
36968 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36969 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36970 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36971 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36972 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36973 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36974 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36975 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36976 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36977 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36978 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36980 2011-11-12 Ulrich Drepper <drepper@gmail.com>
36982 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36983 result of SYSDEP_GETTIME_CPU to retval.
36984 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36985 parameter list to macro. Remove trailing semicolon. Adjust users.
36987 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36990 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36992 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36994 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36995 from unused variable.
36997 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36999 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37002 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37005 * sunrpc/rpc_prot.c (rejected): Fix case value.
37007 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37008 unsigned long long int to avoid warnings in shift.
37010 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37012 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37015 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37016 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37017 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37019 * nis/nis_table.c (nis_list): Use variable of correct type for
37020 result of __follow_path call.
37022 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37024 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37025 of math functions ceil, trunc, floor, round, and sqrt, when
37026 avaliable on the platform.
37027 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37029 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37030 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37031 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37033 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37035 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37036 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37038 2011-11-11 Roland McGrath <roland@hack.frob.com>
37040 * include/unistd.h: Fix __readlink return type.
37041 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37043 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37045 * stdlib/ucontext.h: Undo last change for makecontext.
37047 2011-11-11 Andreas Schwab <schwab@redhat.com>
37049 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37051 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37052 * setjmp/setjmp.h: Mark functions as non-leaf.
37053 * setjmp/bits/setjmp2.h: Likewise.
37054 * stdlib/ucontext.h: Likewise.
37056 2011-11-10 Andreas Schwab <schwab@redhat.com>
37058 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37059 (reused_arena): Don't check arena limit.
37060 (arena_get2): Atomically check arena limit.
37062 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37064 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37065 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37067 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37070 2011-11-07 Andreas Schwab <schwab@redhat.com>
37072 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37073 handler when locking.
37075 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37076 Fix size of allocated buffer.
37078 2011-11-04 Andreas Schwab <schwab@redhat.com>
37081 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37082 declarations for long double functions.
37083 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37085 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37087 2011-11-03 Andreas Schwab <schwab@redhat.com>
37089 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37092 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37095 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37097 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37099 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37101 * include/alloca.h (stackinfo_alloca_round): Define.
37102 (extend_alloca): Use it.
37103 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37104 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37107 * scripts/check-local-headers.sh: Ignore libaudit.h.
37109 * nscd/Makefile (extra-objs): Make recursively expanded.
37111 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37113 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37114 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37116 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37117 * posix/tst-rfc3484-2.c: Likewise.
37118 * posix/tst-rfc3484-3.c: Likewise.
37120 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37122 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37124 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37125 process_vm_writev from libc using GLIBC_2.15 version.
37127 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37129 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37131 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37134 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37137 * nss/getent.c (initgroups_keys): Show error message in case no group
37140 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37141 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37142 __bump_nl_timestamp.
37143 * nscd/connections (nscd_init): When host database is served open
37144 netlink socket and request notification about configuration changes.
37145 (main_loop_poll): Track netlink file descriptor and bump timestamp
37146 in case data becomes available.
37147 (main_loop_epoll): Likewise.
37148 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37149 (database_pers_head): Add extra_data fileds.
37150 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37151 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37152 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37154 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37155 in6ai data, call __free_in6ai.
37156 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37157 Add -DHAVE_NETLINK.
37158 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37159 interface information. Reuse previous data if netlink timestamp
37161 (__bump_nl_timestamp): New function.
37162 (__free_in6ai): New function.
37164 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37166 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37167 close_not_cancel_no_status here.
37168 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37170 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37173 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37176 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37177 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37178 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37180 2011-07-03 Andreas Jaeger <aj@suse.de>
37183 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37184 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37185 * math/libm-test.inc (sin_test): Add test case.
37187 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37190 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37191 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37193 * elf/chroot_canon.c (chroot_canon): Cleanups.
37195 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37198 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37199 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37201 * string/test-strchr.c: Make usable for strchrnul testing.
37202 * string/test-strchrnul.c: New file.
37203 * string/Makefile (strop-tests): Add strchrnul.
37205 * po/it.po: Update from translation team.
37206 * po/es.po: Likewise.
37208 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37210 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37211 the three constants needed as parameters. Drop the others.
37212 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37213 __m128i_strloadu_tolower.
37214 Create and initialize variable zero and use it in all the places
37215 where _mm_setzero_si128 was used.
37217 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37218 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37219 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37220 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37222 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37223 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37224 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37225 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37226 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37227 __mpranred, __mptan.
37228 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37229 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37230 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37231 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37232 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37233 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37234 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37235 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37236 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37238 2011-10-28 Andreas Schwab <schwab@redhat.com>
37240 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37241 redefine if SHARED.
37242 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37245 wide char related routines to wcsmbs subdir.
37247 2011-10-27 Andreas Schwab <schwab@redhat.com>
37250 * misc/sys/cdefs.h (__THROWNL): Define.
37251 * posix/unistd.h: Use __THREADNL instead of __THREAD
37252 for memory synchronization functions.
37254 2011-10-26 Roland McGrath <roland@hack.frob.com>
37257 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37259 * manual/stdio.texi (Obstack Streams): Node removed.
37261 2011-10-26 Andreas Schwab <schwab@redhat.com>
37263 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37264 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37265 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37267 * math/math_private.h (math_force_eval): Allow non-addressable
37269 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37271 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37273 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37274 file is not needed.
37276 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37277 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37278 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37279 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37280 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37281 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37282 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37283 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37285 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37286 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37287 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37288 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37289 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37290 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37291 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37292 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37293 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37294 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37295 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37296 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37297 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37298 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37299 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37300 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37301 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37302 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37303 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37305 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37306 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37308 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37309 place. Use VEX encoding when compiling for AVX.
37311 2011-10-25 Andreas Schwab <schwab@redhat.com>
37313 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37314 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37316 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37318 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37320 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37321 useless if() expression.
37322 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37323 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37324 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37325 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37326 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37327 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37328 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37329 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37330 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37331 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37332 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37333 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37334 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37335 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37336 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37337 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37338 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37339 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37340 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37342 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37344 2011-10-25 Andreas Schwab <schwab@redhat.com>
37346 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37348 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37350 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37352 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37353 .text section. Avoid duplicate constants.
37354 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37355 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37356 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37357 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37358 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37359 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37360 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37361 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37362 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37363 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37364 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37365 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37366 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37367 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37368 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37369 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37370 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37371 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37372 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37373 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37374 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37375 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37376 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37377 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37378 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37379 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37380 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37381 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37382 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37383 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37384 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37385 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37386 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37387 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37388 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37389 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37390 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37391 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37392 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37393 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37394 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37395 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37396 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37397 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37398 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37400 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37402 * sysdeps/x86_64/dla.h: Move to ...
37403 * sysdeps/x86_64/fpu/dla.h: ...here.
37404 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37405 situations. Use __builtin_fma only for gcc 4.6 and up.
37407 * config.make.in: Add have-mfma4 entry.
37408 * configure.in: Substitute libc_cv_cc_fma4.
37409 * math/Makefile (dbl-only-routines): Add sincostab.
37410 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37411 Use __sincostab not sincos.
37412 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37414 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37415 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37416 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37417 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37419 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37420 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37421 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37422 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37424 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37425 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37427 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37428 define aliases when function name is a macro.
37429 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37430 sysdeps/ieee754/dbl-64/sincos.tbl.
37431 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37432 fma4-enabled routines.
37433 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37434 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37435 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37436 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37437 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37438 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37439 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37440 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37441 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37442 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37443 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37444 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37445 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37446 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37447 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37448 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37449 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37450 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37451 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37452 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37453 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37454 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37455 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37456 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37457 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37458 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37459 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37460 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37461 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37462 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37464 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37466 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37467 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37468 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37469 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37470 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37471 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37472 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37473 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37475 2011-10-24 Andreas Schwab <schwab@redhat.com>
37477 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37479 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37481 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37483 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37485 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37487 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37488 Remove unused variable magic_bits.
37489 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37491 * string/strnlen.c: Define and use STRNLEN macro.
37492 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37493 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37494 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37495 * wcsmbs/wcslen.c: Define and use WCSLEN.
37496 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37497 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37498 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37499 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37500 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37501 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37502 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37504 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37507 strnlen-sse2-no-bsf.
37508 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37509 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37510 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37511 Add strnlen support.
37512 (USE_AS_STRNLEN): New macro.
37513 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37514 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37515 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37516 * sysdeps/x86_64/wcslen.S: New file.
37518 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37521 XMM-moves are used for copying on small sizes.
37523 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37525 * wcsmbs/Makefile (strop-tests): Add wcschr.
37526 * wcsmbs/test-wcschr.c: New file.
37527 * string/test-strchr.c: Update.
37528 Add wcschr support.
37531 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37533 * wcsmbs/Makefile (strop-tests): Add wcslen.
37534 * wcsmbs/test-wcslen.c: New file.
37535 * string/test-strlen.c: Update.
37536 Add wcslen support.
37539 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37541 * po/it.po: Update from translation team.
37543 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37545 * sysdeps/x86_64/wcscmp.S: Update.
37546 Fix wrong comparison semantics.
37547 wcscmp shall use signed comparison not unsigned.
37548 Don't use substraction to avoid overflow bug.
37549 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37550 * wcsmbc/wcscmp.c: Likewise.
37551 * string/test-strcmp.c: Likewise.
37552 Add new tests to check cases with negative values.
37554 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37556 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37557 * sysdeps/x86_64/dla.h: ...here. New file.
37558 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37559 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37560 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37561 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37562 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37568 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37570 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37571 __ynl_finite aliases.
37573 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37577 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37579 [DLA_FMA] (EMULV): Use DLA_FMA.
37580 [DLA_FMA] (MUL12): Use EMULV.
37581 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37582 that are not needed.
37583 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37584 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37585 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37586 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37588 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37589 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37591 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37593 * math/s_nan.c: Undef __nan.
37594 * math/s_nanf.c: Undef __nanf.
37595 * math/s_nanl.c: Undef __nanl.
37596 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37599 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37601 * math/s_catan.c: Add branch predictions.
37602 * math/s_catanf.c: Likewise.
37603 * math/s_catanh.c: Likewise.
37604 * math/s_catanhf.c: Likewise.
37605 * math/s_catanhl.c: Likewise.
37606 * math/s_catanl.c: Likewise.
37607 * math/s_cexp.c: Likewise.
37608 * math/s_cexpf.c: Likewise.
37609 * math/s_cexpl.c: Likewise.
37610 * math/s_clog.c: Likewise.
37611 * math/s_clog10.c: Likewise.
37612 * math/s_clog10f.c: Likewise.
37613 * math/s_clog10l.c: Likewise.
37614 * math/s_clogf.c: Likewise.
37615 * math/s_clogl.c: Likewise.
37616 * math/s_csqrt.c: Likewise.
37617 * math/s_csqrtf.c: Likewise.
37618 * math/s_csqrtl.c: Likewise.
37619 * math/s_ctanf.c: Likewise.
37620 * math/s_ctanh.c: Likewise.
37621 * math/s_ctanhf.c: Likewise.
37622 * math/s_ctanhl.c: Likewise.
37623 * math/s_ctanl.c: Likewise.
37625 * math/math_private.h: Define __nan, __nanf, __nanl.
37626 * math/s_cacosh.c: Include <math_private.h>.
37627 * math/s_cacoshl.c: Likewise.
37628 * math/s_casinh.c: Likewise.
37629 * math/s_casinhf.c: Likewise.
37630 * math/s_casinhl.c: Likewise.
37631 * math/s_ccos.c: Rely entire on ccosh.
37632 * math/s_ccosf.c: Rely entire on ccoshf.
37633 * math/s_ccosl.c: Rely entirely on ccoshl.
37634 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37635 Remove tests for FE_INVALID.
37636 * math/s_ccoshf.c: Likewise.
37637 * math/s_ccoshl.c: Likewise.
37638 * math/s_csin.c: Likewise.
37639 * math/s_csinf.c: Likewise.
37640 * math/s_csinh.c Likewise.
37641 * math/s_csinhf.c: Likewise.
37642 * math/s_csinhl.c: Likewise.
37643 * math/s_csinl.c: Likewise.
37644 * math/s_ctan.c: Likewise.
37645 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37646 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37647 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37649 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37652 compilation problems.
37654 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37657 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37659 * sysdeps/i386/configure.in: Test for -mfma4 option.
37660 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37661 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37662 COMMON_CPUID_INDEX_80000001.
37663 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37664 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37665 use it if FMA3 is not supported.
37666 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37668 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37669 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37671 2011-10-20 Andreas Schwab <schwab@redhat.com>
37674 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37675 it would create a cycle with a link time dependency.
37677 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37679 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37681 * string/Makefile (strop-tests): Add rawmemchr.
37682 * string/test-rawmemchr.c: New file.
37684 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37685 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37686 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37687 when compiling str{,n}casecmp and when AVX is available. Hook up
37688 new optimized code in initializers.
37690 2011-10-19 Andreas Schwab <schwab@redhat.com>
37692 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37693 __feraiseexcept instead of feraiseexcept.
37695 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37697 * math/math_private.h: Define defaults for libc_fetestexcept and
37699 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37700 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37701 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37702 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37703 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37704 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37705 libc_fetestexcept and libc_feupdateenv.
37707 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37708 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37709 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37710 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37711 libc_feholdexcept_setround.
37713 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37714 Add s_nearbyint-c and s_nearbyintf-c.
37715 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37716 nearbyintf inlines.
37717 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37718 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37719 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37720 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37722 * math/math_private.h: Define defaults for libc_fegetround,
37723 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37724 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37725 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37726 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37727 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37728 standard functions.
37729 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37730 Remove comments and hacks for old compiler versions.
37731 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37732 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37733 libc_feholdexceptl.
37735 2011-10-18 Andreas Schwab <schwab@redhat.com>
37737 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37738 (__feraiseexcept_renamed): Add __NTH.
37739 (feraiseexcept): Add __NTH. Rename local variables to fix
37740 namespace violations.
37742 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37744 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37746 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37748 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37749 recently added interfaces.
37750 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37752 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37753 about macro parameter expansion.
37755 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37756 __NO_MATH_INLINES is defined. Cleanups.
37758 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37759 and __floorf is target has SSE4.1.
37760 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37761 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37762 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37763 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37765 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37767 (floorf): Likewise.
37769 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37771 2011-10-17 Andreas Schwab <schwab@redhat.com>
37773 * misc/sys/cdefs.h: Fix last change.
37775 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37778 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37780 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37782 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37783 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37784 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37785 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37786 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37787 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37788 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37789 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37790 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37791 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37792 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37793 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37794 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37795 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37796 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37797 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37798 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37799 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37800 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37801 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37802 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37803 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37805 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37806 ceil, ceilf, floor, floorf.
37808 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37809 Perform IRELATIVE relocations last.
37811 * elf/do-rel.h: Add another parameter nrelative, replacing the
37812 local variable with the same name. Change name of the function
37813 to end in Rel or Rela (uppercase).
37814 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37815 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37816 elf_dynamic_do_##reloc function.
37818 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37820 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37821 is sufficient, at least on modern CPUs.
37823 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37825 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37826 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37828 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37830 * math/bits/math-finite.h: Add entries for exp.
37831 * math/e_expl.c: Add __*_finite alias.
37832 * sysdeps/i386/fpu/e_exp.S: Likewise.
37833 * sysdeps/i386/fpu/e_expf.S: Likewise.
37834 * sysdeps/i386/fpu/e_expl.c: Likewise.
37835 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37836 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37837 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37838 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37839 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37840 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37841 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37843 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37844 is sufficient, at least on modern CPUs.
37846 * ctype/ctype-info.c (__ctype_init): Define.
37847 * include/ctype.h (__ctype_init): Declare.
37848 (__ctype_b_loc): The variable is always initialized.
37849 (__ctype_toupper_loc): Likewise.
37850 (__ctype_tolower_loc): Likewise.
37851 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37852 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37854 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37856 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37858 * configure.in: Also look in $cxxmachine/include for C++ system
37861 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37863 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37864 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37865 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37866 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37867 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37868 (USE_AS_WMEMCMP): New macro.
37870 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37871 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37872 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37873 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37874 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37875 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37876 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37877 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37878 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37879 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37880 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37881 (USE_AS_WMEMCMP): New macro.
37882 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37883 * sysdeps/string/test-memcmp.c: Update.
37884 Fix simple_wmemcmp.
37886 * wcsmbs/wmemcmp.c: Update.
37887 (WMEMCMP): New macro.
37890 2011-10-12 Andreas Jaeger <aj@suse.de>
37893 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37895 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37897 * libio/iofwide.c (do_length): Avoid warning.
37899 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37901 2011-10-14 Ulrich Drepper <drepper@gmail.com>
37903 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37905 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37906 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37907 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37908 * sysdeps/i386/i686/fpu/e_log.S: New file.
37909 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37910 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37912 * ctype/ctype.h: Add support for inlined isXXX functions when
37913 compiling C++ code.
37915 2011-10-14 Andreas Schwab <schwab@redhat.com>
37917 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37919 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37921 2011-10-13 Roland McGrath <roland@hack.frob.com>
37924 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37926 2011-10-13 Andreas Schwab <schwab@redhat.com>
37928 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37929 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37932 * sysdeps/x86_64/memrchr.S: Check for zero size.
37934 * string/stratcliff.c: Add memrchr tests.
37936 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37938 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37939 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37940 rawmemchr-sse2 rawmemchr-sse2-bsf.
37941 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37942 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37943 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37944 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37945 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37946 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37947 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37948 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37949 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37950 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37951 * string/memrchr.c (MEMRCHR): New macro.
37953 2011-10-12 Ulrich Drepper <drepper@gmail.com>
37955 Add integration with gcc's -ffinite-math-only and optimize wrapper
37957 * Versions.def: Define GLIBC_2.15 version for libm.
37958 * math/Makefile (headers): Add bits/math-finite.h.
37959 * math/bits/math-finite.h: New file.
37960 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37961 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37962 * math/e_acoshl.c: Add __*_finite alias.
37963 * math/e_acosl.c: Likewise.
37964 * math/e_asinl.c: Likewise.
37965 * math/e_atan2l.c: Likewise.
37966 * math/e_atanhl.c: Likewise.
37967 * math/e_coshl.c: Likewise.
37968 * math/e_exp10.c: Likewise.
37969 * math/e_exp10f.c: Likewise.
37970 * math/e_exp10l.c: Likewise.
37971 * math/e_exp2l.c: Likewise.
37972 * math/e_fmodl.c: Likewise.
37973 * math/e_gammal_r.c: Likewise.
37974 * math/e_hypotl.c: Likewise.
37975 * math/e_j0l.c: Likewise.
37976 * math/e_j1l.c: Likewise.
37977 * math/e_jnl.c: Likewise.
37978 * math/e_lgammal_r.c: Likewise.
37979 * math/e_log10l.c: Likewise.
37980 * math/e_log2l.c: Likewise.
37981 * math/e_logl.c: Likewise.
37982 * math/e_powl.c: Likewise.
37983 * math/e_sinhl.c: Likewise.
37984 * math/e_sqrtl.c: Likewise.
37985 * math/e_scalb.c: Completely rewritten and optimized.
37986 * math/e_scalbf.c: Likewise.
37987 * math/e_scalbl.c: Likewise.
37988 * math/w_acos.c: Likewise.
37989 * math/w_acosf.c: Likewise.
37990 * math/w_acosl.c: Likewise.
37991 * math/w_acosh.c: Likewise.
37992 * math/w_acoshf.c: Likewise.
37993 * math/w_acoshl.c: Likewise.
37994 * math/w_asin.c: Likewise.
37995 * math/w_asinf.c: Likewise.
37996 * math/w_asinl.c: Likewise.
37997 * math/w_atan2.c: Likewise.
37998 * math/w_atan2f.c: Likewise.
37999 * math/w_atan2l.c: Likewise.
38000 * math/w_atanh.c: Likewise.
38001 * math/w_atanhf.c: Likewise.
38002 * math/w_atanhl.c: Likewise.
38003 * math/w_exp10.c: Likewise.
38004 * math/w_exp10f.c: Likewise.
38005 * math/w_exp10l.c: Likewise.
38006 * math/w_fmod.c: Likewise.
38007 * math/w_fmodf.c: Likewise.
38008 * math/w_fmodl.c: Likewise.
38009 * math/w_j0.c: Likewise.
38010 * math/w_j0f.c: Likewise.
38011 * math/w_j0l.c: Likewise.
38012 * math/w_j1.c: Likewise.
38013 * math/w_j1f.c: Likewise.
38014 * math/w_j1l.c: Likewise.
38015 * math/w_jn.c: Likewise.
38016 * math/w_jnf.c: Likewise.
38017 * math/w_log.c: Likewise.
38018 * math/w_logf.c: Likewise.
38019 * math/w_logl.c: Likewise.
38020 * math/w_log10.c: Likewise.
38021 * math/w_log10f.c: Likewise.
38022 * math/w_log10l.c: Likewise.
38023 * math/w_log2.c: Likewise.
38024 * math/w_log2f.c: Likewise.
38025 * math/w_log2l.c: Likewise.
38026 * math/w_pow.c: Likewise.
38027 * math/w_powf.c: Likewise.
38028 * math/w_powl.c: Likewise.
38029 * math/w_remainder.c: Likewise.
38030 * math/w_remainderf.c: Likewise.
38031 * math/w_remainderl.c: Likewise.
38032 * math/w_scalb.c: Likewise.
38033 * math/w_scalbf.c: Likewise.
38034 * math/w_scalbl.c: Likewise.
38035 * math/w_sqrt.c: Likewise.
38036 * math/w_sqrtf.c: Likewise.
38037 * math/w_sqrtl.c: Likewise.
38038 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38039 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38041 * math/math_private.h: Declare __kernel_standard_f.
38042 * math/w_cosh.c: Remove cruft and optimize a bit.
38043 * math/w_coshf.c: Likewise.
38044 * math/w_coshl.c: Likewise.
38045 * math/w_exp2.c: Likewise.
38046 * math/w_exp2f.c: Likewise.
38047 * math/w_exp2l.c: Likewise.
38048 * math/w_hypot.c: Likewise.
38049 * math/w_hypotf.c: Likewise.
38050 * math/w_hypotl.c: Likewise.
38051 * math/w_lgamma.c: Likewise.
38052 * math/w_lgamma_r.c: Likewise.
38053 * math/w_lgammaf.c: Likewise.
38054 * math/w_lgammaf_r.c: Likewise.
38055 * math/w_lgammal.c: Likewise.
38056 * math/w_lgammal_r.c: Likewise.
38057 * math/w_sinh.c: Likewise.
38058 * math/w_sinhf.c: Likewise.
38059 * math/w_sinhl.c: Likewise.
38060 * math/w_tgamma.c: Likewise.
38061 * math/w_tgammaf.c: Likewise.
38062 * math/w_tgammal.c: Likewise.
38063 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38064 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38065 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38066 Minor optimizations. Pretty printing. Remove cruft.
38067 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38068 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38069 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38070 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38071 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38072 * sysdeps/i386/fpu/e_asin.S: Likewise.
38073 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38074 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38075 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38076 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38077 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38078 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38079 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38080 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38081 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38082 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38083 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38084 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38085 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38086 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38087 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38088 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38089 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38090 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38091 * sysdeps/i386/fpu/e_log.S: Likewise.
38092 * sysdeps/i386/fpu/e_log10.S: Likewise.
38093 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38094 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38095 * sysdeps/i386/fpu/e_log2.S: Likewise.
38096 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38097 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38098 * sysdeps/i386/fpu/e_logf.S: Likewise.
38099 * sysdeps/i386/fpu/e_logl.S: Likewise.
38100 * sysdeps/i386/fpu/e_pow.S: Likewise.
38101 * sysdeps/i386/fpu/e_powf.S: Likewise.
38102 * sysdeps/i386/fpu/e_powl.S: Likewise.
38103 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38104 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38105 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38106 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38107 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38108 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38109 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38110 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38111 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38112 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38113 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38114 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38115 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38116 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38117 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38118 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38119 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38120 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38121 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38122 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38123 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38124 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38125 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38126 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38127 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38128 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38129 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38130 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38131 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38132 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38133 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38134 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38135 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38136 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38137 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38138 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38139 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38140 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38141 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38142 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38143 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38144 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38145 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38146 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38147 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38148 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38149 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38150 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38151 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38152 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38153 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38154 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38155 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38156 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38157 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38158 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38159 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38160 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38161 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38162 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38163 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38164 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38165 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38166 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38167 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38168 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38169 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38170 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38171 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38172 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38173 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38174 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38175 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38176 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38177 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38178 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38179 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38180 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38181 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38182 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38183 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38184 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38185 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38186 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38187 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38188 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38189 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38190 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38191 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38192 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38193 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38194 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38195 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38196 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38197 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38198 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38199 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38200 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38201 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38202 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38203 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38204 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38205 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38206 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38207 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38208 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38209 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38210 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38211 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38212 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38213 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38214 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38215 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38216 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38217 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38218 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38219 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38220 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38221 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38222 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38223 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38224 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38225 (__isnanf): Likewise.
38226 (__isinf_ns): Likewise.
38227 (__isinf_nsf): Likewise.
38228 (__finite): Likewise.
38229 (__finitef): Likewise.
38230 (__ieee754_sqrt): Define as macro.
38231 (__ieee754_sqrtf): Define as macro.
38232 (__ieee754_sqrtl): Define as macro.
38233 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38235 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38236 __FINITE_MATH_ONLY__ consistent.
38237 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38239 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38241 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38244 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38246 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38248 * po/ja.po: Update from translation team.
38250 2011-10-08 Roland McGrath <roland@hack.frob.com>
38252 * locale/programs/locarchive.c (prepare_address_space): New function.
38253 (create_archive, enlarge_archive, open_archive): Use it.
38255 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38256 inside [SHARED], where it is used.
38258 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38260 * nss/getent.c (netgroup_keys): Remove unused variable.
38261 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38263 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38265 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38266 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38267 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38268 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38269 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38270 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38271 * math/Makefile (libm-calls): Add s_isinf_ns.
38272 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38273 * math/multc3.c: Likewise.
38274 * math/s_casin.c: Likewise.
38275 * math/s_casinf.c: Likewise.
38276 * math/s_casinl.c: Likewise.
38277 * math/s_ccos.c: Likewise.
38278 * math/s_ccosf.c: Likewise.
38279 * math/s_ccosl.c: Likewise.
38280 * math/s_ctan.c: Likewise.
38281 * math/s_ctanf.c: Likewise.
38282 * math/s_ctanh.c: Likewise.
38283 * math/s_ctanhf.c: Likewise.
38284 * math/s_ctanhl.c: Likewise.
38285 * math/s_ctanl.c: Likewise.
38286 * math/w_fmod.c: Likewise.
38287 * math/w_fmodf.c: Likewise.
38288 * math/w_fmodl.c: Likewise.
38289 * math/w_remainder.c: Likewise.
38290 * math/w_remainderf.c: Likewise.
38291 * math/w_remainderl.c: Likewise.
38292 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38293 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38294 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38295 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38296 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38297 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38298 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38299 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38301 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38303 * stdio-common/printf_fphex.c: Likewise.
38304 * stdio-common/printf_size.c: Likewise.
38306 * math/e_exp10.c: Include math_private.h using <...> not "...".
38307 * math/e_exp10f.c: Likewise.
38308 * math/e_exp10l.c: Likewise.
38309 * math/e_exp2l.c: Likewise.
38310 * math/e_j0l.c: Likewise.
38311 * math/e_j1l.c: Likewise.
38312 * math/e_jnl.c: Likewise.
38313 * math/e_lgammal_r.c: Likewise.
38314 * math/e_rem_pio2l.c: Likewise.
38315 * math/e_scalb.c: Likewise.
38316 * math/e_scalbf.c: Likewise.
38317 * math/e_scalbl.c: Likewise.
38318 * math/k_cosl.c: Likewise.
38319 * math/k_sinl.c: Likewise.
38320 * math/k_tanl.c: Likewise.
38321 * math/s_cacoshf.c: Likewise.
38322 * math/s_catan.c: Likewise.
38323 * math/s_catanf.c: Likewise.
38324 * math/s_catanh.c: Likewise.
38325 * math/s_catanhf.c: Likewise.
38326 * math/s_catanhl.c: Likewise.
38327 * math/s_catanl.c: Likewise.
38328 * math/s_ccosh.c: Likewise.
38329 * math/s_ccoshf.c: Likewise.
38330 * math/s_ccoshl.c: Likewise.
38331 * math/s_cexp.c: Likewise.
38332 * math/s_cexpf.c: Likewise.
38333 * math/s_cexpl.c: Likewise.
38334 * math/s_clog.c: Likewise.
38335 * math/s_clog10.c: Likewise.
38336 * math/s_clog10f.c: Likewise.
38337 * math/s_clog10l.c: Likewise.
38338 * math/s_clogf.c: Likewise.
38339 * math/s_clogl.c: Likewise.
38340 * math/s_csin.c: Likewise.
38341 * math/s_csinf.c: Likewise.
38342 * math/s_csinh.c: Likewise.
38343 * math/s_csinhf.c: Likewise.
38344 * math/s_csinhl.c: Likewise.
38345 * math/s_csinl.c: Likewise.
38346 * math/s_csqrt.c: Likewise.
38347 * math/s_csqrtf.c: Likewise.
38348 * math/s_csqrtl.c: Likewise.
38349 * math/s_ctan.c: Likewise.
38350 * math/s_ctanf.c: Likewise.
38351 * math/s_ctanh.c: Likewise.
38352 * math/s_ctanhf.c: Likewise.
38353 * math/s_ctanhl.c: Likewise.
38354 * math/s_ctanl.c: Likewise.
38355 * math/s_ldexp.c: Likewise.
38356 * math/s_ldexpf.c: Likewise.
38357 * math/s_ldexpl.c: Likewise.
38358 * math/s_significand.c: Likewise.
38359 * math/s_significandf.c: Likewise.
38360 * math/s_significandl.c: Likewise.
38361 * math/w_acos.c: Likewise.
38362 * math/w_acosf.c: Likewise.
38363 * math/w_acosh.c: Likewise.
38364 * math/w_acoshf.c: Likewise.
38365 * math/w_acoshl.c: Likewise.
38366 * math/w_acosl.c: Likewise.
38367 * math/w_asin.c: Likewise.
38368 * math/w_asinf.c: Likewise.
38369 * math/w_asinl.c: Likewise.
38370 * math/w_atan2.c: Likewise.
38371 * math/w_atan2f.c: Likewise.
38372 * math/w_atan2l.c: Likewise.
38373 * math/w_atanh.c: Likewise.
38374 * math/w_atanhf.c: Likewise.
38375 * math/w_atanhl.c: Likewise.
38376 * math/w_cosh.c: Likewise.
38377 * math/w_coshf.c: Likewise.
38378 * math/w_coshl.c: Likewise.
38379 * math/w_dremf.c: Likewise.
38380 * math/w_exp10.c: Likewise.
38381 * math/w_exp10f.c: Likewise.
38382 * math/w_exp10l.c: Likewise.
38383 * math/w_exp2.c: Likewise.
38384 * math/w_exp2f.c: Likewise.
38385 * math/w_fmod.c: Likewise.
38386 * math/w_fmodf.c: Likewise.
38387 * math/w_fmodl.c: Likewise.
38388 * math/w_hypot.c: Likewise.
38389 * math/w_hypotf.c: Likewise.
38390 * math/w_hypotl.c: Likewise.
38391 * math/w_j0.c: Likewise.
38392 * math/w_j0f.c: Likewise.
38393 * math/w_j0l.c: Likewise.
38394 * math/w_j1.c: Likewise.
38395 * math/w_j1f.c: Likewise.
38396 * math/w_j1l.c: Likewise.
38397 * math/w_jn.c: Likewise.
38398 * math/w_jnf.c: Likewise.
38399 * math/w_jnl.c: Likewise.
38400 * math/w_lgamma.c: Likewise.
38401 * math/w_lgamma_r.c: Likewise.
38402 * math/w_lgammaf.c: Likewise.
38403 * math/w_lgammaf_r.c: Likewise.
38404 * math/w_lgammal.c: Likewise.
38405 * math/w_lgammal_r.c: Likewise.
38406 * math/w_log.c: Likewise.
38407 * math/w_log10.c: Likewise.
38408 * math/w_log10f.c: Likewise.
38409 * math/w_log10l.c: Likewise.
38410 * math/w_log2.c: Likewise.
38411 * math/w_log2f.c: Likewise.
38412 * math/w_log2l.c: Likewise.
38413 * math/w_logf.c: Likewise.
38414 * math/w_logl.c: Likewise.
38415 * math/w_pow.c: Likewise.
38416 * math/w_powf.c: Likewise.
38417 * math/w_powl.c: Likewise.
38418 * math/w_remainder.c: Likewise.
38419 * math/w_remainderf.c: Likewise.
38420 * math/w_remainderl.c: Likewise.
38421 * math/w_scalb.c: Likewise.
38422 * math/w_scalbf.c: Likewise.
38423 * math/w_scalbl.c: Likewise.
38424 * math/w_sinh.c: Likewise.
38425 * math/w_sinhf.c: Likewise.
38426 * math/w_sinhl.c: Likewise.
38427 * math/w_sqrt.c: Likewise.
38428 * math/w_sqrtf.c: Likewise.
38429 * math/w_sqrtl.c: Likewise.
38430 * math/w_tgamma.c: Likewise.
38431 * math/w_tgammaf.c: Likewise.
38432 * math/w_tgammal.c: Likewise.
38434 * po/ja.po: Update from translation team.
38436 2011-09-29 Andreas Jaeger <aj@suse.de>
38439 * sunrpc/netname.c (netname2host): Fix logic.
38443 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38445 * math/w_remainder.c (__remainder): Likewise.
38446 * math/w_remainderf.c (__remainderf): Likewise.
38447 * math/libm-test.inc (remainder_test): Add test cases.
38449 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38451 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38454 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38456 * string/test-memcmp.c: Avoid unncessary #defines.
38457 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38459 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38461 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38462 Use new sse2 version for core i3 - i7 as it's faster
38463 than sse42 version.
38464 (bit_Prefer_PMINUB_for_stringop): New.
38465 * sysdeps/x86_64/rawmemchr.S: Update.
38466 Replace with faster SSE2 version.
38467 * sysdeps/x86_64/memrchr.S: New file.
38468 * sysdeps/x86_64/memchr.S: Update.
38469 Replace with faster SSE2 version.
38471 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38473 * elf/dl-load.c (lose): Add cast to avoid warning.
38475 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38477 * po/ca.po: Update from translation team.
38479 * inet/getnetgrent_r.c: Hook up nscd.
38480 * nscd/Makefile (routines): Add nscd_netgroup.
38481 (nscd-modules): Add netgroupcache.
38482 (CFLAGS-netgroupcache.c): Define.
38483 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38484 (cache_search): Add const to second parameter.
38485 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38487 (dbs): Add netgrdb entry.
38488 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38489 (verify_persistent_db): Handle netgrdb.
38490 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38491 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38493 (netgroup_response_header): Define.
38494 (innetgroup_response_header): Define.
38495 (datahead): Add netgroup_response_header and innetgroup_response_header
38497 * nscd/nscd.conf: Add entries for netgroup cache.
38498 * nscd/nscd.h (dbtype): Add netgrdb.
38499 (_PATH_NSCD_NETGROUP_DB): Define.
38500 (netgroup_iov_disabled): Declare.
38501 (xmalloc, xcalloc, xrealloc): Move declarations here.
38502 (cache_search): Adjust prototype.
38503 Add netgroup-related prototypes.
38504 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38505 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38506 (__nscd_innetgr): Declare.
38507 * nscd/selinux.c (perms): Use access_vector_t as element type and
38508 add netgroup-related initializers.
38509 * nscd/netgroupcache.c: New file.
38510 * nscd/nscd_netgroup.c: New file.
38511 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38512 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38513 For four parameters use innetgr.
38514 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38515 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38516 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38517 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38519 * nscd/connections.c (register_traced_file): Don't register file
38520 for disabled databases.
38522 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38524 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38526 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38527 from tree and freeing node.
38529 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38531 * nss/nsswitch.c (__nss_database_lookup): Handle
38532 nss_parse_service_list out of memory case.
38534 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38536 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38537 out of memory case.
38539 2011-10-04 Andreas Schwab <schwab@redhat.com>
38541 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38542 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38544 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38545 elf_machine_rela, elf_machine_lazy_rel.
38546 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38547 (ELF_DYNAMIC_DO_REL): Likewise.
38548 (ELF_DYNAMIC_DO_RELA): Likewise.
38549 (ELF_DYNAMIC_RELOCATE): Likewise.
38550 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38551 to ELF_DYNAMIC_DO_REL.
38552 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38553 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38554 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38556 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38557 skip_ifunc, don't call ifunc function if non-zero.
38558 (elf_machine_rela): Likewise.
38559 (elf_machine_lazy_rel): Likewise.
38560 (elf_machine_lazy_rela): Likewise.
38561 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38562 (elf_machine_lazy_rel): Likewise.
38563 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38565 (elf_machine_lazy_rel): Likewise.
38566 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38568 (elf_machine_lazy_rel): Likewise.
38569 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38570 (elf_machine_lazy_rel): Likewise.
38571 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38572 (elf_machine_lazy_rel): Likewise.
38573 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38574 (elf_machine_lazy_rel): Likewise.
38575 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38576 (elf_machine_lazy_rel): Likewise.
38577 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38578 (elf_machine_lazy_rel): Likewise.
38579 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38580 (elf_machine_lazy_rel): Likewise.
38582 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38584 * nss/nss_files/files-init.c (_nss_files_init): Use static
38585 initialization for all the *_traced_file variables.
38587 2011-09-28 Andreas Schwab <schwab@redhat.com>
38589 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38591 2011-09-27 Roland McGrath <roland@hack.frob.com>
38594 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38596 2011-09-27 Andreas Schwab <schwab@redhat.com>
38598 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38599 Reread the line before reparsing it.
38601 2011-09-26 Andreas Schwab <schwab@redhat.com>
38603 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38605 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38606 Maxim Kuvyrkov <maxim@codesourcery.com>
38607 Joseph Myers <joseph@codesourcery.com>
38609 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38610 if needed for __stack_chk_guard.
38612 2011-09-19 Roland McGrath <roland@hack.frob.com>
38614 * sysdeps/posix/spawni.c (script_execute): Always define it.
38615 It will be optimized away if unused.
38616 (maybe_script_execute): New function.
38617 (__spawni): Call it.
38619 * Makerules: Don't include tls.make.
38620 (config-tls): Always set to thread.
38621 * tls.make.c: File removed.
38623 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38625 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38626 * config.make.in (CPPFLAGS-config): New substituted variable.
38628 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38630 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38633 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38634 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38636 2011-09-15 Roland McGrath <roland@hack.frob.com>
38638 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38639 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38640 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38641 (CALL_FAIL): Likewise.
38642 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38643 (CALL_FAIL): Macro removed.
38644 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38646 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38648 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38649 for __FINITE_MATH_ONLY__ == 1.
38651 2011-09-15 Andreas Schwab <schwab@redhat.com>
38653 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38654 __ieee754_sqrt instead of sqrt.
38655 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38656 __ieee754_sqrtf instead of sqrtf.
38657 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38658 __floorf instead of floorf.
38659 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38660 __floorf, __truncf instead of floorf, truncf.
38662 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38664 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38666 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38667 __extern_always_inline.
38668 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38671 2011-09-14 Andreas Schwab <schwab@redhat.com>
38673 * elf/rtld.c (dl_main): Also relocate in dependency order when
38674 doing symbol dependency testing.
38676 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38678 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38679 Always define `refsym'.
38681 2011-09-13 Andreas Schwab <schwab@redhat.com>
38683 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38684 (__FD_ELT): Renamed from __FDELT.
38685 * misc/bits/select2.h (__FD_ELT): Likewise.
38686 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38687 __FD_MASK instead of __FDELT, __FDMASK.
38688 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38690 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38693 * elf/Makefile (gen-ldd): Fix pattern.
38695 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38696 (init_tls): Likewise.
38698 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38700 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38702 2011-09-12 Andreas Schwab <schwab@redhat.com>
38704 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38705 `struct cmsghdr *' instead of `void *'.
38706 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38709 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38711 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38713 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38714 ldd_rewrite_script.
38716 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38718 * configure.in: Remove --with-tls option.
38719 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38720 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38721 out in case it is missing.
38722 * sysdeps/ia64/elf/configure.in: Likewise.
38723 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38724 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38725 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38726 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38727 * sysdeps/sh/elf/configure.in: Likewise.
38728 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38729 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38730 * sysdeps/x86_64/elf/configure.in: Likewise.
38731 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38732 * sysdeps/mach/hurd/tls.h: Likewise.
38735 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38738 * configure.in: Fix use of AC_INIT.
38740 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38742 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38744 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38746 * malloc/hooks.c: Likewise.
38749 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38750 variables statically.
38751 (narenas): Initialize.
38752 (list_lock): Initialize.
38753 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38754 initializtion of main_arena and list_lock. Small cleanups.
38755 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38756 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38757 Add initializers to main_arena and mp_.
38758 (malloc_state): Remove pagesize member. Change all users to use
38761 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38762 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38763 is always initialized.
38765 * malloc/malloc.c: Removed unused configurations and dead code.
38766 * malloc/arena.c: Likewise.
38767 * malloc/hooks.c: Likewise.
38768 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38770 * include/tls.h: Removed. USE___THREAD must always be defined.
38771 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38772 * elf/dl-libc.c: Likewise.
38773 * elf/dl-tsd.c: Likewise.
38774 * include/errno.h: Likewise.
38775 * include/netdb.h: Likewise.
38776 * include/resolv.h: Likewise.
38777 * inet/herrno-loc.c: Likewise.
38778 * inet/herrno.c: Likewise.
38779 * malloc/arena.c: Likewise.
38780 * malloc/hooks.c: Likewise.
38781 * malloc/malloc.c: Likewise.
38782 * resolv/res-state.c: Likewise.
38783 * resolv/res_libc.c: Likewise.
38784 * sysdeps/i386/dl-machine.h: Likewise.
38785 * sysdeps/ia64/dl-machine.h: Likewise.
38786 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38787 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38788 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38789 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38790 * sysdeps/sh/dl-machine.h: Likewise.
38791 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38792 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38793 * sysdeps/unix/i386/sysdep.S: Likewise.
38794 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38795 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38796 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38797 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38798 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38800 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38801 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38802 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38804 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38805 * sysdeps/x86_64/dl-machine.h: Likewise.
38806 * tls.make.c: Likewise.
38808 * configure.in: Remove --with-__thread option. Make tests for
38809 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38810 tls_model attribute fail if no support is available. Remove
38812 * Makeconfig: Adjust for dropped configure option. All features are
38814 * Makerules: Likewise.
38815 * Versions.def: Likewise.
38816 * argp/argp-fmtstream.c: Likewise.
38817 * argp/argp-fmtstream.h: Likewise.
38818 * argp/argp-help.c: Likewise.
38819 * assert/assert.c: Likewise.
38820 * config.h.in: Likewise.
38821 * config.make.in: Likewise.
38822 * configure: Likewise.
38823 * configure.in: Likewise.
38824 * csu/Versions: Likewise.
38825 * csu/init.c: Likewise.
38826 * elf/tst-audit2.c: Likewise.
38827 * elf/tst-tls10.c: Likewise.
38828 * elf/tst-tls10.h: Likewise.
38829 * elf/tst-tls11.c: Likewise.
38830 * elf/tst-tls12.c: Likewise.
38831 * elf/tst-tls14.c: Likewise.
38832 * elf/tst-tlsmod11.c: Likewise.
38833 * elf/tst-tlsmod12.c: Likewise.
38834 * elf/tst-tlsmod13.c: Likewise.
38835 * elf/tst-tlsmod13a.c: Likewise.
38836 * elf/tst-tlsmod14a.c: Likewise.
38837 * elf/tst-tlsmod15b.c: Likewise.
38838 * elf/tst-tlsmod16a.c: Likewise.
38839 * elf/tst-tlsmod16b.c: Likewise.
38840 * elf/tst-tlsmod7.c: Likewise.
38841 * elf/tst-tlsmod8.c: Likewise.
38842 * elf/tst-tlsmod9.c: Likewise.
38843 * gmon/gmon.c: Likewise.
38844 * grp/fgetgrent_r.c: Likewise.
38845 * grp/putgrent.c: Likewise.
38846 * hurd/fopenport.c: Likewise.
38847 * include/libc-symbols.h: Likewise.
38848 * include/tls.h: Likewise.
38849 * intl/gettextP.h: Likewise.
38850 * intl/loadinfo.h: Likewise.
38851 * locale/global-locale.c: Likewise.
38852 * locale/localeinfo.h: Likewise.
38853 * mach/devstream.c: Likewise.
38854 * malloc/arena.c: Likewise.
38855 * malloc/set-freeres.c: Likewise.
38856 * misc/err.c: Likewise.
38857 * misc/getttyent.c: Likewise.
38858 * misc/mntent_r.c: Likewise.
38859 * posix/getopt.c: Likewise.
38860 * posix/wordexp.c: Likewise.
38861 * pwd/fgetpwent_r.c: Likewise.
38862 * resolv/Versions: Likewise.
38863 * resolv/res_hconf.c: Likewise.
38864 * shadow/fgetspent_r.c: Likewise.
38865 * shadow/putspent.c: Likewise.
38866 * stdio-common/printf_fphex.c: Likewise.
38867 * stdio-common/tmpfile.c: Likewise.
38868 * stdlib/abort.c: Likewise.
38869 * stdlib/fmtmsg.c: Likewise.
38870 * sunrpc/auth_unix.c: Likewise.
38871 * sunrpc/clnt_perr.c: Likewise.
38872 * sunrpc/clnt_tcp.c: Likewise.
38873 * sunrpc/clnt_udp.c: Likewise.
38874 * sunrpc/clnt_unix.c: Likewise.
38875 * sunrpc/openchild.c: Likewise.
38876 * sunrpc/svc_simple.c: Likewise.
38877 * sunrpc/svc_tcp.c: Likewise.
38878 * sunrpc/svc_udp.c: Likewise.
38879 * sunrpc/svc_unix.c: Likewise.
38880 * sunrpc/xdr.c: Likewise.
38881 * sunrpc/xdr_array.c: Likewise.
38882 * sunrpc/xdr_rec.c: Likewise.
38883 * sunrpc/xdr_ref.c: Likewise.
38884 * sunrpc/xdr_stdio.c: Likewise.
38886 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38888 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38890 2011-07-03 Andreas Jaeger <aj@suse.de>
38892 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38893 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38894 regenerate with gen-libm-tests.pl.
38896 2010-05-12 Petr Baudis <pasky@suse.cz>
38899 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38900 around j0() zero points by switching to j1().
38901 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38902 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38903 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38904 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38906 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38908 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38910 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38912 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38913 Patch in part by Pavel Roskin <proski@gnu.org>.
38916 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38918 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38919 Free memory block if necessary.
38922 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38923 be NULL. Don't lock in this case.
38925 2011-09-09 Roland McGrath <roland@hack.frob.com>
38927 * elf/elf.h (ELFOSABI_GNU): New macro.
38928 (ELFOSABI_LINUX): Define to that.
38930 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38932 * string/strncat.c (strncat): Undef the symbol in case it has been
38933 defined in bits/string.h.
38935 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38937 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38939 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38942 2011-08-17 Andreas Jaeger <aj@suse.de>
38944 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38946 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38947 Ian Lance Taylor <iant@google.com>
38949 * math/libm-test.inc (lround_test): New testcase.
38950 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38952 2011-09-08 Ulrich Drepper <drepper@gmail.com>
38954 * Makefile: Remove support for automatic cvs check-ins.
38955 * Makerules: Likewise.
38956 * config.make.in: Likewise.
38957 * configure.in: Likewise.
38958 * intl/Makefile: Likewise.
38959 * locale/Makefile: Likewise.
38960 * po/Makefile: Likewise.
38961 * posix/Makefile: Likewise.
38962 * sysdeps/gnu/Makefile: Likewise.
38963 * sysdeps/mach/hurd/Makefile: Likewise.
38964 * sysdeps/sparc/sparc32/Makefile: Likewise.
38967 * posix/Makefile (bug-regex32-ENV): Define.
38968 Patch by John Stanley <jpsinthemix@verizon.net>.
38970 * misc/Makefile (headers): Add bits/select2.h.
38971 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38972 * misc/bits/select2.h: New file.
38973 * include/bits/select2.h: New file.
38974 * debug/Makefile (routines): Add fdelt_chk.
38975 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38976 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38978 * debug/fdelt_chk.c: New file.
38980 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38981 * wcsmbs/test-wmemcmp.c: Likewise.
38982 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38983 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38985 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38987 * string/Makefile (strop-tests): Add memcmp.
38988 * string/test-wmemcmp.c: New file.
38989 * string/test-memcmp.c: Add wmemcmp support.
38991 2011-09-08 Roland McGrath <roland@hack.frob.com>
38994 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38997 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38998 garbage value in a __mach_port_mod_refs call in the cases of the
38999 task-self and thread-self ports.
39001 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39003 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39005 2011-09-08 Andreas Schwab <schwab@redhat.com>
39007 * elf/dl-load.c (lose): Check for non-null L.
39009 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39011 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39013 * elf/dl-libc.c (dlerror_run): Pass back error code from
39017 * elf/dl-load.c (lose): Free l_origin if it is valid.
39019 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39021 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39022 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39023 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39024 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39025 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39026 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39028 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39030 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39031 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39032 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39033 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39034 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39035 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39036 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39037 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39038 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39039 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39041 2011-08-15 Alan Modra <amodra@gmail.com>
39044 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39045 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39046 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39047 ppc_mcount to static-only-routines.
39048 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39050 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39051 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39053 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39055 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39056 for finite and infinity parameters.
39058 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39060 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39061 and add nop instructions for throughput optimization.
39062 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39064 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39066 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39067 aligned copy for power7 with vector-scalar instructions.
39068 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39070 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39072 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39075 2011-09-07 Andreas Schwab <schwab@redhat.com>
39078 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39081 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39083 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39084 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39085 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39086 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39089 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39091 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39092 Forgot to demangle the pointer.
39094 * sysdeps/i386/sysdep.h: Define atom_text_section.
39095 * sysdeps/x86_64/sysdep.h: Likewise.
39096 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39097 section with atom_text_section.
39098 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39099 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39100 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39101 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39102 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39104 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39105 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39106 already be defined. Change to take two parameters and don't assign
39107 result to variable. Adjust all users.
39108 Define INTERNAL_GETTIME if not already defined.
39109 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39111 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39112 HAVE_CLOCK_GETTIME_VSYSCALL.
39113 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39116 gettimeofday vsyscall, just use time.
39118 2011-09-06 Andreas Schwab <schwab@redhat.com>
39120 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39123 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39125 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39127 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39129 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39130 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39131 syscall if possible.
39133 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39135 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39136 e_ident. Don't pass to find_mapsXX.
39137 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39139 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39141 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39142 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39143 * sysdeps/x86_64/multiarch/strchr.S: Update.
39144 Check bit_slow_BSF bit.
39145 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39146 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39147 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39149 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39152 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39154 (tryshell): Define.
39155 (__spawni): Change last parameter to be flag. Test
39156 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39157 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39158 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39159 * posix/spawni.c: Likewise.
39160 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39161 * posix/spawnp.c: Likewise. Change normal version to use
39162 SPAWN_XFLAGS_USE_PATH.
39163 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39164 SPAWN_XFLAGS_TRY_SHELL.
39167 * posix/glob.h: Remove gcc 1.x support.
39170 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39172 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39174 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39175 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39177 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39178 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39179 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39180 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39181 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39182 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39184 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39186 * sysdeps/x86_64/wcscmp.S: New file.
39188 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39189 wcscmp-c wcscmp-sse2
39190 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39191 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39192 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39193 * wcsmbs/wcscmp.c: Allow renaming.
39195 2011-09-05 David S. Miller <davem@davemloft.net>
39197 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39198 stack slot, rather than the struct return pointer slot.
39199 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39200 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39202 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39204 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39206 * po/ja.po: Update from translation team.
39209 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39210 kernel in 64-bit binaries.
39212 2011-09-01 David S. Miller <davem@davemloft.net>
39214 * elf/elf.h (HWCAP_SPARC_*): Move to..
39215 * sysdeps/sparc/sysdep.h: this new file and add new values.
39216 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39217 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39218 _DL_HWCAP_COUNT to 24.
39219 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39221 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39222 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39223 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39224 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39225 instead of magic constants.
39226 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39228 2011-08-31 David S. Miller <davem@davemloft.net>
39230 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39231 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39232 Reimplement to do errno handling inline.
39233 (SYSCALL_ERROR_HANDLER): New macro.
39234 (__SYSCALL_STRING): Do not do errno handling in asm.
39235 (__CLONE_SYSCALL_STRING): Delete.
39236 (__INTERNAL_SYSCALL_STRING): Delete.
39237 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39238 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39239 (PSEUDO): Reimplement to do errno handling inline.
39240 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39241 (SYSCALL_ERROR_HANDLER): New macro.
39242 (__SYSCALL_STRING): Do not do errno handling in asm.
39243 (__CLONE_SYSCALL_STRING): Delete.
39244 (__INTERNAL_SYSCALL_STRING): Delete.
39245 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39246 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39248 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39249 (inline_syscall*): Add 'err' argument.
39250 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39251 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39252 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39253 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39255 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39256 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39258 2011-08-30 Andreas Schwab <schwab@redhat.com>
39260 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39262 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39264 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39267 2011-08-24 David S. Miller <davem@davemloft.net>
39269 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39271 2011-08-24 Andreas Schwab <schwab@redhat.com>
39273 * elf/Makefile: Add rules to build and run unload8 test.
39274 * elf/unload8.c: New file.
39275 * elf/unload8mod1.c: New file.
39276 * elf/unload8mod1x.c: New file.
39277 * elf/unload8mod2.c: New file.
39278 * elf/unload8mod3.c: New file.
39280 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39283 2011-08-23 David S. Miller <davem@davemloft.net>
39285 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39286 subtract stack bias.
39287 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39288 %sp not %fp in calculations.
39289 (_JMPBUF_UNWINDS_ADJ): Likewise.
39291 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39292 (aio_suspend): Call it to force an exception region around the
39293 AIO_MISC_WAIT() invocation.
39295 2011-08-23 Andreas Schwab <schwab@redhat.com>
39297 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39300 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39302 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39304 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39305 and <dl-machine.h>.
39306 (Elf64_FuncDesc): Remove.
39308 2011-08-22 David S. Miller <davem@davemloft.net>
39310 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39311 sigaltstack check, add missing cfi directives.
39312 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39313 missing cfi directives, and sigaltstack handling.
39315 2011-08-16 Andreas Schwab <schwab@redhat.com>
39318 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39319 object is seen twice.
39320 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39322 * elf/Makefile (distribute): Add tst-initorder2.c.
39323 (tests): Add tst-initorder2.
39324 (modules-names): Add tst-initorder2a tst-initorder2b
39325 tst-initorder2c tst-initorder2d. Add rules to build them.
39326 ($(objpfx)tst-initorder2.out): New rule.
39327 * elf/tst-initorder2.c: New file.
39328 * elf/tst-initorder2.exp: New file.
39330 2011-08-22 Andreas Schwab <schwab@redhat.com>
39332 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39334 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39335 dependencies back to end of function.
39337 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39338 $(elfobjdir)/ld.so.
39340 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39342 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39343 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39344 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39345 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39346 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39347 of __vdso_gettimeofday.
39348 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39349 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39351 (_libc_vdso_platform_setup): Remove initialization of
39352 __vdso_gettimeofday and __vdso_time.
39354 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39356 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39357 and fgetc_unlocked.
39358 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39361 * elf/dl-open.c (add_to_global): Report additions to the global scope
39362 for LD_DEBUG=scopes.
39363 (dl_open_worker): Also print scope of newly loaded dependencies.
39364 (_dl_show_scope): Indicate if there is no scope.
39367 * stdio-common/Makefile (tests): Add bug24.
39368 * stdio-common/bug24.c: New file.
39370 2011-08-19 Andreas Jaeger <aj@suse.de>
39373 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39374 non-existant file when using close-on-exec mode.
39376 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39378 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39379 the very first instruction.
39381 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39382 the CFI state in the end.
39383 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39384 inclusion of dl-trampoline.h.
39385 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39387 2011-08-19 Andreas Schwab <schwab@redhat.com>
39389 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39390 expectations for long double.
39392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39393 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39395 2011-08-14 David S. Miller <davem@davemloft.net>
39397 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39398 artificual limit depends upon the system page size.
39400 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39402 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39403 * resolv/Makefile: Define CFLAGS-libresolv.
39405 2011-08-17 Andreas Schwab <schwab@redhat.com>
39407 * nss/makedb.c (compute_tables): Make variables used in nested
39410 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39412 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39413 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39414 if buffer was too small.
39416 * elf/pldd.c (main): Attach to all threads in the process.
39417 Rewrite /proc handling to use *at functions.
39419 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39421 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39422 specifies first scope to show.
39423 (dl_open_worker): Update callers. Move printing scope of new
39424 object to before the relocation.
39425 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39426 * sysdeps/generic/ldsodefs.h: Update declaration.
39428 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39429 string for the scope number.
39431 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39433 * nscd/servicescache.c (cache_addserv): Make sure written is always
39436 2011-08-14 Roland McGrath <roland@hack.frob.com>
39438 * sysdeps/i386/i486/bits/atomic.h
39439 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39440 statement expression, so as to suppress "set but not used" warning.
39441 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39443 * string/strncat.c (STRNCAT): Use prototype definition.
39445 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39446 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39448 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39449 (localedef-modules): Add localedef.
39450 (locale-modules): Add locale.
39452 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39453 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39454 to avoid a warning.
39456 2011-08-14 David S. Miller <davem@davemloft.net>
39458 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39459 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39461 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39463 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39464 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39465 * elf/rtld.c (dl_main): Set l_name of vDSO.
39466 Call _dl_show_scope when DL_DEBUG_SCOPES.
39467 (process_dl_debug): Recognize scopes flag and also set it for all.
39468 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39469 Declare _dl_show_scope.
39471 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39472 (do_dlopen): Pass caller_dlopen to dl_open.
39473 (__libc_dlopen_mode): Initialize caller_dlopen.
39475 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39476 of libc. Make tolower call locale-independent. Optimize a bit by
39477 using isdigit instead of isalnum.
39478 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39480 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39482 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39483 was a dependency or dynamically loaded.
39485 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39487 * intl/l10nflist.c: Allow architecture-specific pop function.
39488 * sysdeps/x86_64/l10nflist.c: New file.
39490 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39493 2011-08-10 Andreas Schwab <schwab@redhat.com>
39495 * include/dirent.h: Add libc_hidden_proto for scandirat and
39496 scandirat64. Don't declare __scandirat64.
39497 * dirent/scandirat.c: Add libc_hidden_def.
39498 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39499 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39501 2011-08-10 David S. Miller <davem@davemloft.net>
39503 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39505 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39506 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39507 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39509 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39511 * Versions.def [libc]: Add GLIBC_2.15.
39512 * dirent/Makefile (routines): Add scandirat and scandirat64.
39513 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39515 * dirent/dirent.h: Declare scandirat and scandirat64.
39516 * dirent/scandirat.c: New file.
39517 * dirent/scandirat64.c: New file.
39518 * sysdeps/wordsize-64/scandirat.c: New file.
39519 * sysdeps/wordsize-64/scandirat64.c: New file.
39520 * dirent/opendir.c: Define opendirat.
39521 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39523 * dirent/scandir64.c: Adjust for scandir.c change.
39524 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39525 __scandirat64, and __scandir_cancel_handler.
39526 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39527 additional parameter and use openat instead of open (outside of ld.so).
39528 Add new __opendir as wrapper around __opendirat.
39529 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39530 here without requiring old scandirat implementation.
39532 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39534 * dirent/scandir.c (cancel_handler): Renamed to
39535 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39536 defined. Adjust users.
39537 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39538 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39540 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39542 * string/test-string.h (IMPL): Use __STRING to expand name and then
39545 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39548 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39550 * string/Makefile: Update.
39551 (strop-tests): Append strncat.
39552 * string/test-wcscmp.c: New file.
39553 New comprehensive test for wcscmp.
39554 * string/test-strcmp.c: Update.
39555 (WIDE): New define.
39557 2011-07-22 Andreas Schwab <schwab@redhat.com>
39559 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39562 2011-07-26 Andreas Schwab <schwab@redhat.com>
39564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39565 encoding to ACE if AI_IDN.
39567 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39569 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39570 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39572 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39574 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39575 Fix overflow bug in strncat.
39576 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39578 * string/test-strncat.c: Update.
39579 Add new tests for checking overflow bugs.
39581 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39584 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39585 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39586 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39587 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39588 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39589 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39590 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39591 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39594 (USE_AS_STRCAT): Define.
39595 Add strcat and strncat support.
39596 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39598 2011-07-25 Andreas Schwab <schwab@redhat.com>
39600 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39601 __n bigger than INT_MAX+1.
39602 (__strncmp_g): Likewise.
39604 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39606 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39607 * libio/stido.h: Likewise.
39609 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39611 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39614 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39615 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39616 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39617 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39618 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39621 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39624 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39626 (_dl_x86_64_save_sse): Likewise.
39628 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39630 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39632 (_dl_x86_64_save_sse): Likewise.
39634 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39636 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39638 2011-07-21 Andreas Schwab <schwab@redhat.com>
39640 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39642 (_dl_x86_64_save_sse): Use correct AVX check.
39644 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39646 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39647 bug in strncpy/strncat.
39648 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39650 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39652 * string/tester.c (test_strcat): Add tests for different alignments
39653 of source and destination.
39654 (test_strncat): Likewise.
39656 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39659 * posix/glob.c (glob): Check passed in values before using them in
39660 expressions to avoid some overflows.
39661 (glob_in_dir): Likewise.
39664 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39665 check for AVX enablement so that we don't crash with old kernels and
39667 * elf/tst-audit4.c: Add same checks here.
39668 * elf/tst-audit6.c: Likewise.
39670 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39672 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39674 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39676 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39678 * po/cs.po: Update from translation team.
39679 * po/bg.po: Likewise.
39681 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39683 * misc/sys/cdefs.h: Add support for const attribute.
39684 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39685 to gnu_dev_{major,minor,makedev} functions.
39687 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39689 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39691 2011-07-20 Andreas Schwab <schwab@redhat.com>
39693 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39696 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39698 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39699 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39700 register in order to avoid conflicts with the soft frame pointer
39701 being held in r11 when necessary.
39702 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39703 (INTERNAL_VSYSCALL_NCS): Likewise.
39705 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39707 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39708 * elf/dl-fini.c (_dl_fini): Adjust caller.
39709 * elf/dl-close.c (_dl_close_worker): Likewise.
39710 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39712 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39714 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39715 "aux_cache->nlibs < 0".
39717 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39718 in the reload-count case.
39720 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39723 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39724 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39725 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39726 * sysdeps/x86_64/multiarch/strcat.S: New file.
39727 * sysdeps/x86_64/multiarch/strncat.S: New file.
39728 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39729 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39730 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39731 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39732 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39733 (USE_AS_STRCAT): Define.
39734 Add strcat and strncat support.
39735 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39736 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39737 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39738 * string/strncat.c: Update.
39739 (USE_AS_STRNCAT): Define.
39740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39741 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39743 * sysdeps/x86_64/multiarch/init-arch.h
39744 (bit_Prefer_PMINUB_for_stringop): New.
39745 (index_Prefer_PMINUB_for_stringop): Likewise.
39746 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39747 bit_Prefer_PMINUB_for_stringop.
39749 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39751 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39753 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39754 of casting of buffer.
39755 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39756 buffer32 and buffer64.
39757 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39758 writes instead of casting of buffer.
39759 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39761 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39764 2011-07-19 Andreas Schwab <schwab@redhat.com>
39766 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39768 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39770 * nscd/nscd.c (termination_handler): Don't do anything for a database
39771 if it has not yet been initialized.
39773 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39775 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39777 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39779 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39781 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39783 * po/nl.po: Update from translation team.
39784 * po/sv.po: Likewise.
39786 2011-07-16 Roland McGrath <roland@hack.frob.com>
39788 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39789 now disallowed by GCC.
39791 * configure.in (use-default-link): Default to yes if a test -shared
39792 link meets our qualifications.
39793 * configure: Regenerated.
39795 * config.make.in (output-format): New variable.
39796 * configure.in: Check for ld --print-output-format support.
39797 * configure: Regenerated.
39798 * Makerules ($(common-objpfx)format.lds)
39799 [$(output-format) != unknown]: Just use $(output-format),
39800 instead of the linker-script munging.
39802 2011-07-14 Roland McGrath <roland@hack.frob.com>
39804 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39805 of $(common-objpfx)shlib.lds.
39806 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39808 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39809 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39811 * configure.in (-z relro check): Adjust test code to add a large
39812 writable data section after it.
39813 * configure: Regenerated.
39815 2011-07-11 Roland McGrath <roland@hack.frob.com>
39817 * configure.in (-z relro check): Fix test code to make the variable
39819 * configure: Regenerated.
39821 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39823 * nscd/nscd.h (struct traced_file): Define.
39824 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39825 elements. Add traced_files.
39826 (inotify_fd): Declare.
39827 (register_traced_file): Declare.
39828 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39829 (inotify_fd): Export.
39830 (resolv_conf_descr): Remove.
39831 (nscd_init): Move inotify descriptor creation to main.
39832 Don't register files for notification here.
39833 (register_traced_file): New function.
39834 (invalidate_cache): Don't use reset_res to determine whether to call
39835 res_init, go through the list of registered files.
39836 (main_loop_poll): The inotify descriptors are now stored in the
39837 structures for the traced files.
39838 (main_loop_epoll): Likewise
39839 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39840 to __nss_disable_nscd.
39841 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39842 for a database anymore. Check the records for all the registered
39844 * nss/Makefile (libnss_files-routines): Add files-init.
39845 (libnss_db-routines): Add db-init.
39846 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39847 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39848 * nss/nss_db/db-init.c: New file.
39849 * nss/nss_files/files-init.c: New file.
39850 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39851 __nss_lookup_function.
39852 (__nss_lookup_function): Call nss_load_library.
39853 (nss_load_all_libraries): New function.
39854 (__nss_disable_nscd): Take parameter with callback function for files
39855 to register. Set is_nscd. Load all the DSOs for the NSS modules
39856 used for the cached services.
39857 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39858 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39859 options for features to all the files in nscd.
39861 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39863 2011-07-10 Roland McGrath <roland@hack.frob.com>
39865 * csu/elf-init.c (__libc_csu_init): Comment typo.
39867 2011-07-09 Ulrich Drepper <drepper@gmail.com>
39869 * po/pl.po: Update from translation team.
39870 * po/ja.po: Likewise.
39871 * po/ru.po: Likewise.
39872 * po/ko.po: Likewise.
39873 * po/fr.po: Likewise.
39875 2011-07-09 Roland McGrath <roland@hack.frob.com>
39877 * configure.in (.ctors/.dtors header and trailer check):
39878 Use an empirical test on a built program.
39879 * configure: Regenerated.
39881 * configure.in (-z relro check): Use an empirical test on a built DSO.
39882 Detect, but do not require, on ia64.
39883 * configure: Regenerated.
39885 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39886 Update tests that use readelf to use $READELF instead.
39887 * configure: Regenerated.
39889 2011-07-08 Ulrich Drepper <drepper@gmail.com>
39891 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39892 if the result is not used.
39894 2011-07-05 Andreas Jaeger <aj@suse.de>
39897 * stdlib/tst-strtod.c: Add testcase.
39899 2011-07-07 Ulrich Drepper <drepper@gmail.com>
39901 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39902 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39903 The latter has a higher limit. Take additional parameter to pass to
39905 (__pathconf): Pass file to __statfs_link_max.
39906 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39908 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39912 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39913 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39915 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39916 (__statfs_filesize_max): Likewise.
39917 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39919 2011-07-05 Andreas Jaeger <aj@suse.de>
39921 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39923 2011-07-06 Marek Polacek <mpolacek@redhat.com>
39925 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39927 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39930 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39932 * Makefile (strop-tests): Add strncat.
39933 * string/test-strncat.c: New file.
39935 2011-06-30 Marek Polacek <mpolacek@redhat.com>
39937 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39939 2011-06-21 Andreas Jaeger <aj@suse.de>
39941 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39942 Copy rule from iconvdata/Makefile.
39944 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39947 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39948 but no long options are defined, just return 'W'.
39950 2011-06-22 Marek Polacek <mpolacek@redhat.com>
39953 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39955 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39957 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39959 (innetgr): Likewise.
39961 2011-07-05 Roland McGrath <roland@hack.frob.com>
39963 * config.make.in (install_root): Default to $(DESTDIR).
39965 2011-07-05 Ulrich Drepper <drepper@gmail.com>
39967 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39969 2011-07-02 Roland McGrath <roland@hack.frob.com>
39971 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39973 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39974 containing directory rather than embedding absolute directory names.
39976 * scripts/check-local-headers.sh: Rewritten using awk.
39977 Match by word, not by line. Print error messages for matches.
39978 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39980 * Makerules [shlib-lds-flags empty]:
39981 ($(common-objpfx)libc_pic.opts): New target.
39982 ($(common-objpfx)libc_pic.os.clean): New target.
39983 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39985 * config.make.in (OBJCOPY): New variable.
39986 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39987 * configure: Regenerated.
39989 * config.make.in (use-default-link): New variable.
39990 * configure.in (use_default_link): Grok --with-default-link to set it.
39991 * configure: Regenerated.
39992 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39993 (shlib-lds, shlib-lds-flags): Define to empty.
39995 * Makerules (shlib-lds): New variable.
39996 (shlib-lds-flags): New variable.
39997 (build-shlib, build-moduile, build-module-asneeded): Use it.
39998 ($(common-objpfx)libc.so): Use $(shlib-lds).
39999 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40000 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40002 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40003 DT_FLAGS/DT_FLAGS_1 with zero flags.
40005 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40006 linker script munging.
40008 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40010 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40012 * crypt/sha512.c (sha512_process_block): Perform total addition using
40013 128-bit if possible.
40014 (__sha512_finish_ctx): Likewise.
40015 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40017 * crypt/sha256.c (SWAP64): Define.
40018 (sha256_process_block): Perform total addition using 64-bit if
40020 (__sha256_finish_ctx): Likewise.
40022 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40024 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40025 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40026 * nscd/hstcache.c (cache_addhst): Likewise.
40027 * nscd/grpcache.c (cache_addgr): Likewise.
40028 * nscd/aicache.c (addhstaiX): Likewise
40029 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40031 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40033 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40034 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40035 * nscd/hstcache.c (cache_addhst): Likewise.
40036 * nscd/grpcache.c (cache_addgr): Likewise.
40037 * nscd/aicache.c (addhstaiX): Likewise
40039 2011-07-01 Andreas Schwab <schwab@redhat.com>
40041 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40042 domain only when needed.
40044 2011-06-30 Andreas Schwab <schwab@redhat.com>
40046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40047 is always restored.
40049 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40051 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40052 are re-adding the entry.
40053 * nscd/servicescache.c (cache_addserv): Likewise.
40055 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40057 * sysdeps/generic/dl-irel.h: fix protection against multiple
40059 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40061 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40064 * malloc/memusage.sh: Fix quoting in message.
40065 * debug/xtrace.sh: Likewise.
40067 * configure.in: Remove support for --experimental-malloc option, make
40069 * config.make.in: Likewise.
40070 * malloc/Makefile: Likewise.
40072 2011-06-27 Andreas Schwab <schwab@redhat.com>
40074 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40075 two-byte characters.
40077 2011-06-27 Roland McGrath <roland@hack.frob.com>
40079 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40080 AC_CACHE_CHECK invocation.
40081 * configure: Regenerated.
40083 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40085 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40088 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40089 bit from old_res_options.
40091 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40093 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40094 value type for setfct.
40096 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40098 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40099 __gettimeofday instead of gettimeofday.
40101 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40103 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40105 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40107 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40109 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40112 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40115 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40116 strcpy-sse2-unaligned strncpy-sse2-unaligned
40117 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40118 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40119 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40120 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40121 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40122 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40123 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40124 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40125 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40126 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40127 (STRCPY): Support SSE2 and SSSE3 versions.
40129 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40132 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40133 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40134 kernels which artificially limit size of requests.
40136 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40138 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40139 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40140 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40141 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40142 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40143 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40144 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40145 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40146 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40147 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40148 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40149 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40150 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40151 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40152 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40154 Enable unaligned load optimization for Intel Core i3, i5 and i7
40156 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40158 (index_Fast_Unaligned_Load): Define.
40159 (HAS_FAST_UNALIGNED_LOAD): Define.
40161 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40163 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40165 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40168 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40169 until it is clear that the information is realy needed.
40170 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40172 2011-06-22 Andreas Schwab <schwab@redhat.com>
40174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40176 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40178 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40179 /sys/devices/system/cpu/online if it is usable.
40181 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40182 reading the information from the /proc filesystem to once a second.
40184 2011-06-21 Andreas Jaeger <aj@suse.de>
40186 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40187 NULL after inclusion of kernel headers.
40189 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40191 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40192 calls to internal_setent.
40195 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40196 addresses using gethostbyname4_r ignore IPv4 addresses.
40198 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40199 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40201 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40203 2011-06-20 David S. Miller <davem@davemloft.net>
40205 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40207 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40209 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40210 (elf_irel): Use it.
40211 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40212 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40213 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40214 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40215 * sysdeps/x86_64/dl-irel.h: Likewise.
40217 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40218 * elf/dl-sym.c: Likewise.
40220 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40222 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40223 need to dereference resplen2.
40225 2011-06-14 Andreas Schwab <schwab@redhat.com>
40227 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40229 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40231 * Makeconfig: Define vardbdir and inst_vardbdir.
40232 * nss/Makefile: Add rules to install db-Makefile.
40234 * nss/nss_db/db-XXX.c: Cleanup.
40236 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40237 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40239 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40240 * nss/makedb.c: Implement -g option to specify that value strings
40241 are generated and should not be added to table iterated over for
40243 * nss/nss_db/db-initgroups.c: New file.
40245 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40248 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40249 (internal_getgrouplist): Adjust to name change.
40250 Update use_initgroups_entry if this is not the first call.
40251 * nss/databases.def: Add initgroups entry.
40253 * nss/makedb.c (compute_tables): Check result of multiple hash table
40254 sizes to minimize maximum chain length.
40256 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40258 * Versions.def: Add entry for libnss_db.
40259 * shlib-versions: Likewise.
40260 * nss/Makefile: Add rules to build libnss_db.
40261 * nss/Versions: Add libnss_db information. Organize libnss_files
40263 * nss/db-Makefile: Add gshadow support. Change rules for the new
40264 makedb progra. Some minor improvements to generate smaller files.
40265 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40267 * nss/makedb.c: ...here.
40268 Improve database format to be smaller and require less memory at
40270 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40272 * nss/nss_db/db-netgrp.c: Likewise.
40273 * nss/nss_db/db-open.c: Likewise.
40274 * nss/nss_files/flies-XXX.x: Adjust comments.
40275 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40276 * nss/nss_files/files-grp.c: Likewise.
40277 * nss/nss_files/files-hosts.c: Likewise.
40278 * nss/nss_files/files-network.c: Likewise.
40279 * nss/nss_files/files-proto.c: Likewise.
40280 * nss/nss_files/files-pwd.c: Likewise.
40281 * nss/nss_files/files-rpc.c: Likewise.
40282 * nss/nss_files/files-service.c: Likewise.
40283 * nss/nss_files/files-sgrp.c: Likewise.
40284 * nss/nss_files/files-spwd.c: Likewise.
40285 * nss/nss_db/db-alias.c: Removed.
40286 * nss/nss_db/dummy-db.h: Removed.
40288 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40290 * nss/makedb.c: Rewritten to not use database library.
40291 * nss/Makefile: Update to build new makedb program.
40293 2011-06-14 Andreas Jaeger <aj@suse.de>
40295 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40296 memset declaration.
40298 2011-06-10 Andreas Schwab <schwab@redhat.com>
40300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40303 2011-06-10 Roland McGrath <roland@hack.frob.com>
40305 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40306 * elf/Makefile ($(objpfx)ld.so): Likewise.
40308 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40309 Don't list ld.so twice in dependencies.
40311 * posix/bug-regex31.c: Include <stdlib.h>.
40313 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40315 * nis/nss_compat/compat-spwd.c
40316 (getspent_next_nss_netgr): Remove unused variable.
40317 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40319 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40320 nonmembers" output to use the right array.
40322 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40324 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40326 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40327 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40328 * catgets/gencat.c (read_input_file): Likewise.
40329 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40331 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40332 variable definition inside #if's controlling its use.
40334 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40336 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40338 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40340 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40343 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40345 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40346 * configure: Regenerated.
40348 * Makerules: Revert last change.
40349 * elf/Makefile: Likewise.
40351 2011-06-09 Roland McGrath <roland@hack.frob.com>
40353 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40354 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40355 (reloc-link): Likewise.
40357 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40359 * elf/Makefile: Add rules to build pldd.
40360 * elf/pldd.c: New file.
40361 * elf/pldd-xx.c: New file.
40363 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40365 * version.h: Update for 2.15 development version.
40367 2011-06-07 David S. Miller <davem@davemloft.net>
40369 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40371 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40372 elf_machine_lazy_rel): Likewise.
40373 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40374 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40375 elf_machine_lazy_rel): Likewise.
40376 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40377 dl_hwcap via passed in argument.
40378 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40381 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40383 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40385 2011-06-06 Roland McGrath <roland@hack.frob.com>
40388 * manual/fdl-1.1.texi: New file, verbatim from:
40389 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40390 * manual/lgpl-2.1.texi: New file, verbatim from:
40391 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40392 * manual/Makefile (licenses): New variable, list those new file names.
40394 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40396 * manual/fdl.texi: File removed.
40397 * manual/lesser.texi: File removed.
40398 * manual/libc.texinfo (Copying, Documentation License):
40399 Use new @include file names, put @appendix directive before @include.
40401 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40404 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40405 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40406 (mq_open): Add __NTH.
40408 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40411 Assume Intel Core i3/i5/i7 processor if AVX is available.
40413 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40415 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40418 2011-05-31 Andreas Schwab <schwab@redhat.com>
40420 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40421 memory. Use alloca_account. Fix memory leak when retrying.
40423 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40425 * version.h (RELEASE): Bump for 2.14 release.
40426 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40428 * config.make.in (RANLIB): Remove entry.
40430 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40432 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40433 (libc.pot): Work around missing support for .ksh extension in xgettext.
40436 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40437 if both request failed.
40438 (send_dg): In case of server errors clear resplen or *resplen2.
40441 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40442 when there are multiple maps.
40443 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40444 (_dl_fini): Remove test here.
40446 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40448 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40451 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40452 bit from old_res_options.
40453 (gaih_inet): Likewise.
40456 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40459 * resolv/res_init.c (res_setoptions): Make the code more compact.
40462 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40466 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40468 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40471 * malloc/malloc.h: Declare malloc hook variables as volatile.
40473 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40477 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40478 raise in the comment.
40479 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40480 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40481 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40483 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40486 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40487 grow the buffers more if it already has to be sufficient.
40488 (build_wcs_upper_buffer): Likewise.
40489 * posix/regexec.c (check_matching): Likewise.
40490 (clean_state_log_if_needed): Likewise.
40491 (extend_buffers): Don't enlarge buffers beyond size of the input
40493 Patches mostly by Emil Wojak <emil@wojak.eu>.
40494 * posix/bug-regex32.c: New file.
40495 * posix/Makefile (tests): Add bug-regex32.
40497 * locale/findlocale.c (_nl_find_locale): Return right away if
40498 _nl_explode_name failed.
40499 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40501 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40503 * debug/xtrace.sh: Unify messages.
40504 * malloc/memusage.sh: Likewise.
40507 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40508 time symbol from vDSO. Substitute with vsyscall if not available.
40509 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40512 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40513 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40514 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40515 Add sendmmsg and internal_sendmmsg.
40516 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40517 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40518 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40520 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40521 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40522 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40524 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40527 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40528 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40530 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40534 * iconvdata/Makefile (tests): Add bug-iconv9.
40535 * iconvdata/bug-iconv9.c: New file.
40537 2011-05-27 Andreas Schwab <schwab@redhat.com>
40540 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40542 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40544 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40545 (struct user_regs_struct): Change intcs field back to cs.
40547 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40549 * po/ja.po: Update from translation team.
40551 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40554 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40555 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40557 2011-05-20 Andreas Schwab <schwab@redhat.com>
40559 * stdlib/longlong.h: Update from GCC.
40561 2011-05-23 Andreas Schwab <schwab@redhat.com>
40563 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40565 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40566 Add parameter name.
40567 (__sysconf): Pass it down.
40569 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40572 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40574 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40575 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40576 add in in __libc_use_alloca calls. Adjust callers.
40577 (glob): Use malloc in some situations.
40579 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40580 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40583 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40585 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40586 and CLOCK_BOOTTIME_ALARM.
40589 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40592 * string/_strerror.c (__strerror_r): Print negative errors as signed
40596 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40597 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40598 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40600 * configure.in: Fix typo in redirection and correct removal of test
40601 files in two cases.
40604 * locale/setlocale.c (new_composite_name): Fix test to check for
40605 identical name of all categories.
40608 * libio/filedoalloc.c (local_isatty): New function.
40609 (_IO_file_doallocate): Use local_isatty.
40610 * stdio-common/perror.c (perror): In case a new stream is used
40611 forward the stream error.
40612 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40615 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40620 * include/alloca.h (extend_alloca_account): Define.
40623 * posix/regex.h: Fix comments with documentation of user-accessible
40624 fields after compilation and describe correct free'ing of pattern
40625 after re_compile_pattern.
40626 Patch by Reuben Thomas <rrt@sc3d.org>.
40628 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40630 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40631 and -mno-altivec to prevent the compiler from using Altivec and/or
40632 VSX instructions when the corresponding registers are not available.
40634 2011-05-19 Andreas Schwab <schwab@redhat.com>
40636 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40638 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40640 * libio/freopen.c (freopen): Use __dup2, not dup2.
40641 * libio/freopen64.c (freopen64): Likewise.
40643 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40646 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40647 * math/Makefile (tests): Add test-powl.
40648 (CFLAGS-test-powl.c): Define.
40649 * math/test-powl.c: New file.
40651 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40653 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40655 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40658 * iconvdata/gb18030.c: Update to GB18020-2005.
40660 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40662 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40663 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40664 Patch by Aharon Robbins <arnold@skeeve.com>.
40667 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40671 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40672 through underflows.
40675 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40676 point to strings before performing equality test for error_one_per_line
40680 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40683 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40684 (struct user_fpregs_struct): Avoid __uint*_t types.
40687 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40688 symbol info. Use it instead of calling _dl_addr locally.
40689 (lock_and_info): New function.
40690 (tr_freehook): Call lock_and_info and pass symbol info as additional
40691 parameter to tr_where.
40692 (tr_mallochook): Likewise.
40693 (tr_reallochook): Likewise.
40694 (tr_memalignhook): Likewise.
40696 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40697 used and couldn't be at all thread-safe.
40699 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40701 * libio/freopen.c (freopen): Don't close old file descriptor
40702 before the new one is opened. Instead dup the new file descriptor
40703 to the old one after the new stream is created.
40704 * libio/freopen64.c (freopen64): Likewise.
40705 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40706 * libio/fileops.c (_IO_new_file_close_it): Handle new
40707 _IO_FLAGS2_NOCLOSE flag.
40708 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40709 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40710 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40711 _IO_FLAGS2_NOCLOSE flag.
40712 * include/unistd.h: Add hidden_proto for dup3.
40713 Define __have_dup3.
40714 * io/dup3.c: Define hidden symbol.
40715 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40718 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40719 when an incomplete long option is used.
40720 * posix/tst-getopt_long1.c: New file.
40721 * posix/Makefile (tests): Add tst-getopt_long1.
40724 * scripts/config.guess: Update from autoconf-2.68.
40725 * scripts/config.sub: Likewise.
40728 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40730 (has_cpuclock): ...this. New function.
40731 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40732 macro here based on has_cpuclock code.
40735 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40736 First byte (not low byte) is now always NUL.
40737 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40739 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40740 Use non-cancelable interfaces.
40743 * locale/iso-639.def: Add entry for Sorani.
40746 * include/stdlib.h: Move include protection to the right place.
40747 Define abort_msg_s. Declare __abort_msg with it.
40748 * stdlib/abort.c (__abort_msg): Adjust type.
40749 * assert/assert.c (__assert_fail_base): New function. Majority
40750 of code from __assert_fail. Allocate memory for __abort_msg with
40752 (__assert_fail): Now call __assert_fail_base.
40753 * assert/assert-perr.c: Remove bulk of implementation. Use
40754 __assert_fail_base.
40755 * include/assert.hL Declare __assert_fail_base.
40756 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40758 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40760 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40764 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40765 until all modules are registered in the DTV.
40766 * elf/Makefile: Add rules to build and run tst-tls19.
40767 * elf/tst-tls19.c: New file.
40768 * elf/tst-tls19mod1.c: New file.
40769 * elf/tst-tls19mod2.c: New file.
40770 * elf/tst-tls19mod3.c: New file.
40771 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40774 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40778 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40779 two-byte sequence errors.
40780 * iconvdata/Makefile (tests): Add bug-iconv8.
40781 * iconvdata/bug-iconv8.c: New file.
40784 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40787 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40790 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40791 (dummy_getcfa): New function.
40792 (init): Get _Unwind_GetCFA address, use dummy if not found.
40793 (backtrace_helper): In recursion check, also check whether CFA changes.
40794 (__backtrace): Completely initialize arg.
40796 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40797 storing incomplete byte sequence in state object. Avoid testing for
40798 guaranteed too small input if we know there is enough data available.
40800 2011-05-11 Andreas Schwab <schwab@redhat.com>
40802 * Makeconfig (+link-pie): Indent.
40803 * Rules (binaries-pie): Define if $(have-fpie) and
40805 (binaries-shared): Also filter out $(binaries-pie).
40806 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40807 * nscd/Makefile (others-pie): Add nscd.
40808 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40809 ($(objpfx)nscd): Remove command override.
40810 * login/Makefile (others-pie): Add pt_chown.
40811 ($(objpfx)pt_chown): Remove command override.
40812 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40813 remove command overrides.
40815 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40817 * libio/tst_putwc.c: Fix error messages.
40820 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40821 currently writing and seek to current position when not.
40822 * libio/Makefile (tests): Add bug-fclose1.
40823 * libio/bug-fclose1.c: New file.
40825 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40828 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40829 don't set DF_1_NODELETE here.
40830 (do_lookup_x): When entering new entry test for copy relocation
40831 and if necessary set DF_1_NODELETE flag.
40832 * elf/tst-unique4.cc: New file.
40833 * elf/tst-unique4.h: New file.
40834 * elf/tst-unique4lib.cc: New file.
40835 * elf/Makefile: Add rules to build and run tst-unique4.
40836 Patch by Piotr Bury <pbury@goahead.com>.
40838 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40841 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40844 * misc/mntent_r.c (addmntent): Flush the stream after the output
40847 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40848 (is_trusted_path_normalize): Skip initial colon. Append slash
40849 to empty buffer. Duplicate is_trusted_path code but allow
40850 constructed patch to be prefix.
40851 (is_dst): Allow $ORIGIN followed by /.
40852 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40853 Correct testing of result of is_trusted_path_normalize
40854 (decompose_rpath): Fix warning.
40856 2011-05-10 Ulrich Drepper <drepper@gmail.com>
40859 * grp/initgroups.c (internal_getgrouplist): When we found the service
40860 list through the initgroups entry in nsswitch.conf do not always
40861 continue on a successful lookup. Don't always use the
40862 __nss_group_database value if it is set.
40863 * nss/nsswitch.conf (initgroups): Change action for successful db
40864 lookup to continue for compatibility.
40866 2011-05-09 Ulrich Drepper <drepper@gmail.com>
40869 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40871 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40873 * iconvdata/tst-tables.sh: Likewise.
40874 * iconvdata/cp770.c: New file.
40875 * iconvdata/cp771.c: New file.
40876 * iconvdata/cp772.c: New file.
40877 * iconvdata/cp773.c: New file.
40878 * iconvdata/cp774.c: New file.
40879 * iconvdata/testdata/CP770: New file.
40880 * iconvdata/testdata/CP770..UTF8: New file.
40881 * iconvdata/testdata/CP771: New file.
40882 * iconvdata/testdata/CP771..UTF8: New file.
40883 * iconvdata/testdata/CP772: New file.
40884 * iconvdata/testdata/CP772..UTF8: New file.
40885 * iconvdata/testdata/CP773: New file.
40886 * iconvdata/testdata/CP773..UTF8: New file.
40887 * iconvdata/testdata/CP774: New file.
40888 * iconvdata/testdata/CP774..UTF8: New file.
40890 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40892 * iconvdata/gen-8bit-gap.sh: Likewise.
40893 * iconvdata/gen-8bit.sh: Likewise.
40895 * locale/iso-639.def: Add ary entry.
40898 * locale/C-translit.h.in: Add U20A1 transliteration.
40901 * locale/iso-639.def: Add wae entry.
40902 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40905 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40909 * locale/C-translit.h.in: Add entry for U20B9.
40910 Patch by pravin.d.s@gmail.com.
40912 2011-05-08 Ulrich Drepper <drepper@gmail.com>
40915 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40916 ENAMETOOLONG use generic getcwd.
40917 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40918 in rtld. Use *stat64.
40919 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40920 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40921 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40922 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40923 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40924 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40925 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40926 __fstatat64 macros.
40927 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40928 * dirent/rewinddir.c: Add libc_hidden_def.
40929 * sysdeps/mach/hurd/rewinddir.c: Likewise.
40930 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
40932 * include/dirent.h (__alloc_dir): Add flags parameter.
40933 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40934 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40936 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40937 from fdopendir if O_CLOEXEC is already set.
40939 2011-03-15 Alan Modra <amodra@gmail.com>
40941 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40942 l_tls_firstbyte_offset non-zero. Save padding offset in
40943 l_tls_firstbyte_offset for later use.
40944 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40945 freeing static tls block.
40947 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40949 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40950 where #ifdef was intended. The intent is to prevent ARG_MAX from
40951 being defined by the kernel headers.
40953 2011-05-07 Ulrich Drepper <drepper@gmail.com>
40956 * resolv/resolv.h: Define RES_NOTLDQUERY.
40957 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40958 no-tld-query and set RES_NOTLDQUERY.
40959 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40960 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40961 modern BIND to search name as TLD unless forbidden.
40963 2011-05-07 Petr Baudis <pasky@suse.cz>
40964 Ulrich Drepper <drepper@gmail.com>
40967 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40968 (is_trusted_path): ...to here.
40969 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40970 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40971 using is_trusted_path_normalize() in setuid scripts.
40973 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40975 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40976 __BEGIN/__END_DECLS.
40978 2011-05-06 Ulrich Drepper <drepper@gmail.com>
40980 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40981 NSS_STATUS_NOTFOUND if no record was found.
40983 2011-05-05 Andreas Schwab <schwab@redhat.com>
40985 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40986 (headers-not-in-tirpc): Remove rpc/netdb.h
40987 * resolv/netdb.h: Revert last change.
40989 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40991 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40992 circular dependency between libgcc.a and libc.a.
40994 2011-05-05 Andreas Schwab <schwab@redhat.com>
40996 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40997 * nis/Makefile: Don't install rpcsvc/*.
40998 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40999 instead of <rpc/types.h>.
41000 (MAXHOSTNAMELEN): Define.
41002 2011-05-03 Andreas Schwab <schwab@redhat.com>
41004 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41006 2011-04-28 Maciej Babinski <mbabinski@google.com>
41009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41010 gethostbyname4_r when IPv6 results are possible.
41012 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41015 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41016 _PC_PIPE_BUF handling.
41018 2011-04-30 Bruno Haible <bruno@clisp.org>
41021 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41022 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41024 * inet/getnameinfo.c (getnameinfo): Likewise.
41026 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41028 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41029 to groups setting in database lookup.
41030 * nss/nsswitch.conf: Add initgroups entry.
41032 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41035 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41037 Patch by Eric Blake <eblake@redhat.com>.
41039 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41041 * sunrpc/Makefile (need-export-routines): Add svc_run.
41042 (routines): Remove svc_run.
41043 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41044 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41045 * sunrpc/svc_run.c (svc_run): Likewise.
41046 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41048 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41050 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41051 problem in reallocation in last patch.
41053 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41055 * sunrpc/Makefile: Move inclusion of Rules.
41057 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41059 * nss/nss_files/files-initgroups.c: New file.
41060 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41061 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41062 _nss_files_initgroups_dyn.
41064 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41066 * elf/elf.h (R_ARM_IRELATIVE): Define.
41068 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41070 * po/ru.po: Update from translation team.
41072 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41074 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41077 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41080 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41081 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41082 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41083 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41084 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41086 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41088 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41090 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41091 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41092 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41094 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41097 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41099 * stdlib/bug-getcontext.c: New file.
41100 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41102 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41104 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41105 instructions into .machine "z9-109".
41106 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41107 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41109 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41111 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41112 between environment variables and auxiliary vector.
41114 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41116 * Makefile: Add rules to build linkobj/libc.so.
41117 * include/libc-symbols.h: Define libc_hidden_nolink.
41118 * include/rpc/auth.h: Mark functions which are to be hidden.
41119 * include/rpc/auth_des.h: Likewise.
41120 * include/rpc/auth_unix.h: Likewise.
41121 * include/rpc/clnt.h: Likewise.
41122 * include/rpc/des_crypt.h: Likewise.
41123 * include/rpc/key_prot.h: Likewise.
41124 * include/rpc/pmap_clnt.h: Likewise.
41125 * include/rpc/pmap_prot.h: Likewise.
41126 * include/rpc/pmap_rmt.h: Likewise.
41127 * include/rpc/rpc_msg.h: Likewise.
41128 * include/rpc/svc.h: Likewise.
41129 * include/rpc/svc_auth.h: Likewise.
41130 * include/rpc/xdr.h: Likewise.
41131 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41132 * nss/Makefile: Likewise.
41133 * sunrpc/Makefile: Don't install headers. Build library with normal
41134 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41135 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41136 for the compat linking library. Remove use of INTDEF/INTUSE.
41137 * sunrpc/auth_none.c: Likewise.
41138 * sunrpc/auth_unix.c: Likewise.
41139 * sunrpc/authdes_prot.c: Likewise.
41140 * sunrpc/authuxprot.c: Likewise.
41141 * sunrpc/clnt_gen.c: Likewise.
41142 * sunrpc/clnt_perr.c: Likewise.
41143 * sunrpc/clnt_raw.c: Likewise.
41144 * sunrpc/clnt_simp.c: Likewise.
41145 * sunrpc/clnt_tcp.c: Likewise.
41146 * sunrpc/clnt_udp.c: Likewise.
41147 * sunrpc/clnt_unix.c: Likewise.
41148 * sunrpc/des_crypt.c: Likewise.
41149 * sunrpc/des_soft.c: Likewise.
41150 * sunrpc/get_myaddr.c: Likewise.
41151 * sunrpc/key_call.c: Likewise.
41152 * sunrpc/key_prot.c: Likewise.
41153 * sunrpc/netname.c: Likewise.
41154 * sunrpc/pm_getmaps.c: Likewise.
41155 * sunrpc/pm_getport.c: Likewise.
41156 * sunrpc/pmap_clnt.c: Likewise.
41157 * sunrpc/pmap_prot.c: Likewise.
41158 * sunrpc/pmap_prot2.c: Likewise.
41159 * sunrpc/pmap_rmt.c: Likewise.
41160 * sunrpc/publickey.c: Likewise.
41161 * sunrpc/rpc_cmsg.c: Likewise.
41162 * sunrpc/rpc_common.c: Likewise.
41163 * sunrpc/rpc_dtable.c: Likewise.
41164 * sunrpc/rpc_prot.c: Likewise.
41165 * sunrpc/rpc_thread.c: Likewise.
41166 * sunrpc/rtime.c: Likewise.
41167 * sunrpc/svc.c: Likewise.
41168 * sunrpc/svc_auth.c: Likewise.
41169 * sunrpc/svc_authux.c: Likewise.
41170 * sunrpc/svc_raw.c: Likewise.
41171 * sunrpc/svc_run.c: Likewise.
41172 * sunrpc/svc_simple.c: Likewise.
41173 * sunrpc/svc_tcp.c: Likewise.
41174 * sunrpc/svc_udp.c: Likewise.
41175 * sunrpc/svc_unix.c: Likewise.
41176 * sunrpc/svcauth_des.c: Likewise.
41177 * sunrpc/xcrypt.c: Likewise.
41178 * sunrpc/xdr.c: Likewise.
41179 * sunrpc/xdr_array.c: Likewise.
41180 * sunrpc/xdr_float.c: Likewise.
41181 * sunrpc/xdr_intXX_t.c: Likewise.
41182 * sunrpc/xdr_mem.c: Likewise.
41183 * sunrpc/xdr_rec.c: Likewise.
41184 * sunrpc/xdr_ref.c: Likewise.
41185 * sunrpc/xdr_sizeof.c: Likewise.
41186 * sunrpc/xdr_stdio.c: Likewise.
41188 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41191 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41192 * sysdeps/ia64/dl-tls.h: Likewise.
41193 * sysdeps/powerpc/dl-tls.h: Likewise.
41194 * sysdeps/s390/dl-tls.h: Likewise.
41195 * sysdeps/sh/dl-tls.h: Likewise.
41196 * sysdeps/sparc/dl-tls.h: Likewise.
41197 * sysdeps/x86_64/dl-tls.h: Likewise.
41198 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41200 2011-03-14 Andreas Schwab <schwab@redhat.com>
41202 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41203 rpath element also skip the following colon.
41204 (expand_dynamic_string_token): Add is_path parameter and pass
41205 down to DL_DST_REQUIRED and _dl_dst_substitute.
41206 (decompose_rpath): Call expand_dynamic_string_token with
41207 non-zero is_path. Ignore empty rpaths.
41208 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41211 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41216 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41219 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41220 Patch by Filipe David Manana <fdmanana@apache.org>.
41222 2011-04-07 Andreas Schwab <schwab@redhat.com>
41224 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41225 Maintain aligned stack.
41226 (CHECK_RSP): Remove unused macro.
41228 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41230 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41231 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41233 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41235 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41237 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41239 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41242 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41243 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41244 * sysdeps/x86_64/memmove.c: New file.
41245 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41246 (memcpy): Renamed to ...
41247 (__new_memcpy): This.
41248 (memcpy): Provide GLIBC_2_14 memcpy.
41249 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41250 (memcpy): Provide GLIBC_2_2_5 memcpy.
41252 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41255 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41257 2011-03-30 Andreas Schwab <schwab@redhat.com>
41259 * misc/syncfs.c: New file.
41260 * misc/Makefile (routines): Add syncfs.
41261 * posix/unistd.h: Declare syncfs.
41262 * sysdeps/unix/syscalls.list: Add syncfs.
41264 2011-04-01 Andreas Schwab <schwab@redhat.com>
41266 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41268 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41269 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41270 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41271 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41273 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41274 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41276 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41278 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41279 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41280 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41281 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41282 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41284 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41286 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41287 sync_file_range.c with -fexceptions.
41288 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41289 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41290 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41291 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41292 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41293 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41294 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41295 sync_file_range as cancellation point
41296 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41297 now a wrapper around __call_sync_file_range with cancellation handling.
41298 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41299 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41300 function name to __call_sync_file_range.
41301 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41302 Add call_sync_file_range.
41304 2011-04-01 Andreas Schwab <schwab@redhat.com>
41306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41309 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41311 * iconv/iconv.h: Fix typo in comment.
41312 * io/fcntl.h: Likewise.
41313 * libio/stdio.h: Likewise.
41314 * posix/spawn.h: Likewise.
41315 * posix/unistd.h: Likewise.
41316 * stdlib/stdlib.h: Likewise.
41317 * time/time.h: Likewise.
41318 * wcsmbs/wchar.h: Likewise.
41320 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41321 open_by_handle): Add.
41322 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41323 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41324 Augment a few comments.
41325 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41326 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41327 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41328 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41330 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41333 * io/fcntl.h (AT_EMPTY_PATH): Define.
41335 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41337 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41338 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41339 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41341 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41342 * Versions.def: Add GLIBC_2.14.
41343 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41346 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41348 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41350 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41352 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41355 * string/test-strncmp.c (do_page_test): New function.
41356 (check2): Likewise.
41357 (test_main): Call check2.
41358 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41360 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41363 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41364 Handle cache information in CPU leaf 4.
41365 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41367 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41370 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41371 character representation.
41372 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41374 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41376 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41377 END(__isnan) to END(__isnanf) to match function entry point/label
41378 EALIGN(__isnanf,...).
41380 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41382 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41384 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41387 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41388 copy from the symbol referenced in the relocation to initialize the
41390 Patch by Piotr Bury <pbury@goahead.com>.
41391 * elf/Makefile: Add rules to build and tst-unique3.
41392 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41393 * elf/tst-unique3.cc: New file.
41394 * elf/tst-unique3.h: New file.
41395 * elf/tst-unique3lib.cc: New file.
41396 * elf/tst-unique3lib2.cc: New file.
41398 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41400 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41402 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41403 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41406 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41408 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41409 to-be-loaded object along a path to loader is ld.so.
41411 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41412 Ulrich Drepper <drepper@gmail.com>
41414 * sysdeps/x86_64/memset.S: After aligning destination, code
41415 branches to different locations depending on the value of
41416 misalignment, when multiarch is enabled. Fix this.
41418 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41420 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41421 Set _x86_64_preferred_memory_instruction for AMD processsors.
41422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41423 Set bit_Prefer_SSE_for_memop for AMD processors.
41425 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41427 * libio/fmemopen.c (fmemopen): Optimize a bit.
41429 2011-03-03 Andreas Schwab <schwab@redhat.com>
41431 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41433 2011-03-03 Roland McGrath <roland@redhat.com>
41435 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41437 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41439 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41440 __bzero_ultra1 instead of __memset_ultra1.
41442 2011-02-23 Andreas Schwab <schwab@redhat.com>
41443 Ulrich Drepper <drepper@gmail.com>
41446 * include/link.h (struct link_map): Add l_orig_initfini.
41447 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41448 returning unsuccessfully.
41449 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41450 close of a file loaded at startup, restore the original l_initfini
41452 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41453 list, store the pointer.
41454 * elf/Makefile ($(objpfx)noload-mem): New rule.
41455 (noload-ENV): Define.
41456 (tests): Add $(objpfx)noload-mem.
41457 * elf/noload.c: Include <memcheck.h>.
41458 (main): Call mtrace. Close all opened handles.
41460 2011-02-17 Andreas Schwab <schwab@redhat.com>
41463 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41464 dependencies are missing.
41466 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41468 Fix __if_freereq crash: Unlike the generic version which uses free,
41470 * sysdeps/mach/hurd/ifreq.h: New file.
41472 2011-01-27 Petr Baudis <pasky@suse.cz>
41473 Ulrich Drepper <drepper@gmail.com>
41476 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41477 to extend_alloca().
41478 * stdio-common/bug23.c: New file.
41479 * stdio-common/Makefile (tests): Add bug23.
41481 2010-09-28 Andreas Schwab <schwab@redhat.com>
41482 Ulrich Drepper <drepper@gmail.com>
41485 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41486 before performing relro protection. At old place add assertion
41487 to make sure nothing changed.
41489 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41490 Glauber de Oliveira Costa <glommer@gmail.com>
41492 * elf/elf.h: Add new ARM TLS relocs.
41494 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41497 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41499 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41501 * sysdeps/wordsize-64/tst-writev.c: New file.
41503 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41505 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41506 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41507 insns in _dl_start to prevent a TOC reference before relocs are
41510 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41513 * Makeconfig: Remove RANLIB definition.
41514 * Makerules: Don't use RANLIB.
41515 * aclocal.m4: Remove ranlib test.
41516 * configure.in: No need to check for ranlib.
41517 * elf/rtld-Rules: Don't use RANLIB.
41519 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41521 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41523 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41524 inclusion protection macro.
41526 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41527 SIGRTMIN and SIGRTMAX and print information in that case only when
41528 SIGRTMIN is defined.
41530 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41532 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41533 arginfo fn returning -1.
41535 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41536 and thousands string is zero terminated.
41538 2011-02-03 Andreas Schwab <schwab@redhat.com>
41540 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41541 sysdeps/unix/sysv/linux/bits/socket.h.
41543 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41545 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41546 (__CPU_COUNT): Remove old macros.
41547 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41548 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41549 (__CPU_ALLOC, __CPU_FREE): Add macros.
41550 (__sched_cpualloc, __sched_cpufree): Add declarations.
41552 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41554 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41555 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41556 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41557 (readdhstai): Return value of addhstaiX call.
41558 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41559 (addgrbyX): Return value returned by cache_addgr.
41560 (readdgrbyname): Return value returned by addgrbyX.
41561 (readdgrbygid): Likewise.
41562 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41563 (addpwbyX): Return value returned by cache_addpw.
41564 (readdpwbyname): Return value returned by addhstbyX.
41565 (readdpwbyuid): Likewise.
41566 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41567 (addservbyX): Return value returned by cache_addserv.
41568 (readdservbyname): Return value returned by addservbyX:
41569 (readdservbyport): Likewise.
41570 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41571 (addhstbyX): Return value returned by cache_addhst.
41572 (readdhstbyname): Return value returned by addhstbyX.
41573 (readdhstbyaddr): Likewise.
41574 (readdhstbynamev6): Likewise.
41575 (readdhstbyaddrv6): Likewise.
41576 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41577 (readdinitgroups): Return value returned by addinitgroupsX.
41578 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41579 (prune_cache): Keep track of timeout value of re-added entries.
41580 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41581 * nscd/nscd.h: Adjust prototypes of readd* functions.
41583 2011-02-04 Roland McGrath <roland@redhat.com>
41585 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41586 (nis_stats): Likewise.
41587 * nis/nis_modify.c (nis_modify): Likewise.
41588 * nis/nis_remove.c (nis_remove): Likewise.
41589 * nis/nis_add.c (nis_add): Likewise.
41591 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41593 * posix/fnmatch_loop.c: Add some consts.
41595 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41597 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41600 * config.make.in (config-cflags-novzeroupper): Define.
41601 * configure.in: Substitute libc_cv_cc_novzeroupper.
41602 * elf/Makefile (AVX-CFLAGS): Define.
41603 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41604 (CFLAGS-tst-auditmod4a.c): Likewise.
41605 (CFLAGS-tst-auditmod4b.c): Likewise.
41606 (CFLAGS-tst-auditmod6b.c): Likewise.
41607 (CFLAGS-tst-auditmod6c.c): Likewise.
41608 (CFLAGS-tst-auditmod7b.c): Likewise.
41609 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41611 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41613 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41614 function to the callback.
41615 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41617 2011-02-02 Andreas Schwab <schwab@redhat.com>
41619 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41622 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41625 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41627 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41629 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41632 * elf/Makefile: Add rules to build and run new test.
41633 * elf/tst-initorder.c: New file.
41634 * elf/tst-initorder.exp: New file.
41635 * elf/tst-initordera1.c: New file.
41636 * elf/tst-initordera2.c: New file.
41637 * elf/tst-initordera3.c: New file.
41638 * elf/tst-initordera4.c: New file.
41639 * elf/tst-initorderb1.c: New file.
41640 * elf/tst-initorderb2.c: New file.
41641 * elf/tst-order-a1.c: New file.
41642 * elf/tst-order-a2.c: New file.
41643 * elf/tst-order-a3.c: New file.
41644 * elf/tst-order-a4.c: New file.
41645 * elf/tst-order-b1.c: New file.
41646 * elf/tst-order-b2.c: New file.
41647 * elf/tst-order-main.c: New file.
41648 New test case by George Gensure <werkt0@gmail.com>.
41650 2010-10-01 Andreas Schwab <schwab@redhat.com>
41652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41653 decoding ACE if AI_CANONIDN.
41655 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41657 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41659 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41661 * version.h (RELEASE): Bump for 2.13 release.
41662 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41664 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41666 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41668 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41669 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41670 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41671 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41672 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41673 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41675 * posix/getconf.c: Update copyright year.
41676 * catgets/gencat.c: Likewise.
41677 * csu/version.c: Likewise.
41678 * debug/catchsegv.sh: Likewise.
41679 * debug/xtrace.sh: Likewise.
41680 * elf/ldconfig.c: Likewise.
41681 * elf/ldd.bash.in: Likewise.
41682 * elf/sprof.c (print_version): Likewise.
41683 * iconv/iconv_prog.c: Likewise.
41684 * iconv/iconvconfig.c: Likewise.
41685 * locale/programs/locale.c: Likewise.
41686 * locale/programs/localedef.c: Likewise.
41687 * malloc/memusage.sh: Likewise.
41688 * malloc/mtrace.pl: Likewise.
41689 * nscd/nscd.c (print_version): Likewise.
41690 * nss/getent.c: Likewise.
41692 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41693 PF_CAIF, and PF_ALG.
41694 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41696 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41698 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41699 (modules-names): Use them.
41700 (ifunc-test-modules, ifunc-pie-tests): Define.
41701 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41702 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41703 (test-extras): Likewise.
41704 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41705 $(compile-command.c).
41706 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41707 (all-built-dso): Define.
41708 (check-textrel.out, check-execstack.out): Depend on it.
41710 * configure.in: Don't override --enable-multi-arch.
41712 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41715 * nscd/hstcache.c (tryagain): Define.
41716 (cache_addhst): Return tryagain not notfound for temporary errors.
41717 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41720 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41723 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41724 to make the syscall.
41725 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41728 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41729 and fall back to matching as normal character if the string ends before
41730 the matching ']' is found. This is what POSIX requires.
41731 * posix/testfnm.c: Adjust test result.
41732 * posix/globtest.sh: Adjust test result. Add new test.
41733 * posix/tst-fnmatch.input: Likewise.
41734 * posix/tst-fnmatch2.c: Add new test.
41736 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41738 * elf/Makefile (check-execstack): Revert last change. Depend on
41740 (check-execstack.h): New target.
41741 (generated): Add check-execstack.h.
41742 * elf/check-execstack.c: Include "check-execstack.h".
41743 (main): Revert last change.
41744 (handle_file): Return zero if GNU_STACK is absent and
41745 DEFAULT_STACK_PERMS doesn't include PF_X.
41747 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41749 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41750 in child fails because the descriptor is already closed.
41751 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41752 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41753 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41756 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41760 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41761 temporary buffer used to handle multi lookups locally.
41762 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41764 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41766 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41769 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41771 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41772 alignment for SSE2.
41774 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41777 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41778 characters. When rounding increased number of integer digits recompute
41780 * stdio-common/tst-grouping.c: New file.
41781 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41783 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41785 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41786 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41788 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41790 * bits/select.h: Likewise.
41792 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41794 * po/ja.po: Update from translation team.
41796 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41799 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41800 implementation just like for lxstat, fxstatat, et al.
41802 2010-12-27 Jim Meyering <meyering@redhat.com>
41805 * posix/regexec.c (build_trtable): Return failure indication upon
41806 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41808 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41811 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41812 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41813 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41814 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41817 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41820 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41821 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41823 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41825 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41826 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41827 script has SORT_BY_INIT_PRIORITY.
41828 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41829 NO_CTORS_DTORS_SECTIONS is defined.
41830 * elf/soinit.c: Likewise.
41831 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41832 NO_CTORS_DTORS_SECTIONS is defined.
41833 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41834 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41835 * sysdeps/sh/init-first.c: Likewise.
41836 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41838 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41840 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41841 always use the slow path.
41843 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41845 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41846 similar rule which adds the sysdep directories to the header search in
41847 order to pick up the correct platform stackinfo.h.
41848 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41849 perform test if it is, otherwise return successfully without testing.
41850 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41851 DEFAULT_STACK_PERMS define in stackinfo.h.
41852 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41853 defined in stackinfo.h.
41854 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41855 DEFAULT_STACK_PERMS defined in stackinfo.h.
41856 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41857 * sysdeps/ia64/stackinfo.h: Likewise.
41858 * sysdeps/s390/stackinfo.h: Likewise.
41859 * sysdeps/sh/stackinfo.h: Likewise.
41860 * sysdeps/sparc/stackinfo.h: Likewise.
41861 * sysdeps/x86_64/stackinfo.h: Likewise.
41862 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41863 PF_X for powerpc64. Retain PF_X for powerpc32.
41865 2010-12-19 Ulrich Drepper <drepper@gmail.com>
41867 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41869 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41870 GETDENTS_64BIT_ALIGNED.
41872 2010-12-14 Ulrich Drepper <dreper@gmail.com>
41874 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41876 2010-12-10 Andreas Schwab <schwab@redhat.com>
41878 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41881 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41882 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41884 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41885 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41887 2010-12-09 Ulrich Drepper <drepper@gmail.com>
41890 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41893 2010-12-09 Jakub Jelinek <jakub@redhat.com>
41895 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41897 2010-12-03 Ulrich Drepper <drepper@gmail.com>
41899 * po/it.po: Update from translation team.
41901 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41903 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41906 2010-11-30 Ulrich Drepper <drepper@gmail.com>
41908 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41910 2010-11-24 Andreas Schwab <schwab@redhat.com>
41912 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41914 (gaih_getanswer_slice): Likewise.
41916 2010-10-20 Jakub Jelinek <jakub@redhat.com>
41918 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41920 2010-05-31 Petr Baudis <pasky@suse.cz>
41923 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41924 silently even in the chroot mode.
41926 2010-11-22 Ulrich Drepper <drepper@gmail.com>
41928 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41929 last patch a bit. Pretty printing
41931 2010-05-31 Petr Baudis <pasky@suse.cz>
41934 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41935 initialization of skip_initgroups_dyn.
41937 2010-11-19 Ulrich Drepper <drepper@gmail.com>
41939 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41940 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41942 2010-11-16 Ulrich Drepper <drepper@gmail.com>
41944 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41946 2010-11-11 Andreas Schwab <schwab@redhat.com>
41948 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41949 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41950 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41951 ($(objpfx)tst-fnmatch-mem): New rule.
41952 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41953 * posix/tst-fnmatch.c (main): Call mtrace.
41955 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41958 Support Intel processor model 6 and model 0x2c.
41960 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
41962 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41965 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41968 * string/test-strncasecmp.c (check_result): New function.
41969 (do_one_test): Use it.
41970 (check1): New function.
41971 (test_main): Use it.
41972 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41973 Support strcasecmp and strncasecmp.
41975 2010-11-08 Ulrich Drepper <drepper@gmail.com>
41978 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41979 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41981 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41983 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41987 * sysdeps/x86_64/multiarch/bzero.S: New file.
41988 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41989 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41990 * sysdeps/x86_64/multiarch/memset.S: New file.
41991 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41993 Set bit_Prefer_SSE_for_memop for Intel processors.
41994 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41996 (index_Prefer_SSE_for_memop): Define.
41997 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41999 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42001 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42002 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42004 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42007 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42008 (__x86_64_raw_data_cache_size_half): Likewise.
42009 (__x86_64_raw_shared_cache_size): Likewise.
42010 (__x86_64_raw_shared_cache_size_half): Likewise.
42012 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42013 (__x86_64_raw_data_cache_size_half): Likewise.
42014 (__x86_64_raw_shared_cache_size): Likewise.
42015 (__x86_64_raw_shared_cache_size_half): Likewise.
42016 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42017 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42018 and __x86_64_raw_shared_cache_size_half. Round
42019 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42020 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42021 to multiple of 256 bytes.
42023 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42026 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42027 of inacessible symlinks. Verify result of symlink before returning it.
42028 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42029 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42031 2010-10-28 Erich Ritz <erichritz@gmail.com>
42033 * math/math.h (isinf): Fix typo in comment.
42035 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42037 * po/da.po: Update from translation team.
42039 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42041 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42042 is added to the list.
42044 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42045 Ulrich Drepper <drepper@gmail.com>
42047 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42048 the global list here. Move code to...
42049 (_dl_add_to_namespace_list): ...here. New function.
42050 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42051 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42052 * elf/dl-load.c (lose): Don't remove the element from the list.
42053 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42054 (_dl_map_object): Likewise.
42056 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42059 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42060 into all bytes of SSE register.
42061 Patch by Richard Li <richardpku@gmail.com>.
42063 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42066 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42069 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42071 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42072 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42073 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42074 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42079 2010-10-22 Andreas Schwab <schwab@redhat.com>
42081 * include/dlfcn.h (__RTLD_SECURE): Define.
42082 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42083 mode & __RTLD_SECURE instead.
42084 (open_path): Rename preloaded parameter to secure.
42085 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42086 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42087 * elf/dl-deps.c (openaux): Likewise.
42088 * elf/rtld.c (struct map_args): Remove is_preloaded.
42089 (map_doit): Don't use it.
42090 (dl_main): Likewise.
42091 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42092 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42094 2010-09-09 Andreas Schwab <schwab@redhat.com>
42096 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42097 (sysd-rules-targets): Remove duplicates.
42098 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42099 rtld-%.$o dependency.
42101 2010-10-18 Andreas Schwab <schwab@redhat.com>
42103 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42104 _dl_map_object do it.
42106 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42108 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42109 fast fma builtins, define the macros in the C99 standard.
42110 (FP_FAST_FMAF): Likewise.
42111 (FP_FAST_FMAL): Likewise.
42112 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42114 * bits/mathdef.h: Update copyright year.
42115 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42117 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42119 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42120 builtins, define the macros in the C99 standard.
42121 (FP_FAST_FMAF): Likewise.
42122 (FP_FAST_FMAL): Likewise.
42123 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42125 (FP_FAST_FMAF): Likewise.
42127 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42130 * math/libm-test.inc (fma_test): Some new testcases.
42131 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42132 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42133 y and infinite z. Do multiplication by C already in long double.
42134 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42135 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42136 y and infinite z. Do bitwise or of inexact bit into u.d.
42137 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42138 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42139 * sysdeps/i386/fpu/s_fma.S: Removed.
42140 * sysdeps/i386/fpu/s_fmal.S: Removed.
42142 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42145 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42146 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42147 computation is not scheduled after fetestexcept. Fix value
42148 of minimum denormal long double.
42150 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42153 * math/libm-test.inc (fma_test): Add some more tests.
42154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42157 2010-10-15 Andreas Schwab <schwab@redhat.com>
42159 * scripts/data/localplt-s390-linux-gnu.data: New file.
42160 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42162 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42165 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42166 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42168 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42170 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42172 if one of x and y is very large and the other is subnormal.
42173 * sysdeps/s390/fpu/s_fmaf.c: New file.
42174 * sysdeps/s390/fpu/s_fma.c: New file.
42175 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42176 * sysdeps/powerpc/fpu/s_fma.S: New file.
42177 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42178 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42179 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42181 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42184 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42186 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42187 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42188 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42189 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42190 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42191 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42192 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42194 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42197 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42198 * posix/bug-regex31.input: Add test case.
42200 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42202 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42203 * posix/bug-regex31.input: New file.
42206 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42207 (parse_sub_exp): Fix last change, use postorder.
42209 * posix/bug-regex31.c: New file.
42210 * posix/Makefile: Add rules to build and run bug-regex31.
42212 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42215 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42218 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42219 to have entries in sys_siglist.
42222 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42225 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42228 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42229 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42230 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42231 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42232 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42233 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42234 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42235 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42236 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42237 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42238 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42239 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42240 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42241 * math/ftestexcept.c (fetestexcept): Likewise.
42242 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42243 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42244 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42245 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42246 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42247 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42248 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42250 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42253 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42256 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42258 * string/bug-strstr1.c: New file.
42259 * string/Makefile: Add rules to build and run bug-strstr1.
42261 2010-10-05 Eric Blake <eblake@redhat.com>
42264 * string/str-two-way.h (two_way_long_needle): Always clear memory
42265 when skipping input due to the shift table.
42267 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42270 * malloc/mcheck.c: Handle large requests.
42273 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42274 for strncmp and strncasecmp.
42275 * string/stratcliff.c: Add tests for strcmp and strncmp.
42276 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42278 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42280 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42283 2010-09-30 Andreas Jaeger <aj@suse.de>
42285 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42286 (CGROUP_SUPER_MAGIC): Define.
42287 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42288 Handle btrfs and cgroup file systems.
42289 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42292 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42294 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42295 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42297 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42300 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42301 trying to locate the ELF header.
42303 2010-09-27 Andreas Schwab <schwab@redhat.com>
42306 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42307 Mask out sign-bit copies when constructing f_fsid.
42309 2010-09-24 Petr Baudis <pasky@suse.cz>
42311 * debug/stack_chk_fail_local.c: Add missing licence exception.
42312 * debug/warning-nop.c: Likewise.
42314 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42316 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42317 implementing getdents64 using getdents syscall, set d_type if
42318 __ASSUME_GETDENTS32_D_TYPE.
42320 2010-09-16 Andreas Schwab <schwab@redhat.com>
42322 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42323 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42325 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42328 * posix/unistd.h: Undo change of feature selection for ftruncate from
42331 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42333 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42336 2010-09-20 Andreas Schwab <schwab@redhat.com>
42338 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42340 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42342 2010-09-14 Andreas Schwab <schwab@redhat.com>
42344 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42345 variables after CHECK_SP call.
42346 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42348 2010-09-13 Andreas Schwab <schwab@redhat.com>
42349 Ulrich Drepper <drepper@redhat.com>
42351 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42352 re-relocationg ld.so.
42353 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42354 _dl_init_paths call.
42355 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42358 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42360 * resolv/res_init.c (__res_vinit): Count the default server we added.
42362 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42363 Ulrich Drepper <drepper@redhat.com>
42366 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42367 (____longjmp_chk): Use %ebx for saving value across system call.
42370 2010-09-06 Andreas Schwab <schwab@redhat.com>
42372 * manual/Makefile: Don't mix pattern rules with normal rules.
42374 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42376 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42378 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42379 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42380 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42381 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42382 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42385 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42388 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42389 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42391 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42393 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42394 * sysdeps/x86_64/addmul_1.S: Likewise.
42395 * sysdeps/x86_64/lshift.S: Likewise.
42396 * sysdeps/x86_64/mul_1.S: Likewise.
42397 * sysdeps/x86_64/rshift.S: Likewise.
42398 * sysdeps/x86_64/sub_n.S: Likewise.
42399 * sysdeps/x86_64/submul_1.S: Likewise.
42401 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42403 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42404 Define __sched_param instead of SCHED_* and sched_param when
42405 <bits/sched.h> is included with __need_schedparam defined.
42406 * bits/sched.h [__need_schedparam]
42407 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42408 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42409 (__defined_schedparam): Define to 1.
42410 (__sched_param): New structure, identical to sched_param.
42411 (__need_schedparam): Undefine.
42413 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42415 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42416 (epoll_create1): Declare.
42418 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42420 2010-08-31 Andreas Schwab <schwab@redhat.com>
42423 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42424 shifting retval into place.
42426 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42428 * nis/rpcsvc/nis.h: Update copyright notice.
42429 * nis/rpcsvc/nis.x: Likewise.
42430 * nis/rpcsvc/nis_callback.h: Likewise.
42431 * nis/rpcsvc/nis_callback.x: Likewise.
42432 * nis/rpcsvc/nis_object.x: Likewise.
42433 * nis/rpcsvc/nis_tags.h: Likewise.
42434 * nis/rpcsvc/yp.h: Likewise.
42435 * nis/rpcsvc/yp.x: Likewise.
42436 * nis/rpcsvc/ypupd.h: Likewise.
42437 * nis/yp_xdr.c: Likewise.
42438 * nis/ypupdate_xdr.c: Likewise.
42440 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42441 mainly the body of pmap_getport. Add parameters to specify timeouts.
42442 (pmap_getport): Use __libc_rpc_getport.
42443 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42444 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42445 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42447 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42452 2010-08-27 Roland McGrath <roland@redhat.com>
42454 * sysdeps/i386/i686/multiarch/Makefile
42455 (CFLAGS-varshift.c): New variable.
42457 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42459 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42460 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42462 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42464 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42466 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42468 * sysdeps/x86_64/strlen.S: Unroll the loop.
42469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42470 strlen-sse2 strlen-sse2-bsf.
42471 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42472 __strlen_no_bsf if bit_Slow_BSF is set.
42473 (__strlen_sse42): Removed.
42474 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42475 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42477 2010-08-25 Roland McGrath <roland@redhat.com>
42479 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42480 * sysdeps/x86_64/multiarch/varshift.c: New file.
42481 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42482 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42483 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42484 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42486 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42489 strlen-sse2 strlen-sse2-bsf.
42490 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42491 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42492 (__strlen_sse2): Removed.
42493 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42494 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42496 bit_Slow_BSF for Atom.
42497 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42498 (index_Slow_BSF): Define.
42499 (HAS_SLOW_BSF): Define.
42501 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42504 * resolv/res_init.c (__res_vinit): When no server address at all
42505 is given default to loopback.
42507 2010-08-24 Roland McGrath <roland@redhat.com>
42509 * configure.in: Remove config-name.h generation.
42510 * configure: Regenerated.
42511 * config-name.in: File removed.
42512 * scripts/config-uname.sh: New file.
42513 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42514 ($(objdir)config-name.h): New target.
42516 * sunrpc/rpc_parse.h: Avoid nested comment.
42518 2010-08-24 Richard Henderson <rth@redhat.com>
42519 Ulrich Drepper <drepper@redhat.com>
42520 H.J. Lu <hongjiu.lu@intel.com>
42522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42524 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42525 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42526 _mm_alignr_epi8 with _mm_loadu_si128.
42527 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42528 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42529 (__m128i_shift_right): Removed.
42530 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42531 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42532 * sysdeps/x86_64/multiarch/varshift.h: New file.
42533 * sysdeps/x86_64/multiarch/varshift.S: New file.
42535 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42537 * configure.in: Move assembler checks to before sysdep dir checking.
42539 2010-08-20 Petr Baudis <pasky@suse.cz>
42541 * LICENSES: Sync the sunrpc license.
42543 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42545 * sunrpc/auth_des.c: Update copyright notice once again.
42546 * sunrpc/auth_none.c: Likewise.
42547 * sunrpc/auth_unix.c: Likewise.
42548 * sunrpc/authdes_prot.c: Likewise.
42549 * sunrpc/authuxprot.c: Likewise.
42550 * sunrpc/bindrsvprt.c: Likewise.
42551 * sunrpc/clnt_gen.c: Likewise.
42552 * sunrpc/clnt_perr.c: Likewise.
42553 * sunrpc/clnt_raw.c: Likewise.
42554 * sunrpc/clnt_simp.c: Likewise.
42555 * sunrpc/clnt_tcp.c: Likewise.
42556 * sunrpc/clnt_udp.c: Likewise.
42557 * sunrpc/clnt_unix.c: Likewise.
42558 * sunrpc/des_crypt.c: Likewise.
42559 * sunrpc/des_soft.c: Likewise.
42560 * sunrpc/get_myaddr.c: Likewise.
42561 * sunrpc/getrpcport.c: Likewise.
42562 * sunrpc/key_call.c: Likewise.
42563 * sunrpc/key_prot.c: Likewise.
42564 * sunrpc/openchild.c: Likewise.
42565 * sunrpc/pm_getmaps.c: Likewise.
42566 * sunrpc/pm_getport.c: Likewise.
42567 * sunrpc/pmap_clnt.c: Likewise.
42568 * sunrpc/pmap_prot.c: Likewise.
42569 * sunrpc/pmap_prot2.c: Likewise.
42570 * sunrpc/pmap_rmt.c: Likewise.
42571 * sunrpc/rpc/auth.h: Likewise.
42572 * sunrpc/rpc/auth_unix.h: Likewise.
42573 * sunrpc/rpc/clnt.h: Likewise.
42574 * sunrpc/rpc/des_crypt.h: Likewise.
42575 * sunrpc/rpc/key_prot.h: Likewise.
42576 * sunrpc/rpc/netdb.h: Likewise.
42577 * sunrpc/rpc/pmap_clnt.h: Likewise.
42578 * sunrpc/rpc/pmap_prot.h: Likewise.
42579 * sunrpc/rpc/pmap_rmt.h: Likewise.
42580 * sunrpc/rpc/rpc.h: Likewise.
42581 * sunrpc/rpc/rpc_des.h: Likewise.
42582 * sunrpc/rpc/rpc_msg.h: Likewise.
42583 * sunrpc/rpc/svc.h: Likewise.
42584 * sunrpc/rpc/svc_auth.h: Likewise.
42585 * sunrpc/rpc/types.h: Likewise.
42586 * sunrpc/rpc/xdr.h: Likewise.
42587 * sunrpc/rpc_clntout.c: Likewise.
42588 * sunrpc/rpc_cmsg.c: Likewise.
42589 * sunrpc/rpc_common.c: Likewise.
42590 * sunrpc/rpc_cout.c: Likewise.
42591 * sunrpc/rpc_dtable.c: Likewise.
42592 * sunrpc/rpc_hout.c: Likewise.
42593 * sunrpc/rpc_main.c: Likewise.
42594 * sunrpc/rpc_parse.c: Likewise.
42595 * sunrpc/rpc_parse.h: Likewise.
42596 * sunrpc/rpc_prot.c: Likewise.
42597 * sunrpc/rpc_sample.c: Likewise.
42598 * sunrpc/rpc_scan.c: Likewise.
42599 * sunrpc/rpc_scan.h: Likewise.
42600 * sunrpc/rpc_svcout.c: Likewise.
42601 * sunrpc/rpc_tblout.c: Likewise.
42602 * sunrpc/rpc_util.c: Likewise.
42603 * sunrpc/rpc_util.h: Likewise.
42604 * sunrpc/rpcinfo.c: Likewise.
42605 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42606 * sunrpc/rpcsvc/key_prot.x: Likewise.
42607 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42608 * sunrpc/rpcsvc/mount.x: Likewise.
42609 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42610 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42611 * sunrpc/rpcsvc/rex.x: Likewise.
42612 * sunrpc/rpcsvc/rstat.x: Likewise.
42613 * sunrpc/rpcsvc/rusers.x: Likewise.
42614 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42615 * sunrpc/rpcsvc/spray.x: Likewise.
42616 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42617 * sunrpc/rtime.c: Likewise.
42618 * sunrpc/svc.c: Likewise.
42619 * sunrpc/svc_auth.c: Likewise.
42620 * sunrpc/svc_authux.c: Likewise.
42621 * sunrpc/svc_raw.c: Likewise.
42622 * sunrpc/svc_run.c: Likewise.
42623 * sunrpc/svc_simple.c: Likewise.
42624 * sunrpc/svc_tcp.c: Likewise.
42625 * sunrpc/svc_udp.c: Likewise.
42626 * sunrpc/svc_unix.c: Likewise.
42627 * sunrpc/svcauth_des.c: Likewise.
42628 * sunrpc/xcrypt.c: Likewise.
42629 * sunrpc/xdr.c: Likewise.
42630 * sunrpc/xdr_array.c: Likewise.
42631 * sunrpc/xdr_float.c: Likewise.
42632 * sunrpc/xdr_mem.c: Likewise.
42633 * sunrpc/xdr_rec.c: Likewise.
42634 * sunrpc/xdr_ref.c: Likewise.
42635 * sunrpc/xdr_sizeof.c: Likewise.
42636 * sunrpc/xdr_stdio.c: Likewise.
42638 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42641 2010-08-19 Andreas Schwab <schwab@redhat.com>
42643 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42645 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42647 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42648 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42649 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42650 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42651 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42652 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42653 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42654 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42655 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42656 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42657 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42658 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42659 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42660 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42662 2010-07-26 Anton Blanchard <anton@samba.org>
42664 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42665 * malloc/arena.c (heap_trim): Likewise.
42667 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42669 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42671 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42672 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42674 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42676 * sysdeps/i386/elf/Makefile: New file.
42678 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42680 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42681 from fanotify_init.
42682 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42683 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42685 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42687 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42689 * sysdeps/multiarch/strcmp.S: Likewise.
42691 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42693 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42694 strncase_l-nonascii.
42695 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42696 Add strncase_l-ssse3.
42697 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42698 * sysdeps/x86_64/strcmp.S: Likewise.
42699 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42700 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42701 * sysdeps/x86_64/strncase.S: New file.
42702 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42703 * sysdeps/x86_64/strncase_l.S: New file.
42704 * string/Makefile (strop-tests): Add strncasecmp.
42705 * string/test-strncasecmp.c: New file.
42707 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42710 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42711 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42713 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42715 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42717 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42719 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42720 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42721 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42723 2010-05-01 Alan Modra <amodra@gmail.com>
42725 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42726 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42727 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42728 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42729 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42730 tidying. Don't tail-call __sigjmp_save for static lib.
42731 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42733 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42734 (CALL_MCOUNT): Add eh info, and nop after bl.
42735 (TAIL_CALL_SYSCALL_ERROR): New macro.
42736 (PSEUDO_RET): Use it.
42737 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42738 Correct save location of integer regs and cr.
42739 (_dl_profile_resolve): Correct cr save location. Delete nops
42740 after bl when SHARED. Reduce cfi size a little by better
42741 placement of cfi directives.
42742 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42743 make a stack frame. Instead use parm save area as a temp.
42744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42745 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42747 Don't make a stack frame for parent, use parm save area.
42748 Increase child stack frame to 112 bytes. Don't save unused reg,
42749 and adjust reg usage. Set up cfi on error recovery and
42750 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42752 (__makecontext): Add dummy nop after jump to exit.
42753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42754 Use correct parm save area and cr save, reduce stack frame.
42755 Correct cfi for possible PSEUDO_RET frame setup.
42756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42757 Branch to local label emitted by PSEUDO_RET rather than
42760 2010-08-12 Andreas Schwab <schwab@redhat.com>
42763 * locale/programs/locale.c (print_assignment): New function.
42764 (show_locale_vars): Use it.
42766 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42768 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42770 (struct statfs64): Likewise.
42771 (_STATFS_F_FLAGS): Define.
42772 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42773 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42774 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42775 (ST_VALID): Define locally.
42776 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42777 __statvfs_getflags, use the provided value.
42778 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42779 __ASSUME_STATFS_F_FLAGS.
42781 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42783 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42784 Add sys/fanotify.h.
42785 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42786 fanotify_mask for GLIBC_2.13.
42787 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42788 fanotify_init and fanotify_mark.
42789 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42790 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42792 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42794 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42795 prlimit64 for GLIBC_2.13.
42796 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42798 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42801 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42802 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42803 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42804 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42806 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42809 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42810 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42812 * nss/Makefile: Add rules to build and run tst-nss-test1.
42813 * shlib-versions: Add entry for libnss_test1.
42814 * nss/nss_test1.c: New file.
42815 * nss/tst-nss-test1.c: New file.
42817 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42818 (__nss_configure_lookup): Set appropriate entry in
42819 __nss_configure_lookup to true.
42820 * nss/nsswitch.h: Define enum with indeces of databases in
42821 databases and __nss_database_custom arrays. Declare
42822 __nss_database_custom.
42823 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42824 to avoid using nscd when custom rules are installed.
42825 * nss/getXXbyYY_r.c: Likewise.
42826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42828 * nss/nss_files/files-parse.c: Whitespace fixes.
42830 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42833 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42834 * posix/fnmatch_loop.c: Likewise.
42836 2010-07-17 Andi Kleen <ak@linux.intel.com>
42838 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42839 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42840 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42841 * Versions.def [GLIBC_2.13]: Add.
42843 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42845 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42846 Also fail if tpwd after pwuid call is NULL.
42848 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42850 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42851 when converting to ms.
42853 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42855 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42856 EOPNOTSUPP errors with ENOTTY.
42857 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42858 EOPNOTSUPP errors with ENOTTY.
42860 2010-07-31 Ulrich Drepper <drepper@redhat.com>
42862 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42863 Add strcasecmp_l-ssse3.
42864 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42866 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42867 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42868 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42870 2010-07-30 Ulrich Drepper <drepper@redhat.com>
42872 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42874 * string/Makefile (strop-tests): Add strcasecmp.
42875 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42876 strcasecmp_l-nonascii.
42877 (gen-as-const-headers): Add locale-defines.sym.
42878 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42879 * sysdeps/x86_64/strcasecmp.S: New file.
42880 * sysdeps/x86_64/strcasecmp_l.S: New file.
42881 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42882 * sysdeps/x86_64/locale-defines.sym: New file.
42883 * string/test-strcasecmp.c: New file.
42885 * string/test-strcasestr.c: Test both ends of the range of characters.
42886 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42888 2010-07-29 Roland McGrath <roland@redhat.com>
42891 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42893 2010-07-27 Ulrich Drepper <drepper@redhat.com>
42895 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42898 2010-07-27 Andreas Schwab <schwab@redhat.com>
42900 * manual/memory.texi (Malloc Tunable Parameters): Document
42903 2010-07-26 Roland McGrath <roland@redhat.com>
42906 * configure.in (-fgnu89-inline check): Set and substitute
42907 gnu89_inline, not libc_cv_gnu89_inline.
42908 * configure: Regenerated.
42909 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42911 2010-07-26 Ulrich Drepper <drepper@redhat.com>
42913 * string/test-strnlen.c: New file.
42914 * string/Makefile (strop-tests): Add strnlen.
42915 * string/tester.c (test_strnlen): Add a few more test cases.
42916 * string/tst-strlen.c: Better error reporting.
42918 * sysdeps/x86_64/strnlen.S: New file.
42920 2010-07-24 Ulrich Drepper <drepper@redhat.com>
42922 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42923 lower-latency instructions.
42925 2010-07-23 Ulrich Drepper <drepper@redhat.com>
42927 * string/test-strcasestr.c: New file.
42928 * string/test-strstr.c: New file.
42929 * string/Makefile (strop-tests): Add strstr and strcasestr.
42930 * string/str-two-way.h: Don't undefine MAX.
42931 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42933 2010-07-21 Andreas Schwab <schwab@redhat.com>
42935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42936 strcasestr-nonascii.
42937 (CFLAGS-strcasestr-nonascii.c): Define.
42938 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42939 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42940 Remove unused attribute.
42942 2010-07-20 Roland McGrath <roland@redhat.com>
42944 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42945 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42946 ld.so.cache was broken. With it, there is no way to disable dsocaps
42947 like LD_HWCAP_MASK can disable hwcaps.
42949 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42951 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42953 2010-07-16 Ulrich Drepper <drepper@redhat.com>
42955 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42956 call in strcasestr.
42957 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42958 __strcasestr_sse42_nonascii.
42959 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42960 strcasestr-nonascii.c.
42961 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42963 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
42965 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42966 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42967 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42968 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42970 2010-07-09 Ulrich Drepper <drepper@redhat.com>
42972 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42975 2010-07-06 Andreas Schwab <schwab@redhat.com>
42978 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42981 2010-07-06 Ulrich Drepper <drepper@redhat.com>
42983 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42984 _PC_PIPE_BUF using F_GETPIPE_SZ.
42986 2010-07-05 Roland McGrath <roland@redhat.com>
42988 * manual/arith.texi (Rounding Functions): Fix rint description
42989 implicit in round description.
42991 2010-07-02 Ulrich Drepper <drepper@redhat.com>
42993 * elf/Makefile: Fix linking for a few tests to make recent linker
42996 2010-06-30 Andreas Schwab <schwab@redhat.com>
42998 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42999 $(common-objpfx)libc_nonshared.a.
43001 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43003 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43004 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43005 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43006 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43007 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43008 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43009 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43010 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43025 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43026 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43027 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43028 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43029 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43030 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43031 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43032 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43033 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43034 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43035 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43036 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43052 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43054 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43055 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43056 * string/memmove.c (memmove): Renamed to ...
43057 (MEMMOVE): ...this. Default to memmove.
43058 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43059 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43062 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43063 mempcpy-ssse3-back memmove-ssse3-back.
43064 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43065 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43066 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43067 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43068 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43069 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43070 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43071 * sysdeps/x86_64/multiarch/memmove.c: New file.
43072 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43073 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43074 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43075 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43076 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43077 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43079 (index_Fast_Copy_Backward): Define.
43080 (HAS_ARCH_FEATURE): Define.
43081 (HAS_FAST_REP_STRING): Define.
43082 (HAS_FAST_COPY_BACKWARD): Define.
43084 2010-06-21 Andreas Schwab <schwab@redhat.com>
43086 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43087 Restore proper fallback handling.
43089 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43092 * posix/group_member.c (__group_member): Correct checking loop.
43094 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43095 OOM in getpwuid_r correctly. Return error number when the caller
43096 should return, otherwise -1.
43097 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43098 call returning > 0 value.
43099 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43101 2010-06-07 Andreas Schwab <schwab@redhat.com>
43103 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43104 libc_nonshared.a from targets in modules-names.
43106 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43108 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43111 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43113 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43114 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43115 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43116 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43118 2010-06-02 Andreas Schwab <schwab@redhat.com>
43120 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43122 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43124 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43126 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43127 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43130 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43131 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43133 2010-06-14 Roland McGrath <roland@redhat.com>
43135 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43137 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43139 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43140 __REDIRECT followed by __THROW.
43141 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43142 * posix/getopt.h (getopt): Likewise.
43144 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43146 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43147 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43148 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43150 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43151 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43153 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43155 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43157 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43161 Properly check family and model.
43163 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43165 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43167 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43169 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43171 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43173 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43176 2010-05-19 Andreas Schwab <schwab@redhat.com>
43178 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43181 2010-05-21 Andreas Schwab <schwab@redhat.com>
43183 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43184 and internal_recvmmsg.
43185 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43186 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43187 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43188 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43190 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43191 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43192 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43194 2010-05-20 Andreas Schwab <schwab@redhat.com>
43196 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43198 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43200 POWER7 optimizations.
43201 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43202 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43204 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43206 * version.h: Update for 2.13 development version.
43208 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43210 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43211 exceptions. Return 0.
43213 2010-05-07 Roland McGrath <roland@redhat.com>
43215 * elf/ldconfig.c (main): Add a const.
43217 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43219 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43220 (args_options): Add no-idn option.
43221 (ahosts_keys_int): Add idn_flags to ai_flags.
43222 (parse_option): Handle 'i' option to clear idn_flags.
43224 * malloc/malloc.c (_int_free): Possible race in the most recently
43225 added check. Only act on the data if no current modification
43228 See ChangeLog.17 for earlier changes.