1 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * benchtests/Makefile: Depend on libraries in build directory.
4 (bench-math): Separate out math tests.
5 (bench-pthread): Separate out pthread tests.
6 (bench): Include math and pthread tests.
8 2014-04-14 Carlos O'Donell <carlos@redhat.com>
11 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14 2014-04-14 Carlos O'Donell <carlos@redhat.com>
16 * configure.ac: Remove SELinux header check.
17 * configure: Regenerate.
18 * nscd/selinux.c (perms): Array of const char* to permission names.
19 (nscd_request_avc_has_perm): Call security_deny_unknown to find
20 default policy. Call string_to_security_class and string_to_av_perm to
21 translate strings. Enforce default policy and call avs_has_perm with
22 results of translated strings.
24 2014-04-13 David S. Miller <davem@davemloft.net>
26 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28 2014-04-12 Allan McRae <allan@archlinux.org>
31 * manual/string.texi (Collation Functions): Fix qsort argument
33 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
37 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
38 Make the test a no-op if there are no exceptions defined.
40 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
42 * elf/Makefile (tests): make tst-dlopen-aout conditional on
43 enable-hardcoded-path-in-tests
45 2014-04-11 Will Newton <will.newton@linaro.org>
47 * benchtests/Makefile (extra-objs): Add json-lib.o.
48 (bench-func): Tidy up JSON output.
49 * benchtests/bench-skeleton.c: Include json-lib.h.
50 (main): Use JSON library functions to do output of
52 * benchtests/bench-timing-type.c (main): Output the
53 timing type simply, leaving formatting to the user.
54 * benchtests/json-lib.c: New file.
55 * benchtests/json-lib.h: Likewise.
57 2014-04-11 Torvald Riegel <triegel@redhat.com>
60 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
61 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
62 memory barriers. Add comments.
63 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
64 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
65 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
66 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
67 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
68 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
70 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
72 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
73 * sysdeps/s390/s390-64/configure.ac: ... this ...
74 * sysdeps/s390/configure.ac: ... to here.
75 * sysdeps/s390/s390-32/configure: Delete file.
76 * sysdeps/s390/s390-64/configure: Delete file.
77 * sysdeps/s390/configure: Regenerate.
79 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
81 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
83 2014-04-11 Will Newton <will.newton@linaro.org>
85 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
86 to zero if it is not defined elsewhere. (mtrim): Test
87 the value of MALLOC_DEBUG with #if rather than #ifdef.
89 2014-04-10 Torvald Riegel <triegel@redhat.com>
91 * benchtests/pthread_once-inputs: New file.
92 * benchtests/pthread_once-source.c: New file.
93 * benchtests/README: Update documentation.
95 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
96 H.J. Lu <hongjiu.lu@intel.com>
98 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
99 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
100 * sysdeps/x86_64/configure: Regenerated.
101 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
103 (REGISTER_SAVE_RAX): Likewise.
104 (REGISTER_SAVE_RCX): Likewise.
105 (REGISTER_SAVE_RDX): Likewise.
106 (REGISTER_SAVE_RSI): Likewise.
107 (REGISTER_SAVE_RDI): Likewise.
108 (REGISTER_SAVE_R8): Likewise.
109 (REGISTER_SAVE_R9): Likewise.
110 (REGISTER_SAVE_BND0): Likewise.
111 (REGISTER_SAVE_BND1): Likewise.
112 (REGISTER_SAVE_BND2): Likewise.
113 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
114 bound registers when calling _dl_fixup.
116 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
118 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
119 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
121 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
122 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
123 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
124 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
125 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
126 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
127 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
129 2014-04-09 Peter Brett <peter@peter-b.co.uk>
132 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
133 pathconf(_PC_NAME_MAX).
135 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
137 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
139 (__PTHREAD_SPINS): Move definition to ...
140 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
141 (__PTHREAD_SPINS): ... here.
142 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
143 (__PTHREAD_SPIN): Likewise.
144 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
145 (__PTHREAD_SPIN): Likewise.
146 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
147 (__PTHREAD_SPIN): Likewise.
148 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
149 (__PTHREAD_SPIN): Likewise.
150 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
151 (__PTHREAD_SPIN): Likewise.
152 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
153 (__PTHREAD_SPIN): Likewise.
154 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
155 (__PTHREAD_SPIN): Likewise.
156 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
157 (__PTHREAD_SPIN): Likewise.
158 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
159 (__PTHREAD_SPIN): Likewise.
160 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
161 (__PTHREAD_SPIN): Likewise.
162 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
163 (__PTHREAD_SPIN): Likewise.
164 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
165 (__PTHREAD_SPIN): Likewise.
167 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
169 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
170 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
171 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
172 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
174 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
175 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
176 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
177 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
179 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
180 strlen symbol for non multi-arch builds.
181 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
182 missing hidden_def and weak_alias.
184 2014-04-08 Carlos O'Donell <carlos@redhat.com>
186 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
188 2014-04-07 Will Newton <will.newton@linaro.org>
190 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
191 and contents. [!_LIBC] Remove #ifndef and contents.
192 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
193 * string/memccpy.c (__memccpy): Use ANSI prototype.
194 * string/memfrob.c (memfrob): Likewise.
195 * string/strcoll.c (STRCOLL): Likewise.
196 * string/strlen.c (strlen): Likewise.
197 * string/strtok.c (STRTOK): Likewise.
198 * string/strcat.c: Remove unused #include of memcopy.h.
199 (strcat): Use ANSI prototype.
200 * string/strchr.c: Remove unused #include of memcopy.h.
201 (strchr): Use ANSI prototype.
202 * string/strcmp.c: Remove unused #include of memcopy.h.
203 (strcmp): Use ANSI prototype.
204 * string/strcpy.c: Remove unused #include of memcopy.h.
205 (strcpy): Use ANSI prototype.
207 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
209 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
210 * config.make.in (config-extra-cppflags): Set it from
212 * configure.ac (libc_extra_cflags): Make it accumulate over
214 (libc_extra_cppflags): New flag.
215 * configure. Regenerate.
216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
217 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
218 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
221 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
224 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
225 result for FE_DOWNWARD rounding mode.
226 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
230 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
232 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
233 in function argument name.
235 2014-04-03 David Svoboda <svoboda@cert.org>
238 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
241 2014-04-03 Roland McGrath <roland@hack.frob.com>
243 * elf/dl-unmap-segments.h: New file.
244 * sysdeps/generic/ldsodefs.h
245 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
246 * elf/dl-close.c: Include <dl-unmap-segments.h>.
247 * elf/dl-fptr.c: Likewise.
248 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
249 * sysdeps/aarch64/tlsdesc.c: Likewise.
250 * sysdeps/arm/tlsdesc.c: Likewise.
251 * sysdeps/i386/tlsdesc.c: Likewise.
252 * sysdeps/tile/dl-runtime.c: Likewise.
253 * sysdeps/x86_64/tlsdesc.c: Likewise.
254 * elf/dl-load.h: New file.
255 * elf/dl-load.c: Include it.
256 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
257 Macros moved to dl-load.h.
258 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
259 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
260 Use _dl_unmap_segments in place of __munmap.
261 Break out segment-mapping loop into ...
262 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
264 2014-04-03 Will Newton <will.newton@linaro.org>
266 * elf/dl-lookup.c (do_lookup_x): Remove comment
267 referring to nested function and move variable
268 declarations down to before first use.
270 2014-04-02 Joseph Myers <joseph@codesourcery.com>
274 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
276 * math/s_catanf.c (__catanf): Likewise.
277 * math/s_catanh.c (__catanh): Likewise.
278 * math/s_catanhf.c (__catanhf): Likewise.
279 * math/s_catanhl.c (__catanhl): Likewise.
280 * math/s_catanl.c (__catanl): Likewise.
281 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
282 by positive zero when computing -Inf result.
283 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
284 (catanh_test): Likewise.
285 * sysdeps/i386/fpu/libm-test-ulps: Update.
286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
289 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
290 instead of using underflowing value in computing result.
291 * math/s_clog10.c (__clog10): Likewise.
292 * math/s_clog10f.c (__clog10f): Likewise.
293 * math/s_clog10l.c (__clog10l): Likewise.
294 * math/s_clogf.c (__clogf): Likewise.
295 * math/s_clogl.c (__clogl): Likewise.
296 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
297 (clog10_test): Likewise.
298 * sysdeps/i386/fpu/libm-test-ulps: Update.
299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
301 2014-04-02 Alan Modra <amodra@gmail.com>
304 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
305 output when value is near a power of two. Use int64_t for lx and
306 remove casts. Use decimal rather than hex exponent constants.
307 Don't use long double multiplication when double will suffice.
308 * math/libm-test.inc (nextafter_test_data): Add tests.
309 * NEWS: Add 16739 and 16786 to bug list.
311 2014-04-02 Alan Modra <amodra@gmail.com>
313 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
315 2014-04-02 Alan Modra <amodra@gmail.com>
317 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
319 2014-04-01 Will Newton <will.newton@linaro.org>
321 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
322 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
324 2014-04-01 Florian Weimer <fweimer@redhat.com>
327 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
328 * nptl/tst-setuid2.c: New file.
329 * nptl/Makefile (xtests): Add tst-setuid2.
331 2014-04-01 Alan Modra <amodra@gmail.com>
334 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
336 2014-03-31 Joseph Myers <joseph@codesourcery.com>
340 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
341 set errno as appropriate.
342 * math/w_scalbf.c (__scalbf): Likewise.
343 * math/w_scalbl.c (__scalbl): Likewise.
344 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
345 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
346 * math/libm-test.inc (scalb_test_data): Add errno expectations.
350 * math/w_atan2.c: Include <errno.h>.
351 (__atan2): Set errno for result underflowing to zero.
352 * math/w_atan2f.c: Include <errno.h>.
353 (__atan2f): Set errno for result underflowing to zero.
354 * math/w_atan2l.c: Include <errno.h>.
355 (__atan2l): Set errno for result underflowing to zero.
356 * math/auto-libm-test-in: Don't allow missing errno for some atan2
358 * math/auto-libm-test-out: Regenerated.
360 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
362 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
363 Encode instruction correctly in little endian.
364 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
366 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
368 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
370 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
373 2014-03-31 Joseph Myers <joseph@codesourcery.com>
376 * sysdeps/unix/sysv/linux/kernel-features.h
377 [__sparc__ && !__arch64__ && !__sparc_v9__]
378 (__ASSUME_SET_ROBUST_LIST): Do not define.
379 [__sparc__ && !__arch64__ && !__sparc_v9__]
380 (__ASSUME_FUTEX_LOCK_PI): Likewise.
381 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
383 * sysdeps/unix/sysv/linux/arm/kernel-features.h
384 (__ASSUME_FUTEX_LOCK_PI): Undefine.
385 (__ASSUME_REQUEUE_PI): Likewise.
386 (__ASSUME_SET_ROBUST_LIST): Likewise.
387 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
388 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
390 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
391 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
393 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
395 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
397 * sysdeps/unix/sysv/linux/mips/kernel-features.h
398 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
400 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
401 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
405 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
406 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
407 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
409 2014-03-31 Will Newton <will.newton@linaro.org>
411 * benchtests/Makefile (bench): Add ffs and ffsll to list
413 * benchtests/ffs-inputs: New file.
414 * benchtests/ffsll-inputs: Likewise.
416 2014-03-29 Joseph Myers <joseph@codesourcery.com>
419 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
420 too large before casting to int.
421 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
422 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
423 * math/libm-test.inc (scalb_test_data): Add more tests.
425 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
427 * benchtests/Makefile (DETAILED_OPT): New make option.
428 (bench-func): Run benchmark program with -d if DETAILED_OPT is
430 * benchtests/bench-skeleton.c: Include stdbool.h.
431 (main): Store and print timings per input.
432 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
433 member to each argument value.
434 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
435 (_print_arg_data): Initialize per-input timing to 0.
437 * benchtests/Makefile (timing-type): New binary.
438 (bench-clean): Also remove bench-timing-type.
439 (bench): New target for timing-type.
440 (bench-func): Print output in JSON format.
441 * benchtests/bench-skeleton.c (main): Print output in JSON
443 * benchtests/bench-timing-type.c: New file.
444 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
445 (TIMING_PRINT_STATS): Remove.
446 * benchtests/scripts/bench.py (_print_arg_data): Store variant
449 * benchtests/bench-modf.c: Remove.
450 * benchtests/modf-inputs: New inputs file.
452 2014-03-28 Joseph Myers <joseph@codesourcery.com>
455 * math/s_clog10.c (M_PI_LOG10E): New macro.
456 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
457 imaginary parts are 0.
458 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
459 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
460 imaginary parts are 0.
461 * math/s_clog10l.c (M_PI_LOG10El): New macro.
462 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
463 imaginary parts are 0.
464 * math/libm-test.inc (clog10_test_data): Update expected results
465 for when real and imaginary parts are 0.
467 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
469 * elf/dl-load.c: Finish conversion of __builtin_expect into
472 2014-03-27 Joseph Myers <joseph@codesourcery.com>
475 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
476 1+x for argument with exponent below -67.
477 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
479 * math/auto-libm-test-in: Add more tests of exp.
480 * math/auto-libm-test-out: Regenerated.
482 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
485 * inet/getnetgrent_r.c (get_nonempty_val): New function.
486 (nscd_getnetgrent): Use it.
489 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
492 2014-03-27 Andi Kleen <ak@linux.intel.com>
494 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
495 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
496 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
497 Remove out of line section. Use cfi intrinsics.
498 (LLL_STUB_UNWIND_INFO*): Remove.
499 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
500 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
501 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
502 Remove out of line section. Use cfi intrinsics.
503 (LLL_STUB_UNWIND_INFO*): Remove.
505 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
508 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
511 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
513 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
515 2014-03-26 Joseph Myers <joseph@codesourcery.com>
518 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
520 * math/test-fenv-preserve.c: New file.
521 * math/Makefile (tests): Add test-fenv-preserve.
523 2014-03-26 Will Newton <will.newton@linaro.org>
525 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
527 2014-03-25 Roland McGrath <roland@hack.frob.com>
529 * scripts/versionlist.awk: Partition the version sets and emit all
530 GLIBC_* (sorted) before all others (sorted).
532 2014-03-25 Joseph Myers <joseph@codesourcery.com>
534 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
537 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
539 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
542 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
544 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
547 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
551 2014-03-25 Andreas Schwab <schwab@suse.de>
553 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
554 label to be used after in6ailist is initialized.
556 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
558 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
559 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
561 2014-03-25 Joseph Myers <joseph@codesourcery.com>
565 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
567 (fp_formats): Update initializers.
568 (init_fp_formats): Initialize new field.
569 (output_for_one_input_case): Allow underflow for results up to
571 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
572 * math/auto-libm-test-in: Don't mark some underflows from asin and
574 * math/auto-libm-test-out: Regenerated.
575 * sysdeps/i386/fpu/libm-test-ulps: Update.
576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
578 2014-03-25 Andreas Schwab <schwab@suse.de>
580 * libio/Makefile (tst-ftell-partial-wide-ENV)
581 (tst-ftell-active-handler-ENV): Define.
583 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
585 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
587 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
589 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
591 2014-03-24 Joseph Myers <joseph@codesourcery.com>
593 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
594 * sysdeps/x86_64/fpu/multiarch/e_exp.c
595 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
597 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
600 * elf/dl-load.c (open_verify): Add mode parameter.
601 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
602 (open_path): Change from boolean 'secure' to complete flag 'mode'
603 (_dl_map_object): Adjust.
604 * elf/Makefile (tests): Add tst-dlopen-aout.
605 * elf/tst-dlopen-aout.c: New test.
607 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
610 * sysdeps/unix/sysv/linux/s390/bits/stat.h
611 (struct stat): Rename member pad0 to __glibc_reserved0.
613 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
616 * sysdeps/s390/s390-32/bits/wordsize.h
617 (__WORDSIZE32_SIZE_ULONG): New define.
618 * sysdeps/s390/s390-64/bits/wordsize.h
619 (__WORDSIZE32_SIZE_ULONG): Likewise.
620 * sysdeps/generic/stdint.h (SIZE_MAX):
621 Define as UL if __WORDSIZE32_SIZE_ULONG.
623 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
626 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
627 (__glibc_reserved0): New variable.
628 (sa_flags): Change type to int.
630 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
632 * posix/Makefile (before-compile): Use += before-compile instead
635 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
637 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
638 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
640 2014-03-20 Andreas Schwab <schwab@suse.de>
643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
644 non-matching result from nscd.
646 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
648 * scripts/bench.py: Moved to ...
649 * benchtests/scripts/bench.py: ... here.
650 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
652 2014-03-24 Andreas Schwab <schwab@suse.de>
655 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
656 alloca_account and account alloca use for struct in6ailist.
658 2014-03-24 Joseph Myers <joseph@codesourcery.com>
661 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
662 rounding mode to recompute results that overflow to infinity or
664 * math/auto-libm-test-in: Don't mark tests as expected to fail for
666 * math/auto-libm-test-out: Regenerated.
667 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
668 (ccosh_test): Likewise.
669 (csin_test_data): Use plus_oflow.
670 (csin_test): Use ALL_RM_TEST.
671 (csinh_test_data): Use plus_oflow.
672 (csinh_test): Use ALL_RM_TEST.
673 * sysdeps/i386/fpu/libm-test-ulps: Update.
674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
676 2014-03-21 Joseph Myers <joseph@codesourcery.com>
678 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
679 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
680 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
683 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
685 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
686 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
687 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
688 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
690 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
691 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
693 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
694 * sysdeps/i386/fpu/libm-test-ulps: Update.
695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
697 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
699 * scripts/bench.pl: Remove file.
700 * scripts/bench.py: New benchmark script.
701 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
702 * benchtests/README: Mention python dependency.
703 * scripts/pylintrc: New file.
704 * scripts/pylint: New file.
706 * bits/mathdef.h: Use #ifdef instead of #if.
707 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
708 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
709 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
710 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
711 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
712 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
714 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
715 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
717 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
719 and strpbrk-ppc64 objects.
720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
721 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
722 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
723 multiarch strpbrk for POWER7.
724 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
725 multiarch strpbrk for PPC64.
726 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
728 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
731 2014-03-20 Joseph Myers <joseph@codesourcery.com>
733 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
734 (atan_test): Likewise.
735 (atanh_test_data): Use NO_TEST_INLINE for two tests.
736 (atanh_test): Use ALL_RM_TEST.
737 (atan2_test_data): Likewise.
738 (cabs_test): Likewise.
739 (cacosh_test): Likewise.
740 (carg_test): Likewise.
741 (casin_test): Likewise.
742 (casinh_test): Likewise.
743 (cbrt_test): Likewise.
744 (csqrt_test): Likewise.
745 (erf_test): Likewise.
746 (erfc_test): Likewise.
747 (pow10_test): Likewise.
748 (exp2_test): Likewise.
749 (hypot_test): Likewise.
752 (lgamma_test): Likewise.
753 (gamma_test): Likewise.
754 (sincos_test): Likewise.
755 (tanh_test): Likewise.
758 * sysdeps/i386/fpu/libm-test-ulps: Update.
759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
761 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
763 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
765 and strcspn-ppc64 objects.
766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
767 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
768 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
769 multiarch strcspn for POWER7.
770 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
771 multiarch strcspn for PPC64.
772 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
774 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
777 2014-03-20 Joseph Myers <joseph@codesourcery.com>
779 * math/gen-libm-test.pl (generate_testfile): Expect only function
780 name as argument to AUTO_TESTS_* and pass results for all rounding
782 (parse_auto_input): Separate inputs of automatic tests from
783 outputs before storing in %auto_tests.
784 * math/libm-test.inc (acos_test_data): Update call to
786 (acos_test): Use ALL_RM_TEST.
787 (acos_tonearest_test_data): Remove.
788 (acos_test_tonearest): Likewise.
789 (acos_towardzero_test_data): Likewise.
790 (acos_test_towardzero): Likewise.
791 (acos_downward_test_data): Likewise.
792 (acos_test_downward): Likewise.
793 (acos_upward_test_data): Likewise.
794 (acos_test_upward): Likewise.
795 (acosh_test_data): Update call to AUTO_TESTS_f_f.
796 (asin_test_data): Likewise.
797 (asin_test): Use ALL_RM_TEST.
798 (asin_tonearest_test_data): Remove.
799 (asin_test_tonearest): Likewise.
800 (asin_towardzero_test_data): Likewise.
801 (asin_test_towardzero): Likewise.
802 (asin_downward_test_data): Likewise.
803 (asin_test_downward): Likewise.
804 (asin_upward_test_data): Likewise.
805 (asin_test_upward): Likewise.
806 (asinh_test_data): Update call to AUTO_TESTS_f_f.
807 (atan_test_data): Likewise.
808 (atanh_test_data): Likewise.
809 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
810 (cabs_test_data): Update call to AUTO_TESTS_c_f.
811 (carg_test_data): Likewise.
812 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
813 (ccos_test_data): Update call to AUTO_TESTS_c_c.
814 (ccosh_test_data): Likewise.
815 (cexp_test_data): Likewise.
816 (clog_test_data): Likewise.
817 (clog10_test_data): Likewise.
818 (cos_test_data): Update call to AUTO_TESTS_f_f.
819 (cos_test): Use ALL_RM_TEST.
820 (cos_tonearest_test_data): Remove.
821 (cos_test_tonearest): Likewise.
822 (cos_towardzero_test_data): Likewise.
823 (cos_test_towardzero): Likewise.
824 (cos_downward_test_data): Likewise.
825 (cos_test_downward): Likewise.
826 (cos_upward_test_data): Likewise.
827 (cos_test_upward): Likewise.
828 (cosh_test_data): Update call to AUTO_TESTS_f_f.
829 (cosh_test): Use ALL_RM_TEST.
830 (cosh_tonearest_test_data): Remove.
831 (cosh_test_tonearest): Likewise.
832 (cosh_towardzero_test_data): Likewise.
833 (cosh_test_towardzero): Likewise.
834 (cosh_downward_test_data): Likewise.
835 (cosh_test_downward): Likewise.
836 (cosh_upward_test_data): Likewise.
837 (cosh_test_upward): Likewise.
838 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
839 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
840 (ctan_test_data): Likewise.
841 (ctan_test): Use ALL_RM_TEST.
842 (ctan_tonearest_test_data): Remove.
843 (ctan_test_tonearest): Likewise.
844 (ctan_towardzero_test_data): Likewise.
845 (ctan_test_towardzero): Likewise.
846 (ctan_downward_test_data): Likewise.
847 (ctan_test_downward): Likewise.
848 (ctan_upward_test_data): Likewise.
849 (ctan_test_upward): Likewise.
850 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
851 (ctanh_test): Use ALL_RM_TEST.
852 (ctanh_tonearest_test_data): Remove.
853 (ctanh_test_tonearest): Likewise.
854 (ctanh_towardzero_test_data): Likewise.
855 (ctanh_test_towardzero): Likewise.
856 (ctanh_downward_test_data): Likewise.
857 (ctanh_test_downward): Likewise.
858 (ctanh_upward_test_data): Likewise.
859 (ctanh_test_upward): Likewise.
860 (erf_test_data): Update call to AUTO_TESTS_f_f.
861 (erfc_test_data): Likewise.
862 (exp_test_data): Likewise.
863 (exp_test): Use ALL_RM_TEST.
864 (exp_tonearest_test_data): Remove.
865 (exp_test_tonearest): Likewise.
866 (exp_towardzero_test_data): Likewise.
867 (exp_test_towardzero): Likewise.
868 (exp_downward_test_data): Likewise.
869 (exp_test_downward): Likewise.
870 (exp_upward_test_data): Likewise.
871 (exp_test_upward): Likewise.
872 (exp10_test_data): Update call to AUTO_TESTS_f_f.
873 (exp10_test): Use ALL_RM_TEST.
874 (exp10_tonearest_test_data): Remove.
875 (exp10_test_tonearest): Likewise.
876 (exp10_towardzero_test_data): Likewise.
877 (exp10_test_towardzero): Likewise.
878 (exp10_downward_test_data): Likewise.
879 (exp10_test_downward): Likewise.
880 (exp10_upward_test_data): Likewise.
881 (exp10_test_upward): Likewise.
882 (exp2_test_data): Update call to AUTO_TESTS_f_f.
883 (expm1_test_data): Likewise.
884 (expm1_test): Use ALL_RM_TEST.
885 (expm1_tonearest_test_data): Remove.
886 (expm1_test_tonearest): Likewise.
887 (expm1_towardzero_test_data): Likewise.
888 (expm1_test_towardzero): Likewise.
889 (expm1_downward_test_data): Likewise.
890 (expm1_test_downward): Likewise.
891 (expm1_upward_test_data): Likewise.
892 (expm1_test_upward): Likewise.
893 (fma_test_data): Update call to AUTO_TESTS_fff_f.
894 (fma_test): Use ALL_RM_TEST.
895 (fma_towardzero_test_data): Remove.
896 (fma_test_towardzero): Likewise.
897 (fma_downward_test_data): Likewise.
898 (fma_test_downward): Likewise.
899 (fma_upward_test_data): Likewise.
900 (fma_test_upward): Likewise.
901 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
902 (j0_test_data): Update call to AUTO_TESTS_f_f.
903 (j1_test_data): Likewise.
904 (jn_test_data): Update call to AUTO_TESTS_if_f.
905 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
906 (log_test_data): Update call to AUTO_TESTS_f_f.
907 (log10_test_data): Likewise.
908 (log1p_test_data): Likewise.
909 (log2_test_data): Likewise.
910 (pow_test_data): Update call to AUTO_TESTS_ff_f.
911 (pow_tonearest_test_data): Likewise.
912 (sin_test_data): Update call to AUTO_TESTS_f_f.
913 (sin_test): Use ALL_RM_TEST.
914 (sin_tonearest_test_data): Remove.
915 (sin_test_tonearest): Likewise.
916 (sin_towardzero_test_data): Likewise.
917 (sin_test_towardzero): Likewise.
918 (sin_downward_test_data): Likewise.
919 (sin_test_downward): Likewise.
920 (sin_upward_test_data): Likewise.
921 (sin_test_upward): Likewise.
922 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
923 (sinh_test_data): Update call to AUTO_TESTS_f_f.
924 (sinh_test): Use ALL_RM_TEST.
925 (sinh_tonearest_test_data): Remove.
926 (sinh_test_tonearest): Likewise.
927 (sinh_towardzero_test_data): Likewise.
928 (sinh_test_towardzero): Likewise.
929 (sinh_downward_test_data): Likewise.
930 (sinh_test_downward): Likewise.
931 (sinh_upward_test_data): Likewise.
932 (sinh_test_upward): Likewise.
933 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
934 (sqrt_test): Use ALL_RM_TEST.
935 (sqrt_tonearest_test_data): Remove.
936 (sqrt_test_tonearest): Likewise.
937 (sqrt_towardzero_test_data): Likewise.
938 (sqrt_test_towardzero): Likewise.
939 (sqrt_downward_test_data): Likewise.
940 (sqrt_test_downward): Likewise.
941 (sqrt_upward_test_data): Likewise.
942 (sqrt_test_upward): Likewise.
943 (tan_test_data): Update call to AUTO_TESTS_f_f.
944 (tan_test): Use ALL_RM_TEST.
945 (tan_tonearest_test_data): Remove.
946 (tan_test_tonearest): Likewise.
947 (tan_towardzero_test_data): Likewise.
948 (tan_test_towardzero): Likewise.
949 (tan_downward_test_data): Likewise.
950 (tan_test_downward): Likewise.
951 (tan_upward_test_data): Likewise.
952 (tan_test_upward): Likewise.
953 (tanh_test_data): Update call to AUTO_TESTS_f_f.
954 (tgamma_test_data): Likewise.
955 (y0_test_data): Likewise.
956 (y1_test_data): Likewise.
957 (yn_test_data): Update call to AUTO_TESTS_if_f.
958 (main): Do not call removed functions.
960 2014-03-19 Joseph Myers <joseph@codesourcery.com>
962 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
963 (ldexp_test_data): Remove.
964 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
966 (scalb_test): Use ALL_RM_TEST.
968 2014-03-19 Andreas Schwab <schwab@suse.de>
970 * nscd/nscd.service: Also invalidate netgroup cache on reload.
972 2014-03-19 Joseph Myers <joseph@codesourcery.com>
975 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
976 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
977 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
978 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
979 (__ASSUME_PREADV): Undefine.
980 (__ASSUME_PWRITEV): Likewise.
982 2014-03-18 Roland McGrath <roland@hack.frob.com>
984 * bits/mman-linux.h: Add comment about non-Linux use.
985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
986 bits/mman-linux.h resting place.
988 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
989 * bits/mman-linux.h: ... here.
991 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
993 * conform/conformtest.pl: Add standard definition when calling C
994 preprocessor on data files.
995 (checknamespace): Remove unused variable.
997 2014-03-18 Joseph Myers <joseph@codesourcery.com>
999 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1000 minus_oflow, plus_uflow and minus_uflow in expected results.
1001 * math/libm-test.inc (scalbn_test_data): Add more tests of
1002 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1004 (scalbn_test): Use ALL_RM_TEST.
1005 (scalbln_test_data): Add more tests of negative arguments. Use
1006 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1007 (scalbln_test): Use ALL_RM_TEST.
1009 2014-03-18 Roland McGrath <roland@hack.frob.com>
1011 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1013 2014-03-18 Will Newton <will.newton@linaro.org>
1015 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1018 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1020 * Makerules [!subdir] (check-abi): Exit with error status if a
1023 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1025 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1026 for rint. Include results for all rounding modes.
1027 (nearbyint_test): Use ALL_RM_TEST.
1028 (rint_test_data): Include all tests used for nearbyint.
1030 2014-03-17 Will Newton <will.newton@linaro.org>
1032 * nptl/sysdeps/pthread/pthread.h: Revert previous
1035 * sysdeps/generic/ldsodefs.h: Revert previous
1038 * libio/genops.c: Revert previous change.
1039 * libio/libioP.h: Likewise.
1040 * stdio-common/vfprintf.c: Likewise.
1042 * sysdeps/generic/math_private.h: Revert previous
1045 * sysdeps/generic/math_private.h: Check whether
1046 HAVE_RM_CTX is defined with #ifdef rather
1049 * argp/argp-fmtstream.h: Check whether
1050 __STRICT_ANSI__ is defined with #ifdef rather
1052 * argp/argp.h: Likewise.
1054 * libio/genops.c: Check whether
1055 _IO_JUMPS_OFFSET is defined with #ifdef rather
1057 * libio/libioP.h: Likewise.
1058 * stdio-common/vfprintf.c: Likewise.
1060 * sysdeps/generic/ldsodefs.h: Check whether
1061 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1064 * nptl/sysdeps/pthread/pthread.h: Check
1065 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1068 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1070 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1072 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1076 * libio/fileops.c (_IO_file_open): Seek to end of file but
1077 don't cache the offset.
1078 (get_file_offset): Remove function.
1079 (do_ftell): Use cached offset when available.
1080 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1081 don't cache the offset.
1082 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1084 (do_one_test): Call it.
1085 (do_ftell_test): Fix up expected old offset for a+ mode.
1086 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1089 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1090 up test status with function return status.
1091 (do_write_test): Likewise.
1092 (do_append_test): Likewise.
1094 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1095 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1098 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1100 * math/gen-libm-test.pl (parse_args): Handle results specified for
1101 each rounding mode separately.
1102 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1103 tests and results from lrint_tonearest_test_data,
1104 lrint_towardzero_test_data, lrint_downward_test_data and
1105 lrint_upward_test_data.
1106 (lrint_test): Use ALL_RM_TEST.
1107 (lrint_tonearest_test_data): Remove.
1108 (lrint_test_tonearest): Likewise.
1109 (lrint_towardzero_test_data): Likewise.
1110 (lrint_test_towardzero): Likewise.
1111 (lrint_downward_test_data): Likewise.
1112 (lrint_test_downward): Likewise.
1113 (lrint_upward_test_data): Likewise.
1114 (lrint_test_upward): Likewise.
1115 (llrint_test_data): Merge in per-rounding-mode tests and results
1116 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1117 llrint_downward_test_data and llrint_upward_test_data.
1118 (llrint_test): Use ALL_RM_TEST.
1119 (llrint_tonearest_test_data): Remove.
1120 (llrint_test_tonearest): Likewise.
1121 (llrint_towardzero_test_data): Likewise.
1122 (llrint_test_towardzero): Likewise.
1123 (llrint_downward_test_data): Likewise.
1124 (llrint_test_downward): Likewise.
1125 (llrint_upward_test_data): Likewise.
1126 (llrint_test_upward): Likewise.
1127 (rint_test_data): Merge in per-rounding-mode tests and results
1128 from rint_tonearest_test_data, rint_towardzero_test_data,
1129 rint_downward_test_data and rint_upward_test_data. Add
1130 per-rounding-mode results for tests not in those arrays.
1131 (rint_test): Use ALL_RM_TEST.
1132 (rint_tonearest_test_data): Remove.
1133 (rint_test_tonearest): Likewise.
1134 (rint_towardzero_test_data): Likewise.
1135 (rint_test_towardzero): Likewise.
1136 (rint_downward_test_data): Likewise.
1137 (rint_test_downward): Likewise.
1138 (rint_upward_test_data): Likewise.
1139 (rint_test_upward): Likewise.
1140 (main): Don't call removed functions.
1142 2014-03-14 Roland McGrath <roland@hack.frob.com>
1144 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1145 "Compiled on ..." crapola. It is anti-useful.
1147 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1149 * scripts/evaluate-test.sh: Handle fourth argument to determine
1150 whether test run should stop on failure.
1151 * Makeconfig (stop-on-test-failure): New variable.
1152 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1153 $(stop-on-test-failure).
1154 * Makefile (tests): Give a summary of results from testing and
1155 exit with failure status if they include an ERROR or FAIL.
1157 * manual/install.texi (Configuring and compiling): Mention
1158 stop-on-test-failure=y.
1159 * INSTALL: Regenerated.
1161 2014-03-14 Roland McGrath <roland@hack.frob.com>
1163 * scripts/versionlist.awk: New file.
1164 * Makerules [$(build-shared) = yes]
1165 (postclean-generated): Add Versions.def, not Versions.def.v and
1167 ($(common-objpfx)Versions.def.v.i): Target removed.
1168 ($(common-objpfx)Versions.def): New target.
1169 ($(common-objpfx)Versions.all): Depend on that rather that
1170 $(common-objpfx)Versions.def.v.
1171 * Versions.def: File removed.
1173 * Makeconfig (+gccwarn): Add -Wundef.
1174 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1175 a dl-sysdep.h breaking its contract.
1176 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1177 * include/stackinfo.h: New file.
1178 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1179 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1180 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1181 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1182 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1183 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1184 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1185 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1186 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1187 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1188 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1189 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1190 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1191 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1192 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1194 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1197 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1199 * math/libm-test.inc (round_test_data): Add more tests.
1201 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1204 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1206 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1208 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1211 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1213 * math/libm-test.inc (ceil_test_data): Add more tests.
1215 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1217 * math/libm-test.inc (trunc_test_data): Add more tests related to
1220 2014-03-14 Roland McGrath <roland@hack.frob.com>
1222 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1223 with #if rather than #ifdef.
1224 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1226 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1228 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1229 first. Disable AVX-512 GCC support if assembler doesn't support
1231 * sysdeps/x86_64/configure: Regenerated.
1233 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1235 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1236 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1237 (__old_pthread_attr_setstack): Likewise.
1238 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1239 [!_STACK_GROWS_DOWN]: Likewise.
1241 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1243 * config.make.in (have-bash2): Delete.
1244 * configure.ac (libc_cv_have_bash2): Delete.
1245 * configure: Regenerate.
1246 * elf/Makefile (common-ldd-rewrite): Rename to ...
1247 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1248 (sh-ldd-rewrite): Delete.
1249 (bash-ldd-rewrite): Delete.
1250 (have-bash2): Delete checks.
1251 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1253 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1255 * config.make.in (have-ksh): Delete.
1257 * configure.ac (libc_cv_have_ksh): Delete.
1258 * configure: Regenerate.
1260 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1262 * elf/Makefile: Delete $(have-ksh) check.
1263 ($(objpfx)sotruss): Change KSH to BASH.
1264 * elf/sotruss.ksh: Rename to ...
1265 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1266 function style to match POSIX. Drop ksh vim mode setting.
1268 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1270 * manual/time.texi (Specifying the Time Zone with TZ): Change
1271 Tuesday to Thursday.
1273 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1275 * debug/tst-longjmp_chk2.c: Update header comment.
1276 (stackoverflow_handler): Add comment. Call assert on pass value.
1278 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1280 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1281 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1282 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1283 (La_x86_64_vector): Add zmm.
1284 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1285 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1286 ($(objpfx)tst-audit10): New target.
1287 ($(objpfx)tst-audit10.out): Likewise.
1288 (tst-audit10-ENV): New.
1289 (AVX512-CFLAGS): Likewise.
1290 (CFLAGS-tst-audit10.c): Likewise.
1291 (CFLAGS-tst-auditmod10a.c): Likewise.
1292 (CFLAGS-tst-auditmod10b.c): Likewise.
1293 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1294 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1295 * sysdeps/x86_64/configure: Regenerated.
1296 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1297 AVX-512 zmm register support.
1298 (_dl_x86_64_save_sse): Likewise.
1299 (_dl_x86_64_restore_sse): Likewise.
1300 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1301 size vector registers.
1302 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1303 (ZMM_SIZE): Likewise.
1304 * sysdeps/x86_64/tst-audit10.c: New file.
1305 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1306 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1308 2014-03-13 Roland McGrath <roland@hack.frob.com>
1310 * configure.ac (HAVE_EHDR_START): New check.
1311 * configure: Regenerated.
1312 * config.h.in (HAVE_EHDR_START): New #undef.
1313 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1314 assuming the lowest-addressed segment maps the start of the file.
1316 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1318 * INSTALL: Regenerated.
1320 2014-03-13 Will Newton <will.newton@linaro.org>
1322 * manual/setjmp.texi (System V contexts): Improve
1323 clarity and grammar of documentation.
1325 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1328 * elf/Makefile (tests): Add tst-pie2.
1329 (tests-pie): Add tst-pie2.
1330 * elf/tst-pie2.c: New file.
1331 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1333 * elf/rtld.c (map_doit): Load executable as lt_executable.
1334 (dl_main): Likewise.
1336 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1339 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1340 (__ASSUME_PSELECT): Undefine.
1342 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1345 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1346 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1348 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1349 selector for static builds.
1351 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1354 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1357 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1359 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1360 selector for static builds.
1362 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1364 * sysdeps/mips/math_private.h [__mips_hard_float]
1365 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1366 libc_feresetround_mips_ctx.
1367 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1368 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1369 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1372 * math/s_nextafter.c (__nextafter): Do not return value from
1373 overflowing computation.
1374 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1375 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1376 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1378 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1380 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1381 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1383 2014-03-11 Roland McGrath <roland@hack.frob.com>
1385 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1386 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1387 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1388 the new mov targetting sp.
1390 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1393 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1394 Define it for static builds as well.
1395 (NO_BZERO_IMPL): Likewise.
1397 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1399 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1400 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1401 multiarch strspn for PPC64.
1402 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1403 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1405 (__libc_ifunc_impl_list): Likewise.
1406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1407 multiarch optimizations
1408 * string/strspn.c (strspn): Using macro to redefine symbol name.
1410 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1411 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1413 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1414 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1415 multiarch strncat for PPC64.
1416 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1417 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1419 (__libc_ifunc_impl_list): Likewise.
1420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1421 multiarch optimizations
1423 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1426 * nscd/nscd.service: Make service type forking.
1428 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1430 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1431 sign in non default rounding modes.
1432 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1434 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1436 * math/libm-test.inc (ALL_RM_TEST): New macro.
1437 (ceil_test): Use ALL_RM_TEST.
1438 (cimag_test): Likewise.
1439 (conj_test): Likewise.
1440 (copysign_test): Likewise.
1441 (cproj_test): Likewise.
1442 (creal_test): Likewise.
1443 (fabs_test): Likewise.
1444 (floor_test): Likewise.
1445 (fmax_test): Likewise.
1446 (fmin_test): Likewise.
1447 (fmod_test): Likewise.
1448 (fpclassify_test): Likewise.
1449 (frexp_test): Likewise.
1450 (ilogb_test): Likewise.
1451 (isfinite_test): Likewise.
1452 (finite_test): Likewise.
1453 (isgreater_test): Likewise.
1454 (isgreaterequal_test): Likewise.
1455 (isinf_test): Likewise.
1456 (isless_test): Likewise.
1457 (islessequal_test): Likewise.
1458 (islessgreater_test): Likewise.
1459 (isnan_test): Likewise.
1460 (isnormal_test): Likewise.
1461 (issignaling_test): Likewise.
1462 (isunordered_test): Likewise.
1463 (logb_test): Likewise.
1464 (logb_downward_test_data): Remove.
1465 (logb_test_downward): Likewise.
1466 (lround_test): Use ALL_RM_TEST.
1467 (llround_test): Likewise.
1468 (modf_test): Likewise.
1469 (nexttoward_test): Likewise.
1470 (remainder_test): Likewise.
1471 (drem_test): Likewise.
1472 (remainder_tonearest_test_data): Likewise.
1473 (remainder_test_tonearest): Likewise.
1474 (drem_test_tonearest): Likewise.
1475 (remainder_towardzero_test_data): Likewise.
1476 (remainder_test_towardzero): Likewise.
1477 (drem_test_towardzero): Likewise.
1478 (remainder_downward_test_data): Likewise.
1479 (remainder_test_downward): Likewise.
1480 (drem_test_downward): Likewise.
1481 (remainder_upward_test_data): Likewise.
1482 (remainder_test_upward): Likewise.
1483 (drem_test_upward): Likewise.
1484 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1485 (round_test): Use ALL_RM_TEST.
1486 (signbit_test): Likewise.
1487 (trunc_test): Likewise.
1488 (significand_test): Likewise.
1489 (main): Don't call removed functions.
1491 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1494 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1496 (ILL_ILLOPN): Likewise.
1497 (ILL_ILLADR): Likewise.
1498 (ILL_ILLTRP): Likewise.
1499 (ILL_PRVOPC): Likewise.
1500 (ILL_PRVREG): Likewise.
1501 (ILL_COPROC): Likewise.
1502 (ILL_BADSTK): Likewise.
1503 (FPE_INTDIV): Likewise.
1504 (FPE_INTOVF): Likewise.
1505 (FPE_FLTDIV): Likewise.
1506 (FPE_FLTOVF): Likewise.
1507 (FPE_FLTUND): Likewise.
1508 (FPE_FLTRES): Likewise.
1509 (FPE_FLTINV): Likewise.
1510 (FPE_FLTSUB): Likewise.
1511 (SEGV_MAPERR): Likewise.
1512 (SEGV_ACCERR): Likewise.
1513 (BUS_ADRALN): Likewise.
1514 (BUS_ADRERR): Likewise.
1515 (BUS_OBJERR): Likewise.
1516 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1517 (TRAP_TRACE): Likewise.
1518 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1520 (CLD_KILLED): Likewise.
1521 (CLD_DUMPED): Likewise.
1522 (CLD_TRAPPED): Likewise.
1523 (CLD_STOPPED): Likewise.
1524 (CLD_CONTINUED): Likewise.
1525 (POLL_IN): Likewise.
1526 (POLL_OUT): Likewise.
1527 (POLL_MSG): Likewise.
1528 (POLL_ERR): Likewise.
1529 (POLL_PRI): Likewise.
1530 (POLL_HUP): Likewise.
1531 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1533 (ILL_ILLOPN): Likewise.
1534 (ILL_ILLADR): Likewise.
1535 (ILL_ILLTRP): Likewise.
1536 (ILL_PRVOPC): Likewise.
1537 (ILL_PRVREG): Likewise.
1538 (ILL_COPROC): Likewise.
1539 (ILL_BADSTK): Likewise.
1540 (FPE_INTDIV): Likewise.
1541 (FPE_INTOVF): Likewise.
1542 (FPE_FLTDIV): Likewise.
1543 (FPE_FLTOVF): Likewise.
1544 (FPE_FLTUND): Likewise.
1545 (FPE_FLTRES): Likewise.
1546 (FPE_FLTINV): Likewise.
1547 (FPE_FLTSUB): Likewise.
1548 (SEGV_MAPERR): Likewise.
1549 (SEGV_ACCERR): Likewise.
1550 (BUS_ADRALN): Likewise.
1551 (BUS_ADRERR): Likewise.
1552 (BUS_OBJERR): Likewise.
1553 (BUS_MCEERR_AR): Likewise.
1554 (BUS_MCEERR_AO): Likewise.
1555 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1556 (TRAP_TRACE): Likewise.
1557 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1559 (CLD_KILLED): Likewise.
1560 (CLD_DUMPED): Likewise.
1561 (CLD_TRAPPED): Likewise.
1562 (CLD_STOPPED): Likewise.
1563 (CLD_CONTINUED): Likewise.
1564 (POLL_IN): Likewise.
1565 (POLL_OUT): Likewise.
1566 (POLL_MSG): Likewise.
1567 (POLL_ERR): Likewise.
1568 (POLL_PRI): Likewise.
1569 (POLL_HUP): Likewise.
1570 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1571 (ILL_ILLOPN): Likewise.
1572 (ILL_ILLADR): Likewise.
1573 (ILL_ILLTRP): Likewise.
1574 (ILL_PRVOPC): Likewise.
1575 (ILL_PRVREG): Likewise.
1576 (ILL_COPROC): Likewise.
1577 (ILL_BADSTK): Likewise.
1578 (FPE_INTDIV): Likewise.
1579 (FPE_INTOVF): Likewise.
1580 (FPE_FLTDIV): Likewise.
1581 (FPE_FLTOVF): Likewise.
1582 (FPE_FLTUND): Likewise.
1583 (FPE_FLTRES): Likewise.
1584 (FPE_FLTINV): Likewise.
1585 (FPE_FLTSUB): Likewise.
1586 (SEGV_MAPERR): Likewise.
1587 (SEGV_ACCERR): Likewise.
1588 (BUS_ADRALN): Likewise.
1589 (BUS_ADRERR): Likewise.
1590 (BUS_OBJERR): Likewise.
1591 (BUS_MCEERR_AR): Likewise.
1592 (BUS_MCEERR_AO): Likewise.
1593 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1594 (TRAP_TRACE): Likewise.
1595 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1597 (CLD_KILLED): Likewise.
1598 (CLD_DUMPED): Likewise.
1599 (CLD_TRAPPED): Likewise.
1600 (CLD_STOPPED): Likewise.
1601 (CLD_CONTINUED): Likewise.
1602 (POLL_IN): Likewise.
1603 (POLL_OUT): Likewise.
1604 (POLL_MSG): Likewise.
1605 (POLL_ERR): Likewise.
1606 (POLL_PRI): Likewise.
1607 (POLL_HUP): Likewise.
1608 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1610 (ILL_ILLOPN): Likewise.
1611 (ILL_ILLADR): Likewise.
1612 (ILL_ILLTRP): Likewise.
1613 (ILL_PRVOPC): Likewise.
1614 (ILL_PRVREG): Likewise.
1615 (ILL_COPROC): Likewise.
1616 (ILL_BADSTK): Likewise.
1617 (ILL_BADIADDR): Likewise.
1618 (ILL_BREAK): Likewise.
1619 (FPE_INTDIV): Likewise.
1620 (FPE_INTOVF): Likewise.
1621 (FPE_FLTDIV): Likewise.
1622 (FPE_FLTOVF): Likewise.
1623 (FPE_FLTUND): Likewise.
1624 (FPE_FLTRES): Likewise.
1625 (FPE_FLTINV): Likewise.
1626 (FPE_FLTSUB): Likewise.
1627 (FPE_DECOVF): Likewise.
1628 (FPE_DECDIV): Likewise.
1629 (FPE_DECERR): Likewise.
1630 (FPE_INVASC): Likewise.
1631 (FPE_INVDEC): Likewise.
1632 (SEGV_MAPERR): Likewise.
1633 (SEGV_ACCERR): Likewise.
1634 (SEGV_PSTKOVF): Likewise.
1635 (BUS_ADRALN): Likewise.
1636 (BUS_ADRERR): Likewise.
1637 (BUS_OBJERR): Likewise.
1638 (BUS_MCEERR_AR): Likewise.
1639 (BUS_MCEERR_AO): Likewise.
1640 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1641 (TRAP_TRACE): Likewise.
1642 (TRAP_BRANCH): Likewise.
1643 (TRAP_HWBKPT): Likewise.
1644 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1646 (CLD_KILLED): Likewise.
1647 (CLD_DUMPED): Likewise.
1648 (CLD_TRAPPED): Likewise.
1649 (CLD_STOPPED): Likewise.
1650 (CLD_CONTINUED): Likewise.
1651 (POLL_IN): Likewise.
1652 (POLL_OUT): Likewise.
1653 (POLL_MSG): Likewise.
1654 (POLL_ERR): Likewise.
1655 (POLL_PRI): Likewise.
1656 (POLL_HUP): Likewise.
1657 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1658 (ILL_ILLOPN): Likewise.
1659 (ILL_ILLADR): Likewise.
1660 (ILL_ILLTRP): Likewise.
1661 (ILL_PRVOPC): Likewise.
1662 (ILL_PRVREG): Likewise.
1663 (ILL_COPROC): Likewise.
1664 (ILL_BADSTK): Likewise.
1665 (FPE_INTDIV): Likewise.
1666 (FPE_INTOVF): Likewise.
1667 (FPE_FLTDIV): Likewise.
1668 (FPE_FLTOVF): Likewise.
1669 (FPE_FLTUND): Likewise.
1670 (FPE_FLTRES): Likewise.
1671 (FPE_FLTINV): Likewise.
1672 (FPE_FLTSUB): Likewise.
1673 (SEGV_MAPERR): Likewise.
1674 (SEGV_ACCERR): Likewise.
1675 (BUS_ADRALN): Likewise.
1676 (BUS_ADRERR): Likewise.
1677 (BUS_OBJERR): Likewise.
1678 (BUS_MCEERR_AR): Likewise.
1679 (BUS_MCEERR_AO): Likewise.
1680 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1681 (TRAP_TRACE): Likewise.
1682 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1684 (CLD_KILLED): Likewise.
1685 (CLD_DUMPED): Likewise.
1686 (CLD_TRAPPED): Likewise.
1687 (CLD_STOPPED): Likewise.
1688 (CLD_CONTINUED): Likewise.
1689 (POLL_IN): Likewise.
1690 (POLL_OUT): Likewise.
1691 (POLL_MSG): Likewise.
1692 (POLL_ERR): Likewise.
1693 (POLL_PRI): Likewise.
1694 (POLL_HUP): Likewise.
1695 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1696 (ILL_ILLOPN): Likewise.
1697 (ILL_ILLADR): Likewise.
1698 (ILL_ILLTRP): Likewise.
1699 (ILL_PRVOPC): Likewise.
1700 (ILL_PRVREG): Likewise.
1701 (ILL_COPROC): Likewise.
1702 (ILL_BADSTK): Likewise.
1703 (FPE_INTDIV): Likewise.
1704 (FPE_INTOVF): Likewise.
1705 (FPE_FLTDIV): Likewise.
1706 (FPE_FLTOVF): Likewise.
1707 (FPE_FLTUND): Likewise.
1708 (FPE_FLTRES): Likewise.
1709 (FPE_FLTINV): Likewise.
1710 (FPE_FLTSUB): Likewise.
1711 (SEGV_MAPERR): Likewise.
1712 (SEGV_ACCERR): Likewise.
1713 (BUS_ADRALN): Likewise.
1714 (BUS_ADRERR): Likewise.
1715 (BUS_OBJERR): Likewise.
1716 (BUS_MCEERR_AR): Likewise.
1717 (BUS_MCEERR_AO): Likewise.
1718 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1719 (TRAP_TRACE): Likewise.
1720 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1722 (CLD_KILLED): Likewise.
1723 (CLD_DUMPED): Likewise.
1724 (CLD_TRAPPED): Likewise.
1725 (CLD_STOPPED): Likewise.
1726 (CLD_CONTINUED): Likewise.
1727 (POLL_IN): Likewise.
1728 (POLL_OUT): Likewise.
1729 (POLL_MSG): Likewise.
1730 (POLL_ERR): Likewise.
1731 (POLL_PRI): Likewise.
1732 (POLL_HUP): Likewise.
1733 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1734 (ILL_ILLOPN): Likewise.
1735 (ILL_ILLADR): Likewise.
1736 (ILL_ILLTRP): Likewise.
1737 (ILL_PRVOPC): Likewise.
1738 (ILL_PRVREG): Likewise.
1739 (ILL_COPROC): Likewise.
1740 (ILL_BADSTK): Likewise.
1741 (FPE_INTDIV): Likewise.
1742 (FPE_INTOVF): Likewise.
1743 (FPE_FLTDIV): Likewise.
1744 (FPE_FLTOVF): Likewise.
1745 (FPE_FLTUND): Likewise.
1746 (FPE_FLTRES): Likewise.
1747 (FPE_FLTINV): Likewise.
1748 (FPE_FLTSUB): Likewise.
1749 (SEGV_MAPERR): Likewise.
1750 (SEGV_ACCERR): Likewise.
1751 (BUS_ADRALN): Likewise.
1752 (BUS_ADRERR): Likewise.
1753 (BUS_OBJERR): Likewise.
1754 (BUS_MCEERR_AR): Likewise.
1755 (BUS_MCEERR_AO): Likewise.
1756 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1757 (TRAP_TRACE): Likewise.
1758 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1760 (CLD_KILLED): Likewise.
1761 (CLD_DUMPED): Likewise.
1762 (CLD_TRAPPED): Likewise.
1763 (CLD_STOPPED): Likewise.
1764 (CLD_CONTINUED): Likewise.
1765 (POLL_IN): Likewise.
1766 (POLL_OUT): Likewise.
1767 (POLL_MSG): Likewise.
1768 (POLL_ERR): Likewise.
1769 (POLL_PRI): Likewise.
1770 (POLL_HUP): Likewise.
1771 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1772 (ILL_ILLOPN): Likewise.
1773 (ILL_ILLADR): Likewise.
1774 (ILL_ILLTRP): Likewise.
1775 (ILL_PRVOPC): Likewise.
1776 (ILL_PRVREG): Likewise.
1777 (ILL_COPROC): Likewise.
1778 (ILL_BADSTK): Likewise.
1779 (ILL_DBLFLT): Likewise.
1780 (ILL_HARDWALL): Likewise.
1781 (FPE_INTDIV): Likewise.
1782 (FPE_INTOVF): Likewise.
1783 (FPE_FLTDIV): Likewise.
1784 (FPE_FLTOVF): Likewise.
1785 (FPE_FLTUND): Likewise.
1786 (FPE_FLTRES): Likewise.
1787 (FPE_FLTINV): Likewise.
1788 (FPE_FLTSUB): Likewise.
1789 (SEGV_MAPERR): Likewise.
1790 (SEGV_ACCERR): Likewise.
1791 (BUS_ADRALN): Likewise.
1792 (BUS_ADRERR): Likewise.
1793 (BUS_OBJERR): Likewise.
1794 (BUS_MCEERR_AR): Likewise.
1795 (BUS_MCEERR_AO): Likewise.
1796 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1797 (TRAP_TRACE): Likewise.
1798 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1800 (CLD_KILLED): Likewise.
1801 (CLD_DUMPED): Likewise.
1802 (CLD_TRAPPED): Likewise.
1803 (CLD_STOPPED): Likewise.
1804 (CLD_CONTINUED): Likewise.
1805 (POLL_IN): Likewise.
1806 (POLL_OUT): Likewise.
1807 (POLL_MSG): Likewise.
1808 (POLL_ERR): Likewise.
1809 (POLL_PRI): Likewise.
1810 (POLL_HUP): Likewise.
1811 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1812 (ILL_ILLOPN): Likewise.
1813 (ILL_ILLADR): Likewise.
1814 (ILL_ILLTRP): Likewise.
1815 (ILL_PRVOPC): Likewise.
1816 (ILL_PRVREG): Likewise.
1817 (ILL_COPROC): Likewise.
1818 (ILL_BADSTK): Likewise.
1819 (FPE_INTDIV): Likewise.
1820 (FPE_INTOVF): Likewise.
1821 (FPE_FLTDIV): Likewise.
1822 (FPE_FLTOVF): Likewise.
1823 (FPE_FLTUND): Likewise.
1824 (FPE_FLTRES): Likewise.
1825 (FPE_FLTINV): Likewise.
1826 (FPE_FLTSUB): Likewise.
1827 (SEGV_MAPERR): Likewise.
1828 (SEGV_ACCERR): Likewise.
1829 (BUS_ADRALN): Likewise.
1830 (BUS_ADRERR): Likewise.
1831 (BUS_OBJERR): Likewise.
1832 (BUS_MCEERR_AR): Likewise.
1833 (BUS_MCEERR_AO): Likewise.
1834 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1835 (TRAP_TRACE): Likewise.
1836 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1838 (CLD_KILLED): Likewise.
1839 (CLD_DUMPED): Likewise.
1840 (CLD_TRAPPED): Likewise.
1841 (CLD_STOPPED): Likewise.
1842 (CLD_CONTINUED): Likewise.
1843 (POLL_IN): Likewise.
1844 (POLL_OUT): Likewise.
1845 (POLL_MSG): Likewise.
1846 (POLL_ERR): Likewise.
1847 (POLL_PRI): Likewise.
1848 (POLL_HUP): Likewise.
1849 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1850 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1853 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1854 before #include of <time.h>.
1855 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1856 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1857 (test-xfail-UNIX98/sched.h/conform): Likewise.
1859 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1861 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1862 error absence of trapping exception support.
1863 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1865 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1867 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1868 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1869 * timezone/Makefile (testdata): Move definition above include of
1871 (test-zones): New variable.
1872 (tests-special): Add zone files.
1873 (build-testdata): Use $(evaluate-test).
1875 * elf/Makefile (tests-special): Rename tests to end with .out.
1876 ($(objpfx)noload-mem): Likewise.
1877 ($(objpfx)tst-leaks1-mem): Likewise.
1878 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1879 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1880 $(objpfx)test-iconvconfig.out.
1881 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1882 set -e inside subshell and redirect output to file.
1883 * iconvdata/Makefile (generated): Rename tests to end with .out.
1885 (tests-special): Rename tests to end with .out.
1886 ($(objpfx)mtrace-tst-loading): Likewise.
1887 * intl/Makefile (generated): Likewise.
1888 (tests-special): Likewise.
1889 ($(objpfx)mtrace-tst-gettext): Likewise.
1890 * misc/Makefile (generated): Likewise.
1891 (tests-special): Likewise.
1892 ($(objpfx)tst-error1-mem): Likewise.
1893 * nptl/Makefile (tests-special): Likewise.
1894 ($(objpfx)tst-stack3-mem): Likewise.
1895 (generated): Likewise.
1896 * posix/Makefile (generated): Likewise.
1897 (tests-special): Likewise.
1898 (xtests-special): Likewise.
1899 ($(objpfx)tst-fnmatch-mem): Likewise.
1900 ($(objpfx)bug-regex2-mem): Likewise.
1901 ($(objpfx)bug-regex14-mem): Likewise.
1902 ($(objpfx)bug-regex21-mem): Likewise.
1903 ($(objpfx)bug-regex31-mem): Likewise.
1904 ($(objpfx)tst-vfork3-mem): Likewise.
1905 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1906 ($(objpfx)tst-pcre-mem): Likewise.
1907 ($(objpfx)tst-boost-mem): Likewise.
1908 ($(objpfx)bug-ga2-mem): Likewise.
1909 ($(objpfx)bug-glob2-mem): Likewise.
1910 * resolv/Makefile (generate): Likewise.
1911 (tests-special): Likewise.
1912 (xtests-special): Likewise.
1913 (generated): Likewise.
1914 ($(objpfx)mtrace-tst-leaks): Likewise.
1915 ($(objpfx)mtrace-tst-leaks2): Likewise.
1917 * scripts/merge-test-results.sh: New file.
1918 * Makefile (tests-special-notdir): New variable.
1919 (tests): Run merge-test-results.sh.
1921 * Rules (tests-special-notdir): New variable.
1922 (xtests-special-notdir): Likewise.
1923 (tests): Run merge-test-results.sh
1926 * Makeconfig (test-xfail-name): New variable.
1927 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1928 compute variable name for expected failures.
1929 * conform/Makefile (conformtest-headers-data): New variable.
1930 (conformtest-standards): Likewise.
1931 (conformtest-headers-ISO): Likewise.
1932 (conformtest-headers-ISO99): Likewise.
1933 (conformtest-headers-ISO11): Likewise.
1934 (conformtest-headers-POSIX): Likewise.
1935 (conformtest-headers-XPG3): Likewise.
1936 (conformtest-headers-XPG4): Likewise.
1937 (conformtest-headers-UNIX98): Likewise.
1938 (conformtest-headers-XOPEN2K): Likewise.
1939 (conformtest-headers-POSIX2008): Likewise.
1940 (conformtest-headers-XOPEN2K8): Likewise.
1941 (conformtest-header-list-base): Likewise.
1942 (conformtest-header-list-tests): Likewise.
1943 (conformtest-header-base): Likewise.
1944 (conformtest-header-tests): Likewise.
1945 (tests-special): Add $(conformtest-header-list-tests). If
1946 [$(fast-check) && !$(cross-compiling)], add
1947 $(conformtest-header-tests) instead of
1948 $(objpfx)run-conformtest.out.
1949 (generated): Add $(conformtest-header-list-base). If
1950 [$(fast-check) && !$(cross-compiling)], add
1951 $(conformtest-header-base). Remove previous setting.
1952 ($(conformtest-header-list-tests)): New target.
1953 (test-xfail-run-conformtest): Remove variable.
1954 ($(objpfx)run-conformtest.out): Remove target.
1955 (test-xfail-ISO11/complex.h/conform): New variable.
1956 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1957 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1958 (test-xfail-XPG3/varargs.h/conform): Likewise.
1959 (test-xfail-XPG4/varargs.h/conform): Likewise.
1960 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1961 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1962 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1963 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1964 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1965 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1966 (test-xfail-XPG3/ftw.h/conform): Likewise.
1967 (test-xfail-XPG3/grp.h/conform): Likewise.
1968 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1969 (test-xfail-XPG3/limits.h/conform): Likewise.
1970 (test-xfail-XPG3/pwd.h/conform): Likewise.
1971 (test-xfail-XPG3/search.h/conform): Likewise.
1972 (test-xfail-XPG3/signal.h/conform): Likewise.
1973 (test-xfail-XPG3/stdio.h/conform): Likewise.
1974 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1975 (test-xfail-XPG3/string.h/conform): Likewise.
1976 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1977 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1978 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1979 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1980 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1981 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1982 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1983 (test-xfail-XPG3/termios.h/conform): Likewise.
1984 (test-xfail-XPG3/time.h/conform): Likewise.
1985 (test-xfail-XPG3/unistd.h/conform): Likewise.
1986 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1987 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1988 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1989 (test-xfail-XPG4/netdb.h/conform): Likewise.
1990 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1991 (test-xfail-XPG4/signal.h/conform): Likewise.
1992 (test-xfail-XPG4/stdio.h/conform): Likewise.
1993 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1994 (test-xfail-XPG4/stropts.h/conform): Likewise.
1995 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1996 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1997 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1998 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1999 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2000 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2001 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2002 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2003 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2004 (test-xfail-XPG4/termios.h/conform): Likewise.
2005 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2006 (test-xfail-XPG4/unistd.h/conform): Likewise.
2007 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2008 (test-xfail-POSIX/sched.h/conform): Likewise.
2009 (test-xfail-POSIX/signal.h/conform): Likewise.
2010 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2011 (test-xfail-POSIX/tar.h/conform): Likewise.
2012 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2013 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2014 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2015 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2016 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2017 (test-xfail-UNIX98/sched.h/conform): Likewise.
2018 (test-xfail-UNIX98/signal.h/conform): Likewise.
2019 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2020 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2021 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2022 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2023 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2024 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2025 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2026 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2027 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2028 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2029 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2030 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2031 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2032 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2033 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2034 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2035 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2036 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2037 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2038 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2039 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2040 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2041 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2042 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2043 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2044 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2045 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2046 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2047 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2048 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2049 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2050 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2051 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2052 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2053 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2054 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2055 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2056 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2057 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2058 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2059 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2060 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2061 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2062 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2063 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2064 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2065 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2066 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2067 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2068 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2069 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2070 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2071 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2072 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2073 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2074 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2075 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2076 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2077 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2078 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2079 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2080 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2081 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2082 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2083 (conformtest-cc-flags): Likewise.
2084 ($(conformtest-header-tests): New target.
2085 * conform/check-header-lists.sh: New file.
2086 * conform/run-conformtest.sh: Remove.
2088 * conform/conformtest.pl: Allow ' and \ in values given for
2090 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2092 [POSIX] (sys/types.h): Likewise.
2093 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2095 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2097 * conform/data/signal.h-data (SIGIO): Remove expectation.
2098 [XPG3] (SIGBUS): Do not expect.
2099 [POSIX || XPG3] (SIGPOLL): Likewise.
2100 [POSIX || XPG3] (SIGPROF): Likewise.
2101 [POSIX || XPG3] (SIGSYS): Likewise.
2102 [XPG3] (SIGTRAP): Likewise.
2103 [POSIX || XPG3] (SIGURG): Likewise.
2104 [POSIX || XPG3] (SIGVTALRM): Likewise.
2105 [POSIX || XPG3] (SIGXCPU): Likewise.
2106 [POSIX || XPG3] (SIGXFSZ): Likewise.
2107 [POSIX] (SA_SIGINFO): Expect.
2108 [XPG3] (siginfo_t): Do not expect type or contents.
2109 [POSIX] (si_pid): Do not expect element.
2110 [POSIX] (si_uid): Likewise.
2111 [POSIX] (si_addr): Likewise.
2112 [POSIX] (si_status): Likewise.
2113 [POSIX] (si_band): Likewise.
2114 [XPG4] (si_value): Likewise.
2115 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2116 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2117 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2118 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2119 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2120 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2121 [POSIX || XPG3] (ILL_COPROC): Likewise.
2122 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2123 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2124 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2125 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2126 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2127 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2128 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2129 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2130 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2131 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2132 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2133 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2134 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2135 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2136 [POSIX || XPG3] (CLD_EXITED): Likewise.
2137 [POSIX || XPG3] (CLD_KILLED): Likewise.
2138 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2139 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2140 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2141 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2142 [POSIX || XPG3] (POLL_IN): Likewise.
2143 [POSIX || XPG3] (POLL_OUT): Likewise.
2144 [POSIX || XPG3] (POLL_MSG): Likewise.
2145 [POSIX || XPG3] (POLL_ERR): Likewise.
2146 [POSIX || XPG3] (POLL_PRI): Likewise.
2147 [POSIX || XPG3] (POLL_HUP): Likewise.
2148 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2149 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2150 (SIG*): Do not allow.
2151 [XPG3] (si_*): Likewise.
2152 [XPG3] (SI_*): Likewise.
2153 [XPG3 || XPG4] (sigev_*): Likewise.
2154 [XPG3 || XPG4] (SIGEV_*): Likewise.
2155 [XPG3 || XPG4] (sival_*): Likewise.
2156 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2157 [POSIX || XPG3] (BUS_*): Likewise.
2158 [POSIX || XPG3] (CLD_*): Likewise.
2159 [POSIX || XPG3] (FPE_*): Likewise.
2160 [POSIX || XPG3] (ILL_*): Likewise.
2161 [POSIX || XPG3] (POLL_*): Likewise.
2162 [POSIX || XPG3] (SEGV_*): Likewise.
2163 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2164 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2165 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2166 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2167 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2168 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2169 Specify type and value.
2170 (TVERSLEN): Likewise.
2171 (REGTYPE): Likewise.
2172 (AREGTYPE): Likewise.
2173 (LNKTYPE): Likewise.
2174 (SYMTYPE): Likewise.
2175 (CHRTYPE): Likewise.
2176 (BLKTYPE): Likewise.
2177 (DIRTYPE): Likewise.
2178 (FIFOTYPE): Likewise.
2179 (CONTTYPE): Likewise.
2184 (TUWRITE): Likewise.
2187 (TGWRITE): Likewise.
2190 (TOWRITE): Likewise.
2192 [POSIX] (TSVTX): Expect constant.
2194 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2196 * Makefile (tests): Change dependencies to ....
2197 (tests-special): ... additions to this variable.
2198 (tests): Depend on $(tests-special).
2199 * Makerules (check-abi-list): New variable.
2200 (check-abi): Depend on $(check-abi-list).
2201 [$(subdir) = elf] (tests-special): Add
2202 $(objpfx)check-abi-libc.out.
2203 [$(build-shared) = yes && subdir] (tests-special): Add
2205 [$(build-shared) = yes && subdir] (tests): Do not depend on
2207 * Rules (tests): Depend on $(tests-special).
2208 (xtests): Depend on $(xtests-special).
2209 * catgets/Makefile (tests): Change dependencies to ....
2210 (tests-special): ... additions to this variable.
2211 * conform/Makefile (tests): Change dependencies to ....
2212 (tests-special): ... additions to this variable.
2213 * elf/Makefile (tests): Change dependencies to ....
2214 (tests-special): ... additions to this variable.
2215 * grp/Makefile (tests): Change dependencies to ....
2216 (tests-special): ... additions to this variable.
2217 * iconv/Makefile (xtests): Change dependencies to ....
2218 (xtests-special): ... additions to this variable.
2219 * iconvdata/Makefile (tests): Change dependencies to ....
2220 (tests-special): ... additions to this variable.
2221 * intl/Makefile (tests): Change dependencies to ....
2222 (tests-special): ... additions to this variable. Also add
2223 $(objpfx)tst-gettext.out.
2224 * io/Makefile (tests): Change dependencies to ....
2225 (tests-special): ... additions to this variable.
2226 * libio/Makefile (tests): Change dependencies to ....
2227 (tests-special): ... additions to this variable.
2228 * malloc/Makefile (tests): Change dependencies to ....
2229 (tests-special): ... additions to this variable.
2230 * misc/Makefile (tests): Change dependencies to ....
2231 (tests-special): ... additions to this variable.
2232 * nptl/Makefile (tests): Change dependencies to ....
2233 (tests-special): ... additions to this variable.
2234 * nptl_db/Makefile (tests): Change dependencies to ....
2235 (tests-special): ... additions to this variable.
2236 * posix/Makefile (tests): Change dependencies to ....
2237 (tests-special): ... additions to this variable.
2238 (xtests): Change dependencies to ....
2239 (xtests-special): ... additions to this variable.
2240 * resolv/Makefile (tests): Change dependencies to ....
2241 (tests-special): ... additions to this variable.
2242 (xtests): Change dependencies to ....
2243 (xtests-special): ... additions to this variable.
2244 * stdio-common/Makefile (tests): Change dependencies to ....
2245 (tests-special): ... additions to this variable.
2246 (do-tst-unbputc): Remove target.
2247 (do-tst-printf): Likewise.
2248 * stdlib/Makefile (tests): Change dependencies to ....
2249 (tests-special): ... additions to this variable.
2250 * string/Makefile (tests): Change dependencies to ....
2251 (tests-special): ... additions to this variable.
2252 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2253 (tests-special): ... additions to this variable.
2255 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2257 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2259 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2260 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2262 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2263 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2264 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2265 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2266 * conform/data/libgen.h-data [XPG3]: Likewise.
2267 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2268 * conform/data/ndbm.h-data [XPG3]: Likewise.
2269 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2270 * conform/data/netdb.h-data [XPG3]: Likewise.
2271 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2272 * conform/data/poll.h-data [XPG3]: Likewise.
2273 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2274 * conform/data/strings.h-data [XPG3]: Likewise.
2275 * conform/data/stropts.h-data [XPG3]: Likewise.
2276 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2277 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2278 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2280 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2281 * conform/data/sys/time.h-data [XPG3]: Likewise.
2282 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2283 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2284 * conform/data/sys/un.h-data [XPG3]: Likewise.
2285 * conform/data/syslog.h-data [XPG3]: Likewise.
2286 * conform/data/ucontext.h-data [XPG3]: Likewise.
2287 * conform/data/utmpx.h-data [XPG3]: Likewise.
2288 * conform/data/varargs.h-data [UNIX98]: Enable file.
2290 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2292 * math/libm-test.inc (struct test_f_f_data): Move expected results
2293 into structure for each rounding mode.
2294 (struct test_ff_f_data): Likewise.
2295 (struct test_ff_f_data_nexttoward): Likewise.
2296 (struct test_fi_f_data): Likewise.
2297 (struct test_fl_f_data): Likewise.
2298 (struct test_if_f_data): Likewise.
2299 (struct test_fff_f_data): Likewise.
2300 (struct test_c_f_data): Likewise.
2301 (struct test_f_f1_data): Likewise.
2302 (struct test_fF_f1_data): Likewise.
2303 (struct test_ffI_f1_data): Likewise.
2304 (struct test_c_c_data): Likewise.
2305 (struct test_cc_c_data): Likewise.
2306 (struct test_f_i_data): Likewise.
2307 (struct test_ff_i_data): Likewise.
2308 (struct test_f_l_data): Likewise.
2309 (struct test_f_L_data): Likewise.
2310 (struct test_fFF_11_data): Likewise.
2312 (RM_FE_DOWNWARD): Likewise.
2313 (RM_FE_TONEAREST): Likewise.
2314 (RM_FE_TOWARDZERO): Likewise.
2315 (RM_FE_UPWARD): Likewise.
2316 (RUN_TEST_LOOP_f_f): Update references to expected results.
2317 (RUN_TEST_LOOP_2_f): Likewise.
2318 (RUN_TEST_LOOP_fff_f): Likewise.
2319 (RUN_TEST_LOOP_c_f): Likewise.
2320 (RUN_TEST_LOOP_f_f1): Likewise.
2321 (RUN_TEST_LOOP_fF_f1): Likewise.
2322 (RUN_TEST_LOOP_fI_f1): Likewise.
2323 (RUN_TEST_LOOP_ffI_f1): Likewise.
2324 (RUN_TEST_LOOP_c_c): Likewise.
2325 (RUN_TEST_LOOP_cc_c): Likewise.
2326 (RUN_TEST_LOOP_f_i): Likewise.
2327 (RUN_TEST_LOOP_f_i_tg): Likewise.
2328 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2329 (RUN_TEST_LOOP_f_b): Likewise.
2330 (RUN_TEST_LOOP_f_b_tg): Likewise.
2331 (RUN_TEST_LOOP_f_l): Likewise.
2332 (RUN_TEST_LOOP_f_L): Likewise.
2333 (RUN_TEST_LOOP_fFF_11): Likewise.
2334 * math/gen-libm-test.pl (parse_args): Output four copies of
2335 expected results for each test.
2337 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2338 (__ASSUME_UTIMES): Remove.
2339 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2340 (__ASSUME_UTIMES): Likewise.
2342 * math/gen-auto-libm-tests.c: Update comment on output format.
2343 (output_for_one_input_case): Generate before-rounding and
2344 after-rounding information as conditions on output flags not
2345 floating-point format.
2346 * math/auto-libm-test-out: Regenerated.
2347 * math/gen-libm-test.pl (cond_value): New function.
2348 (or_cond_value): Use cond_value.
2349 (generate_testfile): Handle conditional exceptions.
2351 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2353 * math/libm-test.inc (max_valid_error): New variable.
2354 (init_max_error): Take new argument specifying whether function
2355 results are exactly determined. Set max_valid_error and bound
2356 other variables for errors based on this argument.
2357 (set_max_error): Do not record results above max_valid_error.
2358 (check_float_internal): Only accept errors of up to 0.5ulps if
2359 also at most max_valid_error.
2360 (START): Take new argument EXACT and pass it to init_max_error.
2361 (acos_test): Update call to START.
2362 (acos_test_tonearest): Likewise.
2363 (acos_test_towardzero): Likewise.
2364 (acos_test_downward): Likewise.
2365 (acos_test_upward): Likewise.
2366 (acosh_test): Likewise.
2367 (asin_test): Likewise.
2368 (asin_test_tonearest): Likewise.
2369 (asin_test_towardzero): Likewise.
2370 (asin_test_downward): Likewise.
2371 (asin_test_upward): Likewise.
2372 (asinh_test): Likewise.
2373 (atan_test): Likewise.
2374 (atanh_test): Likewise.
2375 (atan2_test): Likewise.
2376 (cabs_test): Likewise.
2377 (cacos_test): Likewise.
2378 (cacosh_test): Likewise.
2379 (carg_test): Likewise.
2380 (casin_test): Likewise.
2381 (casinh_test): Likewise.
2382 (catan_test): Likewise.
2383 (catanh_test): Likewise.
2384 (cbrt_test): Likewise.
2385 (ccos_test): Likewise.
2386 (ccosh_test): Likewise.
2387 (ceil_test): Likewise.
2388 (cexp_test): Likewise.
2389 (cimag_test): Likewise.
2390 (clog_test): Likewise.
2391 (clog10_test): Likewise.
2392 (conj_test): Likewise.
2393 (copysign_test): Likewise.
2394 (cos_test): Likewise.
2395 (cos_test_tonearest): Likewise.
2396 (cos_test_towardzero): Likewise.
2397 (cos_test_downward): Likewise.
2398 (cos_test_upward): Likewise.
2399 (cosh_test): Likewise.
2400 (cosh_test_tonearest): Likewise.
2401 (cosh_test_towardzero): Likewise.
2402 (cosh_test_downward): Likewise.
2403 (cosh_test_upward): Likewise.
2404 (cpow_test): Likewise.
2405 (cproj_test): Likewise.
2406 (creal_test): Likewise.
2407 (csin_test): Likewise.
2408 (csinh_test): Likewise.
2409 (csqrt_test): Likewise.
2410 (ctan_test): Likewise.
2411 (ctan_test_tonearest): Likewise.
2412 (ctan_test_towardzero): Likewise.
2413 (ctan_test_downward): Likewise.
2414 (ctan_test_upward): Likewise.
2415 (ctanh_test): Likewise.
2416 (ctanh_test_tonearest): Likewise.
2417 (ctanh_test_towardzero): Likewise.
2418 (ctanh_test_downward): Likewise.
2419 (ctanh_test_upward): Likewise.
2420 (erf_test): Likewise.
2421 (erfc_test): Likewise.
2422 (exp_test): Likewise.
2423 (exp_test_tonearest): Likewise.
2424 (exp_test_towardzero): Likewise.
2425 (exp_test_downward): Likewise.
2426 (exp_test_upward): Likewise.
2427 (exp10_test): Likewise.
2428 (exp10_test_tonearest): Likewise.
2429 (exp10_test_towardzero): Likewise.
2430 (exp10_test_downward): Likewise.
2431 (exp10_test_upward): Likewise.
2432 (pow10_test): Likewise.
2433 (exp2_test): Likewise.
2434 (expm1_test): Likewise.
2435 (expm1_test_tonearest): Likewise.
2436 (expm1_test_towardzero): Likewise.
2437 (expm1_test_downward): Likewise.
2438 (expm1_test_upward): Likewise.
2439 (fabs_test): Likewise.
2440 (fdim_test): Likewise.
2441 (floor_test): Likewise.
2442 (fma_test): Likewise.
2443 (fma_test_towardzero): Likewise.
2444 (fma_test_downward): Likewise.
2445 (fma_test_upward): Likewise.
2446 (fmax_test): Likewise.
2447 (fmin_test): Likewise.
2448 (fmod_test): Likewise.
2449 (fpclassify_test): Likewise.
2450 (frexp_test): Likewise.
2451 (hypot_test): Likewise.
2452 (ilogb_test): Likewise.
2453 (isfinite_test): Likewise.
2454 (finite_test): Likewise.
2455 (isgreater_test): Likewise.
2456 (isgreaterequal_test): Likewise.
2457 (isinf_test): Likewise.
2458 (isless_test): Likewise.
2459 (islessequal_test): Likewise.
2460 (islessgreater_test): Likewise.
2461 (isnan_test): Likewise.
2462 (isnormal_test): Likewise.
2463 (issignaling_test): Likewise.
2464 (isunordered_test): Likewise.
2465 (j0_test): Likewise.
2466 (j1_test): Likewise.
2467 (jn_test): Likewise.
2468 (ldexp_test): Likewise.
2469 (lgamma_test): Likewise.
2470 (gamma_test): Likewise.
2471 (lrint_test): Likewise.
2472 (lrint_test_tonearest): Likewise.
2473 (lrint_test_towardzero): Likewise.
2474 (lrint_test_downward): Likewise.
2475 (lrint_test_upward): Likewise.
2476 (llrint_test): Likewise.
2477 (llrint_test_tonearest): Likewise.
2478 (llrint_test_towardzero): Likewise.
2479 (llrint_test_downward): Likewise.
2480 (llrint_test_upward): Likewise.
2481 (log_test): Likewise.
2482 (log10_test): Likewise.
2483 (log1p_test): Likewise.
2484 (log2_test): Likewise.
2485 (logb_test): Likewise.
2486 (logb_test_downward): Likewise.
2487 (lround_test): Likewise.
2488 (llround_test): Likewise.
2489 (modf_test): Likewise.
2490 (nearbyint_test): Likewise.
2491 (nextafter_test): Likewise.
2492 (nexttoward_test): Likewise.
2493 (pow_test): Likewise.
2494 (pow_test_tonearest): Likewise.
2495 (pow_test_towardzero): Likewise.
2496 (pow_test_downward): Likewise.
2497 (pow_test_upward): Likewise.
2498 (remainder_test): Likewise.
2499 (drem_test): Likewise.
2500 (remainder_test_tonearest): Likewise.
2501 (drem_test_tonearest): Likewise.
2502 (remainder_test_towardzero): Likewise.
2503 (drem_test_towardzero): Likewise.
2504 (remainder_test_downward): Likewise.
2505 (drem_test_downward): Likewise.
2506 (remainder_test_upward): Likewise.
2507 (drem_test_upward): Likewise.
2508 (remquo_test): Likewise.
2509 (rint_test): Likewise.
2510 (rint_test_tonearest): Likewise.
2511 (rint_test_towardzero): Likewise.
2512 (rint_test_downward): Likewise.
2513 (rint_test_upward): Likewise.
2514 (round_test): Likewise.
2515 (scalb_test): Likewise.
2516 (scalbn_test): Likewise.
2517 (scalbln_test): Likewise.
2518 (signbit_test): Likewise.
2519 (sin_test): Likewise.
2520 (sin_test_tonearest): Likewise.
2521 (sin_test_towardzero): Likewise.
2522 (sin_test_downward): Likewise.
2523 (sin_test_upward): Likewise.
2524 (sincos_test): Likewise.
2525 (sinh_test): Likewise.
2526 (sinh_test_tonearest): Likewise.
2527 (sinh_test_towardzero): Likewise.
2528 (sinh_test_downward): Likewise.
2529 (sinh_test_upward): Likewise.
2530 (sqrt_test): Likewise.
2531 (sqrt_test_tonearest): Likewise.
2532 (sqrt_test_towardzero): Likewise.
2533 (sqrt_test_downward): Likewise.
2534 (sqrt_test_upward): Likewise.
2535 (tan_test): Likewise.
2536 (tan_test_tonearest): Likewise.
2537 (tan_test_towardzero): Likewise.
2538 (tan_test_downward): Likewise.
2539 (tan_test_upward): Likewise.
2540 (tanh_test): Likewise.
2541 (tgamma_test): Likewise.
2542 (trunc_test): Likewise.
2543 (y0_test): Likewise.
2544 (y1_test): Likewise.
2545 (yn_test): Likewise.
2546 (significand_test): Likewise.
2548 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2549 individual tests in comment.
2550 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2551 (prev_max_error): New variable.
2552 (prev_real_max_error): Likewise.
2553 (prev_imag_max_error): Likewise.
2554 (compare_ulp_data): Don't refer to test names in comment.
2555 (find_test_ulps): Remove function.
2556 (find_function_ulps): Likewise.
2557 (find_complex_function_ulps): Likewise.
2558 (init_max_error): Take function name as argument. Look up ulps
2560 (print_ulps): Remove function.
2561 (print_max_error): Use prev_max_error instead of calling
2563 (print_complex_max_error): Use prev_real_max_error and
2564 prev_imag_max_error instead of calling find_complex_function_ulps.
2565 (check_float_internal): Take max_ulp parameter instead of calling
2566 find_test_ulps. Don't call print_ulps.
2567 (check_float): Update call to check_float_internal.
2568 (check_complex): Update calls to check_float_internal.
2569 (START): Pass argument to init_max_error.
2570 * math/gen-libm-test.pl (%results): Don't include "kind"
2572 (parse_ulps): Don't handle ulps of individual tests.
2573 (print_ulps_file): Likewise.
2574 (output_ulps): Likewise.
2575 * math/README.libm-test: Update.
2576 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2578 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2579 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2580 * sysdeps/arm/libm-test-ulps: Likewise.
2581 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2582 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2583 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2584 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2585 * sysdeps/microblaze/libm-test-ulps: Likewise.
2586 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2587 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2588 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2589 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2590 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2591 * sysdeps/sh/libm-test-ulps: Likewise.
2592 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2593 * sysdeps/tile/libm-test-ulps: Likewise.
2594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2596 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2598 * math/libm-test.inc (print_complex_max_error): Check separately
2599 whether real and imaginary errors are within allowed range and
2600 pass 0 to print_complex_function_ulps instead of value within
2603 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2605 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2607 (get_handles_fopen): Likewise.
2608 (do_write_test): Likewise.
2610 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2612 * libio/fileops.c (do_ftell): Use cached offset when
2614 * libio/iofwide.c (do_ftell_wide): Likewise.
2615 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2617 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2620 * libio/libioP.h (get_file_offset): New function.
2621 * libio/fileops.c (get_file_offset): Likewise.
2622 (do_ftell): Likewise.
2623 (_IO_new_file_seekoff): Split out ftell logic.
2624 * libio/wfileops.c (do_ftell_wide): Likewise.
2625 (_IO_wfile_seekoff): Split out ftell logic.
2626 * libio/tst-ftell-active-handler.c: New test case.
2627 * libio/Makefile (tests): Add it.
2629 2014-03-03 Roland McGrath <roland@hack.frob.com>
2631 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2632 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2634 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2637 * nscd/connections.c (nscd_init): Call do_exit.
2638 (start_threads): Call do_exit and notify_parent.
2639 (begin_drop_privileges): Call do_exit.
2640 (finish_drop_privileges): Likewise.
2641 * nscd/selinux.c (preserve_capabilities): Likewise.
2642 (install_real_capabilities): Likewise.
2643 (nscd_selinux_enabled): Likewise.
2644 (avc_create_thread): Likewise.
2645 (avc_alloc_lock): Likewise.
2646 (nscd_avc_init): Likewise.
2647 * nscd/nscd.c (parent_fd): New static variable.
2648 (main): Create a pipe between parent and child processes.
2649 Skip closing parent_fd.
2650 (monitor_child): New function.
2651 (do_exit): Likewise.
2652 (notify_parent): Likewise.
2653 * nscd/nscd.h (notify_parent): Likewise.
2654 (do_exit): Likewise.
2656 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2658 * malloc/malloc.c (__libc_calloc): Revert last change.
2660 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2664 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2666 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2670 (__libc_ifunc_impl_list): Likewise.
2671 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2672 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2673 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2674 * string/strrchr.c: Define STRRCHR.
2676 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2678 * benchtest/bench-strtok.c (simple_strtok): Delete.
2679 (strtok_string): Use as benchmark.
2680 * string/strtok (STRTOK): New macro.
2682 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2684 * manual/threads.texi: Add header and standard comments to all
2687 * elf/dl-lookup.c (check_match): New function.
2688 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2689 (do_lookup_x): Remove nested function check_match. Use non-nested
2690 function check_match.
2692 2014-02-28 Roland McGrath <roland@hack.frob.com>
2694 * csu/Makefile (generated, before-compile): Use += rather than =.
2695 * catgets/Makefile (generated, generated-dirs): Likewise.
2696 * debug/Makefile (generated): Likewise.
2697 * dlfcn/Makefile (generated): Likewise.
2698 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2699 * iconvdata/Makefile (before-compile, generated): Likewise.
2700 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2701 * libio/Makefile (generated): Likewise.
2702 * malloc/Makefile (generated): Likewise.
2703 * manual/Makefile (generated, generated-dirs): Likewise.
2704 * misc/Makefile (generated): Likewise.
2705 * posix/Makefile (generated): Likewise.
2706 * resolv/Makefile (generated): Likewise.
2707 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2708 * timezone/Makefile (generated, generated-dirs): Likewise.
2710 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2712 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2714 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2717 POWER8 llround ifunc implementation.
2718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2719 POWER8 implementation.
2720 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2721 POWER8 llround implementation.
2723 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2725 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2728 POWER8 llrint ifunc implementation.
2729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2730 POWER8 implementation.
2731 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2732 POWER8 llrint implementation.
2734 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2739 POWER8 finite ifunc implementation.
2740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2741 POWER8 implementation.
2742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2744 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2745 POWER8 finite implementation.
2746 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2748 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2750 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2753 POWER8 isinf ifunc implementation.
2754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2755 POWER8 implementation.
2756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2758 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2759 POWER8 isinf implementation.
2760 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2762 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2764 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2765 Add hwcap2 initialization.
2766 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2769 POWER8 isnan ifunc implementation.
2770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2771 POWER8 implementation.
2772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2774 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2775 POWER8 isnan implementation.
2776 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2778 2014-02-27 Joey Ye <joey.ye@arm.com>
2780 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2781 (_FP_NANFRAC_Q): Set to zero.
2783 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2786 * math/auto-libm-test-in: New test inputs.
2787 * math/auto-libm-test-out: Regenerate.
2788 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2791 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2793 2014-02-27 Joseph Myers <joseph@codesourcery.com>
2795 * scripts/evaluate-test.sh: Take new argument indicating whether
2796 failure is expected.
2797 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2798 indicating whether failure is expected.
2799 * conform/Makefile (test-xfail-run-conformtest): New variable.
2800 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2802 * posix/Makefile (test-xfail-annexc): New variable.
2803 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2805 2014-02-26 Joseph Myers <joseph@codesourcery.com>
2807 * argp/Makefile: Include Makeconfig immediately after defining
2809 * assert/Makefile: Likewise.
2810 * benchtests/Makefile: Likewise.
2811 * catgets/Makefile: Likewise.
2812 * conform/Makefile: Likewise.
2813 * crypt/Makefile: Likewise.
2814 * csu/Makefile: Likewise.
2815 (all): Remove target.
2816 * ctype/Makefile: Include Makeconfig immediately after defining
2818 * debug/Makefile: Likewise.
2819 * dirent/Makefile: Likewise.
2820 * dlfcn/Makefile: Likewise.
2821 * gmon/Makefile: Likewise.
2822 * gnulib/Makefile: Likewise.
2823 * grp/Makefile: Likewise.
2824 * gshadow/Makefile: Likewise.
2825 * hesiod/Makefile: Likewise.
2826 * hurd/Makefile: Likewise.
2827 (all): Remove target.
2828 * iconvdata/Makefile: Include Makeconfig immediately after
2830 * inet/Makefile: Likewise.
2831 * intl/Makefile: Likewise.
2832 * io/Makefile: Likewise.
2833 * libio/Makefile: Likewise.
2834 (all): Remove target.
2835 * locale/Makefile: Include Makeconfig immediately after defining
2837 * login/Makefile: Likewise.
2838 * mach/Makefile: Likewise.
2839 (all): Remove target.
2840 * malloc/Makefile: Include Makeconfig immediately after defining
2842 (all): Remove target.
2843 * manual/Makefile: Include Makeconfig immediately after defining
2845 * math/Makefile: Likewise.
2846 * misc/Makefile: Likewise.
2847 * nis/Makefile: Likewise.
2848 * nss/Makefile: Likewise.
2849 * po/Makefile: Likewise.
2850 (all): Remove target.
2851 * posix/Makefile: Include Makeconfig immediately after defining
2853 * pwd/Makefile: Likewise.
2854 * resolv/Makefile: Likewise.
2855 * resource/Makefile: Likewise.
2856 * rt/Makefile: Likewise.
2857 * setjmp/Makefile: Likewise.
2858 * shadow/Makefile: Likewise.
2859 * signal/Makefile: Likewise.
2860 * socket/Makefile: Likewise.
2861 * soft-fp/Makefile: Likewise.
2862 * stdio-common/Makefile: Likewise.
2863 * stdlib/Makefile: Likewise.
2864 * streams/Makefile: Likewise.
2865 * string/Makefile: Likewise.
2866 * sunrpc/Makefile: Likewise.
2867 (all): Remove target.
2868 * sysvipc/Makefile: Include Makeconfig immediately after defining
2870 * termios/Makefile: Likewise.
2871 * time/Makefile: Likewise.
2872 * timezone/Makefile: Likewise.
2873 (all): Remove target.
2874 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2876 * wctype/Makefile: Likewise.
2878 2014-02-26 Steve Ellcey <sellcey@mips.com>
2880 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2881 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2882 (libc_feholdexcept_setround_mips): Ditto.
2883 (libc_feholdsetround): New.
2884 (libc_feholdsetroundf): New.
2885 (libc_feholdsetroundl): New.
2886 (libc_feupdateenv_test_mips): New.
2887 (libc_feupdateenv_test): New.
2888 (libc_feupdateenv_testf): New.
2889 (libc_feupdateenv_testl): New.
2890 (libc_feresetround): New.
2891 (libc_feresetroundf): New.
2892 (libc_feresetroundl): New.
2893 (libc_fetestexcept_mips): New.
2894 (libc_fetestexcept): New.
2895 (libc_fetestexceptf): New.
2896 (libc_fetestexceptl): New.
2898 (libc_feholdexcept_setround_mips_ctx): New.
2899 (libc_feholdexcept_setround_ctx): New.
2900 (libc_feholdexcept_setroundf_ctx): New.
2901 (libc_feholdexcept_setroundl_ctx): New.
2902 (libc_fesetenv_mips_ctx): New.
2903 (libc_fesetenv_ctx): New.
2904 (libc_fesetenv_ctxf): New.
2905 (libc_fesetenv_ctxl): New.
2906 (libc_feupdateenv_mips_ctx): New.
2907 (libc_feupdateenv_ctx): New.
2908 (libc_feupdateenvf_ctx): New.
2909 (libc_feupdateenvl_ctx): New.
2910 (libc_feholdsetround_mips_ctx): New.
2911 (libc_feholdsetround_ctx): New.
2912 (libc_feholdsetroundf_ctx): New.
2913 (libc_feholdsetroundl_ctx): New.
2914 (libc_feresetround_mips_ctx): New.
2915 (libc_feresetround_ctx): New.
2916 (libc_feresetroundf_ctx): New.
2917 (libc_feresetroundl_ctx): New.
2919 2014-02-26 Carlos O'Donell <carlos@redhat.com>
2921 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2923 * manual/ipc.texi: New file.
2924 * manual/Makefile (chapters): Add ipc.
2925 * manual/job.texi: Add "Inter-Process Communication" to next.
2926 * manual/process.texi: Add "Inter-Process Communication" to prev.
2928 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2932 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
2934 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2936 * manual/arith.texi: Fix spaces after sentences.
2937 * manual/charset.texi: Likewise.
2938 * manual/errno.texi: Likewise.
2939 * manual/install.texi: Likewise.
2940 * manual/llio.texi: Likewise.
2941 * manual/locale.texi: Likewise.
2942 * manual/maint.texi: Likewise.
2943 * manual/math.texi: Likewise.
2944 * manual/memory.texi: Likewise.
2945 * manual/message.texi: Likewise.
2946 * manual/probes.texi: Likewise.
2947 * manual/resource.texi: Likewise.
2948 * manual/signal.texi: Likewise.
2949 * manual/socket.texi: Likewise.
2950 * manual/stdio.texi: Likewise.
2951 * manual/string.texi: Likewise.
2952 * manual/time.texi: Likewise.
2953 * manual/users.texi: Likewise.
2955 2014-02-25 Carlos O'Donell <carlos@redhat.com>
2958 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2959 _DEFAULT_SOURCE is defined.
2961 2014-02-25 Ulrich Drepper <drepper@gmail.com>
2962 Carlos O'Donell <carlos@redhat.com>
2965 * elf/dl-tls.c (_dl_count_modids): New function.
2966 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2967 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2968 audit library and increment generation counter.
2969 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2970 * elf/tst-audit9.c: New file.
2971 * elf/tst-auditmod9a.c: New file.
2972 * elf/tst-auditmod9b.c: New file.
2973 * elf/Makefile: Add rules to build and run tst-audit9.
2975 2014-02-25 Florian Weimer <fweimer@redhat.com>
2978 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2980 2014-02-25 Will Newton <will.newton@linaro.org>
2982 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2983 (__longjmp): Restore sp and lr before restoring callee
2984 saved registers. Add longjmp and longjmp_target
2985 SystemTap probe point.
2986 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2987 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2988 Define to zero to match jmpbuf layout.
2989 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2990 (__sigsetjmp): Save sp and lr before saving callee
2991 saved registers. Add setjmp SystemTap probe point.
2993 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2995 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2997 2014-02-24 Andreas Schwab <schwab@suse.de>
3000 * elf/pldd.c (wait_for_ptrace_stop): New function.
3001 (main): Call it after attaching.
3003 2014-02-22 Roland McGrath <roland@hack.frob.com>
3005 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3006 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3007 Versions files is now verboten.
3008 * hurd/Versions (libc: GLIBC_2.0):
3009 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3010 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3011 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3012 * mach/Versions: Likewise.
3014 * csu/Versions: Remove unused %include.
3015 * resolv/Versions: Likewise.
3017 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3019 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3020 ($(objpfx)check-local-headers.out): Likewise.
3021 ($(objpfx)begin-end-check.out): Likewise.
3022 * Makerules (check-abi-%.out): Likewise.
3023 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3024 ($(objpfx)test2.cat): Likewise.
3025 ($(objpfx)de/libc.cat): Likewise.
3026 ($(objpfx)test-gencat.out): Likewise.
3027 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3028 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3029 ($(objpfx)noload-mem): Likewise.
3030 ($(objpfx)tst-pathopt.out): Likewise.
3031 ($(objpfx)tst-rtld-load-self.out): Likewise.
3032 ($(objpfx)tst-array1-cmp.out): Likewise.
3033 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3034 ($(objpfx)tst-array2-cmp.out): Likewise.
3035 ($(objpfx)tst-array3-cmp.out): Likewise.
3036 ($(objpfx)tst-array4-cmp.out): Likewise.
3037 ($(objpfx)tst-array5-cmp.out): Likewise.
3038 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3039 ($(objpfx)check-textrel.out): Likewise.
3040 ($(objpfx)check-execstack.out): Likewise.
3041 ($(objpfx)check-localplt.out): Likewise.
3042 ($(objpfx)order2-cmp.out): Likewise.
3043 ($(objpfx)tst-leaks1-mem): Likewise.
3044 ($(objpfx)tst-leaks1-static-mem): Likewise.
3045 ($(objpfx)tst-initorder-cmp.out): Likewise.
3046 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3047 ($(objpfx)tst-unused-dep.out): Likewise.
3048 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3049 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3050 * iconv/Makefile (test-iconvconfig): Likewise.
3051 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3052 ($(objpfx)iconv-test.out): Likewise.
3053 ($(objpfx)tst-tables.out): Likewise.
3054 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3055 ($(objpfx)tst-gettext.out): Likewise.
3056 ($(objpfx)tst-translit.out): Likewise.
3057 ($(objpfx)tst-gettext2.out): Likewise.
3058 ($(objpfx)tst-gettext4.out): Likewise.
3059 ($(objpfx)tst-gettext6.out): Likewise.
3060 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3061 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3062 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3063 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3064 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3065 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3066 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3067 ($(objpfx)wordexp-tst.out): Likewise.
3068 ($(objpfx)annexc.out): Likewise.
3069 ($(objpfx)tst-fnmatch-mem): Likewise.
3070 ($(objpfx)bug-regex2-mem): Likewise.
3071 ($(objpfx)bug-regex14-mem): Likewise.
3072 ($(objpfx)bug-regex21-mem): Likewise.
3073 ($(objpfx)bug-regex31-mem): Likewise.
3074 ($(objpfx)tst-vfork3-mem): Likewise.
3075 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3076 ($(objpfx)tst-pcre-mem): Likewise.
3077 ($(objpfx)tst-boost-mem): Likewise.
3078 ($(objpfx)tst-getconf.out): Likewise.
3079 ($(objpfx)bug-ga2-mem): Likewise.
3080 ($(objpfx)bug-glob2-mem): Likewise.
3081 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3082 ($(objpfx)mtrace-tst-leaks2): Likewise.
3083 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3084 ($(objpfx)tst-printf.out): Likewise.
3085 ($(objpfx)tst-setvbuf1.out): Likewise.
3086 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3087 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3088 ($(objpfx)tst-fmtmsg.out): Likewise.
3089 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3090 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3092 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3093 * bits/sigaction.h [__USE_MISC]: Likewise.
3094 * bits/waitstatus.h: Update #endif comments.
3095 * ctype/ctype.h: Likewise.
3096 * dirent/dirent.h: Likewise.
3097 [__USE_MISC]: Remove redundant conditionals.
3098 * grp/grp.h: Update #endif comments.
3099 [__USE_GNU]: Remove redundant conditionals.
3100 [__USE_MISC]: Likewise.
3101 * inet/netinet/in.h [__USE_GNU]: Likewise.
3102 * io/sys/stat.h [__USE_MISC]: Likewise.
3103 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3104 * libio/bits/stdio.h: Update #endif comments.
3105 [__USE_MISC]: Remove redundant conditionals.
3106 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3107 * libio/stdio.h: Update #endif comments.
3108 [__USE_MISC]: Remove redundant conditionals.
3109 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3110 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3111 * math/math.h: Update #else and #endif comments.
3112 [__USE_MISC]: Remove redundant conditionals.
3113 * misc/sys/uio.h: Update #endif comments.
3114 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3115 * posix/glob.h [__USE_MISC]: Likewise.
3116 * posix/sys/types.h: Update #endif comments.
3117 [__USE_MISC]: Remove redundant conditionals.
3118 * posix/sys/wait.h: Update #endif comments.
3119 [__USE_MISC]: Remove redundant conditionals.
3120 * posix/unistd.h: Update #endif comments.
3121 [__USE_MISC]: Remove redundant conditionals.
3122 * pwd/pwd.h [__USE_GNU]: Likewise.
3123 [__USE_MISC]: Likewise.
3124 * resolv/netdb.h [__USE_GNU]: Likewise.
3125 * signal/signal.h: Update #endif comments.
3126 [__USE_MISC]: Remove redundant conditionals.
3127 * stdlib/stdlib.h: Update #else and #endif comments.
3128 [__USE_MISC]: Remove redundant conditionals.
3129 [__USE_GNU]: Likewise.
3130 * string/bits/string2.h [__USE_MISC]: Likewise.
3131 * string/string.h: Update #endif comments.
3132 [__USE_MISC]: Remove redundant conditionals.
3133 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3135 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3136 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3137 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3139 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3141 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3143 [__USE_MISC]: Remove redundant conditionals.
3144 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3145 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3146 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3147 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3148 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3150 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3151 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3153 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3154 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3156 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3158 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3159 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3161 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3163 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3164 * sysdeps/x86/bits/string.h: Update #endif comments.
3165 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3167 * time/sys/time.h: Update #endif comments.
3168 * time/time.h: Likewise.
3169 [__USE_MISC]: Remove redundant conditionals.
3171 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3174 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3176 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3178 * Versions.def (librt): Add GLIBC_2.17.
3180 2014-02-21 Adam Conrad <adconrad@0c3.net>
3182 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3183 synonym for _SYS_AUXV_H to allow direct inclusion.
3184 * sysdeps/sparc/bits/hwcap.h: Likewise.
3185 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3186 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3187 * sysdeps/sparc/sysdep.h: Likewise.
3189 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3191 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3193 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3195 * benchtests/bench-strrchr.c: Print length instead of position.
3197 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3200 * sysdeps/unix/sysv/linux/kernel-features.h
3201 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3202 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3203 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3204 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3206 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3207 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3208 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3209 (__ASSUME_SENDMMSG): Define instead of using previous
3210 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3211 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3212 (__ASSUME_SENDMMSG_SYSCALL): Define.
3213 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3214 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3216 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3217 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3219 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3220 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3222 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3223 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3224 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3225 [__ASSUME_SENDMMSG]: Change conditionals to
3226 [__ASSUME_SENDMMSG_SOCKETCALL].
3227 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3228 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3230 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3231 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3233 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3234 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3235 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3236 [!__ASSUME_SENDMMSG]: Change conditional to
3237 [!__ASSUME_SENDMMSG_SOCKETCALL].
3238 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3239 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3243 * sysdeps/unix/sysv/linux/kernel-features.h
3244 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3245 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3246 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3247 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3248 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3249 [__i386__ || __sparc__]
3250 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3251 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3252 (__ASSUME_RECVMMSG): Define instead of using previous
3253 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3254 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3255 (__ASSUME_RECVMMSG_SYSCALL): Define.
3256 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3257 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3259 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3260 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3262 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3263 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3265 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3266 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3267 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3268 [__ASSUME_RECVMMSG]: Change condition to
3269 [__ASSUME_RECVMMSG_SOCKETCALL].
3270 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3271 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3273 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3274 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3275 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3277 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3278 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3279 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3280 [!__ASSUME_RECVMMSG]: Change condition to
3281 [!__ASSUME_RECVMMSG_SOCKETCALL].
3282 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3283 (__ASSUME_RECVMMSG_SYSCALL): Define.
3286 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3287 __powerpc__ || __s390__ || __sh__ || __sparc__]
3288 (__ASSUME_SOCKETCALL): Define.
3289 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3290 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3291 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3292 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3293 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3294 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3295 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3296 (__ASSUME_ACCEPT4): Define instead of using previous
3297 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3298 __powerpc__ || __sparc__ || __s390__)] condition.
3299 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3300 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3301 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3302 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3303 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3304 [!__ASSUME_ACCEPT4]: Change condition to
3305 [!__ASSUME_ACCEPT4_SOCKETCALL].
3306 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3307 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3308 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3309 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3310 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3311 __ASSUME_ACCEPT4_SYSCALL.
3312 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3313 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3314 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3315 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3316 __ASSUME_ACCEPT4_SYSCALL.
3317 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3318 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3319 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3320 [__ASSUME_ACCEPT4]: Change condition to
3321 [__ASSUME_ACCEPT4_SOCKETCALL].
3322 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3323 (__ASSUME_SOCKETCALL): Define.
3324 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3325 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3326 (__ASSUME_SOCKETCALL): Define.
3327 (__ASSUME_ACCEPT4): Remove.
3328 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3330 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3331 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3333 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3334 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3336 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3338 (HWCAP_ARM_LPAE): Likewise.
3339 (HWCAP_ARM_EVTSTRM): Likewise.
3340 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3341 Add vpfd32, lpae and evtstrm.
3342 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3345 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3347 * math/auto-libm-test-in: Add tests of clog10.
3348 * math/auto-libm-test-out: Regenerated.
3349 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3350 * sysdeps/i386/fpu/libm-test-ulps: Update.
3351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3353 2014-02-18 Andreas Schwab <schwab@suse.de>
3356 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3357 Store non-zero if the second buffer was newly allocated.
3358 (send_dg): Likewise.
3359 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3360 to send_vc and send_dg.
3361 (res_nsend): Pass NULL for ansp2_malloced.
3362 * resolv/res_query.c (__libc_res_nquery): Add parameter
3363 answerp2_malloced and pass it down to __libc_res_nsend.
3364 (res_nquery): Pass additional NULL to __libc_res_nquery.
3365 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3366 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3367 second answer buffer if answerp2_malloced was set.
3368 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3369 (__libc_res_nquerydomain): Add parameter
3370 answerp2_malloced and pass it down to __libc_res_nquery.
3371 (res_nquerydomain): Pass additional NULL to
3372 __libc_res_nquerydomain.
3373 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3374 additional NULL to __libc_res_nsend and __libc_res_nquery.
3375 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3376 additional NULL to __libc_res_nsearch.
3377 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3378 parameter of __libc_res_nsearch to check for separately allocated
3380 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3382 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3383 additional NULL to __libc_res_nquery.
3384 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3386 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3387 * include/resolv.h: Update prototypes of __libc_res_nquery,
3388 __libc_res_nsearch, __libc_res_nsend.
3390 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3392 * math/auto-libm-test-in: Add tests of fma.
3393 * math/auto-libm-test-out: Regenerated.
3394 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3395 (fma_towardzero_test_data): Likewise.
3396 (fma_downward_test_data): Likewise.
3397 (fma_upward_test_data): Likewise.
3398 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3400 (rounding_modes): Add values for new field.
3401 (func_calc_method): Add value mpfr_fff_f.
3402 (func_calc_desc): Add mpfr_fff_f union field.
3403 (test_function): Add field exact_args.
3404 (FUNC): Add macro argument EXACT_ARGS.
3405 (FUNC_mpfr_f_f): Update call to FUNC.
3406 (FUNC_mpfr_f_f): Likewise.
3407 (FUNC_mpfr_ff_f): Likewise.
3408 (FUNC_mpfr_if_f): Likewise.
3409 (FUNC_mpc_c_f): Likewise.
3410 (FUNC_mpc_c_c): Likewise.
3411 (test_functions): Add fma. Update calls to FUNC.
3412 (handle_input_arg): Add argument exact_args.
3413 (add_test): Update call to handle_input_arg.
3414 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3415 (output_for_one_input_case): Update call to calc_generic_results.
3416 Recalculate exact zero results in each rounding mode.
3418 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3419 non-negative before setting low bit.
3420 * math/auto-libm-test-in: Mark one asin test possibly having
3422 * math/auto-libm-test-out: Regenerated.
3423 * sysdeps/i386/fpu/libm-test-ulps: Update.
3424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3426 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3428 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3429 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3430 ports/sysdeps/unix/sysv/linux/microblaze.
3431 * README: Add missing listing for microblaze*-*-linux-gnu.
3433 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3435 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3436 * sysdeps/unix/sysv/linux/ia64: Move directory from
3437 ports/sysdeps/unix/sysv/linux/ia64.
3438 * README: Update listing for ia64-*-linux-gnu.
3440 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3441 Joseph Myers <joseph@codesourcery.com>
3443 * Makeconfig (test-name): New variable.
3444 (evaluate-test): Likewise.
3445 * Makerules (do-test-clean): Remove .test-result files.
3446 (common-mostlyclean): Likewise.
3447 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3448 * scripts/evaluate-test.sh: New file.
3450 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3452 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3453 separate $(objpfx)tst-fopenloc-cmp.out and
3454 $(objpfx)tst-fopenloc-mem.out targets.
3455 (tests): Update dependencies.
3456 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3457 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3458 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3459 (tst-rxspencer-no-utf8-ARGS): New variable.
3460 (tst-rxspencer-no-utf8-ENV): Likewise.
3461 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3462 instead of $(objpfx)tst-rxspencer-mem.
3463 ($(objpfx)tst-rxspencer-mem): Change target to
3464 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3465 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3466 * posix/tst-rxspencer-no-utf8.c: New file.
3468 * elf/Makefile ($(objpfx)order.out): Remove rule.
3469 [$(run-built-tests) = yes] (tests): Depend on
3470 $(objpfx)order-cmp.out.
3471 ($(objpfx)order-cmp.out): New rule.
3472 [$(run-built-tests) = yes] (tests): Depend on
3473 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3474 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3475 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3476 $(objpfx)tst-array5-static-cmp.out.
3477 ($(objpfx)tst-array1.out): Remove rule.
3478 ($(objpfx)tst-array1-cmp.out): New rule.
3479 ($(objpfx)tst-array1-static.out): Remove rule.
3480 ($(objpfx)tst-array1-static-cmp.out): New rule.
3481 ($(objpfx)tst-array2.out): Remove rule.
3482 ($(objpfx)tst-array2-cmp.out): New rule.
3483 ($(objpfx)tst-array3.out): Remove rule.
3484 ($(objpfx)tst-array3-cmp.out): New rule.
3485 ($(objpfx)tst-array4.out): Remove rule.
3486 ($(objpfx)tst-array4-cmp.out): New rule.
3487 ($(objpfx)tst-array5.out): Remove rule.
3488 ($(objpfx)tst-array5-cmp.out): New rule.
3489 ($(objpfx)tst-array5-static.out): Remove rule.
3490 ($(objpfx)tst-array5-static-cmp.out): New rule.
3491 [$(run-built-tests) = yes] (tests): Depend on
3492 $(objpfx)order2-cmp.out.
3493 ($(objpfx)order2.out): Remove rule.
3494 ($(objpfx)order2-cmp.out): New rule.
3495 ($(objpfx)tst-initorder.out): Remove rule.
3496 [$(run-built-tests) = yes] (tests): Depend on
3497 $(objpfx)tst-initorder-cmp.out.
3498 ($(objpfx)tst-initorder-cmp.out): New rule.
3499 ($(objpfx)tst-initorder2.out): Remove rule.
3500 [$(run-built-tests) = yes] (tests): Depend on
3501 $(objpfx)tst-initorder2-cmp.out.
3502 ($(objpfx)tst-initorder2-cmp.out): New rule.
3503 [$(run-built-tests) = yes] (tests): Depend on
3504 $(objpfx)tst-unused-dep-cmp.out.
3505 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3506 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3507 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3508 on $(objpfx)tst-setvbuf1-cmp.out.
3509 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3510 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3511 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3512 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3513 ($(objpfx)tst-svc.out): Remove rule.
3514 ($(objpfx)tst-svc-cmp.out): New rule.
3516 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3518 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3519 * ctype/ctype.h [__USE_MISC]: Likewise.
3520 * dirent/dirent.h [__USE_MISC]: Likewise.
3521 * grp/grp.h [__USE_MISC]: Likewise.
3522 * io/fcntl.h [__USE_MISC]: Likewise.
3523 * io/sys/stat.h [__USE_MISC]: Likewise.
3524 * libio/stdio.h [__USE_MISC]: Likewise.
3525 * posix/unistd.h [__USE_MISC]: Likewise.
3526 * pwd/pwd.h [__USE_MISC]: Likewise.
3527 * stdlib.h [__USE_MISC]: Likewise.
3528 * string/bits/string2.h [__USE_MISC]: Likewise.
3529 * string/string.h [__USE_MISC]: Likewise.
3530 * time/time.h [__USE_MISC]: Likewise.
3532 2014-02-13 Andreas Schwab <schwab@suse.de>
3535 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3536 second answer buffer if it was separately allocated.
3538 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3540 * sysdeps/mips/math-tests.h: Include <features.h>.
3541 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3542 (ROUNDING_TESTS_long_double): Do not define.
3543 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3544 (EXCEPTION_TESTS_long_double): Likewise.
3545 * sysdeps/mips/mips64/libm-test-ulps: Update.
3547 * include/features.h (__USE_BSD): Remove macro definitions.
3548 (__USE_SVID): Likewise.
3549 (_BSD_SOURCE): Likewise.
3550 (_SVID_SOURCE): Likewise.
3551 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3552 from definition of _DEFAULT_SOURCE.
3553 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3555 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3556 * bits/mman.h [__USE_BSD]: Likewise.
3557 * bits/termios.h [__USE_BSD]: Likewise.
3558 * bits/waitstatus.h [__USE_BSD]: Likewise.
3559 * ctype/ctype.h [__USE_SVID]: Likewise.
3560 * dirent/dirent.h [__USE_BSD]: Likewise.
3561 * grp/grp.h [__USE_SVID]: Likewise.
3562 [__USE_BSD]: Likewise.
3563 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3564 * io/fcntl.h [__USE_BSD]: Likewise.
3565 * io/ftw.h [__USE_BSD]: Likewise.
3566 * io/sys/stat.h [__USE_BSD]: Likewise.
3567 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3568 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3569 * libio/stdio.h [__USE_SVID]: Likewise.
3570 [__USE_BSD]: Likewise.
3571 * math/math.h [__USE_SVID]: Likewise.
3572 [__USE_BSD]: Likewise.
3573 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3574 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3575 * misc/search.h [__USE_SVID]: Likewise.
3576 * misc/sys/mman.h [__USE_BSD]: Likewise.
3577 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3578 * misc/sys/uio.h [__USE_BSD]: Likewise.
3579 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3580 * posix/glob.h [__USE_BSD]: Likewise.
3581 * posix/regex.h [__USE_BSD]: Likewise.
3582 * posix/sys/types.h [__USE_BSD]: Likewise.
3583 [__USE_SVID]: Likewise.
3584 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3585 * posix/sys/wait.h [__USE_BSD]: Likewise.
3586 [__USE_SVID]: Likewise.
3587 * posix/unistd.h [__USE_BSD]: Likewise.
3588 [__USE_SVID]: Likewise.
3589 * pwd/pwd.h [__USE_SVID]: Likewise.
3590 * resolv/netdb.h [__USE_BSD]: Likewise.
3591 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3592 * signal/signal.h [__USE_BSD]: Likewise.
3593 [__USE_SVID]: Likewise.
3594 * socket/sys/socket.h [__USE_BSD]: Likewise.
3595 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3596 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3597 [__USE_SVID]: Likewise.
3598 * string/bits/string2.h [__USE_BSD]: Likewise.
3599 [__USE_SVID]: Likewise.
3600 * string/bits/string3.h [__USE_BSD]: Likewise.
3601 * string/endian.h [__USE_BSD]: Likewise.
3602 * string/string.h [__USE_SVID]: Likewise.
3603 [__USE_BSD]: Likewise.
3604 * string/strings.h [__USE_BSD]: Likewise.
3605 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3606 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3607 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3608 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3609 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3610 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3612 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3614 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3615 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3617 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3618 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3620 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3622 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3623 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3624 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3626 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3628 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3629 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3630 * termios/termios.h [__USE_BSD]: Likewise.
3631 * time/sys/time.h [__USE_BSD]: Likewise.
3632 * time/time.h [__USE_BSD]: Likewise.
3633 [__USE_SVID]: Likewise.
3635 * Makefile (subdir_targets): Remove subdir_lint.out.
3637 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3638 (do-tst-printf): Likewise.
3639 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3640 $(objpfx)tst-printf.out.
3642 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3644 * Makerules (check-abi-%): Change target to
3645 $(objpfx)check-abi-%.out.
3646 (check-abi target): Update dependencies.
3647 (check-abi-pattern variable): Redirect output of diff to $@.
3648 (check-abi variable): Likewise.
3649 * elf/Makefile (check-abi): Update dependencies.
3651 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3653 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3654 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3656 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3657 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3658 value has largest subnormal exponent.
3659 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3660 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3661 * sysdeps/aarch64/soft-fp/sfp-machine.h
3662 (_FP_TININESS_AFTER_ROUNDING): New macro.
3663 * sysdeps/alpha/soft-fp/sfp-machine.h
3664 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3665 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3667 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3668 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3669 * sysdeps/mips/soft-fp/sfp-machine.h
3670 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3671 * sysdeps/powerpc/soft-fp/sfp-machine.h
3672 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3673 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3675 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3676 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3677 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3678 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3679 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3682 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3685 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3688 2014-02-12 Richard Henderson <rth@redhat.com>
3690 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3691 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3692 * sysdeps/unix/sysv/linux/alpha: Move directory from
3693 ports/sysdeps/unix/sysv/linux/alpha.
3694 * README: Update listing for alpha-*-linux-gnu.
3696 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3698 * include/features.h: Update comment documenting feature test
3700 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3702 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3703 (_SVID_SOURCE): Likewise.
3704 (_DEFAULT_SOURCE): Update description of default features.
3705 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3707 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3708 (S_ISVTX): Likewise.
3709 * manual/math.texi (Mathematical Constants): Likewise.
3710 * manual/signal.texi (Interrupted Primitives): Likewise.
3711 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3712 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3713 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3714 Don't refer to _SVID_SOURCE in warning text.
3716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3718 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3720 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3721 * sysdeps/mips/dl-lookup.c: Remove.
3722 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3724 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3727 * math/auto-libm-test-in: Add testcase for expl.
3728 * math/auto-libm-test-out: Regenerate.
3729 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3730 calculation of unsafe.
3731 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3733 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3735 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3736 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3737 ports/sysdeps/unix/sysv/linux/aarch64.
3738 * README: Update listing for aarch64*-*-linux-gnu.
3740 2014-02-11 Will Newton <will.newton@linaro.org>
3742 * manual/probes.texi (Mathematical Function Probes): Use
3743 "triggered" instead of "hit".
3745 2014-02-11 Will Newton <will.newton@linaro.org>
3747 * manual/probes.texi (Internal Probes): Add documentation
3748 of setjmp, longjmp and longjmp_target probes.
3750 2014-02-11 Will Newton <will.newton@linaro.org>
3752 * include/stap-probe.h: Add comment about probe argument
3755 2014-02-11 Will Newton <will.newton@linaro.org>
3757 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3758 definition. (tr_where, tr_freehook, tr_mallochook,
3759 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3761 2014-02-11 David S. Miller <davem@davemloft.net>
3763 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3764 processing int_tests.
3766 2014-02-10 Joseph Myers <joseph@codesourcery.com>
3768 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3769 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3770 * sysdeps/unix/sysv/linux/mips: Move directory from
3771 ports/sysdeps/unix/sysv/linux/mips.
3772 * README: Update listing for mips-*-linux-gnu and
3775 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3777 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3778 * sysdeps/unix/sysv/linux/m68k: Move directory from
3779 ports/sysdeps/unix/sysv/linux/m68k.
3780 * README: Update listing for m68k-*-linux-gnu.
3782 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3784 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3785 * sysdeps/unix/sysv/linux/generic: Move directory from
3786 ports/sysdeps/unix/sysv/linux/generic.
3787 * sysdeps/unix/sysv/linux/tile: Move directory from
3788 ports/sysdeps/unix/sysv/linux/tile.
3789 * README: Update listing for tile*-*-linux-gnu.
3791 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3793 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3794 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3795 * catgets/open_catalog.c (__open_catalog): Likewise.
3796 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3797 * debug/confstr_chk.c: Likewise.
3798 * debug/fread_chk.c (__fread_chk): Likewise.
3799 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3800 * debug/getgroups_chk.c: Likewise.
3801 * debug/mbsnrtowcs_chk.c: Likewise.
3802 * debug/mbsrtowcs_chk.c: Likewise.
3803 * debug/mbstowcs_chk.c: Likewise.
3804 * debug/memcpy_chk.c: Likewise.
3805 * debug/memmove_chk.c: Likewise.
3806 * debug/mempcpy_chk.c: Likewise.
3807 * debug/memset_chk.c: Likewise.
3808 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3809 * debug/strcat_chk.c (__strcat_chk): Likewise.
3810 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3811 * debug/strncat_chk.c (__strncat_chk): Likewise.
3812 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3813 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3814 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3815 * debug/wcpncpy_chk.c: Likewise.
3816 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3817 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3818 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3819 * debug/wcsncpy_chk.c: Likewise.
3820 * debug/wcsnrtombs_chk.c: Likewise.
3821 * debug/wcsrtombs_chk.c: Likewise.
3822 * debug/wcstombs_chk.c: Likewise.
3823 * debug/wmemcpy_chk.c: Likewise.
3824 * debug/wmemmove_chk.c: Likewise.
3825 * debug/wmempcpy_chk.c: Likewise.
3826 * debug/wmemset_chk.c: Likewise.
3827 * dirent/scandirat.c (SCANDIRAT): Likewise.
3828 * dlfcn/dladdr1.c (dladdr1): Likewise.
3829 * dlfcn/dladdr.c (dladdr): Likewise.
3830 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3831 * dlfcn/dlerror.c (__dlerror): Likewise.
3832 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3833 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3834 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3835 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3836 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3837 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3838 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3839 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3841 * elf/dl-conflict.c: Likewise.
3842 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3843 * elf/dl-dst.h: Likewise.
3844 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3845 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3846 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3847 * elf/dl-init.c (call_init, _dl_init): Likewise.
3848 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3849 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3850 _dl_map_object_from_fd, open_verify, open_path,
3851 _dl_map_object): Likewise.
3852 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3854 * elf/dl-minimal.c (__libc_memalign): Likewise.
3855 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3856 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3857 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3858 * elf/dl-sym.c (do_sym): Likewise.
3859 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3860 _dl_tls_get_addr_soft): Likewise.
3861 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3862 * elf/dl-writev.h (_dl_writev): Likewise.
3863 * elf/ldconfig.c (search_dir): Likewise.
3864 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3866 * elf/setup-vdso.h (setup_vdso): Likewise.
3867 * grp/compat-initgroups.c (compat_call): Likewise.
3868 * grp/fgetgrent.c (fgetgrent): Likewise.
3869 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3870 * grp/putgrent.c (putgrent): Likewise.
3871 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3873 * hurd/hurdinit.c: Likewise.
3874 * iconvdata/8bit-gap.c (struct): Likewise.
3875 * iconvdata/ansi_x3.110.c : Likewise.
3876 * iconvdata/big5.c : Likewise.
3877 * iconvdata/big5hkscs.c : Likewise.
3878 * iconvdata/cp1255.c: Likewise.
3879 * iconvdata/cp1258.c : Likewise.
3880 * iconvdata/cp932.c : Likewise.
3881 * iconvdata/euc-cn.c: Likewise.
3882 * iconvdata/euc-jisx0213.c : Likewise.
3883 * iconvdata/euc-jp.c: Likewise.
3884 * iconvdata/euc-jp-ms.c : Likewise.
3885 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3886 * iconvdata/gb18030.c : Likewise.
3887 * iconvdata/gbbig5.c (const): Likewise.
3888 * iconvdata/gbgbk.c: Likewise.
3889 * iconvdata/gbk.c : Likewise.
3890 * iconvdata/ibm1364.c : Likewise.
3891 * iconvdata/ibm930.c : Likewise.
3892 * iconvdata/ibm932.c: Likewise.
3893 * iconvdata/ibm933.c : Likewise.
3894 * iconvdata/ibm935.c : Likewise.
3895 * iconvdata/ibm937.c : Likewise.
3896 * iconvdata/ibm939.c : Likewise.
3897 * iconvdata/ibm943.c: Likewise.
3898 * iconvdata/iso_11548-1.c: Likewise.
3899 * iconvdata/iso-2022-cn.c : Likewise.
3900 * iconvdata/iso-2022-cn-ext.c : Likewise.
3901 * iconvdata/iso-2022-jp-3.c: Likewise.
3902 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3903 * iconvdata/iso-2022-kr.c : Likewise.
3904 * iconvdata/iso646.c (gconv_end): Likewise.
3905 * iconvdata/iso_6937-2.c : Likewise.
3906 * iconvdata/iso_6937.c : Likewise.
3907 * iconvdata/iso8859-1.c: Likewise.
3908 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3909 * iconvdata/shift_jisx0213.c : Likewise.
3910 * iconvdata/sjis.c : Likewise.
3911 * iconvdata/t.61.c : Likewise.
3912 * iconvdata/tcvn5712-1.c : Likewise.
3913 * iconvdata/tscii.c: Likewise.
3914 * iconvdata/uhc.c : Likewise.
3915 * iconvdata/unicode.c (gconv_end): Likewise.
3916 * iconvdata/utf-16.c (gconv_end): Likewise.
3917 * iconvdata/utf-32.c (gconv_end): Likewise.
3918 * iconvdata/utf-7.c (base64): Likewise.
3919 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3920 * iconv/gconv_close.c (__gconv_close): Likewise.
3921 * iconv/gconv_open.c (__gconv_open): Likewise.
3922 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3923 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3924 internal_ucs4le_loop_single, ucs4le_internal_loop,
3925 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3926 * iconv/iconv.c (iconv): Likewise.
3927 * iconv/iconv_close.c: Likewise.
3928 * iconv/loop.c (SINGLE): Likewise.
3929 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3930 * include/atomic.h: Likewise.
3931 * inet/inet6_option.c (option_alloc): Likewise.
3932 * intl/bindtextdom.c (set_binding_values): Likewise.
3933 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3934 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3935 * intl/localealias.c (read_alias_file): Likewise.
3936 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3937 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3938 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3939 * libio/fmemopen.c (fmemopen): Likewise.
3940 * libio/iofgets.c (_IO_fgets): Likewise.
3941 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3942 * libio/iofgetws.c (fgetws): Likewise.
3943 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3944 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3945 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3946 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3947 * locale/findlocale.c (_nl_find_locale): Likewise.
3948 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3949 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3951 * locale/setlocale.c (setlocale): Likewise.
3952 * login/programs/pt_chown.c (main): Likewise.
3953 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3954 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3955 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3956 mmap, mmap64, mremap, munmap): Likewise.
3957 * math/e_exp2l.c: Likewise.
3958 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3959 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3960 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3961 * math/s_catan.c (__catan): Likewise.
3962 * math/s_catanf.c (__catanf): Likewise.
3963 * math/s_catanh.c (__catanh): Likewise.
3964 * math/s_catanhf.c (__catanhf): Likewise.
3965 * math/s_catanhl.c (__catanhl): Likewise.
3966 * math/s_catanl.c (__catanl): Likewise.
3967 * math/s_ccosh.c (__ccosh): Likewise.
3968 * math/s_ccoshf.c (__ccoshf): Likewise.
3969 * math/s_ccoshl.c (__ccoshl): Likewise.
3970 * math/s_cexp.c (__cexp): Likewise.
3971 * math/s_cexpf.c (__cexpf): Likewise.
3972 * math/s_cexpl.c (__cexpl): Likewise.
3973 * math/s_clog10.c (__clog10): Likewise.
3974 * math/s_clog10f.c (__clog10f): Likewise.
3975 * math/s_clog10l.c (__clog10l): Likewise.
3976 * math/s_clog.c (__clog): Likewise.
3977 * math/s_clogf.c (__clogf): Likewise.
3978 * math/s_clogl.c (__clogl): Likewise.
3979 * math/s_csin.c (__csin): Likewise.
3980 * math/s_csinf.c (__csinf): Likewise.
3981 * math/s_csinh.c (__csinh): Likewise.
3982 * math/s_csinhf.c (__csinhf): Likewise.
3983 * math/s_csinhl.c (__csinhl): Likewise.
3984 * math/s_csinl.c (__csinl): Likewise.
3985 * math/s_csqrt.c (__csqrt): Likewise.
3986 * math/s_csqrtf.c (__csqrtf): Likewise.
3987 * math/s_csqrtl.c (__csqrtl): Likewise.
3988 * math/s_ctan.c (__ctan): Likewise.
3989 * math/s_ctanf.c (__ctanf): Likewise.
3990 * math/s_ctanh.c (__ctanh): Likewise.
3991 * math/s_ctanhf.c (__ctanhf): Likewise.
3992 * math/s_ctanhl.c (__ctanhl): Likewise.
3993 * math/s_ctanl.c (__ctanl): Likewise.
3994 * math/w_pow.c: Likewise.
3995 * math/w_powf.c: Likewise.
3996 * math/w_powl.c: Likewise.
3997 * math/w_scalb.c (sysv_scalb): Likewise.
3998 * math/w_scalbf.c (sysv_scalbf): Likewise.
3999 * math/w_scalbl.c (sysv_scalbl): Likewise.
4000 * misc/error.c (error_tail): Likewise.
4001 * misc/pselect.c (__pselect): Likewise.
4002 * nis/nis_callback.c (__nis_create_callback): Likewise.
4003 * nis/nis_call.c (__nisfind_server): Likewise.
4004 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4005 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4006 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4007 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4008 * nis/nis_lookup.c (nis_lookup): Likewise.
4009 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4010 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4011 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4012 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4013 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4014 internal_getgrgid_r): Likewise.
4015 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4017 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4018 internal_getpwuid_r): Likewise.
4019 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4020 internal_getspnam_r): Likewise.
4021 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4022 _nss_nis_getaliasbyname_r): Likewise.
4023 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4024 _nss_nis_getntohost_r): Likewise.
4025 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4026 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4028 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4029 internal_nis_gethostent_r, internal_gethostbyname2_r,
4030 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4031 _nss_nis_gethostbyname4_r): Likewise.
4032 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4033 initgroups_netid): Likewise.
4034 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4035 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4036 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4037 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4038 _nss_nis_getprotobynumber_r): Likewise.
4039 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4040 _nss_nis_getsecretkey): Likewise.
4041 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4042 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4044 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4045 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4046 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4047 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4048 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4049 _nss_nis_getspnam_r): Likewise.
4050 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4052 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4053 _nss_nisplus_getntohost_r): Likewise.
4054 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4055 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4056 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4057 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4058 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4060 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4061 _nss_nisplus_getnetbyaddr_r): Likewise.
4062 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4063 _nss_nisplus_getprotobynumber_r): Likewise.
4064 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4065 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4066 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4068 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4069 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4070 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4071 _nss_nisplus_getspnam_r): Likewise.
4072 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4073 * nscd/aicache.c (addhstaiX): Likewise.
4074 * nscd/cache.c (cache_search, prune_cache): Likewise.
4075 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4076 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4077 * nscd/grpcache.c (addgrbyX): Likewise.
4078 * nscd/hstcache.c (addhstbyX): Likewise.
4079 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4080 * nscd/mem.c (gc, mempool_alloc): Likewise.
4081 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4083 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4085 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4086 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4087 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4089 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4090 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4091 * nscd/nscd_helper.c (__readvall, open_socket,
4092 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4093 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4094 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4095 * nscd/pwdcache.c (addpwbyX): Likewise.
4096 * nscd/selinux.c (preserve_capabilities): Likewise.
4097 * nscd/servicescache.c (addservbyX): Likewise.
4098 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4099 * posix/fnmatch.c (fnmatch): Likewise.
4100 * posix/getopt.c (_getopt_internal_r): Likewise.
4101 * posix/glob.c (glob, glob_in_dir): Likewise.
4102 * posix/wordexp.c (exec_comm_child): Likewise.
4103 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4104 gaih_getanswer_slice): Likewise.
4105 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4106 * resolv/res_init.c: Likewise.
4107 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4108 * resolv/res_query.c (__libc_res_nquery): Likewise.
4109 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4111 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4112 * stdio-common/perror.c (perror): Likewise.
4113 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4114 * stdio-common/tmpnam.c (tmpnam): Likewise.
4115 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4116 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4117 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4118 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4119 * stdlib/putenv.c (putenv): Likewise.
4120 * stdlib/setenv.c (__add_to_environ): Likewise.
4121 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4122 * stdlib/strtol_l.c (INTERNAL): Likewise.
4123 * string/memmem.c (memmem): Likewise.
4124 * string/strerror.c (strerror): Likewise.
4125 * string/strnlen.c (__strnlen): Likewise.
4126 * string/test-memmem.c (simple_memmem): Likewise.
4127 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4128 * sunrpc/pm_getport.c (__get_socket): Likewise.
4129 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4130 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4131 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4132 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4134 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4135 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4136 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4137 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4138 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4139 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4140 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4141 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4142 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4143 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4144 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4145 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4147 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4148 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4149 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4150 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4151 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4152 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4154 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4156 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4158 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4159 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4160 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4161 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4162 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4163 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4164 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4165 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4166 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4167 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4168 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4169 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4170 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4171 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4172 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4173 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4174 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4176 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4178 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4180 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4181 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4182 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4184 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4185 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4186 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4187 * sysdeps/posix/sleep.c: Likewise.
4188 * sysdeps/posix/tempname.c: Likewise.
4189 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4190 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4192 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4193 elf_machine_rela): Likewise.
4194 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4195 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4196 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4197 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4199 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4200 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4201 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4202 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4203 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4204 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4205 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4206 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4207 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4208 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4209 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4210 elf_machine_lazy_rel): Likewise.
4211 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4212 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4213 elf_machine_lazy_rel): Likewise.
4214 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4215 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4216 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4217 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4218 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4219 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4220 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4221 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4223 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4224 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4225 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4226 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4227 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4228 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4229 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4230 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4231 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4232 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4233 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4235 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4236 (__posix_fallocate64_l64): Likewise.
4237 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4238 (posix_fallocate): Likewise.
4239 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4240 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4241 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4242 getifaddrs_internal): Likewise.
4243 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4244 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4245 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4246 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4247 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4248 (__posix_fallocate64_l64): Likewise.
4249 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4251 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4252 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4254 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4255 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4256 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4257 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4258 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4259 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4260 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4261 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4263 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4264 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4265 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4266 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4267 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4268 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4269 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4271 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4272 (posix_fallocate): Likewise.
4273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4274 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4275 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4276 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4277 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4279 * time/asctime.c (asctime_internal): Likewise.
4280 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4281 * time/tzset.c (__tzset_parse_tz): Likewise.
4282 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4283 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4284 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4285 * wcsmbs/wcsmbsload.h: Likewise.
4287 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4290 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4292 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4294 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4295 arena_get2): Remove THREAD_STATS conditionals.
4296 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4297 __malloc_stats, int): Likewise.
4299 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4301 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4302 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4304 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4306 * manual/setjmp.texi: Fix typos/grammar errors.
4308 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4310 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4311 Only return early when n is <= 0. Delete unused return statement.
4313 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4315 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4316 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4317 * debug/tst-longjmp_chk3.c: New file.
4319 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4321 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4322 (test_main): Replace code with set_fortify_handler call.
4323 * debug/test-strcpy_chk.c: Likewise.
4324 * debug/tst-chk1.c: Likewise.
4325 * debug/tst-longjmp_chk.c: Likewise.
4326 * test-skeleton.c: Include fcntl.h & paths.h
4327 (set_fortify_handler): Define.
4329 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4331 * debug/tst-longjmp_chk.c: Add header comment and include
4333 (do_test): Mark static.
4334 (TEST_FUNCTION): Define.
4336 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4338 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4339 (IP_PMTUDISC_INTERFACE): Likewise.
4340 (IP_MULTICAST_IF): Likewise.
4341 (IP_MULTICAST_TTL): Likewise.
4342 (IP_MULTICAST_LOOP): Likewise.
4343 (IP_ADD_MEMBERSHIP): Likewise.
4344 (IP_DROP_MEMBERSHIP): Likewise.
4345 (IP_UNBLOCK_SOURCE): Likewise.
4346 (IP_BLOCK_SOURCE): Likewise.
4347 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4348 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4349 (IP_MSFILTER): Likewise.
4350 (MCAST_JOIN_GROUP): Likewise.
4351 (MCAST_BLOCK_SOURCE): Likewise.
4352 (MCAST_UNBLOCK_SOURCE): Likewise.
4353 (MCAST_LEAVE_GROUP): Likewise.
4354 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4355 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4356 (MCAST_MSFILTER): Likewise.
4357 (IP_MULTICAST_ALL): Likewise.
4358 (IP_UNICAST_IF): Likewise.
4360 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4362 * timezone/Makefile: Delete $(have-ksh) check.
4363 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4364 * timezone/tzselect.ksh: Add +x mode bits.
4366 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4368 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4369 (ANON_INODE_FS_MAGIC): Likewise.
4370 (BDEVFS_MAGIC): Likewise.
4371 (BINFMTFS_MAGIC): Likewise.
4372 (BTRFS_TEST_MAGIC): Likewise.
4373 (CRAMFS_MAGIC_WEND): Likewise.
4374 (DEBUGFS_MAGIC): Likewise.
4375 (ECRYPTFS_SUPER_MAGIC): Likewise.
4376 (EXT3_SUPER_MAGIC): Likewise.
4377 (EXT4_SUPER_MAGIC): Likewise.
4378 (FUTEXFS_SUPER_MAGIC): Likewise.
4379 (HOSTFS_SUPER_MAGIC): Likewise.
4380 (HUGETLBFS_MAGIC): Likewise.
4381 (MINIX3_SUPER_MAGIC): Likewise.
4382 (MTD_INODE_FS_MAGIC): Likewise.
4383 (NILFS_SUPER_MAGIC): Likewise.
4384 (OPENPROM_SUPER_MAGIC): Likewise.
4385 (PIPEFS_MAGIC): Likewise.
4386 (PSTOREFS_MAGIC): Likewise.
4387 (QNX6_SUPER_MAGIC): Likewise.
4388 (RAMFS_MAGIC): Likewise.
4389 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4390 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4391 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4392 (SECURITYFS_MAGIC): Likewise.
4393 (SELINUX_MAGIC): Likewise.
4394 (SMACK_MAGIC): Likewise.
4395 (SOCKFS_MAGIC): Likewise.
4396 (SQUASHFS_MAGIC): Likewise.
4397 (STACK_END_MAGIC): Likewise.
4398 (TMPFS_MAGIC): Likewise.
4399 (USBDEVICE_SUPER_MAGIC): Likewise.
4400 (V9FS_MAGIC): Likewise.
4401 (XENFS_SUPER_MAGIC): Likewise.
4402 (CRAMFS_MAGIC): Fix typo in comment.
4403 (EXT2_SUPER_MAGIC): Update comment.
4404 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4406 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4408 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4409 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4410 * sysdeps/unix/sysv/linux/arm: Move directory from
4411 ports/sysdeps/unix/sysv/linux/arm.
4412 * README: Update listing for arm-*-linux-gnueabi.
4414 * README: Remove mention of am33.
4416 2014-02-07 Roland McGrath <roland@hack.frob.com>
4418 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4419 than the comma operator, to avoid "rhs of comma has no effect"
4421 (__sigfillset, __sigandset, __sigorset): Likewise.
4422 * include/signal.h (__sigemptyset): Likewise.
4423 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4425 2014-02-07 Allan McRae <allan@archlinux.org>
4427 * version.h (RELEASE): Set to "development".
4428 (VERSION): Set to "2.19.90"
4429 * NEWS: Add 2.20 section.
4431 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4434 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4436 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4438 * manual/contrib.texi: Update entry for Carlos O'Donell,
4439 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4441 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4443 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4445 * sysdeps/unix/sysv/linux/kernel-features.h
4446 [__LINUX_KERNEL_VERSION >= 0x020621]
4447 (__ASSUME_PROC_PID_TASK_COMM): Define.
4449 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4452 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4453 conversion when destination buffer does not have enough space.
4454 * libio/tst-ftell-partial-wide.c: New test case.
4455 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4457 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4458 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4459 Leonard and Allan McRae.
4461 2014-02-04 David S. Miller <davem@davemloft.net>
4463 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4466 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4495 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4497 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4498 * shlib-versions: Likewise.
4500 2014-02-04 Roland McGrath <roland@hack.frob.com>
4501 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4503 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4504 (abilist-pattern): New variable, set to %-le.abilist.
4506 * Makerules (abilist-pattern): New variable.
4507 (vpath): Use $(abilist-pattern) in place of %.abilist.
4508 (check-abi-% pattern rule): Likewise.
4509 (check-abi, update-abi): Likewise.
4511 2014-02-04 Eric Wong <normalperson@yhbt.net>
4513 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4515 2014-02-04 Eric Wong <normalperson@yhbt.net>
4517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4519 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4521 * manual/startup.texi: Add next, previous, and top entries for
4522 the `Program Arguments' and `Environment Variables' nodes.
4524 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4526 * manual/macros.texi: Add comments before MTASC-safety macros.
4528 * manual/users.texi: Document MTASC-safety properties.
4530 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4531 pthread_getspecific, pthread_setspecific): Format with
4532 @deftypefun, and add @safety note.
4533 * manual/signal.texi: Move comments that analyze the above
4534 functions to their home place.
4536 2014-02-03 Allan McRae <allan@archlinux.org>
4538 * po/sl.po: Update Slovenian translation from translation project.
4540 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4542 * manual/time.texi (timegm): Add missing blank after @c.
4543 Reported by Joseph Myers <joseph@codesourcery.com>.
4545 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4547 * manual/check-safety.sh: New.
4548 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4550 * manual/terminal.texi: Document MTASC-safety properties.
4552 * manual/filesys.texi: Document MTASC-safety properties.
4554 * manual/errno.texi: Document MTASC-safety properties.
4556 * manual/intro.texi: Document safety identifiers and
4559 * manual/string.texi (wcstok): Fix prototype.
4560 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4562 * manual/time.texi: Document MTASC-safety properties.
4564 * manual/string.texi: Document MTASC-safety properties.
4566 * manual/threads.texi: Document MTASC-safety properties.
4568 * manual/stdio.texi: Document MTASC-safety properties.
4570 * manual/syslog.texi: Document MTASC-safety properties.
4572 * manual/sysinfo.texi: Document MTASC-safety properties.
4574 * manual/startup.texi: Document MTASC-safety properties.
4576 * manual/socket.texi: Document MTASC-safety properties.
4578 * manual/signal.texi: Document MTASC-safety properties.
4580 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4582 * manual/setjmp.texi: Document MTASC-safety properties.
4584 * manual/search.texi: Document MTASC-safety properties.
4586 * manual/resource.texi: Document MTASC-safety properties.
4588 * manual/process.texi: Document MTASC-safety properties.
4590 * manual/platform.texi: Document MTASC-safety properties.
4592 * manual/pipe.texi: Document MTASC-safety properties.
4594 * manual/pattern.texi: Document MTASC-safety properties.
4596 * manual/message.texi: Document MTASC-safety properties.
4599 * manual/memory.texi: Document MTASC-safety properties.
4601 * manual/math.texi: Document MTASC-safety properties.
4603 * manual/locale.texi: Document MTASC-safety properties.
4605 * manual/llio.texi: Document MTASC-safety properties.
4607 * manual/libdl.texi: New.
4609 * manual/lang.texi: Document MTASC-safety properties.
4611 * manual/job.texi: Document MTASC-safety properties.
4613 * manual/getopt.texi: Document MTASC-safety properties.
4615 * manual/ctype.texi: Document MTASC-safety properties.
4617 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4620 * csu/libc-tls.c (static_map): Remove variable.
4621 (__libc_setup_tls): Use main executable's link map for TLS data.
4622 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4623 casing for LM_ID_BASE and GL(dl_nns).
4624 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4625 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4626 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4627 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4628 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4630 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4633 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4635 * manual/debug.texi: Document MTASC-safety properties.
4637 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4640 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4641 of __x86_64__ when disabling x87 inline functions.
4643 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4645 * manual/charset.texi: Document MTASC-safety properties.
4647 * manual/crypt.texi: Document MTASC-safety properties.
4649 * manual/conf.texi: Document MTASC-safety properties.
4651 * manual/arith.texi: Document MTASC-safety properties.
4653 * manual/argp.texi: Document MTASC-safety properties.
4655 * manual/macros.texi: Introduce macros to document multi
4656 thread, asynchronous signal and asynchronous cancellation
4658 * manual/intro.texi: Introduce the properties themselves.
4660 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4662 * sysdeps/sh/sh4/Makefile: New file.
4664 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4666 * math/gen-libm-test.pl ($srcdir): New variable.
4667 ($auto_input): Use it.
4669 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4672 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4673 access beyond array bounds when parsing netgroups file.
4675 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4676 the old buffer before realloc.
4678 2014-01-27 Allan McRae <allan@archlinux.org>
4680 * po/fr.po: Update French translation from translation project.
4682 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4684 * sysdeps/sh/libm-test-ulps: Regenerate.
4686 2014-01-24 David S. Miller <davem@davemloft.net>
4688 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4690 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4692 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4693 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4695 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4698 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4699 string pointers after reallocation.
4701 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4703 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4704 __SH4A__ instead of __SH_FPU_ANY__.
4706 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4708 * sysdeps/sh/fpu_control.h: New file.
4709 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4710 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4711 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4712 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4713 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4714 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4715 * sysdeps/sh/sys/ucontext.h: Remove.
4716 * sysdeps/sh/sys: Remove directory.
4718 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4720 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4721 s390/sys/ucontext.h.
4722 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4723 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4725 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4728 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4730 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4733 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4734 Adjust the vDSO correctly for internal calls.
4735 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4737 2014-01-20 Allan McRae <allan@archlinux.org>
4739 * po/ca.po: Update Catalan translation from translation project.
4741 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4743 * sysdeps/s390/sotruss-lib.c: New file.
4745 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4748 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4749 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4750 local calls issues by not having a PLT stub required for IFUNC calls.
4751 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4753 2014-01-16 Joseph Myers <joseph@codesourcery.com>
4755 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4756 * math/test-fpucw-static.c: Likewise.
4758 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4761 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4763 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4765 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4766 implementation for powerpc.
4768 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
4771 * sysdeps/posix/system.c (__libc_system): Do not enable
4772 asynchronous cancellation.
4774 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4777 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4778 handling only for numbers special also in the IEEE case.
4780 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4782 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4784 2014-01-11 Allan McRae <allan@archlinux.org>
4786 * po/bg.po: Update Bulgarian translation from translation project.
4788 * po/de.po: Update German translation from translation project.
4790 2014-01-10 Roland McGrath <roland@hack.frob.com>
4792 * sysdeps/generic/gcc-compat.h: New file.
4794 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4796 * benchtests/asin-inputs: Correct slow inputs.
4797 * benchtests/acos-inputs: Likewise.
4799 2014-01-10 Allan McRae <allan@archlinux.org>
4801 * po:sv.po: Update Swedish translation from translation project.
4803 * po/vi.po: Update Vietnamese translation from translation project.
4805 * po/eo.po: Update Esperanto translation from translation project.
4807 * po/cs.po: Update Czech translation from translation project.
4809 * po/nl.po: Update Dutch translation from translation project.
4811 * po/pl.po: Update Polish translation from translation project.
4813 * po/ru.po: Update Russian translation from translation project.
4815 * po/uk.po: Update Ukrainian translation from translation project.
4817 2014-01-08 Brooks Moses <bmoses@google.com>
4819 * elf/dl-load.c: Fix comment typo.
4821 2014-01-08 Carlos O'Donell <carlos@redhat.com>
4823 * po/header.pot: Rename to...
4824 * po/pot.header: ... this.
4825 * po/Makefile: Use pot.header.
4827 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4828 Maxim Kuvyrkov <maxim@kugelworks.com>
4831 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4832 SRC and DEST against LEN.
4834 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4837 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4839 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4841 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4845 2014-01-08 Joseph Myers <joseph@codesourcery.com>
4848 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4849 for large positive arguments.
4851 2014-01-07 Joseph Myers <joseph@codesourcery.com>
4853 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4855 * math/auto-libm-test-in: Mark various tests with
4856 xfail-rounding:ldbl-128ibm.
4857 * math/auto-libm-test-out: Regenerated.
4860 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4861 Increase overflow threshold.
4863 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
4866 * stdio-common/vfprintf.c: Check for integer overflow.
4868 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4870 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4871 the first argument and return value of __tls_get_addr_internal.
4873 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4875 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4876 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4878 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4880 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4881 * sysdeps/s390/rtld-global-offsets.sym: New file.
4882 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4884 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4885 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4886 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4888 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4889 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4895 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4896 halfs of GPRs for high_gprs contexts.
4897 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4898 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4900 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4902 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4904 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4905 for high GPRs (uc_high_gprs) and for future extensions
4907 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4908 for future extensions (__reserved).
4909 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4911 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4912 SC_HIGHGPRS offset definition.
4913 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4914 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4916 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4918 * Versions.def: Add GLIBC_2.19 for libpthread.
4919 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4920 siglongjmp for libpthread with GLIBC_2.19 symver.
4921 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4922 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4923 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4924 * sysdeps/s390/__longjmp.c: New file.
4925 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4926 * sysdeps/s390/longjmp.c: New file.
4927 * sysdeps/s390/setjmp.S: New file.
4928 * sysdeps/s390/sigjmp.S: New file.
4929 * sysdeps/s390/v1-longjmp.c: New file.
4930 * sysdeps/s390/v1-setjmp.h: New file.
4931 * sysdeps/s390/v1-sigjmp.c: New file.
4932 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4933 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4935 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4936 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4937 versioned symbols for ____longjmp_chk.
4938 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4948 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4949 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4950 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4951 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4952 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4953 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4954 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4955 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4956 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4957 * sysdeps/s390/rtld-__longjmp.c: New file.
4958 * sysdeps/s390/rtld-setjmp.S: New file.
4960 2014-01-06 Joseph Myers <joseph@codesourcery.com>
4963 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4964 Return -__logl (x) for small positive arguments without evaluating
4967 2014-01-06 Mike Frysinger <vapier@gentoo.org>
4969 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4971 (__ptrace_peeksiginfo_args): ... this.
4972 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4973 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4974 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4976 2014-01-06 Allan McRae <allan@archlinux.org>
4978 * inet/netinet/in.h: Fix typo in comment.
4980 2014-01-05 Andreas Jaeger <aj@suse.de>
4982 * sysdeps/i386/fpu/libm-test-ulps: Update.
4984 2014-01-05 Allan McRae <allan@archlinux.org>
4986 * po/libc.pot: Regenerated.
4988 * malloc/memusagestat.c: Fix gettext call formatting.
4990 2014-01-04 Sami Kerola <kerolasa@iki.fi>
4992 * nscd/nscd.c: Improve usage() output.
4994 2014-01-04 Mike Frysinger <vapier@gentoo.org>
4996 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4997 * sysdeps/unix/sysv/linux/configure: Regenerated.
4998 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4999 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5001 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5004 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5005 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5007 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5009 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5010 extra tokens at end of #undef directive.
5011 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5012 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5013 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5015 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5017 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5019 * math/auto-libm-test-in: Mark various tests with
5020 xfail-rounding:ldbl-128ibm.
5021 * math/auto-libm-test-out: Regenerated.
5023 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5026 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5027 numbers with subnormal high part when calculating exponent.
5030 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5034 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5036 (__ieee754_acoshl): Use __log1pl not __log1p.
5038 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5040 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5041 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5042 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5043 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5044 Convert to GNU style.
5045 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5046 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5047 memalign_check, __malloc_set_state): Likewise.
5048 * malloc/mallocbug.c (main): Likewise.
5049 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5050 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5051 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5052 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5053 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5054 * malloc/malloc.h: Likewise.
5055 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5056 memalignhook, reallochook, mabort): Likewise.
5057 * malloc/mcheck.h: Likewise.
5058 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5059 mmap64, mremap, munmap, dest): Likewise.
5060 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5061 * malloc/morecore.c (__default_morecore): Likewise.
5062 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5063 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5064 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5065 print_and_abort): Likewise.
5066 * malloc/obstack.h: Likewise.
5067 * malloc/set-freeres.c (__libc_freeres): Likewise.
5068 * malloc/tst-mallocstate.c (main): Likewise.
5069 * malloc/tst-mtrace.c (main): Likewise.
5070 * malloc/tst-realloc.c (do_test): Likewise.
5072 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5075 * nscd/netgroupcache.c (do_notfound): New function.
5076 (addgetnetgrentX): Use it.
5079 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5080 NSS_STATUS_NOTFOUND.
5082 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5084 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5087 2014-01-01 Allan McRae <allan@archlinux.org>
5089 * scripts/update-copyrights: Update configure input file suffix.
5091 * NEWS: Update copyright year.
5092 * catgets/gencat.c: Likewise.
5093 * csu/version.c: Likewise.
5094 * debug/catchsegv.sh: Likewise.
5095 * debug/pcprofiledump.c: Likewise.
5096 * debug/xtrace.sh: Likewise.
5097 * elf/ldconfig.c: Likewise.
5098 * elf/ldd.bash.in: Likewise.
5099 * elf/pldd.c: Likewise.
5100 * elf/sotruss.ksh: Likewise.
5101 * elf/sprof.c: Likewise.
5102 * iconv/iconv_prog.c: Likewise.
5103 * iconv/iconvconfig.c: Likewise.
5104 * locale/programs/locale.c: Likewise.
5105 * locale/programs/localedef.c: Likewise.
5106 * login/programs/pt_chown.c: Likewise.
5107 * malloc/memusage.sh: Likewise.
5108 * malloc/memusagestat.c: Likewise.
5109 * malloc/mtrace.pl: Likewise.
5110 * manual/libc.texinfo: Likewise.
5111 * nscd/nscd.c: Likewise.
5112 * nss/getent.c: Likewise.
5113 * nss/makedb.c: Likewise.
5114 * posix/getconf.c: Likewise.
5115 * scripts/test-installation.pl: Likewise.
5117 * All files with FSF copyright notices: Update copyright dates
5118 using scripts/update-copyrights.
5119 * intl/plural.c: Regenerated.
5120 * locale/programs/charmap-kw.h: Likewise.
5121 * locale/programs/locfile-kw.h: Likewise.
5123 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5125 * sysdeps/unix/sysv/linux/configure: Regenerated.
5126 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5127 the linux/fanotify.h header.
5128 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5129 HAVE_LINUX_FANOTIFY_H is defined.
5131 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5133 * benchtests/cos-inputs: New inputs.
5134 * benchtests/sin-inputs: Likewise.
5136 * benchtests/atan-inputs: New inputs. Fix name of multiple
5137 precision fallback inputs.
5139 * benchtests/atanh-inputs: New inputs.
5140 * benchtests/tanh-inputs: Likewise.
5142 * benchtests/acosh-inputs: New inputs.
5143 * benchtests/asinh-inputs: Likewise.
5145 * benchtests/cosh-inputs: New inputs.
5146 * benchtests/sinh-inputs: Likewise.
5148 * benchtests/acos-inputs: Add more inputs.
5149 * benchtests/asin-inputs: Likewise.
5151 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5154 * manual/arith.texi: Fix spelling.
5155 * manual/charset.texi: Likewise.
5156 * manual/errno.texi: Likewise.
5157 * manual/filesys.texi: Likewise.
5158 * manual/lang.texi: Likewise.
5159 * manual/llio.texi: Likewise.
5160 * manual/locale.texi: Likewise.
5161 * manual/message.texi: Likewise.
5162 * manual/resource.texi: Likewise.
5163 * manual/search.texi: Likewise.
5164 * manual/setjmp.texi: Likewise.
5165 * manual/stdio.texi: Likewise.
5166 * manual/string.texi: Likewise.
5167 * manual/sysinfo.texi: Likewise.
5168 * manual/time.texi: Likewise.
5170 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5172 * po/sl.po: New file.
5174 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5176 * .gitignore: Add core/.gdbinit/.gdb_history.
5178 2013-12-27 Allan McRae <allan@archlinux.org>
5181 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5182 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5184 2013-12-24 Brooks Moses <bmoses@google.com>
5186 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5187 all compilers that claim C++98 compliance, not just GCC.
5188 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5191 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5193 * NEWS: Restore accidentally deleted bug-fix entries.
5195 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5196 Ondřej Bílka <neleai@seznam.cz>
5199 * malloc/malloc.c (_int_free): Perform sanity check only if we
5202 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5205 * manual/stdio.texi (String Input Conversions): Clarify that character
5206 classes are not supported.
5208 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5212 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5215 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5216 Calculate results for small negative arguments directly rather
5217 than using reflection formula with special underflow handling.
5219 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5220 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5221 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5222 (fchflags): Likewise.
5224 (setlogin): Likewise.
5225 (sigaltstack): Likewise.
5228 (sigsetmask): Likewise.
5230 (waitpid): Likewise.
5231 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5232 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5234 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5235 * sysdeps/unix/bsd/Makefile: ... here.
5236 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5237 * sysdeps/unix/bsd/Versions: ... here.
5238 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5239 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5240 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5241 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5242 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5243 * sysdeps/unix/bsd/sigblock.c: ... here.
5244 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5245 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5246 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5247 * sysdeps/unix/bsd/sigvec.c: ... here.
5248 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5249 * sysdeps/unix/bsd/tcdrain.c: ... here.
5250 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5251 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5252 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5253 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5254 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5255 * sysdeps/unix/bsd/wait.c: ... here.
5256 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5257 * sysdeps/unix/bsd/wait3.c: ... here.
5258 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5259 * sysdeps/unix/bsd/waitpid.c: ... here.
5261 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5264 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5265 round-to-nearest for [!USE_AS_EXPM1L].
5266 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5267 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5268 more tests of exp and exp10. Expect some exp10 tests to miss
5269 exceptions or fail in directed rounding modes.
5270 * math/auto-libm-test-out: Regenerated.
5271 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5272 (exp10_test_tonearest): New function.
5273 (exp10_towardzero_test_data): New array.
5274 (exp10_test_towardzero): New function.
5275 (exp10_downward_test_data): New array.
5276 (exp10_test_downward): New function.
5277 (exp10_upward_test_data): New array.
5278 (exp10_test_upward): New function.
5279 (main): Call the new functions.
5280 * sysdeps/i386/fpu/libm-test-ulps: Update.
5281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5283 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5285 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5286 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5287 * math/auto-libm-test-out: Regenerated.
5288 * math/libm-test.inc (acosh_test_data): Add more tests.
5289 (atanh_test_data): Likewise.
5290 (ceil_test_data): Likewise.
5291 (copysign_test_data): Likewise.
5292 * sysdeps/i386/fpu/libm-test-ulps: Update.
5293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5295 * timezone/checktab.awk: Update from tzcode 2013i.
5296 * timezone/private.h: Likewise.
5297 * timezone/scheck.c: Likewise.
5298 * timezone/tzfile.h: Likewise.
5299 * timezone/tzselect.ksh: Likewise.
5300 * timezone/zdump.c: Likewise.
5301 * timezone/zic.c: Likewise.
5303 * math/auto-libm-test-in: Add tests of cpow.
5304 * math/auto-libm-test-out: Regenerated.
5305 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5306 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5308 (func_calc_desc): Add mpc_cc_c union field.
5309 (test_functions): Add cpow.
5310 (special_fill_2pi): New function.
5311 (special_real_inputs): Add 2pi.
5312 (calc_generic_results): Handle mpc_cc_c.
5313 * sysdeps/i386/fpu/libm-test-ulps: Update.
5314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5316 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5317 csqrt, ctan and ctanh.
5318 * math/auto-libm-test-out: Regenerated.
5319 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5320 (TEST_COND_x86): Likewise.
5321 (ccos_test_data): Use AUTO_TESTS_c_c.
5322 (ccosh_test_data): Likewise.
5323 (cexp_test_data): Likewise.
5324 (clog_test_data): Likewise.
5325 (csqrt_test_data): Likewise.
5326 (ctan_test_data): Likewise.
5327 (ctan_tonearest_test_data): Likewise.
5328 (ctan_towardzero_test_data): Likewise.
5329 (ctan_downward_test_data): Likewise.
5330 (ctan_upward_test_data): Likewise.
5331 (ctanh_test_data): Likewise.
5332 (ctanh_tonearest_test_data): Likewise.
5333 (ctanh_towardzero_test_data): Likewise.
5334 (ctanh_downward_test_data): Likewise.
5335 (ctanh_upward_test_data): Likewise.
5336 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5338 (func_calc_desc): Add mpc_c_c union field.
5339 (FUNC_mpc_c_c): New macro.
5340 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5341 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5343 (special_fill_min_subnorm_p120): New function.
5344 (special_real_inputs): Add min_subnorm_p120.
5345 (calc_generic_results): Handle mpc_c_c.
5346 * sysdeps/i386/fpu/libm-test-ulps: Update.
5347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5349 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5351 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5352 do_sin_slow): New functions.
5353 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5354 cslow2, csloww1, csloww2): Use the new functions.
5356 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5357 Use M to change sign of result instead of X. Assume X is
5359 (csloww1): Likewise.
5363 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5368 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5370 (sloww1): Don't adjust sign of DX.
5371 (csloww1): Likewise.
5372 (sloww2): Use X directly and don't adjust sign of DX.
5373 (csloww2): Likewise.
5375 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5377 * math/auto-libm-test-in: Add tests of cabs and carg.
5378 * math/auto-libm-test-out: Regenerated.
5379 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5380 (carg_test_data): Likewise.
5381 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5383 (func_calc_desc): Add mpc_c_f union field.
5384 (test_functions): Add cabs and carg.
5385 (calc_generic_results): Handle mpc_c_f.
5387 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5388 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5389 as a macro and a compat symbol.
5390 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5391 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5392 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5393 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5394 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5395 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5397 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5399 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5401 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5403 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5405 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5407 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5408 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5411 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5415 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5417 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5418 trailing whitespace removed.
5419 * scripts/config.guess: Update to version 2013-11-29.
5420 * scripts/config.sub: Update to version 2013-10-01.
5422 * math/auto-libm-test-in: Add tests of sincos.
5423 * math/auto-libm-test-out: Regenerated.
5424 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5425 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5427 (func_calc_desc): Add mpfr_f_11 union field.
5428 (test_functions): Add sincos.
5429 (calc_generic_results): Handle mpfr_f_11.
5430 * sysdeps/i386/fpu/libm-test-ulps: Update.
5431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5433 2013-12-19 Andreas Schwab <schwab@suse.de>
5435 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5437 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5438 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5439 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5441 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5443 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5444 * sysdeps/i386/fpu/libm-test-ulps: Update.
5445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5448 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5449 round-to-nearest mode when using frndint.
5450 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5451 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5452 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5454 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5456 * math/auto-libm-test-out: Regenerated.
5457 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5458 (TEST_COND_x86): Likewise.
5459 (expm1_tonearest_test_data): New array.
5460 (expm1_test_tonearest): New function.
5461 (expm1_towardzero_test_data): New array.
5462 (expm1_test_towardzero): New function.
5463 (expm1_downward_test_data): New array.
5464 (expm1_test_downward): New function.
5465 (expm1_upward_test_data): New array.
5466 (expm1_test_upward): New function.
5467 (main): Run the new test functions.
5468 * sysdeps/i386/fpu/libm-test-ulps: Update.
5469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5471 * include/features.h: Update comment documenting feature test
5472 macros. Mention _DEFAULT_SOURCE in comment.
5473 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5474 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5475 _BSD_SOURCE and _SVID_SOURCE.
5476 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5477 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5478 !_SVID_SOURCE]: Likewise.
5479 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5480 (__USE_POSIX_IMPLICITLY): Define.
5481 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5482 (_POSIX_SOURCE): Undefine and redefine.
5483 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5484 (_POSIX_C_SOURCE): Likewise.
5485 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5486 (Feature Test Macros): Update documentation of default features.
5488 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5490 * benchtests/Makefile: Add bench-strtok.
5491 * benchtests/bench-strtok.c: New file: strtok benchtest.
5493 2013-12-19 Allan McRae <allan@archlinux.org>
5495 * manual/install.texi: Suppress menu for plain text output.
5496 * INSTALL: Regenerated.
5498 2013-12-18 Brooks Moses <bmoses@google.com>
5501 * misc/getauxval.c: Include errno.h.
5502 (__getauxval): Set errno to ENOENT if the requested type is not
5504 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5505 don't declare with __attribute_const__.
5506 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5507 * manual/startup.texi: Document that getauxval sets errno.
5509 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5511 * math/auto-libm-test-in: Add tests of jn and yn.
5512 * math/auto-libm-test-out: Regenerated.
5513 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5514 (yn_test_data): Likewise.
5515 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5517 (func_calc_desc): Add mpfr_if_f union field.
5518 (FUNC_mpfr_if_f): New macro.
5519 (test_functions): Add jn and yn.
5520 (calc_generic_results): Assert type of second input for
5521 mpfr_ff_f. Handle mpfr_if_f.
5522 (output_for_one_input_case): Disable all checking for arguments
5523 fitting floating-point types in case of an integer argument.
5524 * sysdeps/i386/fpu/libm-test-ulps: Update.
5525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5528 Don't expect fegetround reference in libm.so.
5530 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5532 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5533 $(config-cflags-nofma).
5535 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5537 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5538 * math/auto-libm-test-out: Regenerated.
5541 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5542 to determine exponent and adjust argument to have exponent of -1.
5543 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5545 * math/auto-libm-test-out: Regenerated.
5546 * sysdeps/i386/fpu/libm-test-ulps: Update.
5547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5549 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5551 * manual/probes.texi: Remove cases when per-thread arenas are
5554 2013-12-18 Andreas Schwab <schwab@suse.de>
5556 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5557 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5558 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5559 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5560 * sysdeps/i386/i686/multiarch/Makefile: Update.
5561 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5563 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5565 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5566 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5568 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5571 Support TZ transition times < 00:00:00.
5572 This is needed for version-3 tz-format files; it supports time
5573 stamps past 2037 for America/Godthab (the only entry in the tz
5574 database for which this change is relevant).
5575 * manual/time.texi (TZ Variable): Document transition times
5576 from -167:59:59 through -00:00:01.
5577 * time/tzset.c (tz_rule): Time of day is now signed.
5578 (__tzset_parse_tz): Parse negative time of day.
5580 Document TZ transition times >= 25:00:00.
5581 * manual/time.texi (TZ Variable): Document transition times from
5582 25:00:00 through 167:59:59. These are already supported, and this
5583 support will help with version-3 tz-format files.
5585 * manual/time.texi (TZ Variable): Modernize North America example
5586 to reflect current (i.e., 2007-and-later) daylight saving rules.
5588 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5590 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5592 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5593 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5594 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5595 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5596 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5597 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5598 * sysdeps/unix/bsd/clock.c: Likewise.
5599 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5600 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5601 * sysdeps/unix/bsd/init-posix.c: Likewise.
5602 * sysdeps/unix/bsd/poll.c: Likewise.
5603 * sysdeps/unix/bsd/ptsname.c: Likewise.
5604 * sysdeps/unix/bsd/seekdir.c: Likewise.
5605 * sysdeps/unix/bsd/setegid.c: Likewise.
5606 * sysdeps/unix/bsd/seteuid.c: Likewise.
5607 * sysdeps/unix/bsd/setgid.c: Likewise.
5608 * sysdeps/unix/bsd/setrgid.c: Likewise.
5609 * sysdeps/unix/bsd/setruid.c: Likewise.
5610 * sysdeps/unix/bsd/setsid.c: Likewise.
5611 * sysdeps/unix/bsd/setuid.c: Likewise.
5612 * sysdeps/unix/bsd/sigaction.c: Likewise.
5613 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5614 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5615 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5616 * sysdeps/unix/bsd/telldir.c: Likewise.
5617 * sysdeps/unix/bsd/times.c: Likewise.
5618 * sysdeps/unix/bsd/usleep.c: Likewise.
5620 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5621 ($(objpfx)libbsd-compat.a): Remove rule.
5623 * include/features.h (__FAVOR_BSD): Do not define.
5624 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5625 features conflicting with POSIX.
5626 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5627 (_BSD_SOURCE): Remove description of not being a subset of other
5628 feature test macros.
5629 * manual/job.texi (getpgrp): Do not document BSD version.
5630 (getpgid): Do not document by reference to BSD getpgrp.
5631 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5632 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5633 * signal/signal.h [__FAVOR_BSD]: Likewise.
5634 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5635 instead of making contents conditional on [__FAVOR_BSD].
5636 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5638 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5642 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5645 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5646 values below 2**-450, not 2**-500.
5647 * math/auto-libm-test-in: Don't allow spurious underflow from
5649 * math/auto-libm-test-out: Regenerated.
5653 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5654 values of ha and hb and sort them after adjusting subnormal
5656 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5658 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5659 values of ea and eb and sort them after adjusting subnormal
5661 * math/auto-libm-test-in: Do not expect some hypot tests of
5662 subnormals to fail. Add more hypot tests.
5663 * math/auto-libm-test-out: Regenerated.
5665 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5668 * sysdeps/sh/s_fma.c: New file.
5669 * sysdeps/sh/s_fmaf.c: New file.
5670 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5672 * sysdeps/sh/Implies: Add sh/soft-fp.
5674 2013-12-16 Roland McGrath <roland@hack.frob.com>
5676 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5677 level of indirection to members `objname', `errstring', `malloced'.
5678 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5679 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5680 it as the __longjmp argument (just pass 1 instead).
5681 (_dl_catch_error): Initialize C with argument pointers and address of
5682 volatile local ERRCODE rather than copying values out of C at return.
5684 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5686 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5687 * math/auto-libm-test-out: Regenerated.
5688 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5689 (hypot_test_data): Likewise.
5690 (pow_test_data): Likewise.
5691 (pow_tonearest_test_data): Likewise.
5692 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5694 (func_calc_desc): Add mpfr_ff_f union field.
5695 (FUNC_mpfr_ff_f): New macro.
5696 (test_functions): Add atan2, hypot and pow.
5697 (special_fill_min): New function.
5698 (special_fill_minus_min): Likewise.
5699 (special_fill_min_subnorm): Likewise.
5700 (special_fill_minus_min_subnorm): Likewise.
5701 (special_real_inputs): Add min, -min, min_subnorm and
5703 (calc_generic_results): Handle mpfr_ff_f.
5704 * sysdeps/i386/fpu/libm-test-ulps: Update.
5705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5707 2013-12-16 Will Newton <will.newton@linaro.org>
5709 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5710 (Aligned Memory Blocks): Add documentation for aligned_alloc
5711 and suggest it as an alternative to posix_memalign.
5712 (Hooks for Malloc): Document __memalign_hook is also called
5713 for aligned_alloc. (Summary of Malloc): Add summary for
5714 aligned alloc. Document __memalign_hook is also called
5717 2013-12-16 Will Newton <will.newton@linaro.org>
5719 * manual/memory.texi (Malloc Examples): Clarify default
5720 alignment documentation. Suggest posix_memalign rather
5721 than memalign or valloc.
5722 (Aligned Memory Blocks): Remove suggestion to use memalign
5723 or valloc. Remove obsolete comment about BSD.
5724 Document memalign errno values and mark the function obsolete.
5725 Document posix_memalign returned error codes. Mark valloc
5726 as obsolete. (Hooks for Malloc): __memalign_hook is also
5727 called for posix_memalign and valloc.
5728 (Summary of Malloc): Add posix_memalign to function summary.
5729 __memalign_hook is also called for posix_memalign and valloc.
5731 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5733 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5737 (sloww): Use mynumber union. Expand ternary operator into
5739 (cslow): use mynumber union.
5741 2013-12-16 Allan McRae <allan@archlinux.org>
5743 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5744 * configure: Regenerated.
5746 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5749 * configure.ac: Added --enable-maintainer-mode. Check for
5750 autoconf when enabled.
5751 * configure: Regenerated.
5753 * nscd/nscd.service: New file.
5754 * nscd/nscd.tmpfiles: New file.
5756 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
5759 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5760 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5761 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5762 (strstr): Add __strstr_sse2_unaligned ifunc.
5763 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5764 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5765 (strcasestr): Remove __strcasestr_sse42 ifunc.
5766 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5767 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5770 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5772 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5773 * sysdeps/sh/bits/fenv.h: ... here.
5774 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5776 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5778 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5780 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5782 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5783 hypotf multiarch implementations.
5784 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5785 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5786 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5787 multiarch hypot for PPC64.
5788 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5789 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5790 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5791 multiarch hypotf for PPC64.
5793 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5796 modff multiarch implementations.
5797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5800 multiarch modf for PPC64.
5801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5804 multiarch modff for PPC64.
5806 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5809 and logl multiarch implementations.
5810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5813 multiarch logb for PPC64.
5814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5817 multiarch logb for PPC64.
5818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5821 multiarch logb for PPC64.
5823 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5825 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5826 isinff multiarch implementation.
5827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5831 multiarch isinf for PPC64.
5832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5835 multiarch isinff for PPC64.
5837 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5840 finitef multiarch implementation.
5841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5845 multiarch finite for PPC64.
5846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5849 multiarch finitef for PPC64.
5851 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5854 lrint multiarch implementation.
5855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5859 multiarch llrint for PPC64.
5860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5861 multiarch lrint for PPC64.
5863 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5865 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5866 copysignf multiarch implementation.
5867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5872 multiarch copysign for PPC64.
5873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5874 multiarch copysignf for PPC64.
5876 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5879 multiarch implementation.
5880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5888 multiarch llround for PPC64.
5889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5890 multiarch trunc for PPC64.
5891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5892 multiarch truncf for PPC64.
5894 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5896 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5897 multiarch implementation.
5898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5906 multiarch llround for PPC64.
5907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5908 multiarch round for PPC64.
5909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5910 multiarch roundf for PPC64.
5912 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5914 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5915 multiarch implementation.
5916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5924 multiarch llround for PPC64.
5925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5926 multiarch floor for PPC64.
5927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5928 multiarch floorf for PPC64.
5930 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5933 multiarch implementation.
5934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5942 multiarch llround for PPC64.
5943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5944 multiarch ceil for PPC64.
5945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5946 multiarch ceilf for PPC64.
5948 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5950 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5951 multiarch implementation.
5952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5959 multiarch llround for PPC64.
5960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5961 multiarch lround for PPC64.
5963 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5965 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5966 multiarch implementation.
5967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5974 multiarch isnan for PPC64.
5975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5976 multiarch isnanf for PPC64.
5978 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5980 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5981 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5982 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5983 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5984 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5987 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5989 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5990 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5991 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5992 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5994 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5997 multiarch implementations.
5998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5999 (__libc_ifunc_impl_list): Likewise.
6000 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6001 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6002 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6003 multiarch stpcpy for PPC64.
6005 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6008 multiarch implementations.
6009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6010 (__libc_ifunc_impl_list): Likewise.
6011 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6012 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6013 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6014 multiarch strcpy for PPC64.
6016 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6018 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6019 redefine function name.
6020 (_wordcopy_fwd_dest_aligned): Likewise.
6021 (_wordcopy_bwd_aligned): Likewise.
6022 (_wordcopy_bwd_dest_aligned): Likewise.
6023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6024 multiarch implementations.
6025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6026 (__libc_ifunc_impl_list): Likewise.
6027 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6028 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6029 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6030 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6031 multiarch wcscpy for PPC64.
6033 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6035 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6036 multiarch implementations.
6037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6038 (__libc_ifunc_impl_list): Likewise.
6039 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6040 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6041 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6042 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6043 multiarch wcscpy for PPC64.
6045 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6048 multiarch implementations.
6049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6050 (__libc_ifunc_impl_list): Likewise.
6051 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6052 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6053 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6054 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6055 multiarch wcsrchr for PPC64.
6057 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6060 multiarch implementations.
6061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6062 (__libc_ifunc_impl_list): Likewise.
6063 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6064 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6065 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6066 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6067 multiarch wcschr for PPC64.
6069 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6071 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6072 multiarch implementations.
6073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6074 (__libc_ifunc_impl_list): Likewise.
6075 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6076 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6077 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6078 multiarch strchrnul for PPC64.
6080 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6082 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6085 (__libc_ifunc_impl_list): Likewise.
6086 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6087 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6088 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6089 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6092 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6097 (__libc_ifunc_impl_list): Likewise.
6098 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6099 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6100 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6101 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6104 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6107 multiarch implementations.
6108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6109 (__libc_ifunc_impl_list): Likewise.
6110 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6111 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6112 strncasecmp for PPC64.
6113 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6114 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6115 multiarch strncasecmp_l for PPC64.
6117 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6119 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6120 multiarch implementations.
6121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6122 (__libc_ifunc_impl_list): Likewise.
6123 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6124 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6125 multiarch strcasecmp for PPC64.
6126 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6128 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6129 multiarch strcasecmp_l for PPC64.
6131 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6136 (__libc_ifunc_impl_list): Likewise.
6137 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6138 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6139 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6142 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6144 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6147 (__libc_ifunc_impl_list): Likewise.
6148 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6149 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6150 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6153 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6158 (__libc_ifunc_impl_list): Likewise.
6159 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6160 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6161 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6162 rawmemrchr for PPC64.
6164 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6169 (__libc_ifunc_impl_list): Likewise.
6170 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6171 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6172 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6175 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6180 (__libc_ifunc_impl_list): Likewise.
6181 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6182 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6183 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6186 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6191 (__libc_ifunc_impl_list): Likewise.
6192 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6193 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6194 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6197 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6199 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6200 avoid cretion of __bzero symbol.
6201 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6203 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6205 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6207 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6208 multiarch implementations.
6209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6210 (__libc_ifunc_impl_list): Likewise.
6211 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6212 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6213 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6214 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6216 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6217 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6218 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6219 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6220 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6222 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6224 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6226 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6230 (__libc_ifunc_impl_list): Likewise.
6231 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6232 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6233 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6234 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6237 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6239 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6240 multiarch for POWER/PPC64.
6241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6242 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6243 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6244 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6245 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6246 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6247 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6248 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6249 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6252 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6254 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6255 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6256 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6257 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6258 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6259 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6260 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6261 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6262 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6263 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6264 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6265 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6266 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6267 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6268 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6277 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6279 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6281 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6283 * benchtests/Makefile (bench): Add exp2 and log2.
6284 (LDLIBS-bench-exp2): Add -lm.
6285 (LDLIBS-bench-log2): Likewise.
6286 * benchtests/exp2-inputs: New inputs file.
6287 * benchtests/log2-inputs: New inputs file.
6288 * benchtests/log-inputs: Add new inputs.
6289 * benchtests/tan-inputs: Likewise.
6291 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6293 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6295 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6296 csloww1, csloww2): ... from here.
6298 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6299 instead of structures.
6300 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6301 (POLYNOMIAL): Likewise.
6302 (TAYLOR_SLOW): Likewise.
6310 (bsloww1): Likewise.
6311 (bsloww2): Likewise.
6314 (csloww1): Likewise.
6315 (csloww2): Likewise.
6317 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6319 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6320 (__malloc_assert, __libc_realloc, __libc_calloc,
6321 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6323 * malloc/hooks.c (realloc_check): Likewise.
6325 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6327 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6328 * malloc/arena.c: Remove PER_THREAD conditional.
6329 [!PER_THREAD]: Remove code.
6330 (ptmalloc_unlock_all2): Likewise.
6331 (ptmalloc_init): Likewise.
6332 (_int_new_arena): Likewise.
6333 (arena_get2): Likewise.
6334 * malloc/hooks.c (__malloc_get_state): Likewise.
6335 (__malloc_set_state): Likewise.
6336 * malloc/malloc.c: Likewise.
6337 (struct malloc_state): Likewise.
6338 (struct malloc_par): Likewise.
6339 (__libc_realloc): Likewise.
6340 (__libc_mallopt): Likewise.
6342 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6344 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6346 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6348 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6349 macro to a function. Check for zero perturb_byte.
6350 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6352 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6354 * malloc/malloc.c: (force_reg): Remove.
6355 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6356 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6357 force_reg by atomic_forced_read.
6358 * malloc/arena.c (ptmalloc_init): Likewise.
6359 * malloc/hooks.c (top_check): Likewise.
6361 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6365 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6369 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6371 * math/auto-libm-test-in: Add tests of lgamma.
6372 * math/auto-libm-test-out: Regenerated.
6373 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6374 (M_LOG_2_SQRT_PIl): Likewise.
6375 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6376 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6378 (func_calc_desc): Add mpfr_f_f1 union field.
6387 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6388 (test_functions): Add lgamma.
6389 (calc_generic_results): Handle mpfr_f_f1.
6390 * sysdeps/i386/fpu/libm-test-ulps: Update.
6391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6393 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6395 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6396 __mpn_add_n for PowerPC64/POWER7.
6397 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6398 __mpn_sub_n for PowerPC64/POWER7.
6400 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6402 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6403 __mpn_addmul_1 for PowerPC64.
6404 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6405 __mpn_submul_1 for PowerPC64.
6406 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6408 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6411 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6414 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6416 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6418 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6420 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6422 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6423 add multiarch folders.
6424 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6425 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6426 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6427 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6428 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6429 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6430 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6431 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6432 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6433 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6434 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6442 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6445 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6451 multiarch __ieee754_hypot for PowerPC32.
6452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6457 multiarch __ieee754_hypotf for PowerPC32.
6459 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6461 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6462 long_double_symbol only if __logbl is defined.
6463 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6464 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6466 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6468 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6469 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6470 path for implementation.
6471 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6472 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6474 logb, and logbl multiarch implementations for PowerPC32.
6475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6480 multiarch logb for PowerPC32.
6481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6486 multiarch logbf for PowerPC32.
6487 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6491 multiarch logbl implementation for PowerPC32.
6493 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6496 and modff multiarch implementations.
6497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6502 multiarch modf for PowerPC32.
6503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6508 multiarch modff for PowerPC32.
6510 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6513 and lrintf multiarch implementations.
6514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6519 multiarch lrint for PowerPC32.
6520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6521 file: multiarch lrintf for PowerPC32.
6523 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6526 and lroundf multiarch implementations.
6527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6534 multiarch lround for PowerPC32.
6535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6536 file: multiarch lroundf for PowerPC32.
6538 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6541 copysign and copysignf multiarch implementations.
6542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6547 file: multiarch copysign for PowerPC32.
6548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6549 file: multiarch copysignf for PowerPC32.
6551 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6554 and truncf multiarch implementations.
6555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6560 multiarch trunc for PowerPC32.
6561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6566 multiarch truncf for PowerPC32.
6568 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6571 and roundf multiarch implementations.
6572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6577 multiarch round for PowerPC32.
6578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6583 multiarch roundf for PowerPC32.
6585 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6588 and floorf multiarch implementations.
6589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6594 multiarch floor for PowerPC32.
6595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6600 multiarch floorf for PowerPC32.
6602 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6605 and ceilf multiarch implementations.
6606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6611 multiarch ceil for PowerPC32.
6612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6617 multiarch ceilf for PowerPC32.
6619 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6621 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6623 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6626 and finitef multiarch implementations.
6627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6632 multiarch finite for PowerPC32.
6633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6636 file: multiarch finitef for PowerPC32.
6638 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6641 and isinff multiarch implementations.
6642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6647 multiarch isinf for PowerPC32.
6648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6651 multiarch isinff for PowerPC32.
6653 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6655 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6656 alias when __isnan is defined.
6657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6658 and isnanf multiarch implementations.
6659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6668 multiarch isnan for PowerPC32.
6669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6674 multiarch isnanf for PowerPC32.
6676 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6679 and sqrtf multiarch implementations.
6680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6685 multiarch sqrt for PowerPC32.
6686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6691 multiarch sqrtf for PowerPC32.
6693 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6696 and llroundf multiarch implementations.
6697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6704 file: multiarch llround for PowerPC32.
6705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6706 file: multiarch llroundf for PowerPC32.
6708 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6711 multiarch PowerPC32 fpu implementations.
6712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6717 multiarch llrint for PowerPC32.
6718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6725 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6729 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6731 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6733 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6735 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6737 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6738 multiarch wordcopy for PPC32.
6739 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6741 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6742 (__libc_ifunc_impl_list): Likewise.
6743 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6744 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6745 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6746 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6747 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6748 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6750 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6752 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6755 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6757 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6759 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6760 multiarch wcscpy for PPC32.
6761 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6763 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6764 (__libc_ifunc_impl_list): Likewise.
6765 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6766 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6767 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6768 sysdeps/powerpc/power6/wcscpy.c.
6770 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6772 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6773 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6775 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6777 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6779 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6780 multiarch wcsrchr for PPC32.
6781 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6783 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6784 (__libc_ifunc_impl_list): Likewise.
6785 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6786 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6787 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6788 sysdeps/powerpc/power6/wcsrchr.c.
6790 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6792 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6794 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6796 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6797 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6798 multiarch wcschr for PPc32.
6799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6802 (__libc_ifunc_impl_list): Likewise.
6803 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6804 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6805 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6806 sysdeps/powerpc/power6/wcschr.c.
6808 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6810 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6811 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6813 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6814 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6815 file: multiarch strchr for PPC32.
6816 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6818 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6819 (__libc_ifunc_impl_list): Likewise.
6821 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6823 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6825 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6827 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6829 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6830 multiarch strchrnul for PPC32.
6831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6834 (__libc_ifunc_impl_list): Likewise.
6836 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6838 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6840 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6841 multiarch strncasecmp for PPC32.
6842 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6844 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6845 multiarch strncasecmp_l for PPC32.
6846 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6847 strncasecmp multiarch objects.
6848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6849 (__libc_ifunc_impl_list): Likewise.
6851 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6853 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6855 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6856 multiarch strncasecmp for PPC32.
6857 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6859 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6860 multiarch strcasecmp_l for PPC32.
6861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6864 (__libc_ifunc_impl_list): Likewise.
6866 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6868 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6870 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6872 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6873 multiarch strncmp for PPC32.
6874 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6876 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6877 (__libc_ifunc_impl_list): Likewise.
6879 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6881 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6882 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6884 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6885 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6889 (__libc_ifunc_impl_list): Likewise.
6891 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6893 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6895 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6897 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6901 (__libc_ifunc_impl_list): Likewise.
6903 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6905 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6907 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6909 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6910 multiarch rawmemchr for PPC32.
6911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6914 (__libc_ifunc_impl_list): Likewise.
6916 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6918 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6920 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6922 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6923 file: memrchr multiarch for PPC32.
6924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6927 (__libc_ifunc_impl_list): Likewise.
6929 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6931 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6932 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6934 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6935 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6936 multiarch memchr for PPC32.
6937 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6939 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6940 (__libc_ifunc_impl_list): Likewise.
6942 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6944 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6945 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6947 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6949 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6950 file: multiarch mempcpy for PPC32.
6951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6954 (__libc_ifunc_impl_list): Likewise.
6956 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6958 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6960 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6961 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6962 multiarch bzero for PPC32.
6963 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6965 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6967 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6968 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6969 file: multiarch memset for PPC32.
6970 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6971 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6972 memset multiarch objects.
6973 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6974 (__libc_ifunc_impl_list): Likewise.
6976 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6978 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6980 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6981 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6983 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6987 (__libc_ifunc_impl_list): Likewise.
6989 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6991 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6992 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6993 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6995 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6997 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6999 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7000 multiarch memcpy for PPC32.
7001 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7003 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7004 (__libc_ifunc_impl_list): Likewise.
7006 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7008 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7009 support multiarch for POWER/PPC32.
7010 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7012 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7014 Implies file to make multiarch folder appers before the fpu and
7015 default folder for power4 configuration.
7017 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7019 * scripts/bench.pl: Append volatile keyword to type.
7021 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7023 * sysdeps/sh/sotruss-lib.c: New file.
7024 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7026 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7030 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7033 * math/w_tgamma.c: Include <errno.h>.
7034 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7035 * math/w_tgammaf.c: Include <errno.h>.
7036 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7037 * math/w_tgammal.c: Include <errno.h>.
7038 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7039 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7040 underflow. Add more tgamma tests.
7041 * math/auto-libm-test-out: Regenerated.
7042 * sysdeps/i386/fpu/libm-test-ulps: Update.
7043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7045 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7046 sin, sinh, tan, tanh, tgamma, y0 and y1.
7047 * math/auto-libm-test-out: Regenerated.
7048 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7049 (TEST_COND_x86): Likewise.
7050 (M_E2l): Remove macro.
7052 (M_2_SQRT_PIl): Likewise.
7053 (M_SQRT_PIl): Likewise.
7054 (M_1_DIV_El): Likewise.
7055 (log_test_data): Use AUTO_TESTS_f_f.
7056 (log10_test_data): Likewise.
7057 (log1p_test_data): Likewise.
7058 (log2_test_data): Likewise.
7059 (sin_test_data): Likewise.
7060 (sin_tonearest_test_data): Likewise.
7061 (sin_towardzero_test_data): Likewise.
7062 (sin_downward_test_data): Likewise.
7063 (sin_upward_test_data): Likewise.
7064 (sinh_test_data): Likewise.
7065 (sinh_tonearest_test_data): Likewise.
7066 (sinh_towardzero_test_data): Likewise.
7067 (sinh_downward_test_data): Likewise.
7068 (sinh_upward_test_data): Likewise.
7069 (tan_test_data): Likewise.
7070 (tan_tonearest_test_data): Likewise.
7071 (tan_towardzero_test_data): Likewise.
7072 (tan_downward_test_data): Likewise.
7073 (tan_upward_test_data): Likewise.
7074 (tanh_test_data): Likewise.
7075 (tgamma_test_data): Likewise.
7076 (y0_test_data): Likewise.
7077 (y1_test_data): Likewise.
7078 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7079 (special_real_inputs): Add pi/4.
7080 * sysdeps/i386/fpu/libm-test-ulps: Update.
7081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7083 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7085 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7086 "longjmp_target" static probes.
7087 (__longjmp): Rename to __longjmp_symbol.
7088 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7089 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7090 on which longjmp to generate.
7091 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7092 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7094 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7095 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7096 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7097 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7098 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7099 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7101 __longjmp_symbol based on which __longjmp to generate.
7102 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7104 (setjmp): Rename to setjmp_symbol.
7105 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7106 (_setjmp): Rename to _setjmp_symbol.
7107 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7108 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7109 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7110 which setjmp to generate.
7111 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7112 "longjmp_target" static probes.
7114 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7116 * benchtests/README: Add note about output arguments.
7117 * benchtests/bench-sincos.c: Remove file.
7118 * benchtests/sincos-inputs: New file.
7119 * scripts/bench.pl: Identify output arguments and define
7120 static variables for them.
7122 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7125 * Makefile (INSTALL): Add install-plain.texi as the primary
7127 * manual/install-plain.texi: New file.
7128 * manual/install.texi: Include node directive only for
7129 non-plaintext output.
7131 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7133 * stdlib/longlong.h: Update from GCC.
7137 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7138 * math/w_j0f.c (y0f): Likewise.
7139 * math/w_j0l.c (__y0l): Likewise.
7140 * math/w_j1.c (y1): Likewise.
7141 * math/w_j1f.c (y1f): Likewise.
7142 * math/w_j1l.c (__y1l): Likewise
7143 * math/w_jn.c (yn): Likewise.
7144 * math/w_jnf.c (ynf): Likewise.
7145 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7146 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7147 value for Bessel function domain errors outside _SVID_ mode.
7148 Adjust sign of return value for yn (negative integer, 0).
7149 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7150 by zero in return for negative x and set sign appropriately for
7152 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7153 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7154 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7155 expectations in error cases.
7156 (y1_test_data): Likewise.
7157 (yn_test_data): Likewise.
7158 * sysdeps/i386/fpu/libm-test-ulps: Update.
7159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7161 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7163 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7164 "64" to "64-v1". Add "64-v2".
7165 (abi-64-options): Rename to ...
7166 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7167 (abi-64-condition): Rename to ...
7168 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7169 (abi-64-ld-soname): Rename to ...
7170 (abi-64-v1-ld-soname): ... this.
7171 (abi-64-v2-options): Define.
7172 (abi-64-v2-condition): Likewise.
7173 (abi-64-v2-ld-soname): Likewise.
7174 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7175 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7180 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7181 Alan Modra <amodra@gmail.com>
7183 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7184 New versions for use with the ELFv2 ABI.
7185 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7186 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7188 (struct La_ppc64v2_retval): Likewise.
7189 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7190 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7191 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7192 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7193 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7194 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7195 Do not save or restore CR.
7196 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7197 (_dl_profile_resolve): Do no save or restore CR. Support extended
7198 return values for ELFv2 ABI. Fix location of FPR return registers.
7199 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7200 updated values for _CALL_ELF == 2.
7201 (La_regs, La_retval, int_retval): Likewise.
7203 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7205 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7206 (FRAME_MIN_SIZE_PARM): Likewise.
7207 (FRAME_BACKCHAIN): Likewise.
7208 (FRAME_CR_SAVE): Likewise.
7209 (FRAME_LR_SAVE): Likewise.
7210 (FRAME_TOC_SAVE): Likewise.
7211 (FRAME_PARM_SAVE): Likewise.
7212 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7213 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7214 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7215 (call_mcount_parm_offset): New macro.
7216 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7217 (PROF): Use symbolic stack frame offsets.
7218 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7219 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7220 Redefine in terms of FRAME_MIN_SIZE.
7221 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7222 (_dl_profile_resolve): Likewise. Update comment.
7223 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7224 symbols stack frame offsets.
7225 (__sigsetjmp): Likewise.
7226 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7227 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7228 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7229 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7232 (FRAME_BACKCHAIN): Remove.
7233 (FRAME_CR_SAVE): Likewise.
7234 (FRAME_LR_SAVE): Likewise.
7235 (FRAME_COMPILER_DW): Likewise.
7236 (FRAME_LINKER_DW): Likewise.
7237 (FRAME_TOC_SAVE): Likewise.
7238 (FRAME_PARM_SAVE): Likewise.
7239 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7240 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7241 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7243 (CHECK_SP): Use symbolic stack frame offsets.
7244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7245 zone" instead of caller's parameter save area for temp storage.
7246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7247 Likewise. Also, use symbolic stack frame offsets.
7248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7249 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7250 our own stack frame instead of the caller's.
7251 (__socket): Use symbolic stack frame offsets.
7253 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7254 Alan Modra <amodra@gmail.com>
7256 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7258 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7259 PPC64_LOCAL_ENTRY_OFFSET): Define.
7260 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7262 (elf_machine_fixup_plt): Call it.
7263 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7265 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7266 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7267 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7268 r2 before calling target.
7270 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7271 Alan Modra <amodra@gmail.com>
7273 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7274 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7275 versions of macros to support ELFv2 ABI.
7276 (LOCALENTRY): New macro.
7277 (ENTRY, EALIGN): Use it.
7278 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7279 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7280 fall through into ENTRY entry point.
7281 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7282 Only define if _CALL_ELF != 2.
7284 (elf_machine_matches_host): Verify ABI version matches.
7285 (RTLD_START): Use LOCALENTRY.
7286 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7287 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7288 (PLT_ENTRY_WORDS): New macro.
7289 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7290 (elf_machine_runtime_setup): Support ELFv2 ABI.
7291 (elf_machine_fixup_plt): Likewise.
7292 (elf_machine_plt_conflict): Likewise.
7293 (resolve_ifunc): Likewise.
7294 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7295 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7298 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7300 (makecontext): Support ELFv2 ABI.
7301 * elf/elf.h (EF_PPC64_ABI): Define.
7303 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7305 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7306 New assembler macro.
7307 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7308 [ASSEMBLER] (ENTRY): ... but instead here ...
7309 [ASSEMBLER] (EALIGN): ... and here.
7310 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7311 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7312 [!ASSEMBLER] (ENTRY_2): Use it.
7313 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7314 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7315 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7316 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7317 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7319 Use PPC64_LOAD_FUNCPTR.
7321 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7323 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7325 2013-12-04 Alan Modra <amodra@gmail.com>
7327 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7328 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7329 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7330 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7332 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7333 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7334 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7335 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7336 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7337 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7339 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7342 (__makecontext): Fix incorrect CFI when backtracing out of
7343 context created via makecontext.
7344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7345 (__setcontext): Fix incorrect CFI during switch to new context.
7346 (__novec_setcontext): Likewise.
7348 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7351 * time/strptime_l.c (__strptime_internal): Allow modifiers
7353 * time/tst-strptime.c (day_tests): Add testcase.
7356 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7358 * scripts/bench.pl: Skip over blank lines.
7360 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7363 * manual/time.texi (Calendar Time): Clarify what timezone functions
7366 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7370 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7372 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7374 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7375 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7376 * debug/memset_chk.c (__memset_chk): Likewise.
7377 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7378 * debug/strncpy_chk.c: Likewise.
7380 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7384 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7385 (__ieee754_exp): For possibly underflowing results, check size of
7386 result and force underflow exception if required.
7387 * math/auto-libm-test-in: Add more tests of exp.
7388 * math/auto-libm-test-out: Regenerated.
7389 * sysdeps/i386/fpu/libm-test-ulps: Update.
7390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7393 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7394 * math/w_exp2f.c (__exp2f): Likewise.
7395 * math/w_exp2l.c (__exp2l): Likewise.
7396 * math/auto-libm-test-in: Do not allow missing errno on exp2
7398 * math/auto-libm-test-out: Regenerated.
7400 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7403 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7404 handle filename validation.
7405 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7408 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7411 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7412 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7413 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7415 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7416 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7417 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7418 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7419 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7420 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7421 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7422 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7423 Add more erfc tests.
7424 * math/auto-libm-test-out: Regenerated.
7425 * sysdeps/i386/fpu/libm-test-ulps: Update.
7426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7428 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7429 exp2, expm1, j0 and j1.
7430 * math/auto-libm-test-out: Regenerated.
7431 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7432 (erfc_test_data): Likewise.
7433 (exp_test_data): Likewise.
7434 (exp_tonearest_test_data): Likewise.
7435 (exp_towardzero_test_data): Likewise.
7436 (exp_downward_test_data): Likewise.
7437 (exp_upward_test_data): Likewise.
7438 (exp10_test_data): Likewise.
7439 (exp2_test_data): Likewise.
7440 (expm1_test_data): Likewise.
7441 (j0_test_data): Likewise.
7442 (j1_test_data): Likewise.
7443 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7444 (input_flag_type): Add flag_xfail_rounding.
7445 (input_flags): Add xfail-rounding.
7446 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7447 (output_for_one_input_case): Handle flag_xfail_rounding.
7448 * sysdeps/i386/fpu/libm-test-ulps: Update.
7449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7451 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7454 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7457 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7460 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7461 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7462 (STAP_PROBE0): New macro.
7463 (STAP_PROBE1): Likewise.
7464 (STAP_PROBE2): Likewise.
7465 (STAP_PROBE3): Likewise.
7466 (STAP_PROBE4): Likewise.
7468 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7470 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7472 2013-12-02 Steve Ellcey <sellcey@mips.com>
7474 * benchtests/Makefile (bench): Add sqrt.
7475 (LDLIBS-bench-sqrt): New.
7476 * benchtests/sqrt-input: New.
7478 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7480 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7481 (GAIH_EAI): Likewise.
7482 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7483 (gaih_inet): Likewise.
7484 (getaddrinfo): Don't use GAIH_EAI.
7486 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7487 (struct gaih): Remove definition.
7489 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7491 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7492 Use HERRNOP directly.
7494 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7498 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7500 * math/gen-auto-libm-tests.c (test_functions): Add more
7501 single-argument functions.
7502 (special_fill_pi_2): New function.
7503 (special_fill_minus_pi_2): Likewise.
7504 (special_fill_pi_6): Likewise.
7505 (special_fill_minus_pi_6): Likewise.
7506 (special_fill_pi_3): Likewise.
7507 (special_fill_2pi_3): Likewise.
7508 (special_fill_e): Likewise.
7509 (special_fill_1_e): Likewise.
7510 (special_fill_e_minus_1): Likewise.
7511 (special_real_inputs): Add more special inputs.
7512 (output_for_one_input_case): Do not require ERANGE on underflow to
7513 zero if round-to-nearest result does not underflow to zero, unless
7514 exact results required.
7515 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7516 atan, atanh, cbrt, cos and cosh.
7517 * math/auto-libm-test-out: Regenerated.
7518 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7519 (acos_tonearest_test_data): Likewise.
7520 (acos_towardzero_test_data): Likewise.
7521 (acos_downward_test_data): Likewise.
7522 (acos_upward_test_data): Likewise.
7523 (acosh_test_data): Likewise.
7524 (asin_test_data): Likewise.
7525 (asin_tonearest_test_data): Likewise.
7526 (asin_towardzero_test_data): Likewise.
7527 (asin_upward_test_data): Likewise.
7528 (asinh_test_data): Likewise.
7529 (atan_test_data): Likewise.
7530 (atanh_test_data): Likewise.
7531 (cbrt_test_data): Likewise.
7532 (cos_test_data): Likewise.
7533 (cos_tonearest_test_data): Likewise.
7534 (cos_towardzero_test_data): Likewise.
7535 (cos_downward_test_data): Likewise.
7536 (cos_upward_test_data): Likewise.
7537 (cosh_test_data): Likewise.
7538 (cosh_tonearest_test_data): Likewise.
7539 (cosh_towardzero_test_data): Likewise.
7540 (cosh_downward_test_data): Likewise.
7541 (cosh_upward_test_data): Likewise.
7542 * sysdeps/i386/fpu/libm-test-ulps: Update.
7543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7545 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7548 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7549 * math/w_exp10f.c (__exp10f): Likewise.
7550 * math/w_exp10l.c (__exp10l): Likewise.
7551 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7552 errno settings in existing tests.
7555 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7556 precision control set to double precision.
7557 * sysdeps/i386/fpu/w_sqrt.c: New file.
7558 * math/auto-libm-test-in: Add more tests.
7559 * math/auto-libm-test-out: Update.
7561 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7562 (sqrt_test_tonearest): New function.
7563 (sqrt_towardzero_test_data): New variable.
7564 (sqrt_test_towardzero): New function.
7565 (sqrt_downward_test_data): New variable.
7566 (sqrt_test_downward): New function.
7567 (sqrt_upward_test_data): New variable.
7568 (sqrt_test_upward): New function.
7569 (main): Call the new functions.
7571 * math/gen-auto-libm-tests.c: New file.
7572 * math/auto-libm-test-in: Likewise.
7573 * math/auto-libm-test-out: New generated file.
7574 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7576 (%beautify): Add generated representations of zero.
7577 (top level): Set $auto_input and call parse_auto_input.
7578 (beautify): Remove trailing "f" from hex float constants.
7579 (parse_args): Handle XFAIL_TEST.
7580 (convert_condition): New function.
7581 (or_value): Likewise.
7582 (or_cond_value): Likewise.
7583 (generate_testfile): Handle AUTO_TESTS_* lines.
7584 (parse_auto_input): New function.
7585 * math/libm-test.inc (XFAIL_TEST): New macro.
7586 (ERRNO_UNCHANGED): Update value.
7587 (ERRNO_EDOM): Likewise.
7588 (ERRNO_ERANGE): Likewise.
7589 (IGNORE_RESULT): Likewise.
7590 (TEST_COND_flt_32): New macro.
7591 (TEST_COND_dbl_64): Likewise.
7592 (TEST_COND_ldbl_96_intel): Likewise.
7593 (TEST_COND_ldbl_96_m68k): Likewise.
7594 (TEST_COND_ldbl_128): Likewise.
7595 (TEST_COND_ldbl_128ibm): Likewise.
7596 (TEST_COND_long32): Likewise.
7597 (TEST_COND_long64): Likewise.
7598 (TEST_COND_before_rounding): Likewise.
7599 (TEST_COND_after_rounding): Likewise.
7600 (enable_test): Handle XFAIL_TEST flag.
7601 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7602 with finite results.
7603 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7606 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7607 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7610 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7611 __tls_get_addr_internal instead of __tls_get_offset in order to
7612 avoid GOT pointer dependency. Make rtld export
7613 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7614 __tls_get_addr since we are a __tls_get_offset platform.
7615 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7616 GOT pointer being set up before.
7617 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7619 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7621 * manual/math.texi (Errors in Math Functions): Document accuracy
7625 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7626 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7627 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7629 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7631 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7632 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7633 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7635 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7636 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7637 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7638 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7639 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7640 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7642 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7643 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7644 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7645 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7646 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7648 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7650 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7652 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7653 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7654 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7655 atomic-feupdateenv and flt-rounds.
7656 * sysdeps/powerpc/nofpu/Versions (libc): Add
7657 __atomic_feholdexcept, __atomic_feclearexcept,
7658 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7659 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7660 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7661 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7662 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7667 * manual/arith.texi (FP Exceptions): Document that exceptions may
7668 not be raised when matherr is used.
7669 (Math Error Reporting): Document overflow in directed rounding
7670 modes. Document that errno may not be set when finite values are
7671 returned on overflow. Document intent to set errno on underflow
7672 only for underflow to zero.
7675 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7676 round-to-nearest then adjust result for other rounding modes.
7677 * include/fenv.h (fegetround): Use libm_hidden_proto.
7678 * math/fegetround.c (fegetround): Use libm_hidden_def.
7679 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7680 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7681 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7682 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7684 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7685 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7686 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7687 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7689 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7692 * nss/Versions (libnss_files): Add
7693 _nss_files_gethostbyname3_r.
7694 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7696 (HOST_DB_LOOKUP): Remove macro.
7697 (_nss_files_gethostbyname_r): Implement function without the
7698 HOST_DB_LOOKUP macro.
7699 (_nss_files_gethostbyname2_r): Likewise.
7701 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7703 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7705 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7707 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7708 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7711 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7713 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7714 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7715 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7716 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7717 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7718 __fe_nomask_env_priv and attribute_hidden.
7719 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7720 (libc_feupdateenv_test_ppc): Likewise.
7721 (libc_feresetround_ppc): Likewise.
7722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7723 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7724 compat_symbol macro.
7725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7726 (__fe_nomask_env): Likewise.
7727 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7729 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7731 * string/Makefile: Remove ifunc tests.
7732 * string/test-string.h: Define TEST_IFUNC.
7733 * string/test-bcopy-ifunc.c: Remove.
7734 * string/test-bzero-ifunc.c: Likewise.
7735 * string/test-memccpy-ifunc.c: Likewise.
7736 * string/test-memchr-ifunc.c: Likewise.
7737 * string/test-memcmp-ifunc.c: Likewise.
7738 * string/test-memcpy-ifunc.c: Likewise.
7739 * string/test-memmem-ifunc.c: Likewise.
7740 * string/test-memmove-ifunc.c: Likewise.
7741 * string/test-mempcpy-ifunc.c: Likewise.
7742 * string/test-memrchr-ifunc.c: Likewise.
7743 * string/test-memset-ifunc.c: Likewise.
7744 * string/test-rawmemchr-ifunc.c: Likewise.
7745 * string/test-stpcpy-ifunc.c: Likewise.
7746 * string/test-stpncpy-ifunc.c: Likewise.
7747 * string/test-strcasecmp-ifunc.c: Likewise.
7748 * string/test-strcasestr-ifunc.c: Likewise.
7749 * string/test-strcat-ifunc.c: Likewise.
7750 * string/test-strchr-ifunc.c: Likewise.
7751 * string/test-strchrnul-ifunc.c: Likewise.
7752 * string/test-strcmp-ifunc.c: Likewise.
7753 * string/test-strcpy-ifunc.c: Likewise.
7754 * string/test-strcspn-ifunc.c: Likewise.
7755 * string/test-strlen-ifunc.c: Likewise.
7756 * string/test-strncasecmp-ifunc.c: Likewise.
7757 * string/test-strncat-ifunc.c: Likewise.
7758 * string/test-strncmp-ifunc.c: Likewise.
7759 * string/test-strncpy-ifunc.c: Likewise.
7760 * string/test-strnlen-ifunc.c: Likewise.
7761 * string/test-strpbrk-ifunc.c: Likewise.
7762 * string/test-strrchr-ifunc.c: Likewise.
7763 * string/test-strspn-ifunc.c: Likewise.
7764 * string/test-strstr-ifunc.c: Likewise.
7766 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7768 * benchtests/Makefile: Remove ifunc tests.
7769 * benchtests/bench-string.h: Define TEST_IFUNC.
7770 * benchtests/bench-bcopy-ifunc.c: Remove.
7771 * benchtests/bench-bzero-ifunc.c: Likewise.
7772 * benchtests/bench-memccpy-ifunc.c: Likewise.
7773 * benchtests/bench-memchr-ifunc.c: Likewise.
7774 * benchtests/bench-memcmp-ifunc.c: Likewise.
7775 * benchtests/bench-memcpy-ifunc.c: Likewise.
7776 * benchtests/bench-memmem-ifunc.c: Likewise.
7777 * benchtests/bench-memmove-ifunc.c: Likewise.
7778 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7779 * benchtests/bench-memrchr-ifunc.c: Likewise.
7780 * benchtests/bench-memset-ifunc.c: Likewise.
7781 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7782 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7783 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7784 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7785 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7786 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7787 * benchtests/bench-strcat-ifunc.c: Likewise.
7788 * benchtests/bench-strchr-ifunc.c: Likewise.
7789 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7790 * benchtests/bench-strcmp-ifunc.c: Likewise.
7791 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7792 * benchtests/bench-strcpy-ifunc.c: Likewise.
7793 * benchtests/bench-strcspn-ifunc.c: Likewise.
7794 * benchtests/bench-strlen-ifunc.c: Likewise.
7795 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7796 * benchtests/bench-strncat-ifunc.c: Likewise.
7797 * benchtests/bench-strncmp-ifunc.c: Likewise.
7798 * benchtests/bench-strncpy-ifunc.c: Likewise.
7799 * benchtests/bench-strnlen-ifunc.c: Likewise.
7800 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7801 * benchtests/bench-strrchr-ifunc.c: Likewise.
7802 * benchtests/bench-strsep-ifunc.c: Likewise.
7803 * benchtests/bench-strspn-ifunc.c: Likewise.
7804 * benchtests/bench-strstr-ifunc.c: Likewise.
7806 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7808 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7810 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7812 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7813 * rt/aio.h: Likewise.
7814 * sysdeps/gnu/bits/utmp.h: Likewise.
7815 * sysdeps/gnu/bits/utmpx.h: Likewise.
7816 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7817 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7818 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7819 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7820 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7821 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7822 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7823 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7824 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7825 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7826 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7827 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7828 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7830 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7831 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7832 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7833 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7834 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7835 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7836 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7837 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7838 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7839 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7840 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7841 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7842 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7843 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7844 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7845 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7846 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7847 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7848 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7849 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7850 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7851 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7852 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7853 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7854 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7855 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7856 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7857 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7859 2013-11-25 Carlos O'Donell <carlos@redhat.com>
7862 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7863 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7865 2013-11-25 Joseph Myers <joseph@codesourcery.com>
7867 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7868 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7871 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7873 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7874 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7875 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7876 (__fesetround): Remove define.
7877 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7878 rounding and exceptions handling.
7879 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7880 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7881 (__fe_nomask_env): Likewise.
7882 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7883 __fegetround instead of fegetround.
7884 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7885 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7887 2013-11-21 Roland McGrath <roland@hack.frob.com>
7889 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7892 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7894 2013-11-21 Meador Inge <meadori@codesourcery.com>
7897 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7898 (encrypt_r): Likewise.
7899 * malloc/obstack.h (obstack_free): Likewise.
7900 * posix/unistd.h (encrypt): Likewise.
7902 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7904 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7905 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7906 DL_CALL_DT_FINI() that call the functions directly.
7907 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7908 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7909 * elf/dl-fini.c: Likewise.
7911 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
7913 * malloc/hooks.c (memalign_check): Add alignment rounding.
7914 * malloc/malloc.c (_mid_memalign): New function.
7915 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7916 Implement by calling _mid_memalign.
7917 * manual/probes.texi (Memory Allocation Probes): Remove
7918 memory_valloc_retry and memory_pvalloc_retry.
7920 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7922 * locale/programs/locarchive.c (open_archive): Add const
7923 qualifier to ARCHIVEFNAME and copy default fname to
7927 * libio/tst-widetext.input: Rename Oriya to Odia.
7928 * locale/iso-639.def: Likewise.
7930 * manual/probes.texi (Mathematical Function Probes): Add
7931 documentation for sin, cos, asin and acos probes.
7932 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7933 (__sin32): Add slowasin probe.
7934 (__cos32): Add slowacos probe.
7935 (__mpsin): Add slowsin probe.
7936 (__mpcos): Add slowcos probe.
7938 2013-11-19 Joseph Myers <joseph@codesourcery.com>
7941 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7942 thread-local __sim_exceptions_thread and global
7943 __sim_exceptions_global.
7944 (__sim_disabled_exceptions): Change to thread-local
7945 __sim_disabled_exceptions_thread and global
7946 __sim_disabled_exceptions_global.
7947 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7948 and global __sim_round_mode_global.
7949 (__simulate_exceptions): Use thread-local floating-point state and
7950 set global state from it as needed.
7951 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7952 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7953 __sim_round_mode_thread.
7954 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7955 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7956 and global __sim_exceptions_global.
7957 (__sim_disabled_exceptions): Change to thread-local
7958 __sim_disabled_exceptions_thread and global
7959 __sim_disabled_exceptions_global.
7960 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7961 and global __sim_round_mode_global.
7962 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7963 (SIM_SET_GLOBAL): Likewise.
7964 * sysdeps/powerpc/soft-fp/sfp-machine.h
7965 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7966 __sim_round_mode_thread.
7967 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7968 __sim_disabled_exceptions_thread.
7969 (__sim_exceptions): Change to __sim_exceptions_thread.
7970 (__sim_disabled_exceptions): Change to
7971 __sim_disabled_exceptions_thread.
7972 (__sim_round_mode): Change to __sim_round_mode_thread.
7973 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7974 thread-local floating-point state and set global state from it as
7976 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7977 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7978 (__sim_disabled_exceptions): Remove extern declaration.
7979 (feenableexcept): Use thread-local floating-point state and set
7980 global state from it as needed.
7981 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7983 (__sim_disabled_exceptions): Likewise.
7984 (__sim_round_mode): Likewise.
7985 (__fegetenv): Use thread-local floating-point state.
7986 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7987 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7988 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7989 floating-point state and set global state from it as needed.
7990 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7991 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7992 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7994 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7995 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7997 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7998 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7999 Use __sim_round_mode_thread.
8000 * math/test-fenv-tls.c: New file.
8001 * math/Makefile (tests): Add test-fenv-tls.
8002 ($(objpfx)test-fenv-tls): Depend on
8003 $(common-objpfx)nptl/libpthread.so.
8005 2013-11-19 Andreas Schwab <schwab@suse.de>
8007 * locale/programs/locale.c (show_info): Decode wordarray elements.
8008 * locale/categories.def (LC_MONETARY): Add element for
8009 _NL_MONETARY_CRNCYSTR.
8010 * locale/C-monetary.c (conversion_rate): New variable.
8011 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8014 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8016 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8017 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8019 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8021 * elf/Makefile (tst-auxv): New test.
8022 * elf/tst-auxv.c: New
8023 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8025 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8027 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8028 (hidden_proto): Caller changed.
8029 (hidden_tls_proto): New macro.
8030 (libc_hidden_tls_proto): Likewise.
8031 (rtld_hidden_tls_proto): Likewise.
8032 (libm_hidden_tls_proto): Likewise.
8033 (libresolv_hidden_tls_proto): Likewise.
8034 (librt_hidden_tls_proto): Likewise.
8035 (libdl_hidden_tls_proto): Likewise.
8036 (libnss_files_hidden_tls_proto): Likewise.
8037 (libnsl_hidden_tls_proto): Likewise.
8038 (libnss_nisplus_hidden_tls_proto): Likewise.
8039 (libutil_hidden_tls_proto): Likewise.
8041 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8044 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8045 (decompose_rpath): Defer expansion to fillin_rpath.
8046 (_dl_init_paths): Pass linkmap to fillin_rpath.
8048 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8050 * benchtests/Makefile: Add strsep.
8051 * benchtests/bench-strsep.c: New file: strsep benchtest.
8052 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8054 2013-11-18 Andreas Schwab <schwab@suse.de>
8056 * locale/programs/locale.c (show_info) [case byte]: Check for
8057 '\377' instead of '\177'.
8058 * locale/C-monetary.c (not_available): Always use "\377".
8059 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8060 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8061 detect unavailable sign_posn locale elements.
8062 * locale/localeconv.c (__localeconv): For grouping and
8063 mon_grouping handle "\177" and "\377" like no grouping.
8064 (INT_ELEM): New macro. Use it to set all numeric members.
8065 * locale/programs/ld-monetary.c (monetary_read)
8066 <tok_mon_grouping>: Normalize single -1 to the empty string.
8067 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8070 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8073 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8074 when we match (nil).
8075 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8077 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8079 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8080 (NO_TEST_INLINE): Update value.
8081 (ERRNO_UNCHANGED): Likewise.
8082 (ERRNO_EDOM): Likewise.
8083 (ERRNO_ERANGE): Likewise.
8084 (IGNORE_RESULT): Likewise.
8085 (check_float_internal): Check signs of NaN results if
8087 (check_complex): Pass TEST_NAN_SIGN flag through to second
8088 check_float_internal call.
8089 (copysign_test_data): Add tests with quiet NaNs as second
8090 argument. Use TEST_NAN_SIGN.
8091 (fabs_test_data): Add test of negative quiet NaN argument. Use
8093 (signbit_test_data): Add tests of quiet NaN argument.
8094 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8096 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8098 (parse_args): Handle function results specified as IGNORE.
8099 * math/libm-test.inc (IGNORE_RESULT): New macro.
8100 (check_float_internal): Do not check numerical result if flag
8102 (check_complex): Pass through IGNORE_RESULT to second
8103 check_float_internal call.
8104 (check_int): Do not check numerical result if flag IGNORE_RESULT
8106 (check_long): Likewise.
8107 (check_bool): Likewise.
8108 (check_longlong): Likewise.
8109 (lrint_test_data): Add tests of infinite and NaN arguments.
8110 (lrint_tonearest_test_data): Likewise.
8111 (lrint_towardzero_test_data): Likewise.
8112 (lrint_downward_test_data): Likewise.
8113 (lrint_upward_test_data): Likewise.
8114 (llrint_test_data): Likewise.
8115 (llrint_tonearest_test_data): Likewise.
8116 (llrint_towardzero_test_data): Likewise.
8117 (llrint_downward_test_data): Likewise.
8118 (llrint_upward_test_data): Likewise.
8119 (lround_test_data): Likewise.
8120 (llround_test_data): Likewise.
8122 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8123 (ERRNO_UNCHANGED): Update value.
8124 (ERRNO_EDOM): Likewise.
8125 (ERRNO_ERANGE): Likewise.
8126 (NO_TEST_INLINE_FLOAT): New macro.
8127 (NO_TEST_INLINE_DOUBLE): Likewise.
8128 (enable_test): New function.
8129 (RUN_TEST_f_f): Check enable_test before running test.
8130 (RUN_TEST_2_f): Likewise.
8131 (RUN_TEST_fff_f): Likewise.
8132 (RUN_TEST_c_f): Likewise.
8133 (RUN_TEST_f_f1): Likewise.
8134 (RUN_TEST_fF_f1): Likewise.
8135 (RUN_TEST_fI_f1): Likewise.
8136 (RUN_TEST_ffI_f1): Likewise.
8137 (RUN_TEST_c_c): Likewise.
8138 (RUN_TEST_cc_c): Likewise.
8139 (RUN_TEST_f_i): Likewise.
8140 (RUN_TEST_f_i_tg): Likewise.
8141 (RUN_TEST_ff_i_tg): Likewise.
8142 (RUN_TEST_f_b): Likewise.
8143 (RUN_TEST_f_b_tg): Likewise.
8144 (RUN_TEST_f_l): Likewise.
8145 (RUN_TEST_f_L): Likewise.
8146 (RUN_TEST_fFF_11): Likewise.
8147 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8149 (cosh_test_data): Likewise.
8150 (exp_test_data): Likewise.
8151 (expm1_test_data): Likewise.
8152 (hypot_test_data): Likewise.
8153 (pow_test_data): Likewise.
8154 (sinh_test_data): Likewise.
8155 (tanh_test_data): Likewise.
8156 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8159 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8160 tests with quiet NaN input and output.
8161 (acosh_test_data): Likewise.
8162 (asin_test_data): Likewise.
8163 (asinh_test_data): Likewise.
8164 (atan_test_data): Likewise.
8165 (atanh_test_data): Likewise.
8166 (atan2_test_data): Likewise.
8167 (cbrt_test_data): Likewise.
8168 (cos_test_data): Likewise.
8169 (cosh_test_data): Likewise.
8170 (erf_test_data): Likewise.
8171 (erfc_test_data): Likewise.
8172 (exp_test_data): Likewise.
8173 (exp10_test_data): Likewise.
8174 (exp2_test_data): Likewise.
8175 (expm1_test_data): Likewise.
8176 (hypot_test_data): Likewise.
8177 (j0_test_data): Likewise.
8178 (j1_test_data): Likewise.
8179 (jn_test_data): Likewise.
8180 (lgamma_test_data): Likewise.
8181 (log_test_data): Likewise.
8182 (log10_test_data): Likewise.
8183 (log1p_test_data): Likewise.
8184 (log2_test_data): Likewise.
8185 (pow_test_data): Likewise.
8186 (scalb_test_data): Likewise.
8187 (sin_test_data): Likewise.
8188 (sincos_test_data): Likewise.
8189 (sinh_test_data): Likewise.
8190 (tan_test_data): Likewise.
8191 (tanh_test_data): Likewise.
8192 (tgamma_test_data): Likewise.
8193 (y0_test_data): Likewise.
8194 (y1_test_data): Likewise.
8195 (yn_test_data): Likewise.
8198 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8199 argument being NaN and avoid computations with second argument in
8201 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8202 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8203 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8205 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8207 * locale/iso-639.def: Add Chitwani Tharu (the).
8209 2013-11-14 Andreas Schwab <schwab@suse.de>
8211 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8212 word instead of empty string.
8214 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8217 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8219 (__fe_nomask_env): Likewise.
8221 2013-11-13 Steve Ellcey <sellcey@mips.com>
8223 * benchtests/bench-timing.h: Include time.h.
8225 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8228 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8230 * sysdeps/unix/sysv/linux/configure: Regenerated.
8232 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8235 * stdlib/strtod_l.c (round_and_return): Do not consider
8236 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8237 exponent one less than half the least subnormal exponent.
8238 * stdlib/test-strtod-round-data: Add more tests.
8239 * stdlib/tst-strtod-round.c (tests): Regenerated.
8241 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8244 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8245 (__fe_mask_env): Likewise.
8246 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8247 libm_hidden_proto and add function prototype.
8248 (__fe_mask_env): Add function prototype.
8249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8250 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8252 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8254 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8256 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8258 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8259 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8261 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8263 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8264 of htab_find_slot().
8266 2013-11-11 David S. Miller <davem@davemloft.net>
8269 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8270 symbol in the non-vis3 case in static builds.
8271 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8272 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8273 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8274 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8276 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8279 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8282 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8284 * benchtests/Makefile: Add bench-strtod.
8285 * benchtests/bench-strtod.c: New file: strtod benchtest
8287 2013-11-11 Andreas Schwab <schwab@suse.de>
8290 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8291 terminating NUL in key length.
8293 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8295 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8296 Add artificial ODP entry for vDSO symbol for PPC64.
8297 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8298 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8300 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8303 * nss/getent.c (services_keys): Recognize services starting with digit.
8305 2013-11-06 David S. Miller <davem@davemloft.net>
8308 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8309 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8311 2013-11-06 Will Newton <will.newton@linaro.org>
8313 * manual/memory.texi (Malloc Examples): Remove register
8314 keyword from examples.
8316 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8318 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8320 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8323 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8324 depending on [__GCC_IEC_559 > 0].
8325 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8326 depending on [__GCC_IEC_559_COMPLEX > 0].
8328 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8330 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8333 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8335 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8337 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8340 * malloc/malloc (malloc_info): Do not handle first bin as
8343 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8345 * locale/iso-639.def: Add Central Nahuatl (nhn).
8347 2013-11-01 Bruno Haible <bruno@clisp.org>
8350 * manual/math.texi (BSD Random): Specify range upper bound as
8353 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8355 * locale/iso-639.def: Add Meadow Mari (mhr).
8357 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8359 [BZ #14752], [BZ #15763]
8360 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8362 * rt/tst_shm.c: Add test for escaping directory.
8364 2013-10-31 Andreas Schwab <schwab@suse.de>
8367 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8368 followed by 'x' as part of digit sequence.
8369 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8371 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8374 * configure.ac: allow GNU Make 4.0 and greater.
8375 * configure: Regenerated.
8377 2013-10-30 Will Newton <will.newton@linaro.org>
8380 * malloc/hooks.c (memalign_check): Limit alignment to the
8381 maximum representable power of two.
8382 * malloc/malloc.c (__libc_memalign): Likewise.
8383 * malloc/tst-memalign.c (do_test): Add test for very
8384 large alignment values.
8385 * malloc/tst-posix_memalign.c (do_test): Likewise.
8387 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8390 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8391 (munmap_chunk): Likewise.
8392 (mremap_chunk): Likewise.
8394 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8397 * stdlib/div.c (div): Remove obsolete code.
8398 * stdlib/ldiv.c (ldiv): Likewise.
8399 * stdlib/lldiv.c (lldiv): Likewise.
8401 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8404 * nss/nss_files/files-XXX.c (get_contents_ret): New
8406 (get_contents): New function.
8407 (internal_getent): Use it. Expand size of LINEBUFLEN.
8409 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8411 * configure.in: Moved to ...
8412 * configure.ac: ... here. Change reference to configure.in
8414 * sysdeps/arm/preconfigure.ac: ... here.
8415 configure.in to configure.ac.
8416 * sysdeps/gnu/configure.in: Moved to ...
8417 * sysdeps/gnu/configure.ac: ... here.
8418 * sysdeps/i386/configure.in: Moved to ...
8419 * sysdeps/i386/configure.ac: ... here.
8420 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8421 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8422 * sysdeps/mach/configure.in: Moved to ...
8423 * sysdeps/mach/configure.ac: ... here.
8424 * sysdeps/mach/hurd/configure.in: Moved to ...
8425 * sysdeps/mach/hurd/configure.ac: ... here.
8426 * sysdeps/powerpc/configure.in: Moved to ...
8427 * sysdeps/powerpc/configure.ac: ... here.
8428 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8429 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8430 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8431 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8432 * sysdeps/s390/s390-32/configure.in: Moved to ...
8433 * sysdeps/s390/s390-32/configure.ac: ... here.
8434 * sysdeps/s390/s390-64/configure.in: Moved to ...
8435 * sysdeps/s390/s390-64/configure.ac: ... here.
8436 * sysdeps/sh/configure.in: Moved to ...
8437 * sysdeps/sh/configure.ac: ... here.
8438 * sysdeps/sparc/configure.in: Moved to ...
8439 * sysdeps/sparc/configure.ac: ... here.
8440 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8441 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8442 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8443 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8444 * sysdeps/x86_64/configure.in: Moved to ...
8445 * sysdeps/x86_64/configure.ac: ... here.
8446 * sysdeps/x86_64/preconfigure.in: Moved to ...
8447 * sysdeps/x86_64/preconfigure.ac: ... here.
8448 * aclocal.m4: Change reference to configure.in to configure.ac.
8449 * config.h.in: Likewise.
8450 * manual/install.texi: Likewise.
8451 * manual/maint.texi: Likewise.
8452 * Makefile: Likewise.
8453 * malloc/Makefile: Likewise.
8454 * nscd/Makefile: Likewise.
8455 * Makeconfig: Change reference to configure.in and
8456 preconfigure.in to configure.ac and preconfigure.ac
8458 * INSTALL: Regenerated.
8459 * configure: Likewise.
8460 * sysdeps/gnu/configure: Likewise.
8461 * sysdeps/i386/configure: Likewise.
8462 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8463 * sysdeps/mach/configure: Likewise.
8464 * sysdeps/mach/hurd/configure: Likewise.
8465 * sysdeps/powerpc/configure: Likewise.
8466 * sysdeps/powerpc/powerpc32/configure: Likewise.
8467 * sysdeps/powerpc/powerpc64/configure: Likewise.
8468 * sysdeps/s390/s390-32/configure: Likewise.
8469 * sysdeps/s390/s390-64/configure: Likewise.
8470 * sysdeps/sh/configure: Likewise.
8471 * sysdeps/sparc/configure: Likewise.
8472 * sysdeps/unix/sysv/linux/configure: Likewise.
8473 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8474 * sysdeps/x86_64/configure: Likewise.
8475 * sysdeps/x86_64/preconfigure: Likewise.
8477 2013-10-29 Andreas Schwab <schwab@suse.de>
8479 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8481 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8483 * benchtests/pow-inputs: Add new inputs.
8485 * benchtests/exp-inputs: Add new inputs.
8487 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8488 conditional check for return value.
8489 (__cos32): Likewise.
8491 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8493 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8494 to provide a boost for large inputs with word alignment.
8495 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8496 implementation based on optimized PPC64 strcpy.
8497 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8498 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8499 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8500 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8502 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8505 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8507 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8510 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8511 * time/tst-strptime.c (day_tests): Add testcase.
8513 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8516 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8518 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8521 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8522 MAP_FAILED on error.
8524 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8527 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8528 heap for large requests.
8530 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8533 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8534 result if the result has no associated interface.
8535 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8536 interface for all 127.X.Y.Z addresses.
8538 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8540 * locale/iso-639.def: Add Ligurian (lij)
8542 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8545 * sunrpc/rpc_main.c: Document rpcgen -5.
8547 2013-10-19 Michael Stahl <mstahl@redhat.com>
8549 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8551 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8554 * posix/glob.c: Match only directories when trailing slash is present.
8555 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8556 (main): Add testcase.
8558 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8561 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8563 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8565 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8566 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8567 AUTH_DES and cindex for FIPS 140-2.
8568 (DES Encryption): Add cindex FIPS 46-3.
8570 * locale/locarchive.h (struct locarhandle): Add fname.
8571 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8572 if an optional argument was specified to --list-archive,
8574 * locale/programs/locarchive.c (show_archive_content): Take new
8575 argument fname and pass it via ah.fname to open_archive.
8576 * locale/programs/localedef.h: Update decl.
8577 (open_archive): If AH->fname is non-null, open that file
8578 rather than the default file name, and don't ignore ENOENT.
8579 (create_archive): Set AH.fname to NULL.
8580 (delete_locales_from_archive): Likewise.
8581 (add_locales_to_archive): Likewise.
8582 * locale/programs/locfile.c (write_all_categories): Likewise.
8584 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8585 Aldy Hernandez <aldyh@redhat.com>
8587 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8588 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8589 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8590 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8591 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8592 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8593 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8594 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8595 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8596 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8597 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8598 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8599 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8600 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8601 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8603 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8605 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8607 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8609 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8610 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8612 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8613 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8614 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8615 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8617 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8618 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8619 * sysdeps/powerpc/preconfigure: Likewise.
8620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8622 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8623 Replace contents of file by #include of <fenv_libc.h>.
8624 * sysdeps/powerpc/soft-fp/sfp-machine.h
8625 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8627 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8628 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8629 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8630 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8631 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8632 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8634 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8635 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8636 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8637 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8638 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8640 Allow copysignl PLT reference to be missing.
8642 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8643 Joseph Myers <joseph@codesourcery.com
8646 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8648 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8650 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8652 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8653 * elf/tst-tls1.c: Likewise.
8654 * elf/tst-tls10.h: Likewise.
8655 * elf/tst-tls14.c: Likewise.
8656 * elf/tst-tls2.c: Likewise.
8657 * elf/tst-tls3.c: Likewise.
8658 * elf/tst-tls4.c: Likewise.
8659 * elf/tst-tls5.c: Likewise.
8660 * elf/tst-tls6.c: Likewise.
8661 * elf/tst-tls7.c: Likewise.
8662 * elf/tst-tls8.c: Likewise.
8663 * elf/tst-tls9.c: Likewise.
8664 * elf/tst-tlsmod1.c: Likewise.
8665 * elf/tst-tlsmod13.c: Likewise.
8666 * elf/tst-tlsmod13a.c: Likewise.
8667 * elf/tst-tlsmod14a.c: Likewise.
8668 * elf/tst-tlsmod16a.c: Likewise.
8669 * elf/tst-tlsmod16b.c: Likewise.
8670 * elf/tst-tlsmod2.c: Likewise.
8671 * elf/tst-tlsmod3.c: Likewise.
8672 * elf/tst-tlsmod4.c: Likewise.
8673 * elf/tst-tlsmod5.c: Likewise.
8674 * elf/tst-tlsmod6.c: Likewise.
8676 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8679 * malloc/malloc.c: remove checks for statistics.
8681 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8684 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8685 * inet/tst-network.c: Add testcase.
8687 2013-10-17 Andreas Schwab <schwab@suse.de>
8690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8691 to determine canonical name.
8693 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8695 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8696 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8697 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8702 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8710 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8711 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8712 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8713 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8715 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8716 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8717 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8718 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8719 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8720 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8721 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8725 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8727 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8732 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8733 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8734 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8735 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8736 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8737 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8738 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8739 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8740 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8743 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8744 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8745 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8746 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8747 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8748 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8749 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8750 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8751 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8752 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8754 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8757 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8758 make result into a quiet NaN.
8760 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8762 * soft-fp/adddf3.c: Fix horizontal whitespace.
8763 * soft-fp/addsf3.c: Likewise.
8764 * soft-fp/addtf3.c: Likewise.
8765 * soft-fp/divdf3.c: Likewise.
8766 * soft-fp/divsf3.c: Likewise.
8767 * soft-fp/divtf3.c: Likewise.
8768 * soft-fp/double.h: Likewise.
8769 * soft-fp/eqdf2.c: Likewise.
8770 * soft-fp/eqsf2.c: Likewise.
8771 * soft-fp/eqtf2.c: Likewise.
8772 * soft-fp/extenddftf2.c: Likewise.
8773 * soft-fp/extended.h: Likewise.
8774 * soft-fp/extendsfdf2.c: Likewise.
8775 * soft-fp/extendsftf2.c: Likewise.
8776 * soft-fp/extendxftf2.c: Likewise.
8777 * soft-fp/fixdfdi.c: Likewise.
8778 * soft-fp/fixdfsi.c: Likewise.
8779 * soft-fp/fixdfti.c: Likewise.
8780 * soft-fp/fixsfdi.c: Likewise.
8781 * soft-fp/fixsfsi.c: Likewise.
8782 * soft-fp/fixsfti.c: Likewise.
8783 * soft-fp/fixtfdi.c: Likewise.
8784 * soft-fp/fixtfsi.c: Likewise.
8785 * soft-fp/fixtfti.c: Likewise.
8786 * soft-fp/fixunsdfdi.c: Likewise.
8787 * soft-fp/fixunsdfsi.c: Likewise.
8788 * soft-fp/fixunsdfti.c: Likewise.
8789 * soft-fp/fixunssfdi.c: Likewise.
8790 * soft-fp/fixunssfsi.c: Likewise.
8791 * soft-fp/fixunssfti.c: Likewise.
8792 * soft-fp/fixunstfdi.c: Likewise.
8793 * soft-fp/fixunstfsi.c: Likewise.
8794 * soft-fp/fixunstfti.c: Likewise.
8795 * soft-fp/floatdidf.c: Likewise.
8796 * soft-fp/floatdisf.c: Likewise.
8797 * soft-fp/floatditf.c: Likewise.
8798 * soft-fp/floatsidf.c: Likewise.
8799 * soft-fp/floatsisf.c: Likewise.
8800 * soft-fp/floatsitf.c: Likewise.
8801 * soft-fp/floattidf.c: Likewise.
8802 * soft-fp/floattisf.c: Likewise.
8803 * soft-fp/floattitf.c: Likewise.
8804 * soft-fp/floatundidf.c: Likewise.
8805 * soft-fp/floatundisf.c: Likewise.
8806 * soft-fp/floatunditf.c: Likewise.
8807 * soft-fp/floatunsidf.c: Likewise.
8808 * soft-fp/floatunsisf.c: Likewise.
8809 * soft-fp/floatunsitf.c: Likewise.
8810 * soft-fp/floatuntidf.c: Likewise.
8811 * soft-fp/floatuntisf.c: Likewise.
8812 * soft-fp/floatuntitf.c: Likewise.
8813 * soft-fp/fmadf4.c: Likewise.
8814 * soft-fp/fmasf4.c: Likewise.
8815 * soft-fp/fmatf4.c: Likewise.
8816 * soft-fp/gedf2.c: Likewise.
8817 * soft-fp/gesf2.c: Likewise.
8818 * soft-fp/getf2.c: Likewise.
8819 * soft-fp/ledf2.c: Likewise.
8820 * soft-fp/lesf2.c: Likewise.
8821 * soft-fp/letf2.c: Likewise.
8822 * soft-fp/muldf3.c: Likewise.
8823 * soft-fp/mulsf3.c: Likewise.
8824 * soft-fp/multf3.c: Likewise.
8825 * soft-fp/negdf2.c: Likewise.
8826 * soft-fp/negsf2.c: Likewise.
8827 * soft-fp/negtf2.c: Likewise.
8828 * soft-fp/op-1.h: Likewise.
8829 * soft-fp/op-2.h: Likewise.
8830 * soft-fp/op-4.h: Likewise.
8831 * soft-fp/op-8.h: Likewise.
8832 * soft-fp/op-common.h: Likewise.
8833 * soft-fp/quad.h: Likewise.
8834 * soft-fp/single.h: Likewise.
8835 * soft-fp/soft-fp.h: Likewise.
8836 * soft-fp/sqrtdf2.c: Likewise.
8837 * soft-fp/sqrtsf2.c: Likewise.
8838 * soft-fp/sqrttf2.c: Likewise.
8839 * soft-fp/subdf3.c: Likewise.
8840 * soft-fp/subsf3.c: Likewise.
8841 * soft-fp/subtf3.c: Likewise.
8842 * soft-fp/truncdfsf2.c: Likewise.
8843 * soft-fp/trunctfdf2.c: Likewise.
8844 * soft-fp/trunctfsf2.c: Likewise.
8845 * soft-fp/trunctfxf2.c: Likewise.
8846 * soft-fp/unorddf2.c: Likewise.
8847 * soft-fp/unordsf2.c: Likewise.
8848 * soft-fp/unordtf2.c: Likewise.
8850 2013-10-15 Joseph Myers <joseph@codesourcery.com>
8852 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8853 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8855 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
8857 * elf/dl-libc.c: Clear initfini list after freeing.
8859 2013-10-14 Joseph Myers <joseph@codesourcery.com>
8861 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8862 * soft-fp/addsf3.c: Likewise.
8863 * soft-fp/addtf3.c: Likewise.
8864 * soft-fp/divdf3.c: Likewise.
8865 * soft-fp/divsf3.c: Likewise.
8866 * soft-fp/divtf3.c: Likewise.
8867 * soft-fp/double.h: Likewise.
8868 * soft-fp/eqdf2.c: Likewise.
8869 * soft-fp/eqsf2.c: Likewise.
8870 * soft-fp/eqtf2.c: Likewise.
8871 * soft-fp/extenddftf2.c: Likewise.
8872 * soft-fp/extended.h: Likewise.
8873 * soft-fp/extendsfdf2.c: Likewise.
8874 * soft-fp/extendsftf2.c: Likewise.
8875 * soft-fp/extendxftf2.c: Likewise.
8876 * soft-fp/fixdfdi.c: Likewise.
8877 * soft-fp/fixdfsi.c: Likewise.
8878 * soft-fp/fixdfti.c: Likewise.
8879 * soft-fp/fixsfdi.c: Likewise.
8880 * soft-fp/fixsfsi.c: Likewise.
8881 * soft-fp/fixsfti.c: Likewise.
8882 * soft-fp/fixtfdi.c: Likewise.
8883 * soft-fp/fixtfsi.c: Likewise.
8884 * soft-fp/fixtfti.c: Likewise.
8885 * soft-fp/fixunsdfdi.c: Likewise.
8886 * soft-fp/fixunsdfsi.c: Likewise.
8887 * soft-fp/fixunsdfti.c: Likewise.
8888 * soft-fp/fixunssfdi.c: Likewise.
8889 * soft-fp/fixunssfsi.c: Likewise.
8890 * soft-fp/fixunssfti.c: Likewise.
8891 * soft-fp/fixunstfdi.c: Likewise.
8892 * soft-fp/fixunstfsi.c: Likewise.
8893 * soft-fp/fixunstfti.c: Likewise.
8894 * soft-fp/floatdidf.c: Likewise.
8895 * soft-fp/floatdisf.c: Likewise.
8896 * soft-fp/floatditf.c: Likewise.
8897 * soft-fp/floatsidf.c: Likewise.
8898 * soft-fp/floatsisf.c: Likewise.
8899 * soft-fp/floatsitf.c: Likewise.
8900 * soft-fp/floattidf.c: Likewise.
8901 * soft-fp/floattisf.c: Likewise.
8902 * soft-fp/floattitf.c: Likewise.
8903 * soft-fp/floatundidf.c: Likewise.
8904 * soft-fp/floatundisf.c: Likewise.
8905 * soft-fp/floatunsidf.c: Likewise.
8906 * soft-fp/floatunsisf.c: Likewise.
8907 * soft-fp/floatuntidf.c: Likewise.
8908 * soft-fp/floatuntisf.c: Likewise.
8909 * soft-fp/floatuntitf.c: Likewise.
8910 * soft-fp/fmadf4.c: Likewise.
8911 * soft-fp/fmasf4.c: Likewise.
8912 * soft-fp/fmatf4.c: Likewise.
8913 * soft-fp/gedf2.c: Likewise.
8914 * soft-fp/gesf2.c: Likewise.
8915 * soft-fp/getf2.c: Likewise.
8916 * soft-fp/ledf2.c: Likewise.
8917 * soft-fp/lesf2.c: Likewise.
8918 * soft-fp/letf2.c: Likewise.
8919 * soft-fp/muldf3.c: Likewise.
8920 * soft-fp/mulsf3.c: Likewise.
8921 * soft-fp/multf3.c: Likewise.
8922 * soft-fp/negdf2.c: Likewise.
8923 * soft-fp/negsf2.c: Likewise.
8924 * soft-fp/negtf2.c: Likewise.
8925 * soft-fp/op-1.h: Likewise.
8926 * soft-fp/op-2.h: Likewise.
8927 * soft-fp/op-4.h: Likewise.
8928 * soft-fp/op-8.h: Likewise.
8929 * soft-fp/op-common.h: Likewise.
8930 * soft-fp/quad.h: Likewise.
8931 * soft-fp/single.h: Likewise.
8932 * soft-fp/soft-fp.h: Likewise.
8933 * soft-fp/sqrtdf2.c: Likewise.
8934 * soft-fp/sqrtsf2.c: Likewise.
8935 * soft-fp/sqrttf2.c: Likewise.
8936 * soft-fp/subdf3.c: Likewise.
8937 * soft-fp/subsf3.c: Likewise.
8938 * soft-fp/subtf3.c: Likewise.
8939 * soft-fp/truncdfsf2.c: Likewise.
8940 * soft-fp/trunctfdf2.c: Likewise.
8941 * soft-fp/trunctfsf2.c: Likewise.
8942 * soft-fp/trunctfxf2.c: Likewise.
8943 * soft-fp/unorddf2.c: Likewise.
8944 * soft-fp/unordsf2.c: Likewise.
8945 * soft-fp/unordtf2.c: Likewise.
8947 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
8950 * misc/error.c (error_tail): Fix possible buffer overflow.
8952 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8955 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8958 2013-10-14 P. J. McDermott <pj@pehjota.net>
8961 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8962 testing pipefail option.
8964 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8966 * soft-fp/double.h: Indent preprocessor directives inside #if.
8967 * soft-fp/extended.h: Likewise.
8968 * soft-fp/op-2.h: Likewise.
8969 * soft-fp/op-4.h: Likewise.
8970 * soft-fp/op-common.h: Likewise.
8971 * soft-fp/quad.h: Likewise.
8972 * soft-fp/single.h: Likewise.
8973 * soft-fp/soft-fp.h: Likewise.
8975 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8977 * iconv/iconv_prog.c: Fix typos.
8978 * stdio-common/psiginfo-data.h: Likewise.
8980 2013-10-12 Reuben Thomas <rrt@sc3d.org>
8983 * locale/setlocale.c: Fix typo.
8985 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8988 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8989 signaling NaN arguments.
8990 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8991 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8994 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8996 * soft-fp/gesf2.c (__gesf2): Likewise.
8997 * soft-fp/getf2.c (__getf2): Likewise.
8998 * soft-fp/ledf2.c (__ledf2): Likewise.
8999 * soft-fp/lesf2.c (__lesf2): Likewise.
9000 * soft-fp/letf2.c (__letf2): Likewise.
9002 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9003 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9004 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9005 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9006 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9007 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9008 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9009 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9010 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9011 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9012 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9013 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9014 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9015 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9016 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9017 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9018 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9019 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9020 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9021 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9022 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9023 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9024 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9025 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9026 * soft-fp/floattidf.c (__floattidf): Likewise.
9027 * soft-fp/floattisf.c (__floattisf): Likewise.
9028 * soft-fp/floattitf.c (__floattitf): Likewise.
9029 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9030 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9031 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9032 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9033 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9034 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9035 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9036 * soft-fp/gesf2.c (__gesf2): Likewise.
9037 * soft-fp/getf2.c (__getf2): Likewise.
9038 * soft-fp/ledf2.c (__ledf2): Likewise.
9039 * soft-fp/lesf2.c (__lesf2): Likewise.
9040 * soft-fp/letf2.c (__letf2): Likewise.
9042 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9043 Undefine and redefine.
9044 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9045 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9046 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9047 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9048 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9049 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9050 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9051 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9052 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9053 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9054 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9055 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9056 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9057 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9058 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9061 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9062 without decrementing exponent if mantissa >= that for the
9064 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9065 denominator, not >. Decrement exponent in < case instead of
9066 incrementing in >= case.
9067 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9068 without decrementing exponent if mantissa >= that for the
9071 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9072 computing saturated result for unsigned overflow.
9074 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9075 Jeff Law <law@redhat.com>
9077 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9078 (atan2Mp): Add systemtap probe marker.
9079 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9080 (__ieee754_log): Add systemtap probe marker.
9081 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9082 (atanMp): Add systemtap probe marker.
9083 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9084 (tanMp): Add systemtap probe marker.
9085 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9086 (__slowexp): Add systemtap probe marker.
9087 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9088 (__slowpow): Add systemtap probe marker.
9089 * manual/probes.texi: Document probes.
9091 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9094 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9096 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9098 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9099 written to buffer but not flushed.
9100 * libio/iofwrite_u.c: Likewise.
9101 * libio/iopadn.c: Return bytes returned even if EOF was
9103 * libio/iowpadn.c: Likewise.
9104 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9105 if _IO_padn does not write the whole buffer.
9106 [!COMPILE_WPRINTF] (PAD): Likewise.
9108 2013-10-10 David S. Miller <davem@davemloft.net>
9110 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9113 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9115 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9116 instead of FSF address.
9117 * soft-fp/fixdfti.c: Likewise.
9118 * soft-fp/fixsfti.c: Likewise.
9119 * soft-fp/fixtfti.c: Likewise.
9120 * soft-fp/fixunsdfti.c: Likewise.
9121 * soft-fp/fixunssfti.c: Likewise.
9122 * soft-fp/fixunstfti.c: Likewise.
9123 * soft-fp/floattidf.c: Likewise.
9124 * soft-fp/floattisf.c: Likewise.
9125 * soft-fp/floattitf.c: Likewise.
9126 * soft-fp/floatuntidf.c: Likewise.
9127 * soft-fp/floatuntisf.c: Likewise.
9128 * soft-fp/floatuntitf.c: Likewise.
9129 * soft-fp/trunctfxf2.c: Likewise.
9131 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9132 * soft-fp/fixdfti.c: Likewise.
9133 * soft-fp/fixsfti.c: Likewise.
9134 * soft-fp/fixtfti.c: Likewise.
9135 * soft-fp/fixunsdfti.c: Likewise.
9136 * soft-fp/fixunssfti.c: Likewise.
9137 * soft-fp/fixunstfti.c: Likewise.
9138 * soft-fp/floattidf.c: Likewise.
9139 * soft-fp/floattisf.c: Likewise.
9140 * soft-fp/floattitf.c: Likewise.
9141 * soft-fp/floatuntidf.c: Likewise.
9142 * soft-fp/floatuntisf.c: Likewise.
9143 * soft-fp/floatuntitf.c: Likewise.
9144 * soft-fp/trunctfxf2.c: Likewise.
9146 2013-10-10 David S. Miller <davem@davemloft.net>
9148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9150 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9152 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9153 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9154 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9155 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9156 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9157 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9158 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9160 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9161 for NaNs before doing comparisons on argument.
9162 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9165 2013-10-10 Will Newton <will.newton@linaro.org>
9167 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9168 passed to _int_memalign does not overflow.
9170 2013-10-10 Torvald Riegel <triegel@redhat.com>
9172 * scripts/bench.pl: Add include-sources directive.
9173 * benchtests/README: Update documentation.
9175 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9177 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9178 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9179 instead of FP_INIT_ROUNDMODE.
9180 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9181 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9184 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9185 copy class of input value.
9186 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9187 not handle exceptions.
9188 * soft-fp/negsf2.c (__negsf2): Likewise.
9189 * soft-fp/negtf2.c (__negtf2): Likewise.
9190 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9192 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9194 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9195 semicolon. From Linux kernel.
9197 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9199 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9201 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9204 * manual/socket.texi: Added statement about buffer
9205 for gethostbyname2_r.
9207 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9209 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9210 Use .p2align directive instead, throughout.
9211 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9212 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9213 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9214 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9215 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9216 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9217 * sysdeps/x86_64/strchr.S: Likewise.
9218 * sysdeps/x86_64/strrchr.S: Likewise.
9220 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9222 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9224 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9226 * sysdeps/generic/math_private.h (__mpsin1): Remove
9228 (__mpcos1): Likewise.
9229 (__mpsin): New argument __range_reduce.
9230 (__mpcos): Likewise.
9231 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9232 (slow): Use __mpsin and __mpcos.
9239 (bsloww1): Likewise.
9240 (bsloww2): Likewise.
9243 (csloww1): Likewise.
9244 (csloww2): Likewise.
9245 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9246 range_reduce. Merge in __mpsin1.
9247 (__mpcos): Likewise.
9249 (__mpcos1): Likewise.
9251 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9253 * locale/loadlocale.c (_nl_intern_locale_data): Use
9255 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9256 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9257 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9258 obstack data is appropriately aligned.
9259 (obstack_int32_grow_fast): Likewise.
9260 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9261 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9262 (add_locale_uint32_array): Likewise.
9264 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9266 * benchtests/Makefile: Remove ARGLIST and RET variables.
9267 ($(objpfx)bench-%.c): Pass only function name to the script.
9268 * benchtests/README: Update documentation.
9269 * benchtests/acos-inputs: Add new directives.
9270 * benchtests/acosh-inputs: Likewise.
9271 * benchtests/asin-inputs: Likewise.
9272 * benchtests/asinh-inputs: Likewise.
9273 * benchtests/atan-inputs: Likewise.
9274 * benchtests/atanh-inputs: Likewise.
9275 * benchtests/cos-inputs: Likewise.
9276 * benchtests/cosh-inputs: Likewise.
9277 * benchtests/exp-inputs: Likewise.
9278 * benchtests/log-inputs: Likewise.
9279 * benchtests/pow-inputs: Likewise.
9280 * benchtests/rint-inputs: Likewise.
9281 * benchtests/sin-inputs: Likewise.
9282 * benchtests/sinh-inputs: Likewise.
9283 * benchtests/tan-inputs: Likewise.
9284 * benchtests/tanh-inputs: Likewise.
9285 * scripts/bench.pl: Add support for new directives.
9287 2013-10-07 Alan Modra <amodra@gmail.com>
9289 * README: Fix careless merge.
9291 2013-10-05 Alan Modra <amodra@gmail.com>
9293 * NEWS: Mention powerpc64le support and bugs fixed.
9294 * README: Both big-endian and little-endian powerpc64 supported.
9296 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9298 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9299 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9300 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9301 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9303 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9305 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9308 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9310 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9311 Move -mhard-float appending from
9312 ports/sysdeps/powerpc/powerpc32/Makefile.
9313 [$(with-fp) = yes] (ASFLAGS): Likewise.
9314 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9315 * sysdeps/powerpc/nofpu: Move directory from
9316 ports/sysdeps/powerpc/nofpu.
9317 * sysdeps/powerpc/soft-fp: Move directory from
9318 ports/sysdeps/powerpc/soft-fp.
9319 * sysdeps/powerpc/powerpc32/405: Move directory from
9320 ports/sysdeps/powerpc/powerpc32/405.
9321 * sysdeps/powerpc/powerpc32/440: Move directory from
9322 ports/sysdeps/powerpc/powerpc32/440.
9323 * sysdeps/powerpc/powerpc32/464: Move directory from
9324 ports/sysdeps/powerpc/powerpc32/464.
9325 * sysdeps/powerpc/powerpc32/476: Move directory from
9326 ports/sysdeps/powerpc/powerpc32/476.
9327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9328 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9330 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9332 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9334 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9336 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9337 * README: Update for powerpc-*-linux-gnu software floating point
9340 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9341 case to powerpc/powerpc32*.
9342 * sysdeps/unix/sysv/linux/configure: Regenerated.
9344 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9345 (_FPU_MASK_OM): Define as 0x04.
9346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9351 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9354 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9357 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9360 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9361 and setcontext_e500.
9363 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9365 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9367 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9369 * manual/threads.texi (Default Thread Attributes): Fix typo.
9371 2013-10-04 Will Newton <will.newton@linaro.org>
9373 * malloc/Makefile: Add tst-memalign.
9374 * malloc/tst-memalign.c: New file.
9376 * malloc/tst-posix_memalign.c: Add comments.
9377 (do_test): Add comments and call free on all potentially
9378 allocated pointers. Add space after cast.
9380 * malloc/tst-pvalloc.c: Add comments.
9381 (do_test): Add comments and call free on all potentially
9382 allocated pointers. Remove duplicate check for NULL pointer.
9383 Add space after cast.
9385 * malloc/tst-valloc.c: Add comments.
9386 (do_test): Add comments and call free on all potentially
9387 allocated pointers. Remove duplicate check for NULL pointer.
9388 Add space after cast.
9390 2013-10-04 Alan Modra <amodra@gmail.com>
9392 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9393 Use stdint types in rather than __attribute__((mode())).
9394 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9396 2013-10-04 Alan Modra <amodra@gmail.com>
9398 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9399 Correct handling of unaligned relocs for little-endian.
9400 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9402 2013-10-04 Alan Modra <amodra@gmail.com>
9404 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9405 * configure: Regenerate.
9406 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9407 * shlib-versions: Likewise.
9409 2013-10-04 Alan Modra <amodra@gmail.com>
9411 * string/tester.c (test_memrchr): Increment reported test cycle.
9413 2013-10-04 Alan Modra <amodra@gmail.com>
9415 * string/test-memcpy.c (do_one_test): When reporting errors, print
9416 string address and don't overrun end of string.
9418 2013-10-04 Alan Modra <amodra@gmail.com>
9420 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9421 insrdi. Make better use of reg selection to speed exit slightly.
9422 Schedule entry path a little better. Remove useless "are we done"
9423 checks on entry to main loop. Handle wrapping around zero address.
9424 Correct main loop count. Handle single left-over word from main
9425 loop inline rather than by using loop_small. Remove extra word
9426 case in loop_small caused by wrong loop count. Add little-endian
9428 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9429 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9431 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9432 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9433 support. Avoid rlwimi.
9434 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9436 2013-10-04 Alan Modra <amodra@gmail.com>
9438 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9440 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9441 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9442 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9443 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9444 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9445 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9447 2013-10-04 Alan Modra <amodra@gmail.com>
9449 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9450 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9451 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9452 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9453 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9454 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9455 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9456 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9457 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9458 use of regs. Use power7 mtocrf. Tidy function tails.
9460 2013-10-04 Alan Modra <amodra@gmail.com>
9462 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9463 Formatting. Consistently use rXXX register defines or rN defines.
9464 Use early exit labels that avoid restoring unused non-volatile regs.
9465 Make cr field use more consistent with rWORDn compares. Rename
9466 regs used as shift registers for unaligned loop, using rN defines
9467 for short lifetime/multiple use regs.
9468 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9469 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9470 addi 1,1,64 to pop stack frame. Simplify return value code.
9471 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9473 2013-10-04 Alan Modra <amodra@gmail.com>
9475 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9476 support. Correct typos, formatting. Optimize tail. Use insrdi
9478 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9479 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9480 little-endian support. Correct typos.
9481 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9483 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9484 in loop and entry code to keep "and." results.
9485 (strchr): Add little-endian support. Comment. Move cntlzd
9487 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9489 2013-10-04 Alan Modra <amodra@gmail.com>
9491 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9492 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9493 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9494 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9496 2013-10-04 Alan Modra <amodra@gmail.com>
9498 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9499 (rTMP): Define as r11.
9500 (strcmp): Add little-endian support. Optimise tail.
9501 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9502 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9503 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9504 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9505 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9506 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9507 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9509 2013-10-04 Alan Modra <amodra@gmail.com>
9511 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9512 little-endian support. Remove unnecessary "are we done" tests.
9513 Handle "s" wrapping around zero and extremely large "size".
9514 Correct main loop count. Handle single left-over word from main
9515 loop inline rather than by using small_loop. Correct comments.
9516 Delete "zero" tail, use "end_max" instead.
9517 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9519 2013-10-04 Alan Modra <amodra@gmail.com>
9521 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9522 support. Don't branch over align.
9523 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9524 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9525 support. Rearrange tmp reg use to suit. Comment.
9526 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9528 2013-10-04 Alan Modra <amodra@gmail.com>
9530 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9532 2013-10-04 Alan Modra <amodra@gmail.com>
9534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9535 conditional form of branch and link when obtaining pc.
9536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9538 2013-10-04 Alan Modra <amodra@gmail.com>
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9545 2013-10-04 Alan Modra <amodra@gmail.com>
9547 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9548 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9549 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9550 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9551 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9552 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9553 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9554 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9555 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9556 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9558 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9559 Alistair Popple <alistair@ozlabs.au.ibm.com>
9560 Alan Modra <amodra@gmail.com>
9563 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9564 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9565 _dl_hwcap access for little-endian.
9566 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9567 destroy vmx regs when saving unaligned.
9568 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9569 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9570 destroy vmx regs when saving unaligned.
9572 2013-10-04 Alan Modra <amodra@gmail.com>
9574 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9575 Don't use a union to pack hi/low value.
9577 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9579 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9581 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9582 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9583 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9584 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9585 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9587 2013-10-04 Alan Modra <amodra@gmail.com>
9589 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9590 constants to usual value for .cst8 section, and remove redundant
9592 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9593 constant for 0x1p52. Load little-endian words of double from
9594 correct stack offsets.
9596 2013-10-04 Alan Modra <amodra@gmail.com>
9598 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9599 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9600 words of double from correct stack offsets.
9601 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9602 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9603 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9604 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9605 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9606 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9607 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9608 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9609 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9610 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9611 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9612 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9613 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9614 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9615 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9616 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9617 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9619 2013-10-04 Alan Modra <amodra@gmail.com>
9621 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9622 64-bit int/double union.
9623 (_FPU_SETCW): Likewise.
9624 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9625 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9627 2013-10-04 Alan Modra <amodra@gmail.com>
9629 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9630 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9632 2013-10-04 Alan Modra <amodra@gmail.com>
9634 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9635 use vector int constants.
9636 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9638 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9640 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9641 array with long long.
9642 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9643 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9644 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9645 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9646 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9647 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9648 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9649 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9650 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9651 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9652 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9653 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9654 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9656 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9658 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9659 (__signbit): Likewise. Correct for little-endian.
9660 (__signbitl): Call __signbit.
9661 (lrint): Correct for little-endian.
9662 (lrintf): Call lrint.
9664 2013-10-04 Alan Modra <amodra@gmail.com>
9666 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9667 union 32-bit int array member with 64-bit int array.
9668 (t515, tm256): Double rather than long double.
9669 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9671 2013-10-04 Alan Modra <amodra@gmail.com>
9673 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9675 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9676 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9677 version of math_ldbl.h.
9679 2013-10-04 Alan Modra <amodra@gmail.com>
9681 [BZ #15734], [BZ #15735]
9682 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9683 all uses of ieee875 long double macros and unions. Simplify test
9684 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9685 ldbl_extract_mantissa value for ix,iy exponents. Properly
9686 normalize after ldbl_extract_mantissa, and don't add hidden bit
9687 already handled. Don't treat low word of ieee854 mantissa like
9688 low word of IBM long double and mask off bit when testing for
9690 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9691 all uses of ieee875 long double macros and unions. Simplify tests
9692 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9693 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9694 two1022, instead use their values. Recognise that tests for large
9695 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9696 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9697 Rewrite all uses of ieee875 long double macros and unions. Simplify
9698 test for 0.0L and nan. Correct negation.
9699 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9700 ieee875 long double macros and unions. Correct output for large
9701 magnitude x. Correct absolute value calculation.
9702 (__erfcl): Likewise.
9703 * math/libm-test.inc: Add tests for errors discovered in IBM long
9704 double versions of fmodl, remainderl, erfl and erfcl.
9706 2013-10-04 Alan Modra <amodra@gmail.com>
9708 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9709 all uses of ieee854 long double macros and unions. Simplify tests
9710 for long doubles that are fully specified by the high double.
9711 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9713 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9714 Remove dead code too.
9715 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9716 (__ieee754_ynl): Likewise.
9717 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9718 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9719 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9720 Remove dead code too.
9721 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9722 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9723 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9724 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9726 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9728 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9729 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9730 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9731 Comment on variable precision.
9732 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9733 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9735 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9736 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9737 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9738 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9739 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9741 2013-10-04 Alan Modra <amodra@gmail.com>
9743 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9744 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9745 all uses of ieee854 long double macros and unions.
9746 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9748 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9749 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9750 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9751 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9753 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9754 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9755 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9756 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9757 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9758 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9759 Simplify sign and nan test too.
9760 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9761 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9762 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9763 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9765 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9766 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9768 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9769 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9770 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9772 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9773 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9775 2013-10-04 Alan Modra <amodra@gmail.com>
9777 * stdio-common/printf_size.c (__printf_size): Don't use
9778 union ieee854_long_double in fpnum union.
9779 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9780 signbit macro to retrieve sign from long double.
9781 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9782 retrieve sign from long double.
9783 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9784 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9785 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9786 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9787 * math/test-misc.c (main): Don't use union ieee854_long_double.
9789 2013-10-04 Alan Modra <amodra@gmail.com>
9792 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9793 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9794 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9795 calculation. Remove unnecessary test for denormal exponent.
9796 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9797 Correct handling of denormals. Avoid undefined shift behaviour.
9798 Correct normalisation of low mantissa when low double is denormal.
9799 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9800 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9801 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9802 Correct normalisation of low mantissa. Test for overflow of high
9803 mantissa and normalise.
9804 (ldbl_nearbyint): Use more readable constant for two52.
9805 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9806 (__mpn_construct_long_double): Fix test for overflow of high
9807 mantissa and correct normalisation. Avoid undefined shift.
9809 2013-10-04 Alan Modra <amodra@gmail.com>
9811 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9812 (union ibm_extended_long_double): Define as an array of ieee754_double.
9813 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9814 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9815 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9816 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9818 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9819 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9820 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9821 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9822 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9823 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9825 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9827 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9828 page size instead of calling getpagesize.
9830 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9831 (LOCFILE_ALIGN_MASK): Likewise.
9832 (LOCFILE_ALIGN_UP): Likewise.
9833 (LOCFILE_ALIGNED_P): Likewise.
9834 * locale/programs/ld-collate.c (collate_output): Use the new
9835 macros instead of __alignof__ (int32_t).
9836 * locale/weight.h (findidx): Likewise.
9838 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9841 * manual/string.texi: Fix strncat and wcsncat.
9843 2013-10-03 Brooks Moses <bmoses@google.com>
9846 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9847 * Makerules: ...here, and adjust associated comments.
9849 2013-10-02 Will Newton <will.newton@linaro.org>
9851 * malloc/Makefile: Add tst-pvalloc.
9852 * malloc/tst-pvalloc.c: New file.
9854 2013-10-02 Will Newton <will.newton@linaro.org>
9856 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9857 improve test coverage.
9859 2013-10-02 Will Newton <will.newton@linaro.org>
9861 * malloc/Makefile: Add tst-posix_memalign.
9862 * malloc/tst-posix_memalign.c: New file.
9864 2013-10-01 Eric Blake <eblake@redhat.com>
9866 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9867 Use __THROWNL rather than __THROW on static functions.
9869 2013-09-30 Petr Machata <pmachata@redhat.com>
9871 * elf/elf.h (R_AARCH64_ABS16): New macro.
9872 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9873 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9874 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9875 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9876 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9877 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9878 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9879 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9880 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9881 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9882 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9883 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9884 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9885 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9886 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9887 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9888 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9889 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9890 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9891 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9892 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9893 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9894 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9895 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9896 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9897 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9898 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9899 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9900 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9901 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9902 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9903 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9904 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9905 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9906 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9907 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9908 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9909 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9910 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9911 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9912 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9913 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9914 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9915 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9916 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9917 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9918 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9919 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9920 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9921 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9922 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9923 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9924 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9925 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9926 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9927 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9928 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9929 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9930 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9931 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9932 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9933 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9934 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9935 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9936 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9937 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9938 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9939 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9940 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9941 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9942 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9943 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9944 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9945 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9946 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9947 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9948 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9949 (R_AARCH64_TLSDESC_LDR): Likewise.
9950 (R_AARCH64_TLSDESC_ADD): Likewise.
9951 (R_AARCH64_TLSDESC_CALL): Likewise.
9953 2013-09-30 Andreas Schwab <schwab@suse.de>
9956 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9957 the nss database lookup.
9958 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9961 2013-09-28 Mike Frysinger <vapier@gentoo.org>
9963 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9965 2013-09-28 P. J. McDermott <pj@pehjota.net>
9967 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9968 ${Bash-specific parameter/pattern/string} parameter expansion.
9969 * sysdeps/unix/make-syscalls.sh: Likewise.
9971 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9973 * sysdeps/sh/stackguard-macros.h: New file.
9975 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
9977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9978 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9979 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9980 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9981 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9982 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9984 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9986 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9987 Fix thread ID register.
9989 2013-09-25 Joseph Myers <joseph@codesourcery.com>
9991 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9992 [POSIX || UNIX98]: Require rather than permitting all symbols from
9994 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9995 element of struct sched_param.
9996 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9997 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9998 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9999 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10002 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10004 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10005 argument calculation.
10007 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10009 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10011 [POSIX] (pthread_attr_t): Do not require type.
10012 [POSIX] (pthread_cond_t): Likewise.
10013 [POSIX] (pthread_condattr_t): Likewise.
10014 [POSIX] (pthread_key_t): Likewise.
10015 [POSIX] (pthread_mutex_t): Likewise.
10016 [POSIX] (pthread_mutexattr_t): Likewise.
10017 [POSIX] (pthread_once_t): Likewise.
10018 [POSIX] (pthread_t): Likewise.
10019 [POSIX-based standards] (pthread_atfork): Expect function.
10021 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10022 Richard Sandiford <richard@codesourcery.com>
10024 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10025 (swap_endianness_p): New extern variable.
10026 (set_big_endian): New inline function.
10027 (maybe_swap_uint32): Likewise.
10028 (maybe_swap_uint32_array): Likewise.
10029 (maybe_swap_uint32_obstack): Likewise.
10030 * locale/programs/locfile.c: Include <stdbool.h>.
10031 (swap_endianness_p): New variable.
10032 (add_locale_uint32): Call maybe_swap_uint32.
10033 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10034 (write_locale_data): Call maybe_swap_uint32_array.
10035 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10037 (obstack_int32_grow_fast): Likewise.
10038 (output_weightwc): Call maybe_swap_uint32_obstack.
10039 (collate_output): Likewise.
10040 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10041 (OPT_LITTLE_ENDIAN): Likewise.
10042 (options): Add --little-endian and --big-endian options.
10043 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10044 * locale/programs/locarchive.c: Include "locfile.h".
10048 (create_archive): Use the new macros to access fields of
10049 structures directly mapped from or written to locale archives.
10050 (oldlocrecentcmp): Likewise.
10051 (enlarge_archive): Likewise.
10052 (insert_name): Likewise.
10053 (add_alias): Likewise.
10054 (add_locale): Likewise.
10055 (delete_locales_from_archive): Likewise.
10056 (show_archive_content): Likewise.
10057 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10060 2013-09-24 Roland McGrath <roland@hack.frob.com>
10062 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10063 http://www.gnu.org/doc/freemanuals.texi.
10064 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10066 2013-09-24 Will Newton <will.newton@linaro.org>
10068 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10071 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10073 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10076 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10078 * manual/threads.texi (POSIX Threads): Fix a typo.
10080 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10083 * string/tst-strcoll-overflow.c: New test case.
10084 * string/Makefile (xtests): Add tst-strcoll-overflow.
10085 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10086 cache if string sizes may cause integer overflow.
10089 * string/strcoll_l.c (coll_seq): New members rule, idx,
10090 save_idx and back_us.
10091 (get_next_seq_nocache): New function.
10092 (do_compare_nocache): New function.
10093 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10096 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10099 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10100 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10101 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10104 * elf/Makefile (tests): Add tst-ptrguard1.
10105 (tests-static): Add tst-ptrguard1-static.
10106 (tst-ptrguard1-ARGS): Define.
10107 (tst-ptrguard1-static-ARGS): Define.
10108 * elf/tst-ptrguard1.c: New file.
10109 * elf/tst-ptrguard1-static.c: New file.
10110 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10111 * sysdeps/i386/stackguard-macros.h: Likewise.
10112 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10113 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10114 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10115 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10116 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10117 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10119 2013-09-23 Hector Marco <hecmargi@upv.es>
10120 Ismael Ripoll <iripoll@disca.upv.es>
10121 Carlos O'Donell <carlos@redhat.com>
10124 * sysdeps/generic/stackguard-macros.h: Define
10125 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10126 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10127 Define __pointer_chk_guard_local.
10128 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10129 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10131 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10134 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10136 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10138 * include/string.h (__ffs): Declare as hidden.
10139 * string/ffs.c (__ffs): Define as hidden.
10140 * sysdeps/i386/ffs.c (__ffs): Likewise.
10141 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10142 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10143 * sysdeps/s390/ffs.c (__ffs): Likewise.
10144 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10146 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10148 * NEWS: Mention malloc probes.
10150 * malloc/arena.c (new_heap): New memory_heap_new probe.
10151 (grow_heap): New memory_heap_more probe.
10152 (shrink_heap): New memory_heap_less probe.
10153 (heap_trim): New memory_heap_free probe.
10154 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10155 (systrim): New memory_sbrk_less probe.
10156 * manual/probes.texi: Document them.
10158 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10159 * manual/probes.texi: Document it.
10161 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10162 (__libc_realloc): Add memory_realloc_retry probe.
10163 (__libc_memalign): Add memory_memalign_retry probe.
10164 (__libc_valloc): Add memory_valloc_retry probe.
10165 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10166 (__libc_calloc): Add memory_calloc_retry probe.
10167 * manual/probes.texi: Document them.
10169 * malloc/arena.c (get_free_list): Add probe
10170 memory_arena_reuse_free_list.
10171 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10172 and memory_arena_reuse.
10173 (arena_get2) [!PER_THREAD]: Likewise.
10174 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10175 memory_arena_reuse_realloc.
10176 * manual/probes.texi: Document them.
10178 * malloc/malloc.c (__libc_free): Add
10179 memory_mallopt_free_dyn_thresholds probe.
10180 (__libc_mallopt): Add multiple memory_mallopt probes.
10181 * manual/probes.texi: Document them.
10183 * malloc/malloc.c: Include stap-probe.h.
10184 (__libc_mallopt): Add memory_mallopt probe.
10185 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10186 * manual/probes.texi: New.
10187 * manual/Makefile (chapters): Add probes.
10188 * manual/threads.texi: Set next node.
10190 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10192 [BZ #15963, #13985]
10193 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10194 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10195 Add `Chinese' to `nan' entry name.
10197 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10199 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10200 (POLYNOMIAL): Likewise.
10201 (TAYLOR_SINCOS): Likewise.
10202 (TAYLOR_SLOW): Likewise.
10203 (__sin): Use TAYLOR_SINCOS.
10205 (slow): Use TAYLOR_SLOW.
10207 (bsloww): Likewise.
10208 (csloww): Likewise.
10210 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10212 * stdlib/strtod_l.c: Fix buffer overrun.
10214 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10216 * benchtests/Makefile (bench): Add sincos.
10217 * benchtests/bench-sincos.c: New file.
10219 * math/libm-test.inc (cos_test_data): New test inputs.
10220 (sin_test_data): Likewise.
10222 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10228 (sloww1): Likewise.
10229 (sloww2): Likewise.
10230 (bsloww1): Likewise.
10231 (bsloww2): Likewise.
10232 (cslow2): Likewise.
10233 (csloww1): Likewise.
10234 (csloww2): Likewise.
10236 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10241 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10245 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10247 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10248 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10249 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10250 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10251 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10252 * elf/cache.c (print_entry): Handle the new cache flags.
10254 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10255 Aldy Hernandez <aldyh@redhat.com>
10257 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10258 Change condition to [_SOFT_FLOAT].
10259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10265 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10266 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10267 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10269 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10271 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10272 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10273 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10274 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10277 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10279 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10280 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10281 (__longjmp): Use LOAD_GP to load saved GPRs.
10282 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10283 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10284 (__sigsetjmp): Use SAVE_GP to save GPRs.
10286 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10287 Do not append -msoft-float.
10288 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10290 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10292 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10294 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10297 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10298 (_FPU_GETCW): Use initial "__" on variable and field names but not
10299 on macro parameter name.
10300 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10301 parentheses around reference to macro parameter.
10303 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10305 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10307 (ctype_startup): Use uint32_t in cast and sizeof for
10310 2013-09-11 Jia Liu <proljc@gmail.com>
10312 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10314 [__FreeBSD__]: Likewise.
10316 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10318 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10319 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10320 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10321 (strchr): Remove __strchr_sse42 ifunc selection.
10322 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10323 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10325 2013-09-11 Will Newton <will.newton@linaro.org>
10327 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10328 parameter to RES. Remove hardcoded 1000 value.
10329 * benchtests/bench-skeleton.c (main): Pass RES parameter
10330 to TIMING_INIT and multiply result by 1000.
10332 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10336 2013-09-11 Andreas Schwab <schwab@suse.de>
10338 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10340 (O_TMPFILE) [__USE_GNU]: Define.
10341 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10344 2013-09-11 Will Newton <will.newton@linaro.org>
10347 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10350 2013-09-11 Will Newton <will.newton@linaro.org>
10353 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10356 2013-09-11 Will Newton <will.newton@linaro.org>
10359 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10362 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10364 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10365 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10366 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10367 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10368 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10370 2013-09-10 Allan McRae <allan@archlinux.org>
10373 * manual/arith.texi (Parsing of Floats): Clarify
10377 * manual/install.texi (Running make install): Mention
10379 * INSTALL: Regenerated.
10381 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10383 * csu/init-first.c (_init): Remove the !SHARED condition around
10384 FPU control word initialization.
10385 * elf/dl-support.c (_dl_fpu_control): New variable.
10386 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10387 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10388 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10389 * math/test-fpucw-static.c: New file.
10390 * math/test-fpucw-ieee.c: New file.
10391 * math/test-fpucw-ieee-static.c: New file.
10392 * math/Makefile (tests): Add `test-fpucw-ieee' and
10394 (tests-static): New variable.
10395 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10397 [($(build-shared),yes)]
10398 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10400 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10403 2013-09-09 Allan McRae <allan@archlinux.org>
10406 * manual/string.texi (Collation Functions): Fix typo in
10408 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10411 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10414 * libio/memstream.c (open_memstream): Fix memory leak.
10415 * libio/wmemstream.c (open_wmemstream): Likewise.
10418 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10420 2013-09-09 Will Newton <will.newton@linaro.org>
10422 * malloc/Makefile: Add tst-realloc to tests.
10423 * malloc/tst-realloc.c: New file.
10425 2013-09-09 Allan McRae <allan@archlinux.org>
10428 * COPYING: Update from GNU website to fix FSF address.
10429 * COPYING.LIB: Likewise.
10431 2013-09-06 David S. Miller <davem@davemloft.net>
10433 * po/zh_TW.po: Update Chinese (traditional) translation from
10434 translation project.
10436 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10437 Joseph Myers <joseph@codesourcery.com>
10439 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10441 (obstack_chunk_alloc): New macro.
10442 (obstack_chunk_free): Likewise.
10443 (record_offset): New function.
10444 (init_locale_data): Likewise.
10445 (align_locale_data): Likewise.
10446 (add_locale_empty): Likewise.
10447 (add_locale_raw_data): Likewise.
10448 (add_locale_raw_obstack): Likewise.
10449 (add_locale_string): Likewise.
10450 (add_locale_wstring): Likewise.
10451 (add_locale_uint32): Likewise.
10452 (add_locale_uint32_array): Likewise.
10453 (add_locale_char): Likewise.
10454 (start_locale_structure): Likewise.
10455 (end_locale_structure): Likewise.
10456 (start_locale_prelude): Likewise.
10457 (end_locale_prelude): Likewise.
10458 (write_locale_data): Take locale_file structure rather than an
10460 * locale/programs/locfile.h: Include "obstack.h".
10461 (struct locale_file): Change to store locale file contents instead
10463 (init_locale_data): New prototype.
10464 (align_locale_data): Likewise.
10465 (add_locale_empty): Likewise.
10466 (add_locale_raw_data): Likewise.
10467 (add_locale_raw_obstack): Likewise.
10468 (add_locale_string): Likewise.
10469 (add_locale_wstring): Likewise.
10470 (add_locale_uint32): Likewise.
10471 (add_locale_uint32_array): Likewise.
10472 (add_locale_char): Likewise.
10473 (start_locale_structure): Likewise.
10474 (end_locale_structure): Likewise.
10475 (start_locale_prelude): Likewise.
10476 (end_locale_prelude): Likewise.
10477 (write_locale_data): Update prototype.
10478 * locale/programs/3level.h (struct TABLE): Remove result field.
10479 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10480 Use new locale_file interface.
10481 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10482 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10483 * locale/programs/ld-address.c (address_output): Use new
10484 locale_file interface.
10485 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10487 (collate_finish): Don't call collseq_table_finalize.
10488 (collate_output): Use new locale_file interface.
10489 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10491 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10492 (TABLE): Move defines earlier in file.
10493 (ELEMENT): Likewise.
10494 (DEFAULT): Likewise.
10495 (wctrans_table_add): Move macro and inline function earlier in
10497 (struct wctype_table): Move type earlier in file.
10498 (add_locale_wctype_table): New static prototype.
10499 (struct locale_ctype_t): Use logical types instead of struct iovec
10500 pointers for members.
10501 (ctype_output): Use new locale_file interface.
10502 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10503 new locale_file interface.
10504 (allocate_arrays): Update for use of new locale_file interface.
10505 * locale/programs/ld-identification.c (identification_output): Use
10506 new locale_file interface.
10507 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10508 * locale/programs/ld-messages.c (messages_output): Likewise.
10509 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10510 * locale/programs/ld-name.c (name_output): Likewise.
10511 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10512 * locale/programs/ld-paper.c (paper_output): Likewise.
10513 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10514 * locale/programs/ld-time.c (time_output): Likewise.
10516 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10518 * benchtests/Makefile: Add memrchr benchmark.
10519 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10520 benchmark as memrchr.
10521 * benchtests/bench-memrchr-ifunc.c: New file.
10522 * benchtests/bench-memrchr.c: New file.
10524 2013-09-06 Will Newton <will.newton@linaro.org>
10526 * benchtests/Makefile (string-bench): Add memcpy.
10528 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10529 Cong Wang <amwang@redhat.com>
10532 * sysdeps/unix/sysv/linux/bits/in.h
10533 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10534 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10535 before __USE_KERNEL_IPV6_DEFS uses.
10536 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10538 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10539 sockaddr_in6, or ipv6_mreq.
10541 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10543 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10544 memory access for final bytes in some large inputs.
10545 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10547 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10549 * string/test-memrchr.c: New file.
10550 * string/test-memrchr-ifunc.c: New file.
10551 * string/Makefile: Add new memrchr testcase.
10553 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10555 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10556 fanotify_init returns EPERM.
10558 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10560 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10562 (top level): Treat second token from macro or constant entries for
10563 allowed headers as allowed.
10564 * include/complex.h: Condition internal declarations on
10566 * include/fenv.h: Condition include of <stdbool.h> and internal
10567 declarations on [!_ISOMAC].
10569 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10572 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10574 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10576 * configure.in (--enable-versioning): Remove configure option.
10577 (libc_cv_asm_symver_directive): Remove configure test.
10578 (libc_cv_ld_version_script_option): Likewise.
10579 (VERSIONING): Remove variable and AC_SUBST.
10580 (DO_VERSIONING): Remove AC_DEFINE.
10581 * configure: Regenerated.
10582 * config.h.in (DO_VERSIONING): Remove macro.
10583 * Makerules [$(versioning) = yes]: Change conditionals to
10584 [$(build-shared) = yes].
10585 * config.make.in (versioning): Remove variable.
10586 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10587 [$(build-shared) = yes].
10588 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10589 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10590 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10591 [$(build-shared) = yes].
10592 * extra-lib.mk [$(versioning) = yes]: Likewise.
10593 * hurd/Makefile [$(versioning) = yes]: Likewise.
10594 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10596 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10598 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10599 [SHARED && !NO_HIDDEN].
10600 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10602 [SHARED && DO_VERSIONING]: Likewise..
10603 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10604 [$(build-shared) = yes].
10605 * manual/install.texi (--disable-versioning): Remove
10607 * INSTALL: Regenerated.
10608 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10610 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10611 [$(build-shared) = yes].
10612 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10613 * sysdeps/i386/i686/multiarch/strstr-c.c
10614 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10615 [SHARED && !NO_HIDDEN].
10616 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10617 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10618 * sysdeps/powerpc/powerpc32/dl-machine.c
10619 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10620 * sysdeps/powerpc/powerpc32/sysdep.h
10621 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10622 to [SHARED && PIC && !NO_HIDDEN].
10623 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10624 conditional to [SHARED].
10626 2013-09-04 Will Newton <will.newton@linaro.org>
10628 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10629 * benchtests/bench-string.h: Include bench-timing.h instead
10630 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10631 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10632 call to HP_TIMING_DIFF_INIT.
10633 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10634 instead of hp-timing.h macros.
10635 * benchtests/bench-memchr.c: Likewise.
10636 * benchtests/bench-memcmp.c: Likewise.
10637 * benchtests/bench-memcpy.c: Likewise.
10638 * benchtests/bench-memmem.c: Likewise.
10639 * benchtests/bench-memmove.c: Likewise.
10640 * benchtests/bench-memset.c: Likewise.
10641 * benchtests/bench-rawmemchr.c: Likewise.
10642 * benchtests/bench-strcasecmp.c: Likewise.
10643 * benchtests/bench-strcasestr.c: Likewise.
10644 * benchtests/bench-strcat.c: Likewise.
10645 * benchtests/bench-strchr.c: Likewise.
10646 * benchtests/bench-strcmp.c: Likewise.
10647 * benchtests/bench-strcpy.c: Likewise.
10648 * benchtests/bench-strcpy_chk.c: Likewise.
10649 * benchtests/bench-strlen.c: Likewise.
10650 * benchtests/bench-strncasecmp.c: Likewise.
10651 * benchtests/bench-strncat.c: Likewise.
10652 * benchtests/bench-strncmp.c: Likewise.
10653 * benchtests/bench-strncpy.c: Likewise.
10654 * benchtests/bench-strnlen.c: Likewise.
10655 * benchtests/bench-strpbrk.c: Likewise.
10656 * benchtests/bench-strrchr.c: Likewise.
10657 * benchtests/bench-strspn.c: Likewise.
10658 * benchtests/bench-strstr.c: Likewise.
10660 2013-09-04 Will Newton <will.newton@linaro.org>
10662 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10664 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10667 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10668 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10669 * math/libm-test.inc (lgamma_test_data): Add more tests.
10670 * sysdeps/i386/fpu/libm-test-ulps: Update.
10671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10673 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10675 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10676 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10679 Add strcmp-sse2-unaligned
10680 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10682 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10684 * Versions.def (libc): Add GLIBC_2.19.
10686 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10688 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10689 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10691 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10694 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10695 intermediate calculations in recurrence.
10696 (__ieee754_ynf): Likewise.
10697 * math/libm-test.inc (jn_test_data): Do not allow spurious
10698 underflow exception. Add more tests.
10699 (yn_test_data): Add more tests.
10700 * sysdeps/i386/fpu/libm-test-ulps: Update.
10701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10703 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10705 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10707 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10709 * csu/init-first.c: Fix then/than typos.
10710 * locale/programs/ld-collate.c: Likewise.
10711 * locale/programs/linereader.h: Likewise.
10712 * manual/charset.texi: Likewise.
10713 * manual/filesys.texi: Likewise.
10714 * manual/stdio.texi: Likewise.
10715 * manual/string.texi: Likewise.
10716 * stdlib/fmtmsg.c: Likewise.
10717 * sysdeps/i386/stpncpy.S: Likewise.
10718 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10719 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10720 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10721 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10723 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10725 * elf/dl-open.c: Fix typos.
10726 * iconvdata/gbbig5.c: Likewise.
10727 * iconvdata/iso-2022-jp.c: Likewise.
10728 * iconv/gconv_int.h: Likewise.
10729 * iconv/loop.c: Likewise.
10730 * nis/rpcsvc/nis.h: Likewise.
10731 * resolv/ns_name.c: Likewise.
10732 * stdio-common/vfscanf.c: Likewise.
10733 * streams/stropts.h: Likewise.
10734 * sunrpc/rpc_thread.c: Likewise.
10735 * sysdeps/i386/strpbrk.S: Likewise.
10736 * sysdeps/ieee754/k_standard.c: Likewise.
10737 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10738 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10739 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10740 * sysdeps/mach/hurd/profil.c: Likewise.
10741 * sysdeps/s390/dl-procinfo.h: Likewise.
10742 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10743 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10744 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10745 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10746 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10748 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10750 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10751 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10753 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10755 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10756 aix specific files.
10757 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10758 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10759 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10760 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10761 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10762 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10763 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10764 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10766 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10767 Roland McGrath <roland@hack.frob.com>
10769 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10770 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10772 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10774 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10775 __executable_start symbol instead of _start.
10777 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10779 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10780 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10782 * sysdeps/gnu/ldsodefs.h: ... this new file.
10784 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10785 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10786 instead of ELFOSABI_LINUX.
10788 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10789 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10790 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10791 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10793 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10794 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10795 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10797 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10798 (ibm_extended_long_double): Add ieee_nan member.
10799 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10800 (do_test): New function.
10802 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10804 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10805 functions, renamed from truncdfsf_test, trunctfsf_test,
10807 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10809 (do_test): Run all these.
10811 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10813 * argp/argp-help.c: Fix typos.
10814 * argp/argp-parse.c: Likewise.
10815 * debug/backtracesyms.c: Likewise.
10816 * elf/elf.h: Likewise.
10817 * malloc/malloc.c: Likewise.
10818 * nis/nis_print.c: Likewise.
10819 * resolv/res_comp.c: Likewise.
10820 * stdlib/stdlib.h: Likewise.
10821 * sunrpc/clnt_tcp.c: Likewise.
10822 * sunrpc/clnt_udp.c: Likewise.
10823 * sunrpc/clnt_unix.c: Likewise.
10824 * sysdeps/unix/bsd/ptsname.c: Likewise.
10825 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10826 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10833 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10835 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10837 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10840 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10843 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10844 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10845 ($(objpfx)bug-dl-leaf): New rule.
10846 ($(objpfx)bug-dl-leaf.so): Likewise.
10847 ($(objpfx)bug-dl-leaf.out): Likewise.
10848 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10849 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10850 * dlfcn/bug-dl-leaf.c: New test.
10851 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10852 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10853 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10854 (dlclose): Likewise.
10855 (dlmopen): Likewise.
10857 2013-08-27 Roland McGrath <roland@hack.frob.com>
10859 * include/netdb.h [!_ISOMAC]:
10860 Don't include <tls.h>.
10861 (h_errno, __libc_h_errno): Move declaration and macros out of
10864 * include/resolv.h [_RESOLV_H_]:
10865 Don't include <tls.h>.
10866 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10867 * resolv/res_libc.c: Don't include <tls.h>.
10868 (_res): Use __attribute__ ((nocommon)) in place of
10869 __attribute__ ((section (".bss"))).
10871 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10872 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10874 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10876 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10877 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10879 * resolv/res_mkquery.c: Include <sys/time.h>.
10881 * inet/ifreq.c: Moved to ...
10882 * sysdeps/unix/ifreq.c: ... here.
10883 * inet/ifreq.c: New file, true stub version.
10885 * socket/sa_len.c: New file.
10886 * socket/Makefile (aux): Add it.
10887 * sysdeps/unix/sysv/linux/Makefile
10888 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10889 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10890 and #include <socket/sa_len.c>.
10891 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10892 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10894 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10895 * bits/socket.h: ... here.
10897 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10898 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10899 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10901 2013-08-27 Andreas Schwab <schwab@suse.de>
10904 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10905 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10906 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10907 * string/test-strcasecmp.c (test_main): Run tests in several
10909 * string/test-strncasecmp.c (test_main): Likewise.
10911 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10912 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10913 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10914 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10915 (__strncasecmp_ssse3) [PIC]: Likewise.
10917 2013-08-26 Roland McGrath <roland@hack.frob.com>
10919 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10921 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10922 instead of explicitly declaring xdecrypt.
10923 * nis/nss_nis/nis-publickey.c: Likewise.
10925 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10928 * nscd/aicache.c: Include res_hconf.h.
10929 (addhstaiX): Initialize res_hconf.
10931 2013-08-26 Andreas Schwab <schwab@suse.de>
10933 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10934 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10936 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10938 * nscd/aicache.c (addhstaiX): Fix indentation.
10940 2013-08-25 Mike Frysinger <vapier@gentoo.org>
10942 * configure.ac: Quote $build_pt_chown test.
10943 * configure: Regenerated.
10945 2013-08-23 Joseph Myers <joseph@codesourcery.com>
10948 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10949 * math/s_cexpf.c (__cexpf): Likewise.
10950 * math/s_cexpl.c (__cexpl): Likewise.
10951 * math/libm-test.inc (cexp_test_data): Correct expected return
10952 value for NaN + i0. Add another test.
10954 2013-08-22 David S. Miller <davem@davemloft.net>
10956 * po/ca.po: Update Catalan translation from translation project.
10957 * po/uk.po: Add Ukrainian translations from translation project.
10959 2013-08-21 Joseph Myers <joseph@codesourcery.com>
10962 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10963 is infinite, not alongside NaN test.
10964 * math/s_fdimf.c (__fdimf): Likewise.
10965 * math/s_fdiml.c (__fdiml): Likewise.
10966 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10967 errno is unchanged.
10969 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
10971 * argp/argp-help.c: Fix typos.
10972 * crypt/speeds.c: Likewise.
10973 * csu/check_fds.c: Likewise.
10974 * elf/dl-load.c: Likewise.
10975 * elf/dl-open.c: Likewise.
10976 * elf/reldep3.c: Likewise.
10977 * elf/reldep.c: Likewise.
10978 * elf/sprof.c: Likewise.
10979 * iconv/iconv_charmap.c: Likewise.
10980 * iconv/skeleton.c: Likewise.
10981 * iconv/strtab.c: Likewise.
10982 * io/lockf64.c: Likewise.
10983 * libio/libioP.h: Likewise.
10984 * resolv/gai_notify.c: Likewise.
10985 * resolv/ns_name.c: Likewise.
10986 * resolv/ns_samedomain.c: Likewise.
10987 * resolv/res_send.c: Likewise.
10988 * stdlib/random.c: Likewise.
10989 * sunrpc/rpc/xdr.h: Likewise.
10990 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10991 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10992 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10993 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10994 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10995 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10996 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10997 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10998 * sysdeps/mach/hurd/check_fds.c: Likewise.
10999 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11000 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11001 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11002 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11003 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11004 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11005 * sysdeps/pthread/aio_notify.c: Likewise.
11006 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11007 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11008 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11009 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11010 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11012 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11014 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11015 version if bit_Slow_SSE4_2 is set.
11016 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11017 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11019 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11022 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11023 trampoline stack frame information.
11024 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11025 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11026 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11027 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11028 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11029 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11030 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11031 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11033 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11034 interrupting a syscall and set with option SA_SIGINFO.
11036 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11039 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11040 argument is infinite.
11041 * math/s_cprojf.c (__cprojf): Likewise.
11042 * math/s_cprojl.c (__cprojl): Likewise.
11043 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11044 * math/libm-test.inc (cproj_test_data): Add more tests.
11046 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11048 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11049 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11050 size. Use __ffs to determine corresponding shift.
11052 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11053 Roland McGrath <roland@hack.frob.com>
11055 * Makefile (INSTALL): Remove trailing blank lines from output of
11058 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11060 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11061 Align 32 bit compat elf_greg to 8 bytes.
11063 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11065 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11067 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11069 * string/strcoll_l.c (coll_seq): New structure.
11070 (get_next_seq_cached): New function.
11071 (get_next_seq): New function.
11072 (do_compare): New function.
11073 (STRCOLL): Use GNU style definition. Simplify implementation
11074 by using get_next_seq, get_next_seq_cached and do_compare.
11076 2013-08-16 Florian Weimer <fweimer@redhat.com>
11080 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11082 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11084 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11085 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11086 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11088 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11089 GETDENTS_64BIT_ALIGNED.
11090 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11091 * manual/filesys.texi (Reading/Closing Directory): Document
11092 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11094 * manual/conf.texi (Limits for Files): Add portability note to
11095 NAME_MAX, PATH_MAX.
11096 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11098 2013-08-13 Andreas Schwab <schwab@suse.de>
11101 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11103 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11104 LDBL_MAX_EXP >= 16384]: Add tests for it.
11106 2013-08-12 David S. Miller <davem@davemloft.net>
11108 * version.h (RELEASE): Set to "development".
11109 (VERSION): Set to "2.18.90".
11110 * NEWS: Add 2.19 section.
11112 2013-08-03 David S. Miller <davem@davemloft.net>
11114 * po/ko.po: Update Korean translation from translation project.
11116 2013-08-01 David S. Miller <davem@davemloft.net>
11118 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11119 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11122 2013-07-30 David S. Miller <davem@davemloft.net>
11124 * po/fr.po: Update French translation from translation project.
11126 2013-07-28 David S. Miller <davem@davemloft.net>
11128 * po/cs.po: Update Czech translation from translation project.
11130 * po/sv.po: Update Swedish translation from translation project.
11132 2013-07-27 David S. Miller <davem@davemloft.net>
11134 * po/eo.po: Update Esperanto translation from translation project.
11136 * po/vi.po: Update Vietnamese translation from translation project.
11138 * po/de.po: Update German translation from translation project.
11140 2013-07-26 David S. Miller <davem@davemloft.net>
11142 * po/bg.po: Update Bulgarian translation from translation project.
11144 * po/nl.po: Update Dutch translation from translation project.
11145 * po/pl.po: Update Polish translation from translation project.
11146 * po/ru.po: Update Russian translation from translation project.
11148 2013-07-24 David S. Miller <davem@davemloft.net>
11150 * po/libc.pot: Update.
11152 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11154 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11155 variable page size.
11156 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11157 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11158 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11160 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11162 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11164 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11165 Andreas Schwab <schwab@suse.de>
11166 Roland McGrath <roland@hack.frob.com>
11167 Joseph Myers <joseph@codesourcery.com>
11168 Carlos O'Donell <carlos@redhat.com>
11171 * config.h.in: Define HAVE_PT_CHOWN.
11172 * config.make.in (build-pt-chown): New variable.
11173 * configure.in (--enable-pt_chown): New configure option.
11174 * configure: Regenerate.
11175 * login/Makefile: Include Makeconfig. Build pt_chown only if
11176 build-pt-chown is enabled.
11177 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11178 pt_chown to fix pty ownership.
11179 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11181 * manual/install.texi (Configuring and compiling): Mention
11182 --enable-pt_chown. Add @findex for grantpt.
11183 * INSTALL: Regenerate.
11185 2013-07-20 David S. Miller <davem@davemloft.net>
11187 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11188 difference between 32-bit and 64-bit.
11190 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11193 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11194 Avoid system header dependency with -ffreestanding.
11195 ($(objpfx)bits/syscall%d): Likewise.
11197 2013-07-13 David S. Miller <davem@davemloft.net>
11199 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11200 underflows from atanl/atan2l due to bug 15319.
11201 (casinh_test_data): Likewise.
11203 2013-07-07 David S. Miller <davem@davemloft.net>
11205 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11207 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11209 * sysdeps/i386/fpu/libm-test-ulps: Update.
11210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11212 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11214 * configure.in (--enable-lock-elision): Fix message text.
11215 * INSTALL: Regenerate.
11216 * configure: Regenerate.
11218 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11222 2013-07-03 Andreas Jaeger <aj@suse.de>
11224 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11226 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11227 (ptrace_peeksiginfo_args): Add.
11228 (__ptrace_peeksiginfo_flags): Add.
11229 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11230 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11231 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11233 2013-07-03 Allan McRae <allan@archlinux.org>
11235 * sysdeps/i386/fpu/libm-test-ulps: Update.
11237 2013-07-02 David S. Miller <davem@davemloft.net>
11239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11241 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11245 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11247 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11250 2013-07-02 Andi Kleen <ak@linux.intel.com>
11252 * config.h.in (ENABLE_LOCK_ELISION): Add.
11253 * configure.in (--enable-lock-elision): Add option.
11254 * manual/install.texi: Document --enable lock elision.
11255 * configure: Regenerate
11256 * INSTALL: Regenerate.
11258 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11260 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11261 SSE4.2 strcasecmp for libc.a.
11262 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11264 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11267 * soft-fp/op-common.h (_FP_FMA): New macro.
11268 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11269 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11270 (_FP_MUL_MEAT_1_imm): ... here.
11271 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11272 (_FP_MUL_MEAT_1_wide): ... here.
11273 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11274 (_FP_MUL_MEAT_1_hard): ... here.
11275 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11276 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11277 (_FP_MUL_MEAT_2_wide): ... here.
11278 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11279 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11280 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11281 (_FP_MUL_MEAT_2_gmp): ... here.
11282 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11283 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11284 (_FP_MUL_MEAT_4_wide): ... here.
11285 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11286 (_FP_MUL_MEAT_4_gmp): ... here.
11287 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11288 (_FP_WFRACBITS_DW_S): Likewise.
11289 (_FP_WFRACXBITS_DW_S): Likewise.
11290 (_FP_HIGHBIT_DW_S): Likewise.
11291 (FP_FMA_S): Likewise.
11292 (_FP_FRAC_HIGH_DW_S): Likewise.
11293 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11294 (_FP_WFRACBITS_DW_D): Likewise.
11295 (_FP_WFRACXBITS_DW_D): Likewise.
11296 (_FP_HIGHBIT_DW_D): Likewise.
11297 (FP_FMA_D): Likewise.
11298 (_FP_FRAC_HIGH_DW_D): Likewise.
11299 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11300 (_FP_WFRACBITS_DW_E): Likewise.
11301 (_FP_WFRACXBITS_DW_E): Likewise.
11302 (_FP_HIGHBIT_DW_E): Likewise.
11303 (FP_FMA_E): Likewise.
11304 (_FP_FRAC_HIGH_DW_E): Likewise.
11305 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11306 (_FP_WFRACBITS_DW_Q): Likewise.
11307 (_FP_WFRACXBITS_DW_Q): Likewise.
11308 (_FP_HIGHBIT_DW_Q): Likewise.
11309 (FP_FMA_Q): Likewise.
11310 (_FP_FRAC_HIGH_DW_Q): Likewise.
11311 * soft-fp/fmasf4.c: New file.
11312 * soft-fp/fmadf4.c: Likewise.
11313 * soft-fp/fmatf4.c: Likewise.
11315 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11318 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11320 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11322 (index_Slow_SSE4_2): Likewise.
11323 (index_Prefer_PMINUB_for_stringop): Likewise.
11324 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11325 bit_Slow_SSE4_2 is set.
11326 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11327 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11329 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11331 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11332 rtld_global._dl_hwcap2.
11333 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11335 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11336 POWER8 feature descriptions defined in _dl_hwcap2.
11337 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11338 string handling for POWER8 feature bits.
11339 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11340 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11341 _dl_powerpc_cap_flags.
11342 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11343 * sysdeps/powerpc/rtld-global-offsets.sym
11344 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11345 _dl_hwcap2 in the rtld_global_ro structure.
11347 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11349 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11350 hardware capabilities in support of AT_HWCAP2.
11351 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11352 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11354 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11355 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11356 explicitly the unknown a_type display mechanism is used.
11357 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11358 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11360 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11361 to macro prototype for AT_HWCAP2 support.
11362 * sysdeps/i386/dl-procinfo.h: Likewise.
11363 * sysdeps/s390/dl-procinfo.h: Likewise.
11364 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11365 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11366 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11367 return -1 for unknown a_type display fallback.
11368 * sysdeps/sparc/dl-procinfo.h: Likewise.
11369 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11370 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11372 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11374 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11375 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11377 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11380 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11381 mprotect making __stack_prot writable.
11383 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11384 Joseph Myers <joseph@codesourcery.com>
11386 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11387 as being properly aligned.
11389 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11391 * dlfcn/modstatic5.c: New file.
11392 * dlfcn/tststatic5.c: New file.
11393 * dlfcn/Makefile (tests): Add tststatic5.
11394 (tests-static): Likewise.
11395 (modules-names): Add modstatic5.
11396 (tststatic5-ENV): New variable.
11397 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11400 * elf/dl-support.c (_dl_main_map): New variable.
11401 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11402 (_dl_nns, _dl_load_adds): Set to 1.
11403 (_dl_initial_searchlist): Refer to _dl_main_map.
11404 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11405 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11406 call to _dl_get_origin.
11407 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11409 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11410 * dlfcn/modstatic3.c: New file.
11411 * dlfcn/tststatic3.c: New file.
11412 * dlfcn/tststatic4.c: New file.
11413 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11414 (tests-static): Likewise.
11415 (modules-names): Add modstatic3.
11416 (tststatic3-ENV, tststatic4-ENV): New variables.
11417 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11418 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11420 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11422 * configure.in (CC): Require GCC version 4.4 or later.
11423 * configure: Regenerated.
11424 * manual/install.texi (Tools for Compilation): Update GCC version
11426 * INSTALL: Regenerated.
11428 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11431 * string/test-memcmp.c (check2): New.
11432 (main): Call check2.
11434 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11436 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11439 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11441 (dl_open_worker) [!SHARED]: ... here.
11443 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11445 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11447 2013-06-25 Richard Henderson <rth@redhat.com>
11449 * locale/programs/locarchive.c: Include <libc-internal.h>
11451 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11453 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11454 trailing whitespace removed.
11456 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11459 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11460 * locale/programs/locarchive.c: Include libc-mmap.h.
11461 (prepare_address_space): Take two new outputs (the mmap base and len).
11462 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11464 (create_archive): Declare new mmap base and len values for
11465 prepare_address_space, and store the result in ah.
11466 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11467 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11468 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11469 Declare new mmap base and len values for
11470 prepare_address_space, and store the result in new_ah.
11471 (open_archive): Declare new mmap base and len values for
11472 prepare_address_space, and store the result in ah.
11473 (close_archive): If ah->mmap_base is not NULL, use that and
11474 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11475 * sysdeps/generic/libc-mmap.h: New file.
11477 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11479 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11480 (ALIGN_UP): Likewise.
11481 (PTR_ALIGN_DOWN): Likewise.
11482 (PTR_ALIGN_UP): Likewise.
11484 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11486 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11487 entry mapped to PPC_PLATFORM_POWER8.
11488 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11490 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11491 (_dl_string_platform): Add case for exporting platform position for
11493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11494 search path to sysdeps/powerpc/powerpc32/power8 directory.
11495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11496 search path to sysdeps/powerpc/powerpc64/power8 directory.
11497 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11498 power7 directories.
11499 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11500 power7 directories.
11502 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11504 * INSTALL: Regenerate.
11506 * nscd/connections.c (nscd_init): Fix comment.
11508 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11510 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11513 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11514 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11516 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11518 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11520 (DL_DST_REQ_STATIC): Remove macro.
11522 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11525 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11526 with a shift of 0 bits.
11528 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11530 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11533 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11536 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11538 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11540 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11541 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11542 accepts -fno-tree-loop-distribute-patterns.
11543 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11544 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11546 * string/memset.c (memset): Likewise.
11547 * string/test-memmove.c (simple_memmove): Disable loop transformation
11549 * string/test-memset.c (simple_memset): Likewise.
11550 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11551 * benchtests/bench-memset.c (simple_memset): Likewise.
11552 * configure: Regenerated.
11554 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11556 * math/test-misc.c (main): Ignore fesetround failure when failures
11557 of subsequent rounding tests would be ignored.
11560 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11561 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11562 * math/fegetenv.c (__fegetenv): Return 0.
11563 * math/fegetexcept.c (fegetexcept): Return 0.
11564 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11566 * math/feholdexcpt.c (feholdexcept): Return 0.
11567 * math/fesetenv.c (__fesetenv): Return 0.
11568 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11569 argument FE_TONEAREST.
11570 * math/feupdateenv.c (__feupdateenv): Return 0.
11571 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11573 2013-06-18 Roland McGrath <roland@hack.frob.com>
11575 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11576 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11577 ($(objpfx)rtld-%.os rules): Use them.
11579 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11581 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11584 2013-06-17 Roland McGrath <roland@hack.frob.com>
11586 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11587 length of target pattern, then descending length of dependency pattern.
11588 * configure.in (AWK): Require gawk 3.1.2 or newer.
11589 * manual/install.texi (Tools for Compilation): Say that we do.
11590 * configure: Regenerated.
11592 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11593 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11594 * scripts/sysd-rules.awk: ... this new script.
11595 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11596 than a glob-style pattern.
11598 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11600 * math/test-misc.c (main): Do not treat incorrectly rounded
11601 conversions as failure unless ROUNDING_TESTS passes.
11603 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11606 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11607 restore exception state around main square root computation, then
11608 check for inexactness explicitly.
11610 * math/libm-test.inc (fma_test_data): Add another test.
11612 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11614 * manual/threads.texi (Non-POSIX Extensions): New document
11615 node. Document pthread_getattr_default_np and
11616 pthread_setattr_default_np.
11618 * Versions.def (libpthread): Add GLIBC_2.18.
11619 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11628 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11639 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11642 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11644 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11645 H.J. Lu <hjl.tools@gmail.com>
11648 * sysdeps/x86_64/rtld-memset.c: Remove file.
11649 * sysdeps/x86_64/rtld-memset.S: New file.
11651 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11653 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11654 (test_in_one_mode): Take arguments for whether the rounding mode
11655 is supported for each floating-point type.
11656 (do_test): Pass new arguments to test_in_one_mode using
11659 2013-06-13 Roland McGrath <roland@hack.frob.com>
11661 * posix/tst-waitid.c (do_test): Distinguish different instances of
11662 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11663 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11664 before entering the kernel for waitpid.
11666 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11668 * NEWS: Fix note on clock function precision. Text by Roland
11671 2013-06-13 Roland McGrath <roland@hack.frob.com>
11673 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11674 it into place only when and if the sanity check passes.
11676 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11678 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11679 output for whether conversion result is exact. Take argument
11680 indicating whether type is IBM long double.
11681 (round_for_all): Change need_exact field to ibm_ld.
11682 * stdlib/tst-strtod-round.c (struct exactness): New type.
11683 (struct test): Change bool ld_ok field to struct exactness exact.
11684 (TEST): Update all definitions for change to field.
11685 (tests): Regenerate array contents.
11686 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11687 field value. Check for IBM long double here.
11688 (do_test): Update calls to test_in_one_mode.
11690 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11693 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11694 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11696 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11699 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11700 generated by the compiler on loop optimizations.
11701 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11702 general definitions.
11704 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11706 * math/bug-nextafter.c: Include <math-tests.h>.
11707 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11709 * math/bug-nexttoward.c: Include <math-tests.h>.
11710 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11712 * math/test-misc.c: Include <math-tests.h>.
11713 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11716 2013-06-12 Andreas Jaeger <aj@suse.de>
11718 * po/ia.po: Update Interlingua translation from translation
11721 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11723 * include/fenv.h: Include stdbool.h.
11724 (struct rm_ctx): New structure.
11725 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11727 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11728 (SET_RESTORE_ROUNDF): Likewise.
11729 (SET_RESTORE_ROUNDL): Likewise.
11730 (SET_RESTORE_ROUND_NOEX): Likewise.
11731 (SET_RESTORE_ROUND_NOEXF): Likewise.
11732 (SET_RESTORE_ROUND_NOEXL): Likewise.
11733 (SET_RESTORE_ROUND_53BIT): Likewise.
11734 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11735 (libc_feresetround_noexf_ctx): Likewise.
11736 (libc_feresetround_noexl_ctx): Likewise.
11737 (libc_feholdsetround_53bit_ctx): Likewise.
11738 (libc_feresetround_53bit_ctx): Likewise.
11739 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11740 (libc_feholdexcept_setround_sse_ctx): New function.
11741 (libc_fesetenv_sse_ctx): Likewise.
11742 (libc_feupdateenv_sse_ctx): Likewise.
11743 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11744 (libc_feholdexcept_setround_387_ctx): Likewise.
11745 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11746 (libc_feholdsetround_387_prec_ctx): Likewise.
11747 (libc_feholdsetround_387_ctx): Likewise.
11748 (libc_feholdsetround_387_53bit_ctx): Likewise.
11749 (libc_feholdsetround_sse_ctx): Likewise.
11750 (libc_feresetround_sse_ctx): Likewise.
11751 (libc_feresetround_387_ctx): Likewise.
11752 (libc_feupdateenv_387_ctx): Likewise.
11753 (libc_feholdexcept_setroundf_ctx): Define macro.
11754 (libc_fesetenvf_ctx): Likewise.
11755 (libc_feupdateenvf_ctx): Likewise.
11756 (libc_feholdsetroundf_ctx): Likewise.
11757 (libc_feresetroundf_ctx): Likewise.
11758 (libc_feholdexcept_setround_ctx): Likewise.
11759 (libc_fesetenv_ctx): Likewise.
11760 (libc_feupdateenv_ctx): Likewise.
11761 (libc_feholdsetround_ctx): Likewise.
11762 (libc_feresetround_ctx): Likewise.
11763 (libc_feholdexcept_setroundl_ctx): Likewise.
11764 (libc_feupdateenvl_ctx): Likewise.
11765 (libc_feholdsetroundl_ctx): Likewise.
11766 (libc_feresetroundl_ctx): Likewise.
11767 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11768 (libc_feresetround_53bit_ctx): Likewise.
11770 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11772 * locale/iso-639.def: Convert to UTF-8.
11774 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11776 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11777 (EXCEPTION_TESTS_double): Likewise.
11778 (EXCEPTION_TESTS_long_double): Likewise.
11779 (EXCEPTION_TESTS): Likewise.
11780 * math/libm-test.inc (test_exceptions): Only test exceptions if
11781 EXCEPTION_TESTS (FLOAT).
11783 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11785 * benchtests/Makefile (string-bench): Add strcpy_chk and
11787 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11788 * benchtests/bench-stpcpy_chk.c: New file.
11789 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11790 * benchtests/bench-strcpy_chk.c: New file.
11791 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11793 (do_test): Likewise.
11795 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11797 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11798 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11799 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11800 with tabs where appropriate.
11801 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11803 [PPC_PLATFORM_PPC440]: Likewise.
11804 [PPC_PLATFORM_PPC464]: Likewise.
11805 [PPC_PLATFORM_PPC476]: Likewise.
11806 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11807 ppc464, and ppc476 platform strings merging from ports/
11810 2013-06-11 Andreas Schwab <schwab@suse.de>
11813 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11814 (from_ucs4_idx): Regenerate.
11815 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11816 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11817 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11818 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11819 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11820 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11821 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11822 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11823 from FROM_LOOP and TO_LOOP specific macros.
11824 (BODY): Handle combining characters.
11825 * iconvdata/BIG5HKSCS.irreversible: Update.
11826 * iconvdata/BIG5HKSCS.precomposed: New file.
11827 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11829 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11831 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11833 * include/sys/time.h: Fix indentation and add copyright header.
11835 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11836 (do_test): Likewise.
11837 * string/test-memchr.c (do_one_test): Likewise.
11838 (do_test): Likewise.
11839 * string/test-memcmp.c (do_one_test): Likewise.
11840 (do_test): Likewise.
11841 * string/test-memcpy.c (do_one_test): Likewise.
11842 (do_test): Likewise.
11843 * string/test-memmem.c (do_one_test): Likewise.
11844 (do_test): Likewise.
11845 (do_random_tests): Likewise.
11846 * string/test-memmove.c (do_one_test): Likewise.
11847 (do_test): Likewise.
11848 * string/test-memset.c (do_one_test): Likewise.
11849 (do_test): Likewise.
11850 * string/test-rawmemchr.c (do_one_test): Likewise.
11851 (do_test): Likewise.
11852 * string/test-strcasecmp.c (do_one_test): Likewise.
11853 (do_test): Likewise.
11854 * string/test-strcasestr.c (do_one_test): Likewise.
11855 (do_test): Likewise.
11856 * string/test-strcat.c (do_one_test): Likewise.
11857 (do_test): Likewise.
11858 * string/test-strchr.c (do_one_test): Likewise.
11859 (do_test): Likewise.
11860 * string/test-strcmp.c (do_one_test): Likewise.
11861 (do_test): Likewise.
11862 * string/test-strcpy.c (do_one_test): Likewise.
11863 (do_test): Likewise.
11864 * string/test-string.h: Likewise.
11865 (test_init): Likewise.
11866 * string/test-strlen.c (do_one_test): Likewise.
11867 (do_test): Likewise.
11868 * string/test-strncasecmp.c (do_one_test): Likewise.
11869 (do_test): Likewise.
11870 * string/test-strncat.c (do_one_test): Likewise.
11871 (do_test): Likewise.
11872 * string/test-strncmp.c (do_one_test): Likewise.
11873 (do_test_limit): Likewise.
11874 (do_test): Likewise.
11875 * string/test-strncpy.c (do_one_test): Likewise.
11876 (do_test): Likewise.
11877 * string/test-strnlen.c (do_one_test): Likewise.
11878 (do_test): Likewise.
11879 * string/test-strpbrk.c (do_one_test): Likewise.
11880 (do_test): Likewise.
11881 * string/test-strrchr.c (do_one_test): Likewise.
11882 (do_test): Likewise.
11883 * string/test-strspn.c (do_one_test): Likewise.
11884 (do_test): Likewise.
11885 * string/test-strstr.c (do_one_test): Likewise.
11886 (do_test): Likewise.
11888 * benchtests/Makefile (string-bench): Add string benchmarks.
11889 * benchtests/bench-bcopy-ifunc.c: New file.
11890 * benchtests/bench-bcopy.c: New file.
11891 * benchtests/bench-bzero-ifunc.c: New file.
11892 * benchtests/bench-bzero.c: New file.
11893 * benchtests/bench-memccpy-ifunc.c: New file.
11894 * benchtests/bench-memccpy.c: New file.
11895 * benchtests/bench-memchr-ifunc.c: New file.
11896 * benchtests/bench-memchr.c: New file.
11897 * benchtests/bench-memcmp-ifunc.c: New file.
11898 * benchtests/bench-memcmp.c: New file.
11899 * benchtests/bench-memmem-ifunc.c: New file.
11900 * benchtests/bench-memmem.c: New file.
11901 * benchtests/bench-memmove-ifunc.c: New file.
11902 * benchtests/bench-memmove.c: New file.
11903 * benchtests/bench-mempcpy-ifunc.c: New file.
11904 * benchtests/bench-mempcpy.c: New file.
11905 * benchtests/bench-memset-ifunc.c: New file.
11906 * benchtests/bench-memset.c: New file.
11907 * benchtests/bench-rawmemchr-ifunc.c: New file.
11908 * benchtests/bench-rawmemchr.c: New file.
11909 * benchtests/bench-stpcpy-ifunc.c: New file.
11910 * benchtests/bench-stpcpy.c: New file.
11911 * benchtests/bench-stpncpy-ifunc.c: New file.
11912 * benchtests/bench-stpncpy.c: New file.
11913 * benchtests/bench-strcasecmp-ifunc.c: New file.
11914 * benchtests/bench-strcasecmp.c: New file.
11915 * benchtests/bench-strcasestr-ifunc.c: New file.
11916 * benchtests/bench-strcasestr.c: New file.
11917 * benchtests/bench-strcat-ifunc.c: New file.
11918 * benchtests/bench-strcat.c: New file.
11919 * benchtests/bench-strchr-ifunc.c: New file.
11920 * benchtests/bench-strchr.c: New file.
11921 * benchtests/bench-strchrnul-ifunc.c: New file.
11922 * benchtests/bench-strchrnul.c: New file.
11923 * benchtests/bench-strcmp-ifunc.c: New file.
11924 * benchtests/bench-strcmp.c: New file.
11925 * benchtests/bench-strcpy-ifunc.c: New file.
11926 * benchtests/bench-strcpy.c: New file.
11927 * benchtests/bench-strcspn-ifunc.c: New file.
11928 * benchtests/bench-strcspn.c: New file.
11929 * benchtests/bench-strlen-ifunc.c: New file.
11930 * benchtests/bench-strlen.c: New file.
11931 * benchtests/bench-strncasecmp-ifunc.c: New file.
11932 * benchtests/bench-strncasecmp.c: New file.
11933 * benchtests/bench-strncat-ifunc.c: New file.
11934 * benchtests/bench-strncat.c: New file.
11935 * benchtests/bench-strncmp-ifunc.c: New file.
11936 * benchtests/bench-strncmp.c: New file.
11937 * benchtests/bench-strncpy-ifunc.c: New file.
11938 * benchtests/bench-strncpy.c: New file.
11939 * benchtests/bench-strnlen-ifunc.c: New file.
11940 * benchtests/bench-strnlen.c: New file.
11941 * benchtests/bench-strpbrk-ifunc.c: New file.
11942 * benchtests/bench-strpbrk.c: New file.
11943 * benchtests/bench-strrchr-ifunc.c: New file.
11944 * benchtests/bench-strrchr.c: New file.
11945 * benchtests/bench-strspn-ifunc.c: New file.
11946 * benchtests/bench-strspn.c: New file.
11947 * benchtests/bench-strstr-ifunc.c: New file.
11948 * benchtests/bench-strstr.c: New file.
11950 * benchtests/Makefile: Disable parallel execution of targets.
11951 (string-bench): Add memcpy.
11952 (benchset): New variable to store a list of benchmark sets.
11953 (bench-func): Renamed from bench.
11954 (bench-set): New target.
11955 (bench): Depend on bench-func and bench-set.
11956 * benchtests/README: Add section on benchmark sets.
11957 * benchtests/bench-memcpy-ifunc.c: New file.
11958 * benchtests/bench-memcpy.c: New file.
11959 * benchtests/bench-string.h: New file.
11961 2013-06-11 Andreas Schwab <schwab@suse.de>
11964 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11965 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11966 values in the triple.
11967 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11968 terminator in the group key.
11970 2013-06-11 Andreas Jaeger <aj@suse.de>
11972 * po/zh_TW.po: Update Chinese (traditional) translation from
11973 translation project.
11975 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11977 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11978 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11979 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11980 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11981 (clock_getcpuclockid): Likewise.
11982 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11983 Add weak_alias and libc_hidden_def.
11984 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11985 * rt/clock_gettime.c (clock_gettime): Rename to
11986 __clock_gettime. Add weak_alias and libc_hidden_def.
11987 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11988 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11989 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11990 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11991 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11993 * rt/clock_settime.c (clock_settime): Rename to
11994 __clock_settime. Add weak_alias and libc_hidden_def.
11995 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11997 2013-06-10 Joseph Myers <joseph@codesourcery.com>
11999 * mach/err_boot.sub: Remove trailing whitespace.
12000 * mach/err_ipc.sub: Likewise.
12001 * mach/err_mach.sub: Likewise.
12003 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12004 (ROUNDING_TESTS_double): Likewise.
12005 (ROUNDING_TESTS_long_double): Likewise.
12006 (ROUNDING_TESTS): Likewise.
12007 * math/libm-test.inc: Include <math-tests.h>.
12008 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12009 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12010 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12011 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12013 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12015 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12018 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12020 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12021 otherwise empty TRANS lines.
12022 * sysdeps/gnu/errlist.c: Regenerated.
12024 * catgets/gencat.c (error_print): Use (void) in function
12026 * crypt/crypt_util.c (__init_des): Likewise.
12027 * crypt/speeds.c (Stop): Likewise.
12029 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12030 * inet/ruserpass.c (token): Likewise.
12031 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12032 * intl/localealias.c (extend_alias_table): Likewise.
12033 * intl/plural-exp.c (init_germanic_plural): Likewise.
12034 * libio/fcloseall.c (__fcloseall): Likewise.
12035 * libio/genops.c (_IO_flush_all): Likewise.
12036 (_IO_flush_all_linebuffered): Likewise.
12037 (_IO_cleanup): Likewise.
12038 (_IO_iter_begin): Likewise.
12039 (_IO_iter_end): Likewise.
12040 (_IO_list_lock): Likewise.
12041 (_IO_list_unlock): Likewise.
12042 (_IO_list_resetlock): Likewise.
12043 * libio/getchar.c (getchar): Likewise.
12044 * libio/getchar_u.c (getchar_unlocked): Likewise.
12045 * libio/getwchar.c (getwchar): Likewise.
12046 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12047 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12048 * login/getpt.c (__getpt): Likewise.
12049 * login/tst-utmp.c (main): Likewise.
12050 * malloc/hooks.c (__malloc_check_init): Likewise.
12051 * malloc/malloc.c (__malloc_stats): Likewise.
12052 * malloc/mtrace.c (tr_break): Likewise.
12053 (mtrace): Likewise.
12054 (muntrace): Likewise.
12055 * misc/fstab.c (endfsent): Likewise.
12056 * misc/getclktck.c (__getclktck): Likewise.
12057 * misc/getdtsz.c (__getdtablesize): Likewise.
12058 * misc/gethostid.c (gethostid): Likewise.
12059 * misc/getpagesize.c (__getpagesize): Likewise.
12060 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12061 (__get_nprocs): Likewise.
12062 (__get_phys_pages): Likewise.
12063 (__get_avphys_pages): Likewise.
12064 * misc/getttyent.c (getttyent): Likewise.
12065 (setttyent): Likewise.
12066 (endttyent): Likewise.
12067 * misc/getusershell.c (getusershell): Likewise.
12068 (endusershell): Likewise.
12069 (setusershell): Likewise.
12070 (initshells): Likewise.
12071 * misc/hsearch.c (__hdestroy): Likewise.
12072 * misc/sync.c (sync): Likewise.
12073 * misc/syslog.c (closelog_internal): Likewise.
12074 (closelog): Likewise.
12075 * misc/ttyslot.c (ttyslot): Likewise.
12076 * misc/vhangup.c (vhangup): Likewise.
12077 * posix/fork.c (__fork): Likewise.
12078 * posix/getegid.c (__getegid): Likewise.
12079 * posix/geteuid.c (__geteuid): Likewise.
12080 * posix/getgid.c (__getgid): Likewise.
12081 * posix/getpid.c (__getpid): Likewise.
12082 * posix/getppid.c (__getppid): Likewise.
12083 * posix/getuid.c (__getuid): Likewise.
12084 * posix/pause.c (pause): Likewise.
12085 * posix/setpgrp.c (setpgrp): Likewise.
12086 * posix/setsid.c (__setsid): Likewise.
12087 * posix/test-vfork.c (noop): Likewise.
12088 * resolv/gethnamaddr.c (_endhtent): Likewise.
12089 (_gethtent): Likewise.
12090 (ht_endhostent): Likewise.
12091 (gethostent): Likewise.
12092 (dns_service): Likewise.
12093 * stdlib/drand48.c (drand48): Likewise.
12094 * stdlib/lrand48.c (lrand48): Likewise.
12095 * stdlib/mrand48.c (mrand48): Likewise.
12096 * stdlib/rand.c (rand): Likewise.
12097 * stdlib/random.c (__random): Likewise.
12098 * stdlib/setenv.c (clearenv): Likewise.
12099 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12100 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12101 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12102 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12103 (__get_nprocs): Likewise.
12104 (__get_phys_pages): Likewise.
12105 (__get_avphys_pages): Likewise.
12106 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12107 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12108 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12109 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12110 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12111 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12112 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12113 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12114 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12115 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12116 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12117 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12118 * sysdeps/posix/clock.c (clock): Likewise.
12119 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12120 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12121 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12122 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12123 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12124 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12125 (__get_nprocs_conf): Likewise.
12126 (__get_phys_pages): Likewise.
12127 (__get_avphys_pages): Likewise.
12128 * time/clock.c (clock): Likewise.
12129 * time/tzset.c (__tzname_max): Likewise.
12131 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12133 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12134 (__bswap_32): Do not use "register".
12135 * crypt/crypt.c (_ufc_doit_r): Likewise.
12136 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12137 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12138 * gmon/gmon.c (__monstartup): Likewise.
12139 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12140 * hurd/hurdmalloc.c (more_memory): Likewise.
12141 (malloc): Likewise.
12143 (realloc): Likewise.
12144 (malloc_fork_prepare): Likewise.
12145 (malloc_fork_parent): Likewise.
12146 (malloc_fork_child): Likewise.
12147 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12148 (_svcauth_des): Likewise.
12149 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12150 * inet/inet_net.c (inet_network): Likewise.
12151 * inet/inet_netof.c (inet_netof): Likewise.
12152 * inet/rcmd.c (__validuser2_sa): Likewise.
12153 * io/fts.c (fts_open): Likewise.
12154 (fts_load): Likewise.
12155 (fts_close): Likewise.
12156 (fts_read): Likewise.
12157 (fts_children): Likewise.
12158 (fts_build): Likewise.
12159 (fts_stat): Likewise.
12160 (fts_sort): Likewise.
12161 (fts_alloc): Likewise.
12162 (fts_lfree): Likewise.
12163 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12164 (_IO_file_xsgetn): Likewise.
12165 (_IO_file_xsgetn_mmap): Likewise.
12166 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12167 (_IO_cookie_write): Likewise.
12168 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12169 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12170 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12171 * malloc/obstack.c (_obstack_begin): Likewise.
12172 (_obstack_begin_1): Likewise.
12173 (_obstack_newchunk): Likewise.
12174 (_obstack_allocated_p): Likewise.
12175 (obstack_free): Likewise.
12176 (_obstack_memory_used): Likewise.
12177 * misc/getttyent.c (getttynam): Likewise.
12178 (getttyent): Likewise.
12181 * misc/getusershell.c (initshells): Likewise.
12182 * misc/syslog.c (__vsyslog_chk): Likewise.
12183 * misc/ttyslot.c (ttyslot): Likewise.
12184 * nis/nis_hash.c (__nis_hash): Likewise.
12185 * posix/fnmatch_loop.c (FCT): Likewise.
12186 * posix/getconf.c (print_all): Likewise.
12188 * posix/getopt.c (exchange): Likewise.
12189 * posix/glob.c (globfree): Likewise.
12190 (prefix_array): Likewise.
12191 (__glob_pattern_type): Likewise.
12192 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12193 (NS_GET32): Likewise.
12194 (NS_PUT16): Likewise.
12195 (NS_PUT32): Likewise.
12196 * resolv/gethnamaddr.c (getanswer): Likewise.
12197 (gethostbyname2): Likewise.
12198 (gethostbyaddr): Likewise.
12199 (_gethtent): Likewise.
12200 (_gethtbyname2): Likewise.
12201 (_gethtbyaddr): Likewise.
12202 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12203 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12204 * resolv/res_init.c (__res_vinit): Likewise.
12205 (net_mask): Likewise.
12206 * resolv/res_mkquery.c (outchar): Likewise.
12208 * stdio-common/printf_fp.c (outchar): Likewise.
12210 * stdio-common/printf_fphex.c (outchar): Likewise.
12212 * stdio-common/printf_size.c (outchar): Likewise.
12214 * stdio-common/test_rdwr.c (main): Likewise.
12215 * stdio-common/tfformat.c (matches): Likewise.
12216 * stdio-common/vfprintf.c (outchar): Likewise.
12217 (printf_unknown): Likewise.
12218 (buffered_vfprintf): Likewise.
12219 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12220 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12221 (ReadFile): Likewise.
12222 * stdlib/qsort.c (SWAP): Likewise.
12223 (_quicksort): Likewise.
12224 * stdlib/setenv.c (__add_to_environ): Likewise.
12225 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12226 * stdlib/strtol_l.c (__strtol_l): Likewise.
12227 * stdlib/tst-strtod.c (main): Likewise.
12228 * stdlib/tst-strtol.c (main): Likewise.
12229 * stdlib/tst-strtoll.c (main): Likewise.
12230 * string/bits/string2.h (__strcmp_cc): Likewise.
12231 (__strcmp_cg): Likewise.
12232 (__strcspn_c1): Likewise.
12233 (__strcspn_c2): Likewise.
12234 (__strcspn_c3): Likewise.
12235 (__strspn_c1): Likewise.
12236 (__strspn_c2): Likewise.
12237 (__strspn_c3): Likewise.
12238 (__strsep_1c): Likewise.
12239 (__strsep_2c): Likewise.
12240 (__strsep_3c): Likewise.
12241 * string/memccpy.c (__memccpy): Likewise.
12242 * string/stpcpy.c (__stpcpy): Likewise.
12243 * string/strcmp.c (strcmp): Likewise.
12244 * string/strrchr.c (strrchr): Likewise.
12245 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12247 * sysdeps/mach/hurd/getcwd.c
12248 (_hurd_canonicalize_directory_name_internal): Likewise.
12249 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12250 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12251 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12252 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12253 Likewise, in both definitions.
12254 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12256 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12257 64] (__bswap_64): Likewise.
12258 * time/test_time.c (main): Likewise.
12259 * time/tzfile.c (__tzfile_read): Likewise.
12260 (__tzfile_compute): Likewise.
12261 * time/tzset.c (__tzset_parse_tz): Likewise.
12262 (tzset_internal): Likewise.
12263 (compute_change): Likewise.
12264 * wcsmbs/wcscat.c (__wcscat): Likewise.
12265 * wcsmbs/wcschr.c (wcschr): Likewise.
12266 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12267 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12268 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12269 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12270 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12271 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12272 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12273 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12274 * wcsmbs/wmemset.c (wmemset): Likewise.
12276 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12278 * scripts/config.guess: Update to version 2013-05-16.
12279 * scripts/config.sub: Update to version 2013-04-24.
12280 * scripts/install-sh: Update to version 2011-11-20.07.
12281 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12282 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12284 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12286 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12287 * elf/sln.c: Likewise.
12288 * hurd/hurd/ioctl.h: Likewise.
12289 * hurd/hurdmalloc.c: Likewise.
12290 * hurd/xattr.c: Likewise.
12291 * include/shlib-compat.h: Likewise.
12292 * inet/ruserpass.c: Likewise.
12293 * libio/iofgets_u.c: Likewise.
12294 * libio/iofgetws_u.c: Likewise.
12295 * locale/programs/ld-identification.c: Likewise.
12296 * locale/programs/ld-time.c: Likewise.
12297 * mach/msg-destroy.c: Likewise.
12298 * nss/nss_files/files-netgrp.c: Likewise.
12299 * resolv/res_data.c: Likewise.
12300 * soft-fp/op-1.h: Likewise.
12301 * soft-fp/op-2.h: Likewise.
12302 * soft-fp/op-4.h: Likewise.
12303 * soft-fp/op-common.h: Likewise.
12304 * stdio-common/printf_fphex.c: Likewise.
12305 * stdlib/strtod_l.c: Likewise.
12306 * sunrpc/rpc/clnt.h: Likewise.
12307 * sysdeps/generic/framestate.c: Likewise.
12308 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12309 * sysdeps/i386/bsd-setjmp.S: Likewise.
12310 * sysdeps/i386/__longjmp.S: Likewise.
12311 * sysdeps/i386/setjmp.S: Likewise.
12312 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12313 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12314 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12315 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12316 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12317 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12318 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12319 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12320 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12321 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12322 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12323 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12324 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12325 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12327 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12328 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12329 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12330 * sysdeps/ieee754/support.c: Likewise.
12331 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12332 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12333 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12334 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12335 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12336 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12337 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12338 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12339 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12340 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12341 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12342 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12343 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12344 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12345 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12346 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12347 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12350 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12352 * posix/transbug.c: Remove executable mode.
12354 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12356 * crypt/speeds.c: Remove trailing whitespace.
12357 * dlfcn/default.c: Likewise.
12358 * elf/ifuncdep2.c: Likewise.
12359 * elf/ifuncmain1.c: Likewise.
12360 * elf/ifuncmain1vis.c: Likewise.
12361 * elf/testobj.h: Likewise.
12362 * elf/tst-stackguard1.c: Likewise.
12363 * gmon/sys/gmon.h: Likewise.
12364 * hurd/hurdmsg.c: Likewise.
12365 * hurd/new-fd.c: Likewise.
12366 * hurd/ports-get.c: Likewise.
12367 * iconvdata/ibm1008_420.c: Likewise.
12368 * inet/tst-getni1.c: Likewise.
12369 * inet/tst-getni2.c: Likewise.
12370 * libio/ioungetc.c: Likewise.
12371 * libio/wfiledoalloc.c: Likewise.
12372 * manual/libm-err-tab.pl: Likewise.
12373 * math/w_dremf.c: Likewise.
12374 * misc/ftruncate.c: Likewise.
12375 * posix/bug-glob2.c: Likewise.
12376 * posix/tst-pcre.c: Likewise.
12377 * posix/wait4.c: Likewise.
12378 * resolv/README: Likewise.
12379 * resolv/res_debug.h: Likewise.
12380 * resolv/tst-inet_ntop.c: Likewise.
12381 * setjmp/bug269-setjmp.c: Likewise.
12382 * soft-fp/extended.h: Likewise.
12383 * soft-fp/op-1.h: Likewise.
12384 * soft-fp/op-2.h: Likewise.
12385 * soft-fp/op-4.h: Likewise.
12386 * soft-fp/op-8.h: Likewise.
12387 * soft-fp/testit.c: Likewise.
12388 * stdio-common/bug16.c: Likewise.
12389 * stdlib/random.c: Likewise.
12390 * sunrpc/rpcsvc/rquota.x: Likewise.
12391 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12392 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12393 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12394 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12395 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12396 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12397 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12398 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12399 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12400 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12401 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12402 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12403 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12404 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12405 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12406 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12407 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12408 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12409 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12410 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12411 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12412 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12413 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12414 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12415 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12416 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12417 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12418 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12419 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12420 * sysdeps/ieee754/s_lib_version.c: Likewise.
12421 * sysdeps/mach/hurd/check_fds.c: Likewise.
12422 * sysdeps/mach/hurd/getsockname.c: Likewise.
12423 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12424 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12425 * sysdeps/powerpc/bits/link.h: Likewise.
12426 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12427 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12428 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12429 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12430 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12431 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12432 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12433 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12434 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12435 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12436 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12437 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12438 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12439 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12440 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12441 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12442 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12443 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12444 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12445 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12446 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12447 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12448 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12449 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12450 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12451 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12452 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12453 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12454 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12455 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12456 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12457 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12458 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12459 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12460 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12461 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12462 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12463 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12464 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12465 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12466 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12467 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12468 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12469 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12470 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12471 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12472 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12473 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12474 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12475 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12476 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12477 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12478 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12479 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12480 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12481 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12482 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12483 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12484 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12485 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12486 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12487 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12488 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12489 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12490 * sysdeps/powerpc/sysdep.h: Likewise.
12491 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12492 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12493 * sysdeps/sh/dl-trampoline.S: Likewise.
12494 * sysdeps/sh/memset.S: Likewise.
12495 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12496 * sysdeps/sh/strlen.S: Likewise.
12497 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12498 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12499 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12500 * sysdeps/sparc/sparc32/rem.S: Likewise.
12501 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12502 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12503 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12504 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12505 * sysdeps/sparc/sparc32/urem.S: Likewise.
12506 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12507 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12508 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12509 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12510 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12511 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12512 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12513 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12514 * sysdeps/unix/bsd/times.c: Likewise.
12515 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12516 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12520 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12521 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12522 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12523 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12524 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12525 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12526 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12527 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12528 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12529 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12530 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12531 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12532 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12533 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12534 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12535 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12536 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12537 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12538 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12539 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12540 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12541 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12542 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12543 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12544 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12545 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12546 * sysdeps/x86_64/strcspn.S: Likewise.
12548 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12550 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12551 generated file. Regenerate properly from gen-translit.pl.
12552 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12553 locale/C-translit.h.
12555 2013-06-05 Andreas Schwab <schwab@suse.de>
12558 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12559 week as 6 instead of -1.
12560 * time/tst-strptime.c (day_tests): Add test case.
12562 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12564 * sysdeps/generic/math_private.h
12565 (libc_feholdexcept_setround_53bit): Replace with
12566 libc_feholdsetround_53bit.
12567 (libc_feupdateenv_53bit): Replace with
12568 libc_feresetround_53bit.
12569 (SET_RESTORE_ROUND_53BIT): Adjust.
12571 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12573 * string/test-strchrnul.c: Add copyright header.
12575 * posix/tst-getaddrinfo4.c: Increase test timeout.
12577 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12580 * math/libm-test.inc (MAX_EXP): Remove
12582 (ulp): Use MIN_EXP - MANT_DIG.
12583 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12585 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12587 * po/be.po: Revert last change.
12588 * po/zh_CN.po: Likewise.
12589 * po/header.pot: Likewise.
12591 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12593 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12594 link-libc-deps to empty as target-specific variable.
12595 * Makerules (link-libc-args): New variable.
12596 (libc-for-link): Likewise.
12597 (link-libc-deps): Likewise.
12598 (lib%.so): Depend on $(link-libc-deps). Link with
12600 (build-module): Link with $(link-libc-args).
12601 (build-module-asneeded): Likewise.
12602 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12604 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12605 target-specific variable.
12606 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12607 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12608 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12610 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12612 ($(objpfx)libpcprofile.so): Likewise.
12613 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12615 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12616 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12617 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12619 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12620 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12621 * login/Makefile ($(objpfx)libutil.so): Likewise.
12622 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12623 * math/Makefile ($(objpfx)libm.so): Likewise.
12624 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12625 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12626 variable instead of depending directly on libc.
12627 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12628 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12630 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12632 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12633 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12634 ($(objpfx)libanl.so): Likewise.
12635 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12637 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12639 * sysdeps/i386/fpu/Makefile: Remove file.
12640 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12641 ($(objpfx)libm.so): Remove dependency on ld.so.
12643 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12646 * nis/yp_xdr.c (XDRMAXNAME): Define.
12647 (XDRMAXRECORD): Define.
12648 (xdr_domainname): Use XDRMAXNAME.
12649 (xdr_mapname): Likewise.
12650 (xdr_peername): Likewise.
12651 (xdr_keydat): Use XDRMAXRECORD.
12652 (xdr_valdat): Likewise.
12654 2013-05-30 Jeff Law <law@redhat.com>
12657 * manual/errno.texi (ESTALE): Update to account for more than
12658 just NFS file systems.
12659 * sysdeps/gnu/errlist.c: Regenerated.
12661 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12664 * elf/Makefile (tests): Add tst-null-argv.
12665 (modules-names): Add tst-null-argv-lib.
12666 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12667 (tst-null-argv-ENV): Set environment for tst-null-argv.
12668 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12669 (RTLD_PROGNAME): New macro.
12670 * elf/tst-null-argv.c: New test case.
12671 * elf/tst-null-argv-lib.c: Library for test case.
12672 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12673 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12674 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12675 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12676 * elf/dl-init.c (call_init): Likewise.
12677 (_dl_init): Likewise.
12678 * elf/dl-load.c (print_search_path): Likewise.
12679 (_dl_map_object): Likewise.
12680 * elf/dl-lookup.c (do_lookup_x): Likewise.
12681 (add_dependency): Likewise.
12682 (_dl_lookup_symbol_x): Likewise.
12683 (_dl_debug_bindings): Likewise.
12684 * elf/dl-open.c (_dl_show_scope): Likewise.
12685 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12686 * elf/dl-version.c (match_symbol): Likewise.
12687 (_dl_check_map_versions): Likewise.
12688 * elf/rtld.c (dl_main): Likewise.
12689 (print_unresolved): Use RTLD_PROGNAME.
12690 (print_missing_version): Likewise.
12691 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12692 (elf_machine_rela): Likewise.
12693 * sysdeps/powerpc/powerpc32/dl-machine.c
12694 (__process_machine_rela): Likewise.
12695 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12697 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12699 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12701 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12702 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12704 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12706 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12708 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12710 * po/be.po: Add descriptive title.
12711 * po/zh_CN.po: Likewise.
12712 * po/header.pot: Likewise.
12714 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12716 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12718 (enlarge_archive): Likewise.
12720 2013-05-28 Ben North <ben@redfrontdoor.org>
12722 * manual/arith.texi (frexp): It is the magnitude of the return
12723 value which lies in [0.5, 1), not the return value itself.
12725 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12729 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12731 * stdio-common/bug26.c (main): Correct fscanf template.
12733 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12734 declare _dl_skip_args.
12736 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12739 * manual/platform.texi: Add missing @end deftypefun.
12741 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12744 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12745 bit of mantissa of 2^16382.
12746 * math/libm-test.inc (hypot_test_data): Add more tests.
12748 * math/libm-test.inc: Add drem and pow10 to list of tested
12750 (pow10_test): New function.
12751 (drem_test): Likewise.
12752 (drem_test_tonearest): Likewise.
12753 (drem_test_towardzero): Likewise.
12754 (drem_test_downward): Likewise.
12755 (drem_test_upward): Likewise.
12756 (main): Call the new functions.
12758 * math/libm-test.inc (finite_test_data): Remove.
12759 (finite_test): Run tests from isfinite_test_data.
12760 (gamma_test_data): Remove.
12761 (gamma_test): Run tests from lgamma_test_data.
12762 * sysdeps/i386/fpu/libm-test-ulps: Update.
12763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12765 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12767 * manual/platform.texi: Add PowerPC PPR function set documentation.
12768 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12771 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12773 * math/libm-test.inc (MAX_EXP): Define.
12775 (ulp): New function.
12776 (check_float_internal): Use ULPDIFF.
12777 (cpow_test): Disable failing test.
12778 (check_ulp): Test ulp() implemetnation.
12779 (main): Call check_ulp before starting tests.
12781 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12783 * math/gen-libm-test.pl (generate_testfile): Do not handle
12784 START_DATA and END_DATA.
12785 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12787 (acos_tonearest_test_data): Likewise.
12788 (acos_towardzero_test_data): Likewise.
12789 (acos_downward_test_data): Likewise.
12790 (acos_upward_test_data): Likewise.
12791 (acosh_test_data): Likewise.
12792 (asin_test_data): Likewise.
12793 (asin_tonearest_test_data): Likewise.
12794 (asin_towardzero_test_data): Likewise.
12795 (asin_downward_test_data): Likewise.
12796 (asin_upward_test_data): Likewise.
12797 (asinh_test_data): Likewise.
12798 (atan_test_data): Likewise.
12799 (atanh_test_data): Likewise.
12800 (atan2_test_data): Likewise.
12801 (cabs_test_data): Likewise.
12802 (cacos_test_data): Likewise.
12803 (cacosh_test_data): Likewise.
12804 (carg_test_data): Likewise.
12805 (casin_test_data): Likewise.
12806 (casinh_test_data): Likewise.
12807 (catan_test_data): Likewise.
12808 (catanh_test_data): Likewise.
12809 (cbrt_test_data): Likewise.
12810 (ccos_test_data): Likewise.
12811 (ccosh_test_data): Likewise.
12812 (ceil_test_data): Likewise.
12813 (cexp_test_data): Likewise.
12814 (cimag_test_data): Likewise.
12815 (clog_test_data): Likewise.
12816 (clog10_test_data): Likewise.
12817 (conj_test_data): Likewise.
12818 (copysign_test_data): Likewise.
12819 (cos_test_data): Likewise.
12820 (cos_tonearest_test_data): Likewise.
12821 (cos_towardzero_test_data): Likewise.
12822 (cos_downward_test_data): Likewise.
12823 (cos_upward_test_data): Likewise.
12824 (cosh_test_data): Likewise.
12825 (cosh_tonearest_test_data): Likewise.
12826 (cosh_towardzero_test_data): Likewise.
12827 (cosh_downward_test_data): Likewise.
12828 (cosh_upward_test_data): Likewise.
12829 (cpow_test_data): Likewise.
12830 (cproj_test_data): Likewise.
12831 (creal_test_data): Likewise.
12832 (csin_test_data): Likewise.
12833 (csinh_test_data): Likewise.
12834 (csqrt_test_data): Likewise.
12835 (ctan_test_data): Likewise.
12836 (ctan_tonearest_test_data): Likewise.
12837 (ctan_towardzero_test_data): Likewise.
12838 (ctan_downward_test_data): Likewise.
12839 (ctan_upward_test_data): Likewise.
12840 (ctanh_test_data): Likewise.
12841 (ctanh_tonearest_test_data): Likewise.
12842 (ctanh_towardzero_test_data): Likewise.
12843 (ctanh_downward_test_data): Likewise.
12844 (ctanh_upward_test_data): Likewise.
12845 (erf_test_data): Likewise.
12846 (erfc_test_data): Likewise.
12847 (exp_test_data): Likewise.
12848 (exp_tonearest_test_data): Likewise.
12849 (exp_towardzero_test_data): Likewise.
12850 (exp_downward_test_data): Likewise.
12851 (exp_upward_test_data): Likewise.
12852 (exp10_test_data): Likewise.
12853 (exp2_test_data): Likewise.
12854 (expm1_test_data): Likewise.
12855 (fabs_test_data): Likewise.
12856 (fdim_test_data): Likewise.
12857 (finite_test_data): Likewise.
12858 (floor_test_data): Likewise.
12859 (fma_test_data): Likewise.
12860 (fma_towardzero_test_data): Likewise.
12861 (fma_downward_test_data): Likewise.
12862 (fma_upward_test_data): Likewise.
12863 (fmax_test_data): Likewise.
12864 (fmin_test_data): Likewise.
12865 (fmod_test_data): Likewise.
12866 (fpclassify_test_data): Likewise.
12867 (frexp_test_data): Likewise.
12868 (gamma_test_data): Likewise.
12869 (hypot_test_data): Likewise.
12870 (ilogb_test_data): Likewise.
12871 (isfinite_test_data): Likewise.
12872 (isgreater_test_data): Likewise.
12873 (isgreaterequal_test_data): Likewise.
12874 (isinf_test_data): Likewise.
12875 (isless_test_data): Likewise.
12876 (islessequal_test_data): Likewise.
12877 (islessgreater_test_data): Likewise.
12878 (isnan_test_data): Likewise.
12879 (isnormal_test_data): Likewise.
12880 (issignaling_test_data): Likewise.
12881 (isunordered_test_data): Likewise.
12882 (j0_test_data): Likewise.
12883 (j1_test_data): Likewise.
12884 (jn_test_data): Likewise.
12885 (ldexp_test_data): Likewise.
12886 (lgamma_test_data): Likewise.
12887 (lrint_test_data): Likewise.
12888 (lrint_tonearest_test_data): Likewise.
12889 (lrint_towardzero_test_data): Likewise.
12890 (lrint_downward_test_data): Likewise.
12891 (lrint_upward_test_data): Likewise.
12892 (llrint_test_data): Likewise.
12893 (llrint_tonearest_test_data): Likewise.
12894 (llrint_towardzero_test_data): Likewise.
12895 (llrint_downward_test_data): Likewise.
12896 (llrint_upward_test_data): Likewise.
12897 (log_test_data): Likewise.
12898 (log10_test_data): Likewise.
12899 (log1p_test_data): Likewise.
12900 (log2_test_data): Likewise.
12901 (logb_test_data): Likewise.
12902 (logb_downward_test_data): Likewise.
12903 (lround_test_data): Likewise.
12904 (llround_test_data): Likewise.
12905 (modf_test_data): Likewise.
12906 (nearbyint_test_data): Likewise.
12907 (nextafter_test_data): Likewise.
12908 (nexttoward_test_data): Likewise.
12909 (pow_test_data): Likewise.
12910 (pow_tonearest_test_data): Likewise.
12911 (pow_towardzero_test_data): Likewise.
12912 (pow_downward_test_data): Likewise.
12913 (pow_upward_test_data): Likewise.
12914 (remainder_test_data): Likewise.
12915 (remainder_tonearest_test_data): Likewise.
12916 (remainder_towardzero_test_data): Likewise.
12917 (remainder_downward_test_data): Likewise.
12918 (remainder_upward_test_data): Likewise.
12919 (remquo_test_data): Likewise.
12920 (rint_test_data): Likewise.
12921 (rint_tonearest_test_data): Likewise.
12922 (rint_towardzero_test_data): Likewise.
12923 (rint_downward_test_data): Likewise.
12924 (rint_upward_test_data): Likewise.
12925 (round_test_data): Likewise.
12926 (scalb_test_data): Likewise.
12927 (scalbn_test_data): Likewise.
12928 (scalbln_test_data): Likewise.
12929 (signbit_test_data): Likewise.
12930 (sin_test_data): Likewise.
12931 (sin_tonearest_test_data): Likewise.
12932 (sin_towardzero_test_data): Likewise.
12933 (sin_downward_test_data): Likewise.
12934 (sin_upward_test_data): Likewise.
12935 (sincos_test_data): Likewise.
12936 (sinh_test_data): Likewise.
12937 (sinh_tonearest_test_data): Likewise.
12938 (sinh_towardzero_test_data): Likewise.
12939 (sinh_downward_test_data): Likewise.
12940 (sinh_upward_test_data): Likewise.
12941 (sqrt_test_data): Likewise.
12942 (tan_test_data): Likewise.
12943 (tan_tonearest_test_data): Likewise.
12944 (tan_towardzero_test_data): Likewise.
12945 (tan_downward_test_data): Likewise.
12946 (tan_upward_test_data): Likewise.
12947 (tanh_test_data): Likewise.
12948 (tgamma_test_data): Likewise.
12949 (trunc_test_data): Likewise.
12950 (y0_test_data): Likewise.
12951 (y1_test_data): Likewise.
12952 (yn_test_data): Likewise.
12953 (significand_test_data): Likewise.
12955 * math/gen-libm-test.pl (@functions): Remove variable.
12956 (generate_testfile): Don't handle START and END lines.
12957 * math/libm-test.inc (START): New macro.
12959 (END_COMPLEX): Likewise.
12960 (acos_test): Use END macro without arguments.
12961 (acos_test_tonearest): Likewise.
12962 (acos_test_towardzero): Likewise.
12963 (acos_test_downward): Likewise.
12964 (acos_test_upward): Likewise.
12965 (acosh_test): Likewise.
12966 (asin_test): Likewise.
12967 (asin_test_tonearest): Likewise.
12968 (asin_test_towardzero): Likewise.
12969 (asin_test_downward): Likewise.
12970 (asin_test_upward): Likewise.
12971 (asinh_test): Likewise.
12972 (atan_test): Likewise.
12973 (atanh_test): Likewise.
12974 (atan2_test): Likewise.
12975 (cabs_test): Likewise.
12976 (cacos_test): Use END_COMPLEX macro without arguments.
12977 (cacosh_test): Likewise.
12978 (carg_test): Use END macro without arguments.
12979 (casin_test): Use END_COMPLEX macro without arguments.
12980 (casinh_test): Likewise.
12981 (catan_test): Likewise.
12982 (catanh_test): Likewise.
12983 (cbrt_test): Use END macro without arguments.
12984 (ccos_test): Use END_COMPLEX macro without arguments.
12985 (ccosh_test): Likewise.
12986 (ceil_test): Use END macro without arguments.
12987 (cexp_test): Use END_COMPLEX macro without arguments.
12988 (cimag_test): Use END macro without arguments.
12989 (clog_test): Use END_COMPLEX macro without arguments.
12990 (clog10_test): Likewise.
12991 (conj_test): Likewise.
12992 (copysign_test): Use END macro without arguments.
12993 (cos_test): Likewise.
12994 (cos_test_tonearest): Likewise.
12995 (cos_test_towardzero): Likewise.
12996 (cos_test_downward): Likewise.
12997 (cos_test_upward): Likewise.
12998 (cosh_test): Likewise.
12999 (cosh_test_tonearest): Likewise.
13000 (cosh_test_towardzero): Likewise.
13001 (cosh_test_downward): Likewise.
13002 (cosh_test_upward): Likewise.
13003 (cpow_test): Use END_COMPLEX macro without arguments.
13004 (cproj_test): Likewise.
13005 (creal_test): Use END macro without arguments.
13006 (csin_test): Use END_COMPLEX macro without arguments.
13007 (csinh_test): Likewise.
13008 (csqrt_test): Likewise.
13009 (ctan_test): Likewise.
13010 (ctan_test_tonearest): Likewise.
13011 (ctan_test_towardzero): Likewise.
13012 (ctan_test_downward): Likewise.
13013 (ctan_test_upward): Likewise.
13014 (ctanh_test): Likewise.
13015 (ctanh_test_tonearest): Likewise.
13016 (ctanh_test_towardzero): Likewise.
13017 (ctanh_test_downward): Likewise.
13018 (ctanh_test_upward): Likewise.
13019 (erf_test): Use END macro without arguments.
13020 (erfc_test): Likewise.
13021 (exp_test): Likewise.
13022 (exp_test_tonearest): Likewise.
13023 (exp_test_towardzero): Likewise.
13024 (exp_test_downward): Likewise.
13025 (exp_test_upward): Likewise.
13026 (exp10_test): Likewise.
13027 (exp2_test): Likewise.
13028 (expm1_test): Likewise.
13029 (fabs_test): Likewise.
13030 (fdim_test): Likewise.
13031 (finite_test): Likewise.
13032 (floor_test): Likewise.
13033 (fma_test): Likewise.
13034 (fma_test_towardzero): Likewise.
13035 (fma_test_downward): Likewise.
13036 (fma_test_upward): Likewise.
13037 (fmax_test): Likewise.
13038 (fmin_test): Likewise.
13039 (fmod_test): Likewise.
13040 (fpclassify_test): Likewise.
13041 (frexp_test): Likewise.
13042 (gamma_test): Likewise.
13043 (hypot_test): Likewise.
13044 (ilogb_test): Likewise.
13045 (isfinite_test): Likewise.
13046 (isgreater_test): Likewise.
13047 (isgreaterequal_test): Likewise.
13048 (isinf_test): Likewise.
13049 (isless_test): Likewise.
13050 (islessequal_test): Likewise.
13051 (islessgreater_test): Likewise.
13052 (isnan_test): Likewise.
13053 (isnormal_test): Likewise.
13054 (issignaling_test): Likewise.
13055 (isunordered_test): Likewise.
13056 (j0_test): Likewise.
13057 (j1_test): Likewise.
13058 (jn_test): Likewise.
13059 (ldexp_test): Likewise.
13060 (lgamma_test): Likewise.
13061 (lrint_test): Likewise.
13062 (lrint_test_tonearest): Likewise.
13063 (lrint_test_towardzero): Likewise.
13064 (lrint_test_downward): Likewise.
13065 (lrint_test_upward): Likewise.
13066 (llrint_test): Likewise.
13067 (llrint_test_tonearest): Likewise.
13068 (llrint_test_towardzero): Likewise.
13069 (llrint_test_downward): Likewise.
13070 (llrint_test_upward): Likewise.
13071 (log_test): Likewise.
13072 (log10_test): Likewise.
13073 (log1p_test): Likewise.
13074 (log2_test): Likewise.
13075 (logb_test): Likewise.
13076 (logb_test_downward): Likewise.
13077 (lround_test): Likewise.
13078 (llround_test): Likewise.
13079 (modf_test): Likewise.
13080 (nearbyint_test): Likewise.
13081 (nextafter_test): Likewise.
13082 (nexttoward_test): Likewise.
13083 (pow_test): Likewise.
13084 (pow_test_tonearest): Likewise.
13085 (pow_test_towardzero): Likewise.
13086 (pow_test_downward): Likewise.
13087 (pow_test_upward): Likewise.
13088 (remainder_test): Likewise.
13089 (remainder_test_tonearest): Likewise.
13090 (remainder_test_towardzero): Likewise.
13091 (remainder_test_downward): Likewise.
13092 (remainder_test_upward): Likewise.
13093 (remquo_test): Likewise.
13094 (rint_test): Likewise.
13095 (rint_test_tonearest): Likewise.
13096 (rint_test_towardzero): Likewise.
13097 (rint_test_downward): Likewise.
13098 (rint_test_upward): Likewise.
13099 (round_test): Likewise.
13100 (scalb_test): Likewise.
13101 (scalbn_test): Likewise.
13102 (scalbln_test): Likewise.
13103 (signbit_test): Likewise.
13104 (sin_test): Likewise.
13105 (sin_test_tonearest): Likewise.
13106 (sin_test_towardzero): Likewise.
13107 (sin_test_downward): Likewise.
13108 (sin_test_upward): Likewise.
13109 (sincos_test): Likewise.
13110 (sinh_test): Likewise.
13111 (sinh_test_tonearest): Likewise.
13112 (sinh_test_towardzero): Likewise.
13113 (sinh_test_downward): Likewise.
13114 (sinh_test_upward): Likewise.
13115 (sqrt_test): Likewise.
13116 (tan_test): Likewise.
13117 (tan_test_tonearest): Likewise.
13118 (tan_test_towardzero): Likewise.
13119 (tan_test_downward): Likewise.
13120 (tan_test_upward): Likewise.
13121 (tanh_test): Likewise.
13122 (tgamma_test): Likewise.
13123 (trunc_test): Likewise.
13124 (y0_test): Likewise.
13125 (y1_test): Likewise.
13126 (yn_test): Likewise.
13127 (significand_test): Likewise.
13129 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13132 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13134 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13137 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13138 __ppc_mdoio and __ppc_mdoom.
13139 * manual/platform.texi: Document new functions __ppc_yield,
13140 __ppc_mdoio and __ppc_mdoom.
13142 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13144 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13145 (main): Mention "tls" pseudo-hwcap is legacy.
13146 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13148 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13150 * math/gen-libm-test.pl (parse_args): Output only string of
13151 arguments as text for test name, not full call or descriptions of
13152 tests for extra outputs.
13153 (generate_testfile): Do not pass function name to parse_args.
13154 Generate this_func variable from START.
13155 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13157 (struct test_ff_f_data): Likewise.
13158 (test_ff_f_data_nexttoward): Likewise.
13159 (struct test_fi_f_data): Likewise.
13160 (struct test_fl_f_data): Likewise.
13161 (struct test_if_f_data): Likewise.
13162 (struct test_fff_f_data): Likewise.
13163 (struct test_c_f_data): Likewise.
13164 (struct test_f_f1_data): Likewise. Remove field extra_name.
13165 (struct test_fF_f1_data): Likewise.
13166 (struct test_ffI_f1_data): Likewise.
13167 (struct test_c_c_data): Rename test_name field to arg_str.
13168 (struct test_cc_c_data): Likewise.
13169 (struct test_f_i_data): Likewise.
13170 (struct test_ff_i_data): Likewise.
13171 (struct test_f_l_data): Likewise.
13172 (struct test_f_L_data): Likewise.
13173 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13175 (COMMON_TEST_SETUP): New macro.
13176 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13177 (COMMON_TEST_CLEANUP): Likewise.
13178 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13179 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13181 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13182 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13184 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13185 (RUN_TEST_fff_f): Take argument string. Call new setup and
13187 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13188 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13190 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13191 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13193 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13194 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13196 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13197 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13199 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13200 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13202 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13203 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13205 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13206 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13208 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13209 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13211 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13212 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13214 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13215 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13217 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13218 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13220 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13221 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13223 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13224 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13226 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13227 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13229 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13230 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13232 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13234 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13236 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13237 to _sifields.sigfault.
13238 (si_addr_lsb): Define new macro.
13239 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13240 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13241 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13243 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13246 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13248 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13250 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13251 loading the domain.
13253 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13255 * math/gen-libm-test.pl (parse_args): Do not include expected
13256 result in test name.
13257 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13258 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13259 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13260 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13261 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13264 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13266 * benchtests/Makefile: Sort function entries.
13268 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13269 tanh, asinh, acosh, atanh.
13270 * benchtests/acos-inputs: New file.
13271 * benchtests/acosh-inputs: New file.
13272 * benchtests/asin-inputs: New file.
13273 * benchtests/asinh-inputs: New file.
13274 * benchtests/atanh-inputs: New file.
13275 * benchtests/cosh-inputs: New file.
13276 * benchtests/log-inputs: New file.
13277 * benchtests/sinh-inputs: New file.
13278 * benchtests/tanh-inputs: New file.
13280 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13283 * posix/tst-getaddrinfo4.c: New test.
13284 * posix/Makefile (tests): Add it.
13286 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13289 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13290 when no services were used.
13291 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13292 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13294 2013-05-21 Andreas Schwab <schwab@suse.de>
13297 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13298 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13300 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13301 redundant variable declarations and reallocation of buffer when
13302 parsing as IPv6 address. Always set NSS status when called from
13303 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13304 buffer too small. Correct computation of needed size.
13305 * nss/Makefile (tests): Add test-digits-dots.
13306 * nss/test-digits-dots.c: New test.
13308 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13310 * benchtests/Makefile: Remove instructions for adding
13312 * benchtests/README: New file to explain how to execute and
13313 enhance the benchmark tests.
13315 2013-05-21 Andreas Schwab <schwab@suse.de>
13318 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13319 * setjmp/tst-sigsetjmp.c: New test.
13321 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13323 * sysdeps/x86_64/memset.S (memset): New implementation.
13324 (__bzero): Likewise.
13325 (__memset_tail): New function.
13327 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13329 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13330 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13331 __memcpy_sse2_unaligned ifunc selection.
13332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13333 Add memcpy-sse2-unaligned.S.
13334 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13335 Add: __memcpy_sse2_unaligned.
13337 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13340 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13341 math_force_eval before restoring floating-point envrionment.
13342 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13343 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13345 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13347 (__nearbyintl): Use math_force_eval before restoring
13348 floating-point environment.
13349 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13351 * math/gen-libm-test.pl (special_functions): Remove.
13352 (parse_args): Don't handle TEST_extra. Handle functions with no
13354 * math/libm-test.inc (struct test_sincos_data): Replace with
13355 struct test_fFF_11_data.
13356 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13357 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13358 (sincos_test_data): Change element type to struct
13359 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13360 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13361 RUN_TEST_LOOP_sincos.
13362 * math/README.libm-test: Don't mention special handling of
13363 individual functions.
13364 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13365 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13366 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13367 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13368 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13371 * math/gen-libm-test.pl (get_variable): Remove function.
13372 (parse_args): Don't show pointer parameters to call in test
13373 names. Use "extra output N" in test names for extra outputs
13374 rather than naming variables.
13376 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13379 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13380 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13381 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13383 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13385 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13388 * math/gen-libm-test.pl (@tests): Remove variable.
13389 ($count): Likewise.
13390 (new_test): Remove function.
13391 (show_exceptions): New function.
13392 (special_functions): Use show_exceptions instead of new_test.
13393 (parse_args): Likewise.
13394 (generate_testfile): Pass only function name in generated call to
13395 print_max_error or print_complex_max_error.
13396 (get_ulps): Do not handle complex tests specially.
13397 (output_test): Rename to ...
13398 (get_all_ulps_for_test): ... this. Return a string rather than
13399 printing to a file. Require ulps to be present.
13400 (output_ulps): Generate arrays rather than #defines.
13401 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13402 (struct ulp_data): New type.
13403 (BUILD_COMPLEX_ULP): Remove macro.
13404 (compare_ulp_data): New function.
13405 (find_ulps): Likewise.
13406 (find_test_ulps): Likewise.
13407 (find_function_ulps): Likewise.
13408 (find_complex_function_ulps): Likewise.
13409 (print_max_error): Determine allowed ulps using
13410 find_function_ulps.
13411 (print_complex_max_error): Determine allowed ulps using
13412 find_complex_function_ulps.
13413 (check_float_internal): Determine max ulps using find_test_ulps.
13414 (check_float): Do not take max_ulp parameter. Update call to
13415 check_float_internal.
13416 (check_complex): Likewise.
13417 (check_int): Do not take max_ulp parameter.
13418 (check_long): Likewise.
13419 (check_bool): Likewise.
13420 (check_longlong): Likewise.
13421 (struct test_f_f_data): Remove max_ulp field.
13422 (struct test_ff_f_data): Likewise.
13423 (struct test_ff_f_data_nexttoward): Likewise.
13424 (struct test_fi_f_data): Likewise.
13425 (struct test_fl_f_data): Likewise.
13426 (struct test_if_f_data): Likewise.
13427 (struct test_fff_f_data): Likewise.
13428 (struct test_c_f_data): Likewise.
13429 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13430 (struct test_fF_f1_data): Likewise.
13431 (struct test_ffI_f1_data): Likewise.
13432 (struct test_c_c_data): Remove max_ulp field.
13433 (struct test_cc_c_data): Likewise.
13434 (struct test_f_i_data): Likewise.
13435 (struct test_ff_i_data): Likewise.
13436 (struct test_f_l_data): Likewise.
13437 (struct test_f_L_data): Likewise.
13438 (struct test_sincos_data): Likewise.
13439 (RUN_TEST_f_f): Do not handle ulps.
13440 (RUN_TEST_LOOP_f_f): Likewise.
13441 (RUN_TEST_2_f): Likewise.
13442 (RUN_TEST_LOOP_2_f): Likewise.
13443 (RUN_TEST_fff_f): Likewise.
13444 (RUN_TEST_LOOP_fff_f): Likewise.
13445 (RUN_TEST_c_f): Likewise.
13446 (RUN_TEST_LOOP_c_f): Likewise.
13447 (RUN_TEST_f_f1): Likewise.
13448 (RUN_TEST_LOOP_f_f1): Likewise.
13449 (RUN_TEST_fF_f1): Likewise.
13450 (RUN_TEST_LOOP_fF_f1): Likewise.
13451 (RUN_TEST_fI_f1): Likewise.
13452 (RUN_TEST_LOOP_fI_f1): Likewise.
13453 (RUN_TEST_ffI_f1): Likewise.
13454 (RUN_TEST_LOOP_ffI_f1): Likewise.
13455 (RUN_TEST_c_c): Likewise.
13456 (RUN_TEST_LOOP_c_c): Likewise.
13457 (RUN_TEST_cc_c): Likewise.
13458 (RUN_TEST_LOOP_cc_c): Likewise.
13459 (RUN_TEST_f_i): Likewise.
13460 (RUN_TEST_LOOP_f_i): Likewise.
13461 (RUN_TEST_f_i_tg): Likewise.
13462 (RUN_TEST_LOOP_f_i_tg): Likewise.
13463 (RUN_TEST_ff_i_tg): Likewise.
13464 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13465 (RUN_TEST_f_b): Likewise.
13466 (RUN_TEST_LOOP_f_b): Likewise.
13467 (RUN_TEST_f_b_tg): Likewise.
13468 (RUN_TEST_LOOP_f_b_tg): Likewise.
13469 (RUN_TEST_f_l): Likewise.
13470 (RUN_TEST_LOOP_f_l): Likewise.
13471 (RUN_TEST_f_L): Likewise.
13472 (RUN_TEST_LOOP_f_L): Likewise.
13473 (RUN_TEST_sincos): Likewise.
13474 (RUN_TEST_LOOP_sincos): Likewise.
13476 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13480 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13481 main case of finite arguments, set rounding mode to FE_TONEAREST
13482 and discard exceptions.
13483 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13485 (remainder_tonearest_test_data): New variable.
13486 (remainder_test_tonearest): New function.
13487 (remainder_towardzero_test_data): New variable.
13488 (remainder_test_towardzero): New function.
13489 (remainder_downward_test_data): New variable.
13490 (remainder_test_downward): New function.
13491 (remainder_upward_test_data): New variable.
13492 (remainder_test_upward): New function.
13493 (main): Call the new test functions.
13495 * math/libm-test.inc (struct test_f_f1_data): Remove field
13497 (struct test_fF_f1_data): Likewise.
13498 (struct test_ffI_f1_data): Likewise.
13499 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13500 based on value of EXTRA_EXPECTED.
13501 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13502 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13503 EXTRA_VAR based on value of EXTRA_EXPECTED.
13504 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13505 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13506 EXTRA_VAR based on value of EXTRA_EXPECTED.
13507 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13508 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13509 EXTRA_VAR based on value of EXTRA_EXPECTED.
13510 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13511 * math/gen-libm-test.pl (parse_args): Don't output initializers
13512 for extra output values.
13514 * math/libm-test.inc (check_int): Expect result to be exactly
13515 equal to expected value and do not handle ulps.
13516 (check_long): Likewise.
13517 (check_longlong): Likewise.
13519 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13521 (cimag_test_data): Likewise.
13522 (conj_test_data): Likewise.
13523 (copysign_test_data): Likewise.
13524 (cproj_test_data): Likewise.
13525 (creal_test_data): Likewise.
13526 (fabs_test_data): Likewise.
13527 (fdim_test_data): Likewise.
13528 (finite_test_data): Likewise.
13529 (floor_test_data): Likewise.
13530 (fmax_test_data): Likewise.
13531 (fmin_test_data): Likewise.
13532 (fmod_test_data): Likewise.
13533 (fpclassify_test_data): Likewise.
13534 (frexp_test_data): Likewise.
13535 (ilogb_test_data): Likewise.
13536 (isfinite_test_data): Likewise.
13537 (isgreater_test_data): Likewise.
13538 (isgreaterequal_test_data): Likewise.
13539 (isinf_test_data): Likewise.
13540 (isless_test_data): Likewise.
13541 (islessequal_test_data): Likewise.
13542 (islessgreater_test_data): Likewise.
13543 (isnan_test_data): Likewise.
13544 (isnormal_test_data): Likewise.
13545 (issignaling_test_data): Likewise.
13546 (isunordered_test_data): Likewise.
13547 (ldexp_test_data): Likewise.
13548 (lrint_test_data): Likewise.
13549 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13550 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13551 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13552 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13553 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13554 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13556 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13557 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13558 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13559 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13561 (lrint_downward_test_data): Test for "inexact" exceptions.
13562 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13563 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13564 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13566 (lrint_upward_test_data): Test for "inexact" exceptions.
13567 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13569 (llrint_test_data): Test for "inexact" exceptions.
13570 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13571 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13572 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13573 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13574 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13575 (llrint_downward_test_data): Test for "inexact" exceptions.
13576 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13577 (llrint_upward_test_data): Test for "inexact" exceptions.
13578 (logb_test_data): Likewise.
13579 (logb_downward_test_data): Likewise.
13580 (nextafter_test_data): Likewise.
13581 (nexttoward_test_data): Likewise.
13582 (remainder_test_data): Likewise.
13583 (remquo_test_data): Likewise.
13584 (scalbn_test_data): Likewise.
13585 (scalbln_test_data): Likewise.
13586 (signbit_test_data): Likewise.
13587 (sqrt_test_data): Likewise.
13588 (significand_test_data): Likewise.
13590 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13593 * benchtests/bench-modf.c (struct args): Mark arg0 as
13595 * scripts/bench.pl: Mark members of struct args as volatile.
13597 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13600 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13601 negative infinity on POWER6 or lower.
13602 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13604 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13607 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13608 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13609 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13610 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13611 (_FP_SETQNAN): New macro.
13612 (_FP_SETQNAN_SEMIRAW): Likewise.
13613 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13614 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13615 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13616 (FP_EXTEND): Use _FP_FRAC_SNANP.
13617 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13618 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13620 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13622 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13625 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13627 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13628 with DIVIDE_BY_ZERO_EXCEPTION.
13629 (gamma_test_data): Likewise.
13630 (lgamma_test_data): Likewise.
13631 (log_test_data): Likewise.
13632 (log10_test_data): Likewise.
13633 (log2_test_data): Likewise.
13634 (tgamma_test_data): Likewise.
13636 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13637 (acos_test_tonearest): Likewise.
13638 (acos_test_towardzero): Likewise.
13639 (acos_test_downward): Likewise.
13640 (acos_test_upward): Likewise.
13641 (acosh_test): Likewise.
13642 (asin_test): Likewise.
13643 (asin_test_tonearest): Likewise.
13644 (asin_test_towardzero): Likewise.
13645 (asin_test_downward): Likewise.
13646 (asin_test_upward): Likewise.
13647 (asinh_test): Likewise.
13648 (atan_test): Likewise.
13649 (atanh_test): Likewise.
13650 (atan2_test): Likewise.
13651 (cabs_test): Likewise.
13652 (cacos_test): Likewise.
13653 (cacosh_test): Likewise.
13654 (casin_test): Likewise.
13655 (casinh_test): Likewise.
13656 (catan_test): Likewise.
13657 (catanh_test): Likewise.
13658 (cbrt_test): Likewise.
13659 (ccos_test): Likewise.
13660 (ccosh_test): Likewise.
13661 (cexp_test): Likewise.
13662 (clog_test): Likewise.
13663 (clog10_test): Likewise.
13664 (cos_test): Likewise.
13665 (cos_test_tonearest): Likewise.
13666 (cos_test_towardzero): Likewise.
13667 (cos_test_downward): Likewise.
13668 (cos_test_upward): Likewise.
13669 (cosh_test): Likewise.
13670 (cosh_test_tonearest): Likewise.
13671 (cosh_test_towardzero): Likewise.
13672 (cosh_test_downward): Likewise.
13673 (cosh_test_upward): Likewise.
13674 (cpow_test): Likewise.
13675 (csin_test): Likewise.
13676 (csinh_test): Likewise.
13677 (csqrt_test): Likewise.
13678 (ctan_test): Likewise.
13679 (ctan_test_tonearest): Likewise.
13680 (ctan_test_towardzero): Likewise.
13681 (ctan_test_downward): Likewise.
13682 (ctan_test_upward): Likewise.
13683 (ctanh_test): Likewise.
13684 (ctanh_test_tonearest): Likewise.
13685 (ctanh_test_towardzero): Likewise.
13686 (ctanh_test_downward): Likewise.
13687 (ctanh_test_upward): Likewise.
13688 (erf_test): Likewise.
13689 (erfc_test): Likewise.
13690 (exp_test): Likewise.
13691 (exp_test_tonearest): Likewise.
13692 (exp_test_towardzero): Likewise.
13693 (exp_test_downward): Likewise.
13694 (exp_test_upward): Likewise.
13695 (exp10_test): Likewise.
13696 (exp2_test): Likewise.
13697 (expm1_test): Likewise.
13698 (fmod_test): Likewise.
13699 (gamma_test): Likewise.
13700 (hypot_test): Likewise.
13701 (j0_test): Likewise.
13702 (j1_test): Likewise.
13703 (jn_test): Likewise.
13704 (lgamma_test): Likewise.
13705 (log_test): Likewise.
13706 (log10_test): Likewise.
13707 (log1p_test): Likewise.
13708 (log2_test): Likewise.
13709 (logb_test_downward): Likewise.
13710 (pow_test): Likewise.
13711 (pow_test_tonearest): Likewise.
13712 (pow_test_towardzero): Likewise.
13713 (pow_test_downward): Likewise.
13714 (pow_test_upward): Likewise.
13715 (remainder_test): Likewise.
13716 (remquo_test): Likewise.
13717 (sin_test): Likewise.
13718 (sin_test_tonearest): Likewise.
13719 (sin_test_towardzero): Likewise.
13720 (sin_test_downward): Likewise.
13721 (sin_test_upward): Likewise.
13722 (sincos_test): Likewise.
13723 (sinh_test): Likewise.
13724 (sinh_test_tonearest): Likewise.
13725 (sinh_test_towardzero): Likewise.
13726 (sinh_test_downward): Likewise.
13727 (sinh_test_upward): Likewise.
13728 (sqrt_test): Likewise.
13729 (tan_test): Likewise.
13730 (tan_test_tonearest): Likewise.
13731 (tan_test_towardzero): Likewise.
13732 (tan_test_downward): Likewise.
13733 (tan_test_upward): Likewise.
13734 (tanh_test): Likewise.
13735 (tgamma_test): Likewise.
13736 (y0_test): Likewise.
13737 (y1_test): Likewise.
13738 (yn_test): Likewise.
13740 * math/gen-libm-test.pl (adjust_arg): Remove function.
13741 (special_function): Remove argument $in_func. Only handle
13742 generating output for tables of tests, not inside functions.
13743 (parse_args): Likewise.
13744 (generate_testfile): Remove variable $in_func. Update call to
13746 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13747 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13748 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13749 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13750 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13751 (MAX_VALUE_INIT): Rename macro to max_value.
13752 (MIN_VALUE_INIT): Rename macro to min_value.
13753 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13754 (plus_zero): Remove variable.
13755 (minus_zero): Likewise.
13756 (plus_infty): Likewise.
13757 (minus_infty): Likewise.
13758 (qnan_value): Likewise.
13759 (max_value): Likewise.
13760 (min_value): Likewise.
13761 (min_subnorm_value): Likewise.
13763 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13765 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13766 uint64_t or uint32_t usage.
13767 * crypt/sha256-block.c: Likewise.
13768 * crypt/sha256-crypt.c: Likewise.
13769 * crypt/sha256.c: Likewise.
13770 * crypt/sha512-block.c: Likewise.
13771 * crypt/sha512-crypt.c: Likewise.
13772 * crypt/sha512.c: Likewise.
13773 * debug/backtrace-tst.c: Likewise.
13774 * debug/pcprofiledump.c: Likewise.
13775 * elf/cache.c: Likewise.
13776 * elf/dl-cache.c: Likewise.
13777 * elf/dl-misc.c: Likewise.
13778 * elf/dl-profile.c: Likewise.
13779 * elf/dl-support.c: Likewise.
13780 * elf/ldconfig.c: Likewise.
13781 * elf/sprof.c: Likewise.
13782 * iconv/dummy-repertoire.c: Likewise.
13783 * iconv/iconv_charmap.c: Likewise.
13784 * iconv/skeleton.c: Likewise.
13785 * iconvdata/8bit-generic.c: Likewise.
13786 * iconvdata/cp737.h: Likewise.
13787 * iconvdata/cp775.h: Likewise.
13788 * iconvdata/ibm1008.h: Likewise.
13789 * iconvdata/ibm1025.h: Likewise.
13790 * iconvdata/ibm1046.h: Likewise.
13791 * iconvdata/ibm1097.h: Likewise.
13792 * iconvdata/ibm1112.h: Likewise.
13793 * iconvdata/ibm1122.h: Likewise.
13794 * iconvdata/ibm1123.h: Likewise.
13795 * iconvdata/ibm1124.h: Likewise.
13796 * iconvdata/ibm1129.h: Likewise.
13797 * iconvdata/ibm1130.h: Likewise.
13798 * iconvdata/ibm1132.h: Likewise.
13799 * iconvdata/ibm1133.h: Likewise.
13800 * iconvdata/ibm1137.h: Likewise.
13801 * iconvdata/ibm1140.h: Likewise.
13802 * iconvdata/ibm1141.h: Likewise.
13803 * iconvdata/ibm1142.h: Likewise.
13804 * iconvdata/ibm1143.h: Likewise.
13805 * iconvdata/ibm1144.h: Likewise.
13806 * iconvdata/ibm1145.h: Likewise.
13807 * iconvdata/ibm1146.h: Likewise.
13808 * iconvdata/ibm1147.h: Likewise.
13809 * iconvdata/ibm1148.h: Likewise.
13810 * iconvdata/ibm1149.h: Likewise.
13811 * iconvdata/ibm1153.h: Likewise.
13812 * iconvdata/ibm1154.h: Likewise.
13813 * iconvdata/ibm1155.h: Likewise.
13814 * iconvdata/ibm1156.h: Likewise.
13815 * iconvdata/ibm1157.h: Likewise.
13816 * iconvdata/ibm1158.h: Likewise.
13817 * iconvdata/ibm1160.h: Likewise.
13818 * iconvdata/ibm1161.h: Likewise.
13819 * iconvdata/ibm1162.h: Likewise.
13820 * iconvdata/ibm1163.h: Likewise.
13821 * iconvdata/ibm1164.h: Likewise.
13822 * iconvdata/ibm1166.h: Likewise.
13823 * iconvdata/ibm1167.h: Likewise.
13824 * iconvdata/ibm12712.h: Likewise.
13825 * iconvdata/ibm1390.h: Likewise.
13826 * iconvdata/ibm1399.h: Likewise.
13827 * iconvdata/ibm16804.h: Likewise.
13828 * iconvdata/ibm4517.h: Likewise.
13829 * iconvdata/ibm4899.h: Likewise.
13830 * iconvdata/ibm4909.h: Likewise.
13831 * iconvdata/ibm4971.h: Likewise.
13832 * iconvdata/ibm5347.h: Likewise.
13833 * iconvdata/ibm803.h: Likewise.
13834 * iconvdata/ibm856.h: Likewise.
13835 * iconvdata/ibm901.h: Likewise.
13836 * iconvdata/ibm902.h: Likewise.
13837 * iconvdata/ibm9030.h: Likewise.
13838 * iconvdata/ibm9066.h: Likewise.
13839 * iconvdata/ibm921.h: Likewise.
13840 * iconvdata/ibm922.h: Likewise.
13841 * iconvdata/ibm9448.h: Likewise.
13842 * iconvdata/isiri-3342.h: Likewise.
13843 * iconvdata/jis0201.h: Likewise.
13844 * include/link.h: Likewise.
13845 * include/netdb.h: Likewise.
13846 * inet/check_native.c: Likewise.
13847 * inet/check_pf.c: Likewise.
13848 * inet/getipv4sourcefilter.c: Likewise.
13849 * inet/getnameinfo.c: Likewise.
13850 * inet/getsourcefilter.c: Likewise.
13851 * inet/htonl.c: Likewise.
13852 * inet/setipv4sourcefilter.c: Likewise.
13853 * inet/setsourcefilter.c: Likewise.
13854 * inet/test-inet6_opt.c: Likewise.
13855 * inet/tst-network.c: Likewise.
13856 * locale/C-collate.c: Likewise.
13857 * locale/C-ctype.c: Likewise.
13858 * locale/C-time.c: Likewise.
13859 * locale/C-translit.h: Likewise.
13860 * locale/loadarchive.c: Likewise.
13861 * locale/programs/3level.h: Likewise.
13862 * locale/programs/charmap.c: Likewise.
13863 * locale/programs/charmap.h: Likewise.
13864 * locale/programs/ld-address.c: Likewise.
13865 * locale/programs/ld-collate.c: Likewise.
13866 * locale/programs/ld-ctype.c: Likewise.
13867 * locale/programs/ld-identification.c: Likewise.
13868 * locale/programs/ld-measurement.c: Likewise.
13869 * locale/programs/ld-messages.c: Likewise.
13870 * locale/programs/ld-monetary.c: Likewise.
13871 * locale/programs/ld-name.c: Likewise.
13872 * locale/programs/ld-numeric.c: Likewise.
13873 * locale/programs/ld-paper.c: Likewise.
13874 * locale/programs/ld-telephone.c: Likewise.
13875 * locale/programs/ld-time.c: Likewise.
13876 * locale/programs/linereader.c: Likewise.
13877 * locale/programs/locale.c: Likewise.
13878 * locale/programs/locarchive.c: Likewise.
13879 * locale/programs/locfile.h: Likewise.
13880 * locale/programs/repertoire.c: Likewise.
13881 * locale/programs/simple-hash.c: Likewise.
13882 * locale/programs/simple-hash.h: Likewise.
13883 * malloc/memusage.c: Likewise.
13884 * malloc/memusagestat.c: Likewise.
13885 * nis/nis_defaults.c: Likewise.
13886 * nis/nis_hash.c: Likewise.
13887 * nis/nis_print.c: Likewise.
13888 * nis/nis_xdr.c: Likewise.
13889 * nscd/connections.c: Likewise.
13890 * nscd/hstcache.c: Likewise.
13891 * nscd/nscd_gethst_r.c: Likewise.
13892 * nscd/nscd_getserv_r.c: Likewise.
13893 * nscd/nscd_helper.c: Likewise.
13894 * nscd/servicescache.c: Likewise.
13895 * nss/makedb.c: Likewise.
13896 * nss/nss_db/db-XXX.c: Likewise.
13897 * nss/nss_db/db-initgroups.c: Likewise.
13898 * nss/nss_db/db-netgrp.c: Likewise.
13899 * nss/nss_files/files-network.c: Likewise.
13900 * nss/nss_files/files-parse.c: Likewise.
13901 * posix/bug-regex5.c: Likewise.
13902 * posix/fnmatch_loop.c: Likewise.
13903 * posix/regcomp.c: Likewise.
13904 * posix/regexec.c: Likewise.
13905 * posix/tst-rfc3484-2.c: Likewise.
13906 * posix/tst-rfc3484-3.c: Likewise.
13907 * posix/tst-rfc3484.c: Likewise.
13908 * resolv/nss_dns/dns-canon.c: Likewise.
13909 * resolv/nss_dns/dns-network.c: Likewise.
13910 * resolv/res_init.c: Likewise.
13911 * resolv/res_mkquery.c: Likewise.
13912 * resolv/tst-aton.c: Likewise.
13913 * stdlib/cxa_atexit.c: Likewise.
13914 * stdlib/cxa_finalize.c: Likewise.
13915 * stdlib/gen-fpioconst.c: Likewise.
13916 * stdlib/strtol_l.c: Likewise.
13917 * string/tst-endian.c: Likewise.
13918 * sunrpc/auth_des.c: Likewise.
13919 * sunrpc/clnt_udp.c: Likewise.
13920 * sunrpc/rtime.c: Likewise.
13921 * sunrpc/svcauth_des.c: Likewise.
13922 * sunrpc/xdr.c: Likewise.
13923 * sunrpc/xdr_intXX_t.c: Likewise.
13924 * sunrpc/xdr_rec.c: Likewise.
13925 * sysdeps/generic/ldconfig.h: Likewise.
13926 * sysdeps/generic/ldsodefs.h: Likewise.
13927 * sysdeps/generic/memusage.h: Likewise.
13928 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13929 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13930 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13931 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13932 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13933 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13934 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13935 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13936 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13937 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13938 * sysdeps/posix/getaddrinfo.c: Likewise.
13939 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13940 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13941 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13942 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13943 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13944 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13945 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13946 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13947 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13948 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13949 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13950 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13951 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13952 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13953 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13954 * sysdeps/x86_64/dl-tls.h: Likewise.
13955 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13956 * time/alt_digit.c: Likewise.
13957 * time/era.c: Likewise.
13958 * wcsmbs/tst-c16c32-1.c: Likewise.
13960 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13962 * math/libm-test.inc (struct test_sincos_data): New type.
13963 (RUN_TEST_LOOP_sincos): New macro.
13964 (sincos_test_data): New variable.
13965 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13967 2013-05-16 Richard Henderson <rth@redhat.com>
13969 * math/atest-exp2.c (LIMB64): New macro.
13970 (CONSTSZ): New macro.
13971 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13973 (print_mpn_fp): ... to function scope.
13974 (read_mpn_hex): Remove.
13975 (get_log2): Remove.
13976 (exp2_mpn): Use mp_log2.
13977 (main): Use mp_exp1.
13979 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13981 * math/libm-test.inc: Remove comment about not testing "inexact"
13983 (INEXACT_EXCEPTION): New macro.
13984 (NO_INEXACT_EXCEPTION): Likewise.
13985 (INVALID_EXCEPTION_OK): Update value.
13986 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13987 (OVERFLOW_EXCEPTION_OK): Likewise.
13988 (UNDERFLOW_EXCEPTION_OK): Likewise.
13989 (IGNORE_ZERO_INF_SIGN): Likewise.
13990 (ERRNO_UNCHANGED): Likewise.
13991 (ERRNO_EDOM): Likewise.
13992 (ERRNO_ERANGE): Likewise.
13993 (test_exceptions): Handle testing "inexact" exceptions.
13994 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13995 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13996 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13997 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13999 (rint_towardzero_test_data): Likewise.
14000 (rint_downward_test_data): Likewise.
14001 (rint_upward_test_data): Likewise.
14003 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14004 with OVERFLOW_EXCEPTION.
14005 (exp10_test_data): Likewise.
14006 (exp2_test_data): Likewise.
14007 (expm1_test_data): Likewise.
14008 (lgamma_test_data): Likewise.
14009 (pow_test_data): Likewise.
14010 (tgamma_test_data): Likewise.
14011 (yn_test_data): Remove duplicate test of overflow.
14013 * math/libm-test.inc (struct test_cc_c_data): New type.
14014 (RUN_TEST_LOOP_cc_c): New macro.
14015 (cpow_test_data): New variable.
14016 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14018 * math/libm-test.inc (struct test_f_L_data): New type.
14019 (RUN_TEST_LOOP_f_L): New macro.
14020 (llrint_test_data): New variable.
14021 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14022 (llrint_tonearest_test_data): New variable.
14023 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14024 (llrint_towardzero_test_data): New variable.
14025 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14026 (llrint_downward_test_data): New variable.
14027 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14028 (llrint_upward_test_data): New variable.
14029 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14030 (llround_test_data): New variable.
14031 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14033 2013-05-13 Peter Collingbourne <pcc@google.com>
14035 * math/atest-exp2.c (get_log2): Remove const attribute.
14037 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14039 * math/libm-test.inc (struct test_f_l_data): New type.
14040 (RUN_TEST_LOOP_f_l): New macro.
14041 (lrint_test_data): New variable.
14042 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14043 (lrint_tonearest_test_data): New variable.
14044 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14045 (lrint_towardzero_test_data): New variable.
14046 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14047 (lrint_downward_test_data): New variable.
14048 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14049 (lrint_upward_test_data): New variable.
14050 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14051 (lround_test_data): New variable.
14052 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14054 2013-05-15 Peter Collingbourne <pcc@google.com>
14056 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14057 (EXTRACT_WORDS64) Use where appropriate.
14058 (INSERT_WORDS64) Likewise.
14060 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14061 constraints with x constraints.
14062 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14064 * malloc/obstack.c (_obstack_compat): Add initializer.
14066 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14068 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14069 si_trapno and add si_addr_lsb to _sifields.sigfault.
14070 (si_trapno): Remove macro.
14071 (si_addr_lsb): Define new macro.
14072 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14074 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14076 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14077 instead of TEST_f_l.
14078 (llrint_test_tonearest): Likewise.
14079 (llrint_test_towardzero): Likewise.
14080 (llrint_test_downward): Likewise.
14081 (llrint_test_upward): Likewise.
14082 (llround_test): Likewise.
14084 * math/libm-test.inc (struct test_f_i_data): Add comment.
14085 (RUN_TEST_LOOP_f_b): New macro.
14086 (RUN_TEST_LOOP_f_b_tg): Likewise.
14087 (finite_test_data): New variable.
14088 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14089 (isfinite_test_data): New variable.
14090 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14091 (isinf_test_data): New variable.
14092 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14093 (isnan_test_data): New variable.
14094 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14095 (isnormal_test_data): New variable.
14096 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14097 (issignaling_test_data): New variable.
14098 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14099 (signbit_test_data): New variable.
14100 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14102 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14103 with INVALID_EXCEPTION.
14104 (acosh_test_data): Likewise.
14105 (asin_test_data): Likewise.
14106 (atanh_test_data): Likewise.
14107 (fmod_test_data): Likewise.
14108 (log_test_data): Likewise.
14109 (log10_test_data): Likewise.
14110 (log2_test_data): Likewise.
14111 (pow_test_data): Likewise.
14112 (sqrt_test_data): Likewise.
14113 (y0_test_data): Likewise.
14114 (y1_test_data): Likewise.
14115 (yn_test_data): Likewise.
14117 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14120 * math/libm-test.inc (struct test_ff_i_data): New type.
14121 (RUN_TEST_LOOP_ff_i_tg): New macro.
14122 (isgreater_test_data): New variable.
14123 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14124 (isgreaterequal_test_data): New variable.
14125 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14126 (isless_test_data): New variable.
14127 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14128 (islessequal_test_data): New variable.
14129 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14130 (islessgreater_test_data): New variable.
14131 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14132 (isunordered_test_data): New variable.
14133 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14135 2013-05-14 David S. Miller <davem@davemloft.net>
14137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14139 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14141 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14143 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14145 (struct test_f_i_data): Change type of max_ulp to int.
14147 * math/libm-test.inc (test_ffI_f1_data): New type.
14148 (RUN_TEST_LOOP_ffI_f1): New macro.
14149 (remquo_test_data): New variable.
14150 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14152 * setjmp/tst-setjmp-fp.c: New file.
14153 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14154 (link-libm): New variable.
14155 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14157 * math/libm-test.inc (struct test_f_i_data): New type.
14158 (RUN_TEST_LOOP_f_i): New macro.
14159 (RUN_TEST_LOOP_f_i_tg): Likewise.
14160 (fpclassify_test_data): New variable.
14161 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14162 (ilogb_test_data): New variable.
14163 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14165 * math/libm-test.inc (scalbln_test): Correct function name in END
14168 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14169 (RUN_TEST_LOOP_fI_f1): New macro.
14170 (frexp_test_data): New variable.
14171 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14173 * math/libm-test.inc (struct test_fF_f1_data): New type.
14174 (RUN_TEST_LOOP_fF_f1): New macro.
14175 (modf_test_data): New variable.
14176 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14178 * math/libm-test.inc (struct test_f_f1_data): New type.
14179 (RUN_TEST_LOOP_f_f1): New macro.
14180 (gamma_test_data): New variable.
14181 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14182 (lgamma_test_data): New variable.
14183 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14185 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14187 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14188 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14189 (main): Comment "tls" pseudo-hwcap.
14191 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14193 * math/libm-test.inc (struct test_fl_f_data): New type.
14194 (RUN_TEST_LOOP_fl_f): New variable.
14195 (scalbln_test_data): New variable.
14196 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14198 * math/libm-test.inc (struct test_fi_f_data): New type.
14199 (RUN_TEST_LOOP_fi_f): New macro.
14200 (ldexp_test_data): New variable.
14201 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14202 (scalbn_test_data): New variable.
14203 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14205 * math/libm-test.inc (struct test_c_f_data): New type.
14206 (RUN_TEST_LOOP_c_f): New macro.
14207 (cabs_test_data): New variable.
14208 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14209 (carg_test_data): New variable.
14210 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14211 (cimag_test_data): New variable.
14212 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14213 (creal_test_data): New variable.
14214 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14216 * math/libm-test.inc (struct test_if_f_data): New type.
14217 (RUN_TEST_LOOP_if_f): New macro.
14218 (jn_test_data): New variable.
14219 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14220 (yn_test_data): New variable.
14221 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14223 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14225 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14227 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14228 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14230 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14232 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14233 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14234 (bench-deps): Add bench-timing.h.
14235 * benchtests-bench-skeleton.c: Include bench-timing.h.
14236 (main): Use TIMING_* macros instead of clock_gettime.
14237 * benchtests/bench-timing.h: New file.
14240 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14241 Renamed from _LIB_VERSION.
14242 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14244 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14246 * math/libm-test.inc (struct test_fff_f_data): New type.
14247 (RUN_TEST_LOOP_fff_f): New macro.
14248 (fma_test_data): New variable.
14249 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14250 (fma_towardzero_test_data): New variable.
14251 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14252 (fma_downward_test_data): New variable.
14253 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14254 (fma_upward_test_data): New variable.
14255 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14257 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14258 (struct test_c_c_data): New type.
14259 (RUN_TEST_LOOP_c_c): New macro.
14260 (cacos_test_data): New variable.
14261 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14262 (cacosh_test_data): New variable.
14263 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14264 (casin_test_data): New variable.
14265 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14266 (casinh_test_data): New variable.
14267 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14268 (catan_test_data): New variable.
14269 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14270 (catanh_test_data): New variable.
14271 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14272 (ccos_test_data): New variable.
14273 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14274 (ccosh_test_data): New variable.
14275 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14276 (cexp_test_data): New variable.
14277 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14278 (clog_test_data): New variable.
14279 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14280 (clog10_test_data): New variable.
14281 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14282 (conj_test_data): New variable.
14283 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14284 (cproj_test_data): New variable.
14285 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14286 (csin_test_data): New variable.
14287 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14288 (csinh_test_data): New variable.
14289 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14290 (csqrt_test_data): New variable.
14291 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14292 (ctan_test_data): New variable.
14293 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14294 (ctan_tonearest_test_data): New variable.
14295 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14296 (ctan_towardzero_test_data): New variable.
14297 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14298 (ctan_downward_test_data): New variable.
14299 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14300 (ctan_upward_test_data): New variable.
14301 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14302 (ctanh_test_data): New variable.
14303 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14304 (ctanh_tonearest_test_data): New variable.
14305 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14306 (ctanh_towardzero_test_data): New variable.
14307 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14308 (ctanh_downward_test_data): New variable.
14309 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14310 (ctanh_upward_test_data): New variable.
14311 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14312 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14315 * math/libm-test.inc (struct test_ff_f_data): New type.
14316 (struct test_ff_f_data_nexttoward): Likewise.
14317 (RUN_TEST_LOOP_2_f): New macro.
14318 (RUN_TEST_LOOP_ff_f): Likewise.
14319 (atan2_test_data): New variable.
14320 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14321 (copysign_test_data): New variable.
14322 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14323 (fdim_test_data): New variable.
14324 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14325 (fmax_test_data): New variable.
14326 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14327 (fmin_test_data): New variable.
14328 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14329 (fmod_test_data): New variable.
14330 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14331 (hypot_test_data): New variable.
14332 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14333 (nextafter_test_data): New variable.
14334 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14335 (nexttoward_test_data): New variable.
14336 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14337 (pow_test_data): New variable.
14338 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14339 (pow_tonearest_test_data): New variable.
14340 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14341 (pow_towardzero_test_data): New variable.
14342 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14343 (pow_downward_test_data): New variable.
14344 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14345 (pow_upward_test_data): New variable.
14346 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14347 (remainder_test_data): New variable.
14348 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14349 (scalb_test_data): New variable.
14350 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14351 * sysdeps/i386/fpu/libm-test-ulps: Update.
14353 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14355 * math/libm-test.inc (fma_test): Use max_value instead of local
14357 (nextafter_test): Likewise.
14359 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14360 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14361 (acos_downward_test_data): New variable.
14362 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14363 (acos_upward_test_data): New variable.
14364 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14365 (acosh_test_data): New variable.
14366 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14367 (asin_test_data): New variable.
14368 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14369 (asin_tonearest_test_data): New variable.
14370 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14371 (asin_towardzero_test_data): New variable.
14372 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14373 (asin_downward_test_data): New variable.
14374 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14375 (asin_upward_test_data): New variable.
14376 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14377 (asinh_test_data): New variable.
14378 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14379 (atan_test_data): New variable.
14380 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14381 (atanh_test_data): New variable.
14382 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14383 (cbrt_test_data): New variable.
14384 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14385 (ceil_test_data): New variable.
14386 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14387 (cos_test_data): New variable.
14388 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14389 (cos_tonearest_test_data): New variable.
14390 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14391 (cos_towardzero_test_data): New variable.
14392 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14393 (cos_downward_test_data): New variable.
14394 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14395 (cos_upward_test_data): New variable.
14396 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14397 (cosh_test_data): New variable.
14398 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14399 (cosh_tonearest_test_data): New variable.
14400 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14401 (cosh_towardzero_test_data): New variable.
14402 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14403 (cosh_downward_test_data): New variable.
14404 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14405 (cosh_upward_test_data): New variable.
14406 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14407 (erf_test_data): New variable.
14408 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14409 (erfc_test_data): New variable.
14410 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14411 (exp_test_data): New variable.
14412 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14413 (exp_tonearest_test_data): New variable.
14414 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14415 (exp_towardzero_test_data): New variable.
14416 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14417 (exp_downward_test_data): New variable.
14418 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14419 (exp_upward_test_data): New variable.
14420 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14421 (exp10_test_data): New variable.
14422 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14423 (exp2_test_data): New variable.
14424 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14425 (expm1_test_data): New variable.
14426 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14427 (fabs_test_data): New variable.
14428 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14429 (floor_test_data): New variable.
14430 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14431 (j0_test_data): New variable.
14432 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14433 (j1_test_data): New variable.
14434 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14435 (log_test_data): New variable.
14436 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14437 (log10_test_data): New variable.
14438 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14439 (log1p_test_data): New variable.
14440 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14441 (log2_test_data): New variable.
14442 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14443 (logb_test_data): New variable.
14444 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14445 (logb_downward_test_data): New variable.
14446 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14447 (nearbyint_test_data): New variable.
14448 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14449 (rint_test_data): New variable.
14450 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14451 (rint_tonearest_test_data): New variable.
14452 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14453 (rint_towardzero_test_data): New variable.
14454 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14455 (rint_downward_test_data): New variable.
14456 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14457 (rint_upward_test_data): New variable.
14458 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14459 (round_test_data): New variable.
14460 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14461 (sin_test_data): New variable.
14462 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14463 (sin_tonearest_test_data): New variable.
14464 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14465 (sin_towardzero_test_data): New variable.
14466 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14467 (sin_downward_test_data): New variable.
14468 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14469 (sin_upward_test_data): New variable.
14470 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14471 (sinh_test_data): New variable.
14472 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14473 (sinh_tonearest_test_data): New variable.
14474 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14475 (sinh_towardzero_test_data): New variable.
14476 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14477 (sinh_downward_test_data): New variable.
14478 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14479 (sinh_upward_test_data): New variable.
14480 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14481 (sqrt_test_data): New variable.
14482 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14483 (tan_test_data): New variable.
14484 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14485 (tan_tonearest_test_data): New variable.
14486 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14487 (tan_towardzero_test_data): New variable.
14488 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14489 (tan_downward_test_data): New variable.
14490 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14491 (tan_upward_test_data): New variable.
14492 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14493 (tanh_test_data): New variable.
14494 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14495 (tgamma_test_data): New variable.
14496 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14497 (trunc_test_data): New variable.
14498 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14499 (y0_test_data): New variable.
14500 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14501 (y1_test_data): New variable.
14502 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14503 (significand_test_data): New variable.
14504 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14506 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14509 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14511 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14513 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14515 2013-05-10 Andreas Jaeger <aj@suse.de>
14518 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14519 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14521 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14523 * math/gen-libm-test.pl (adjust_arg): New function.
14524 (special_functions): Handle generating output in both functions
14526 (parse_args): Likewise.
14527 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14528 $in_func argument to parse_args.
14529 * math/libm-test.inc (struct test_f_f_data): New type.
14530 (IF_ROUND_INIT_): New macro.
14531 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14532 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14533 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14534 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14535 (ROUND_RESTORE_): Likewise.
14536 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14537 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14538 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14539 (ROUND_RESTORE_FE_UPWARD): Likewise.
14540 (RUN_TEST_LOOP_f_f): New macro.
14541 (acos_test_data): New variable.
14542 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14543 (acos_tonearest_test_data): New variable.
14544 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14546 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14548 * benchtests/bench-skeleton.c (startup): Fix coding style.
14550 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14553 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14554 negative infinity argument.
14555 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14556 negative infinity argument.
14557 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14558 negative infinity argument.
14559 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14562 2013-05-10 Florian Weimer <fweimer@redhat.com>
14564 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14565 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14566 * iconv/iconv_prog.c (main): Likewise.
14567 * locale/programs/charmap-dir.c (charmap_readdir)
14568 (fopen_uncompressed): Likewise.
14569 * locale/programs/locfile.c (siblings_uncached)
14570 (write_locale_data): Use lstat64 instead of lstat.
14571 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14574 2013-05-10 Andreas Jaeger <aj@suse.de>
14577 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14579 Include <locale.h>.
14581 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14583 * elf/dl-close.c (_dl_close_worker): Add comments.
14585 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14588 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14590 (__ieee754_rem_pio2l): Update comments.
14593 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14595 (__ieee754_rem_pio2l): Update comments.
14597 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14598 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14600 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14603 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14604 (M_PI_34_LOG10El): Likewise.
14605 (M_PI2_LOG10El): Likewise.
14606 (M_PI4_LOG10El): Likewise.
14607 (M_PI_LOG10El): Likewise.
14609 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14613 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14615 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14616 (MINUS_ZERO_INIT): Likewise.
14617 (PLUS_INFTY_INIT): Likewise.
14618 (MINUS_INFTY_INIT): Likewise.
14619 (QNAN_VALUE_INIT): Likewise.
14620 (MAX_VALUE_INIT): Likewise.
14621 (MIN_VALUE_INIT): Likewise.
14622 (MIN_SUBNORM_VALUE_INIT): Likewise.
14623 (plus_zero): Initialize with PLUS_ZERO_INIT.
14624 (minus_zero): Initialize with MINUS_ZERO_INIT.
14625 (plus_infty): Initialize with PLUS_INFTY_INIT.
14626 (minus_infty): Initialize with MINUS_INFTY_INIT.
14627 (qnan_value): Initialize with QNAN_VALUE_INIT.
14628 (max_value): Initialize with MAX_VALUE_INIT.
14629 (min_value): Initialize with MIN_VALUE_INIT.
14630 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14632 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14633 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14634 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14635 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14637 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14638 (RUN_TEST_2_f): Likewise.
14639 (RUN_TEST_ff_f): Likewise.
14640 (RUN_TEST_fi_f): Likewise.
14641 (RUN_TEST_fl_f): Likewise.
14642 (RUN_TEST_fff_f): Likewise.
14643 (RUN_TEST_c_f): Likewise.
14644 (RUN_TEST_f_f1): Likewise.
14645 (RUN_TEST_fF_f1): Likewise.
14646 (RUN_TEST_fI_f1): Likewise.
14647 (RUN_TEST_ffI_f1): Likewise.
14648 (RUN_TEST_c_c): Likewise.
14649 (RUN_TEST_cc_c): Likewise.
14650 (RUN_TEST_f_i): Likewise.
14651 (RUN_TEST_f_i_tg): Likewise.
14652 (RUN_TEST_ff_i_tg): Likewise.
14653 (RUN_TEST_f_b): Likewise.
14654 (RUN_TEST_f_b_tg): Likewise.
14655 (RUN_TEST_f_l): Likewise.
14656 (RUN_TEST_f_L): Likewise.
14657 (RUN_TEST_sincos): Likewise.
14658 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14659 whether to show exceptions. Do not include ");\n" in return
14661 (special_functions): Output call to RUN_TEST_sincos instead of
14662 check_float calls. Update calls to new_test.
14663 (parse_args): Output call to single RUN_TEST_* macro instead of
14664 check_* calls and other assignments. Update calls to new_test.
14670 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14671 input to result for tgamma overflow.
14672 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14673 (gamma_coeff): New variable.
14674 (NCOEFF): New macro.
14675 (gamma_positive): New function.
14676 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14677 underflow here. Use gamma_positive instead of exp (lgamma) for
14679 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14680 (gamma_coeff): New variable.
14681 (NCOEFF): New macro.
14682 (gammaf_positive): New function.
14683 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14684 underflow here. Use gamma_positive instead of exp (lgamma) for
14686 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14687 (gamma_coeff): New variable.
14688 (NCOEFF): New macro.
14689 (gammal_positive): New function.
14690 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14691 underflow here. Use gamma_positive instead of exp (lgamma) for
14693 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14694 (gamma_coeff): New variable.
14695 (NCOEFF): New macro.
14696 (gammal_positive): New function.
14697 (__ieee754_gammal_r): Handle positive infinity, overflow and
14698 underflow here. Handle NaN the same as positive infinity. Remove
14699 check x < 0xffffffff for negative integers. Use gamma_positive
14700 instead of exp (lgamma) for other arguments.
14701 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14702 (gamma_coeff): New variable.
14703 (NCOEFF): New macro.
14704 (gammal_positive): New function.
14705 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14706 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14707 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14708 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14709 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14710 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14711 * sysdeps/generic/math_private.h (__gamma_productf): New
14713 (__gamma_product): Likewise.
14714 (__gamma_productl): Likewise.
14715 * math/Makefile (libm-calls): Add gamma_product.
14716 * math/libm-test.inc (tgamma_test): Add more tests.
14717 * sysdeps/i386/fpu/libm-test-ulps: Update.
14718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14720 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14722 * benchtests/bench-skeleton.c (main): Preheat CPU.
14724 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14726 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14728 2013-05-07 Roland McGrath <roland@hack.frob.com>
14730 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14731 and _dl_skip_args_internal.
14733 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14735 * manual/message.texi (Message Translation): Talk about users.
14736 Message to key mapping impacts design.
14738 2013-05-06 Roland McGrath <roland@hack.frob.com>
14740 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14742 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14744 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14745 * sysdeps/wordsize-64/glob64.c: ... here.
14747 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14748 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14751 * debug/getlogin_r_chk.c: Moved to ...
14752 * login/getlogin_r_chk.c: ... here.
14753 * debug/Makefile (routines): Move getlogin_r_chk to ...
14754 * login/Makefile (routines): ... here.
14755 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14756 * login/Versions (libc: GLIBC_2.4): ... here.
14758 * io/poll.c (__poll): Renamed from poll.
14759 Add libc_hidden_def.
14760 (poll): Define as weak alias.
14762 * debug/ptsname_r_chk.c: Moved to ...
14763 * login/ptsname_r_chk.c: ... here.
14764 * debug/Makefile (routines): Move ptsname_r_chk to ...
14765 * login/Makefile (routines): ... here.
14766 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14767 * login/Versions (libc: GLIBC_2.4): ... here.
14769 * posix/getlogin.c: Moved to ...
14770 * login/getlogin.c: ... here.
14771 * posix/getlogin_r.c: Moved to ...
14772 * login/getlogin_r.c: ... here.
14773 * posix/getlogin_r.c: Moved to ...
14774 * login/getlogin_r.c: ... here.
14775 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14776 * login/Makefile (routines): ... here.
14777 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14778 * login/Versions (libc: GLIBC_2.0): ... here.
14780 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14781 (setrlimit): Define as weak alias.
14783 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14784 Call __ names for open, ftruncate, and close.
14785 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14786 (truncate): Define as weak alias.
14788 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14790 * math/gen-libm-test.pl (parse_args): Initialize x before each
14791 test of frexp, modf and remquo.
14793 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14794 test signgam value.
14796 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14800 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14802 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14804 2013-05-06 Roland McGrath <roland@hack.frob.com>
14806 * elf/dl-writev.h: New file.
14807 * elf/dl-misc.c: Include it.
14808 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14809 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14811 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14813 * math/libm-test.inc (noXFails): Remove variable.
14814 (noXPasses): Likewise.
14815 (BUILD_COMPLEX_INT): Remove macro.
14816 (print_screen): Remove xfail argument.
14817 (print_screen_max_error): Likewise.
14818 (update_stats): Likewise.
14819 (print_max_error): Likewise. Update calls to other affected
14821 (print_complex_max_error): Likewise.
14822 (test_single_exception): Update calls to print_screen.
14823 (test_single_errno): Likewise.
14824 (check_float_internal): Remove xfail argument. Update calls to
14825 other affected functions.
14826 (check_float): Likewise.
14827 (check_complex): Likewise.
14828 (check_int): Likewise.
14829 (check_long): Likewise.
14830 (check_bool): Likewise.
14831 (check_longlong): Likewise.
14832 (main): Don't print noXFails and noXPasses.
14833 * math/gen-libm-test.pl (top level): Don't mention expected
14834 failure handling in comment.
14835 (new_test): Don't handle expected failures.
14836 (parse_args): Don't mention expected failure handling in comment.
14837 (generate_testfile): Don't handle expected failures.
14838 (parse_ulps): Likewise.
14839 (print_ulps_file): Likewise.
14840 (get_failure): Remove function.
14841 (output_test): Don't handle expected failures.
14842 * make/README.libm-test: Don't mention expected failure handling.
14844 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14845 (minus_zero): Likewise.
14846 (plus_infty): Likewise.
14847 (minus_infty): Likewise.
14848 (qnan_value): Likewise.
14849 (max_value): Likewise.
14850 (min_value): Likewise.
14851 (min_subnorm_value): Likewise.
14852 (initialize): Do not initialize those variables dynamically.
14854 2013-05-03 Roland McGrath <roland@hack.frob.com>
14856 * io/open.c (__open_2): Moved to ...
14857 * io/open_2.c: ... this new file.
14858 * io/open64.c (__open64_2): Moved to ...
14859 * io/open64_2.c: ... this new file.
14860 * io/openat.c (__openat_2): Moved to ...
14861 * io/openat_2.c: ... this new file.
14862 * io/openat64.c (__openat64_2): Moved to ...
14863 * io/openat64_2.c: ... this new file.
14864 * io/Makefile (routines): Add them.
14865 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14866 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14867 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14868 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14869 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14870 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14871 (__openat64): Add hidden_ver.
14872 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14873 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14875 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14876 Separately conditionalize setting of GLRO(dl_sysinfo) so
14877 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14878 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14880 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14882 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14883 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14885 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14886 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14887 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14888 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14889 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14891 2013-05-03 Joseph Myers <joseph@codesourcery.com>
14893 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14894 test signgam value.
14896 * math/libm-test.inc (hypot_test): Do not use
14897 IGNORE_ZERO_INF_SIGN.
14899 2013-05-03 Andreas Jaeger <aj@suse.de>
14901 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14903 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14904 (PF_MAX): Adjust for VSOCK change.
14906 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14910 2013-05-02 Carlos O'Donell <carlos@redhat.com>
14913 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14914 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14915 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14917 2013-05-02 David S. Miller <davem@davemloft.net>
14919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14921 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
14923 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14925 2013-05-01 Roland McGrath <roland@hack.frob.com>
14927 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14929 2013-05-01 Richard Smith <richard@metafoo.co.uk>
14932 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14933 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14934 Use __attribute__ ((__gnu_inline__)).
14935 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14936 Don't use __attribute__ ((__gnu_inline__)).
14938 2013-05-01 Joseph Myers <joseph@codesourcery.com>
14941 * math/s_catan.c (__catan): Handle small real or imaginary part of
14942 input specially to avoid spurious underflow.
14943 * math/s_catanf.c (__catanf): Likewise.
14944 * math/s_catanh.c (__catanh): Likewise.
14945 * math/s_catanhf.c (__catanhf): Likewise.
14946 * math/s_catanhl.c (__catanhl): Likewise.
14947 * math/s_catanl.c (__catanl): Likewise.
14948 * math/libm-test.inc (catan_test): Add more tests.
14949 (catanh_test): Likewise.
14950 * sysdeps/i386/fpu/libm-test-ulps: Update.
14951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14953 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14957 2013-04-30 Joseph Myers <joseph@codesourcery.com>
14960 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14961 accurately for denominator in atan2.
14962 * math/s_catanf.c (__catanf): Likewise.
14963 * math/s_catanh.c (__catanh): Likewise.
14964 * math/s_catanhf.c (__catanhf): Likewise.
14965 * math/s_catanhl.c (__catanhl): Likewise.
14966 * math/s_catanl.c (__catanl): Likewise.
14967 * math/libm-test.inc (catan_test): Add more tests.
14968 (catanh_test): Likewise.
14969 * sysdeps/i386/fpu/libm-test-ulps: Update.
14970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14972 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14974 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14976 * benchtests/Makefile (bench): Remove slow benchmarks.
14977 * benchtests/atan-inputs: Add slow benchmark inputs.
14978 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14979 (BENCH_FUNC): Accept variant offset.
14981 * benchtests/bench-skeleton.c (main): Run benchmark for each
14983 * benchtests/cos-inputs: Add slow benchmark inputs.
14984 * benchtests/exp-inputs: Likewise.
14985 * benchtests/pow-inputs: Likewise.
14986 * benchtests/sin-inputs: Likewise.
14987 * benchtests/slowatan-inputs: Remove.
14988 * benchtests/slowatan.c: Remove.
14989 * benchtests/slowcos-inputs: Remove.
14990 * benchtests/slowcos.c: Remove.
14991 * benchtests/slowexp-inputs: Remove.
14992 * benchtests/slowexp.c: Remove.
14993 * benchtests/slowpow-inputs: Remove.
14994 * benchtests/slowpow.c: Remove.
14995 * benchtests/slowsin-inputs: Remove.
14996 * benchtests/slowsin.c: Remove.
14997 * benchtests/slowtan-inputs: Remove.
14998 * benchtests/slowtan.c: Remove.
14999 * benchtests/tan-inputs: Add slow benchmark inputs.
15000 * scripts/bench.pl: Parse comments and directives.
15002 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15004 ($(objpfx)bench-%.c): Remove *-ITER.
15005 * benchtests/bench-modf.c: Remove definition of ITER.
15006 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15007 (main): Loop for DURATION seconds instead of fixed number of
15009 * scripts/bench.pl: Don't expect iterations in parameters.
15011 2013-04-29 Roland McGrath <roland@hack.frob.com>
15013 * io/fchdir.c (__fchdir): Renamed from fchdir.
15014 (fchdir): Define as weak alias.
15016 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15018 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15019 (ERRNO_EDOM): Likewise.
15020 (ERRNO_ERANGE): Likewise.
15021 (noErrnoTests): New variable.
15022 (init_max_error): Set errno to 0.
15023 (test_single_errno): New function.
15024 (test_errno): Likewise.
15025 (check_float_internal): Call test_errno. Set errno to 0.
15026 (check_complex): Refer to errno tests in comment.
15027 (check_int): Call test_errno. Set errno to 0.
15028 (check_long): Likewise.
15029 (check_bool): Likewise.
15030 (check_longlong): Likewise.
15031 (cos_test): Use ERRNO_* flags for errno tests instead of
15033 (expm1_test): Likewise.
15034 (fmod_test): Likewise.
15035 (ilogb_test): Likewise.
15036 (lgamma_test): Likewise.
15037 (pow_test): Likewise.
15038 (remainder_test): Likewise.
15039 (sin_test): Likewise.
15040 (tan_test): Likewise.
15041 (yn_test): Likewise.
15042 (initialize): Set errno to 0.
15043 (main): Print number of errno tests.
15044 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15046 2013-04-29 Andreas Jaeger <aj@suse.de>
15049 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15053 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15054 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15058 * stdlib/random.c (__initstate): Return NULL if
15062 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15063 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15066 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15070 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15072 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15073 of individual tests.
15074 (casin_test): Likewise.
15075 (casinh_test): Likewise.
15077 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15080 * math/s_catan.c (__catan): Handle arguments with large real or
15081 imaginary part separately without squaring.
15082 * math/s_catanf.c (__catanf): Likewise.
15083 * math/s_catanh.c (__catanh): Likewise.
15084 * math/s_catanhf.c (__catanhf): Likewise.
15085 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15087 (__catanhl): Handle arguments with large real or imaginary part
15088 separately without squaring.
15089 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15091 (__catanl): Handle arguments with large real or imaginary part
15092 separately without squaring.
15093 * math/libm-test.inc (catan_test): Add more tests.
15094 (catanh_test): Likewise.
15095 * sysdeps/i386/fpu/libm-test-ulps: Update.
15096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15098 2013-04-27 Andreas Jaeger <aj@suse.de>
15101 * stdlib/stdlib.h: Update guards for qecvt.
15102 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15105 2013-04-27 Allan McRae <allan@archlinux.org>
15107 * sysdeps/i386/fpu/libm-test-ulps: Update.
15109 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15112 * math/s_catan.c: Include <float.h>.
15113 (__catan): Ensure underflow exception occurs for underflowed
15115 * math/s_catanf.c: Include <float.h>.
15116 (__catanf): Ensure underflow exception occurs for underflowed
15118 * math/s_catanh.c: Include <float.h>.
15119 (__catanh): Ensure underflow exception occurs for underflowed
15121 * math/s_catanhf.c: Include <float.h>.
15122 (__catanhf): Ensure underflow exception occurs for underflowed
15124 * math/s_catanhl.c: Include <float.h>.
15125 (__catanhl): Ensure underflow exception occurs for underflowed
15127 * math/s_catanl.c: Include <float.h>.
15128 (__catanl): Ensure underflow exception occurs for underflowed
15130 * math/libm-test.inc (catan_test): Add more tests.
15131 (catanh_test): Likewise.
15134 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15135 underflowed result.
15136 * math/s_ccoshf.c (__ccoshf): Likewise.
15137 * math/s_ccoshl.c (__ccoshl): Likewise.
15138 * math/s_csin.c (__csin): Likewise.
15139 * math/s_csinf.c (__csinf): Likewise.
15140 * math/s_csinh.c (__csinh): Likewise.
15141 * math/s_csinhf.c (__csinhf): Likewise.
15142 * math/s_csinhl.c (__csinhl): Likewise.
15143 * math/s_csinl.c (__csinl): Likewise.
15144 * math/libm-test.inc (ccos_test): Add more tests.
15145 (ccosh_test): Likewise.
15146 (csin_test): Likewise.
15147 (csinh_test): Likewise.
15149 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15151 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15152 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15153 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15154 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15155 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15156 powerpc/power5+/fpu folders.
15157 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15160 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15164 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15166 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15167 additions to variable.
15168 [$(config-machine) = x86_64] (modules-names): Likewise.
15169 ($(objpfx)tst-audit3): Remove dependency.
15170 ($(objpfx)tst-audit3.out): Likewise.
15171 ($(objpfx)tst-audit4): Likewise.
15172 ($(objpfx)tst-audit4.out): Likewise.
15173 ($(objpfx)tst-audit5): Likewise.
15174 ($(objpfx)tst-audit5.out): Likewise.
15175 ($(objpfx)tst-audit6): Likewise.
15176 ($(objpfx)tst-audit6.out): Likewise.
15177 ($(objpfx)tst-audit7): Likewise.
15178 ($(objpfx)tst-audit7.out): Likewise.
15179 (tst-audit3-ENV): Remove variable.
15180 (tst-audit4-ENV): Likewise.
15181 (tst-audit5-ENV): Likewise.
15182 (tst-audit6-ENV): Likewise.
15183 (tst-audit7-ENV): Likewise.
15184 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15185 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15186 addition to variable.
15187 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15188 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15189 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15190 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15191 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15192 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15193 tst-audit3, tst-audit4 and tst-audit5.
15194 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15195 tst-audit6 and tst-audit7.
15196 [$(subdir) = elf] (modules-names): Add audit modules for those
15198 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15199 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15200 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15201 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15202 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15203 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15204 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15205 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15206 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15207 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15208 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15209 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15210 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15211 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15212 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15213 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15215 [$(subdir) = elf && $(config-cflags-avx) = yes]
15216 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15217 [$(subdir) = elf && $(config-cflags-avx) = yes]
15218 (CFLAGS-tst-auditmod4a.c): Likewise.
15219 [$(subdir) = elf && $(config-cflags-avx) = yes]
15220 (CFLAGS-tst-auditmod4b.c): Likewise.
15221 [$(subdir) = elf && $(config-cflags-avx) = yes]
15222 (CFLAGS-tst-auditmod6b.c): Likewise.
15223 [$(subdir) = elf && $(config-cflags-avx) = yes]
15224 (CFLAGS-tst-auditmod6c.c): Likewise.
15225 [$(subdir) = elf && $(config-cflags-avx) = yes]
15226 (CFLAGS-tst-auditmod7b.c): Likewise.
15227 * elf/tst-audit3.c: Move to ...
15228 * sysdeps/x86_64/tst-audit3.c: ... here.
15229 * elf/tst-audit4.c: Move to ...
15230 * sysdeps/x86_64/tst-audit4.c: ... here.
15231 * elf/tst-audit5.c: Move to ...
15232 * sysdeps/x86_64/tst-audit5.c: ... here.
15233 * elf/tst-audit6.c: Move to ...
15234 * sysdeps/x86_64/tst-audit6.c: ... here.
15235 * elf/tst-audit7.c: Move to ...
15236 * sysdeps/x86_64/tst-audit7.c: ... here.
15237 * elf/tst-auditmod3a.c: Move to ...
15238 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15239 * elf/tst-auditmod3b.c: Move to ...
15240 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15241 * elf/tst-auditmod4a.c: Move to ...
15242 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15243 * elf/tst-auditmod4b.c: Move to ...
15244 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15245 * elf/tst-auditmod5a.c: Move to ...
15246 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15247 * elf/tst-auditmod5b.c: Move to ...
15248 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15249 * elf/tst-auditmod6a.c: Move to ...
15250 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15251 * elf/tst-auditmod6b.c: Move to ...
15252 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15253 * elf/tst-auditmod6c.c: Move to ...
15254 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15255 * elf/tst-auditmod7a.c: Move to ...
15256 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15257 * elf/tst-auditmod7b.c: Move to ...
15258 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15260 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15263 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15264 define unconditionally.
15265 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15266 define unconditionally.
15267 (INT8_C, INT16_C, etc.): Likewise.
15269 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15271 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15272 __ehdr_start with hidden visibility.
15274 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15276 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15278 * math/libm-test.inc (cos_test): Use accurate hex constants.
15279 (sincost_test): Likewise.
15281 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15283 * math/libm-test.inc (catan_test): Add more tests.
15284 (catanh_test): Likewise.
15286 * math/s_catanf.c (__catanf): Use suffixed floating-point
15288 * math/s_catanhf.c (__catanhf): Likewise.
15289 * math/s_catanhl.c (__catanhl): Likewise.
15290 * math/s_catanl.c (__catanl): Likewise.
15293 * math/s_catan.c (__catan): Calculate imaginary part of result
15294 with log1p not log unless computing log of number close to 0.
15295 * math/s_catanf.c (__catanf): Likewise.
15296 * math/s_catanl.c (__catanl): Likewise.
15297 * math/s_catanh.c (__catanh): Calculate real part of result with
15298 log1p not log unless computing log of number close to 0.
15299 * math/s_catanhf.c (__catanhf): Likewise.
15300 * math/s_catanhl.c (__catanhl): Likewise.
15301 * math/libm-test.inc (catan_test): Add more tests.
15302 (catanh_test): Likewise.
15303 * sysdeps/i386/fpu/libm-test-ulps: Update.
15304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15306 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15308 * benchtests/Makefile: Mention files in which fast and slow
15309 paths of math functions are implemented.
15311 2013-04-23 Roland McGrath <roland@hack.frob.com>
15313 * sysdeps/posix/timespec_get.c: New file.
15315 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15317 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15319 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15321 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15322 powerpc/power5/fpu folders.
15323 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15324 * benchtests/Makefile: Add modf testcase.
15325 * benchtests/bench-modf.c: New file: Benchmark test for mo
15327 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15330 * time/Makefile (tests): Add tst-strptime-whitespace.
15331 * time/strptime_l.c (get_number): Use ISSPACE.
15332 (__strptime_internal): Likewise.
15333 * time/tst-strptime-whitespace.c: New test case.
15335 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15337 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15339 (_nss_files_init): Set it here.
15341 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15343 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15344 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15347 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15349 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15351 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15353 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15356 2013-04-21 David S. Miller <davem@davemloft.net>
15358 * po/ru.po: Update Russion translation from translation project.
15360 2013-04-17 Adam Conrad <adconrad@0c3.net>
15362 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15365 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15367 * configure.in: Remove i386 configure warning. Remove i386 case.
15368 * configure: Regenerate.
15369 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15370 Add example to error message.
15371 * sysdeps/i386/configure: Regenerate.
15373 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15375 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15377 * benchtests/cos-inputs: New file.
15378 * benchtests/slowcos-inputs: New file.
15379 * benchtests/slowcos.c: New file.
15380 * benchtests/slowtan-inputs: New file.
15381 * benchtests/slowtan.c: New file.
15382 * benchtests/tan-inputs: New file.
15384 2013-04-16 Roland McGrath <roland@hack.frob.com>
15386 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15389 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15391 * benchtests/Makefile: Include cppflags-iterator.mk to add
15392 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15394 * Makefile.in (bench-clean): New target.
15395 * benchtests/Makefile (bench-clean): Likewise.
15397 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15399 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15401 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15403 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15405 2013-04-15 Andreas Schwab <schwab@suse.de>
15407 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15408 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15409 * nscd/pwdcache.c (cache_addpw): Likewise.
15410 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15413 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15415 * benchtests/Makefile (bench): Write all output to
15416 bench-out.tmp together.
15418 2013-04-15 Andreas Schwab <schwab@suse.de>
15420 * nscd/nscd.c (main): Don't fork again after closing files.
15422 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15424 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15426 * benchtests/Rules (bench-deps): Collect dependencies into a
15427 single variable. Add Makefile to dependencies.
15428 ($(objpfx)bench-%.c): Depend on bench-deps.
15430 2013-04-12 Roland McGrath <roland@hack.frob.com>
15431 Xavier Roche <roche+kml2@exalead.com>
15434 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15435 just that it's a file descriptor.
15436 * manual/llio.texi (Synchronizing AIO Operations): Update description
15437 for EBADF error from aio_fsync.
15439 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15441 * Rules (bench): Move target definition...
15442 * benchtests/Makefile: ... here.
15444 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15446 * math/libm-test.inc (cos_test): Fix PI/2 test.
15447 (sincos_test): Likewise.
15448 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15449 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15451 2013-04-11 Andreas Schwab <schwab@suse.de>
15454 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15455 accept exponent character only when digits were seen.
15456 * stdio-common/Makefile (tests): Add bug26.
15457 * stdio-common/bug26.c: New file.
15460 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15463 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15465 * Makeconfig (rtld-prefix): Define built linker prefix.
15466 * Rules (run-bench): Use it.
15467 * math/Makefile (run-regen-ulps): Likewise.
15469 * Rules (bench): Remove eval.
15471 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15472 Roland McGrath <roland@hack.frob.com>
15473 Ondrej Bilka <neleai@seznam.cz>
15476 * time/getdate.c: Include ctype.h and alloca.h.
15477 (__getdate_r): Trim leading and trailing spaces of input.
15478 * time/tst-getdate.c (tests): Add tests with leading and
15481 2013-04-08 Roland McGrath <roland@hack.frob.com>
15484 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15485 when computing value.
15487 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15489 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15490 Use testrun.sh to run libm tests.
15493 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15495 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15498 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15500 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15502 * Makefile.in (regen-ulps): New target.
15503 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15504 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15505 [ifneq (no,$(PERL)] (regen-ulps): New target.
15506 [ifeq (no,$(PERL)] (regen-ulps): New target.
15507 * math/libm-test.inc (ulps_file_name): Define.
15508 (output_dir): New variable.
15509 (options): Add "output-dir" option.
15510 (parse_opt): Handle 'o' case.
15511 (main): If output_dir is non-NULL use it as a prefix
15513 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15515 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15517 [BZ #10060, #10062]
15518 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15519 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15520 fail configure if __sync_val_compare_and_swap is not inlined.
15521 * sysdeps/i386/configure: Regenerate.
15522 * configure.in: Build for i686 when configured for i386.
15523 * configure: Regenerate.
15524 * README: Remove i386 reference.
15526 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15528 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15529 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15531 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15533 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15534 (lmsnanval): New variables.
15535 (F): Add conversion tests.
15536 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15537 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15539 * stdio-common/tstdiomisc.c (F): Properly collect individual
15542 [BZ #14686, #15336]
15543 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15544 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15545 Instead, use input NaN values or generate a qNaN by arithmetic
15546 operation. Also fix bugs to comply with the standard.
15547 * math/libm-test.inc (remainder_test): Add more tests.
15549 [BZ #15335, #15342]
15550 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15551 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15552 input NaN values or generate a qNaN by arithmetic operation.
15554 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15557 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15560 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15563 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15564 underflowed result.
15565 * math/s_cexpf.c (__cexpf): Likewise.
15566 * math/s_cexpl.c (__cexpl): Likewise.
15567 * math/libm-test.inc (cexp_test): Add more tests.
15569 2013-04-03 Andreas Schwab <schwab@suse.de>
15572 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15573 order arrays from heap if bigger than alloca cutoff.
15575 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15577 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15578 (SNAN_TESTS_double): Refer to GCC PR56831.
15579 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15582 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15584 * Rules (bench): Move bench.out after the run is complete.
15586 * Rules (bench): Echo currently running benchmark.
15588 * benchtests/Makefile (bench): Add atan and slowatan.
15589 * benchtests/atan-inputs: New file.
15590 * benchtests/slowatan-inputs: New file.
15591 * benchtests/slowatan.c: New file.
15593 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15594 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15598 * sysdeps/unix/sysv/linux/kernel-features.h
15599 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15600 __ASSUME_XFS_RESTRICTED_CHOWN.
15601 * sysdeps/unix/sysv/linux/pathconf.c
15602 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15603 Save and restore errno.
15605 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15608 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15609 arguments using __kernel_casinh.
15610 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15611 arguments using __kernel_casinhf.
15612 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15613 arguments using __kernel_casinhl.
15614 * math/libm-test.inc (cacosh_test): Add more tests.
15615 * sysdeps/i386/fpu/libm-test-ulps: Update.
15616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15618 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15620 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15621 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15623 * bench/Makefile (bench): Add sin and slowsin.
15624 * benchtests/sin-inputs: New file.
15625 * benchtests/slowsin-inputs: New file.
15626 * benchtests/slowsin.c: New file.
15628 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15629 (bench): Add slowexp and slowpow.
15630 (exp-ITER): Increase iterations.
15631 (pow-ITER): Likewise.
15632 * benchtests/exp-inputs: Change input.
15633 * benchtests/pow-inputs: Likewise.
15634 * benchtests/slowexp-inputs: New file.
15635 * benchtests/slowexp.c: New file.
15636 * benchtests/slowpow-inputs: New file.
15637 * benchtests/slowpow.c: New file.
15639 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15641 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15643 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15644 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15645 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15646 * benchtests/Makefile: Add rint benchtest.
15647 * benchtests/rint-inputs: Input for rint benchtest.
15649 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15651 * Versions.def (libm): Add GLIBC_2.18.
15652 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15653 hidden libm prototypes.
15654 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15655 * math/Makefile (libm-calls): Add s_issignaling.
15656 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15657 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15658 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15660 * math/math.h [__USE_GNU] (issignaling): New macro.
15661 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15662 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15663 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15664 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15665 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15666 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15667 * manual/arith.texi (issignaling): New section.
15668 * manual/libm-err-tab.pl (@all_functions): Update comment.
15669 * math/gen-libm-test.pl (parse_args): Apply special handling for
15671 * math/libm-test.inc (print_float, issignaling_test): New
15673 (check_float_internal): Add issignaling checks.
15674 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15675 default definition.
15676 * sysdeps/powerpc/math-tests.h: New file.
15677 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15679 * math/test-snan.c (TEST_FUNC): Likewise.
15681 2013-03-30 David S. Miller <davem@davemloft.net>
15683 * po/de.po: Update from translation team.
15685 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15688 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15689 imaginary part less than 1.0 and real part less than 0.5
15691 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15692 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15693 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15694 (cacos_test): Add more tests.
15695 (casin_test): Likewise.
15696 (casinh_test): Likewise.
15697 * sysdeps/i386/fpu/libm-test-ulps: Update.
15698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15700 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15702 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15703 ONE with its value.
15705 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15706 (__pow_mp): Replace ONE and MONE with their values.
15707 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15708 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15709 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15710 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15711 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15712 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15714 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15716 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15717 (__pow_mp): Replace ZERO and MZERO with their values.
15718 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15719 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15720 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15721 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15722 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15723 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15726 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15728 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15730 2013-03-28 Roland McGrath <roland@hack.frob.com>
15732 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15733 Declare with __attribute__ ((weak)).
15734 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15735 Call __call_tls_dtors only if it's not NULL.
15737 2013-03-28 Roland McGrath <roland@hack.frob.com>
15739 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15740 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15741 magic __ehdr_start linker symbol if it's defined.
15742 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15743 them up here if it was already done.
15745 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15746 (_dl_aux_init): Use const in cast when setting it.
15747 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15748 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15749 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15751 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15753 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15754 * csu/libc-tls.c: Nor here.
15755 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15757 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15758 (__libc_message): Never call vsyslog.
15760 2013-03-28 Alan Modra <amodra@gmail.com>
15762 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15764 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15767 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15770 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15774 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15777 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15778 Don't add gid passed as argument.
15780 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15782 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15785 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15786 imaginary part between 1.0 and 1.5 and real part less than 0.5
15788 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15789 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15790 * math/libm-test.inc (cacos_test): Add more tests.
15791 (casin_test): Likewise.
15792 (casinh_test): Likewise.
15793 * sysdeps/i386/fpu/libm-test-ulps: Update.
15794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15796 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15798 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15801 (denorm): Likewise.
15802 (__dbl_mp): Likewise.
15803 (add_magnitudes): Likewise.
15804 (sub_magnitudes): Likewise.
15812 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15814 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15815 (__dubcos): Likewise.
15816 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15817 (__ieee754_acos): Likewise.
15818 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15819 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15820 (__exp1): Likewise.
15821 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15822 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15824 (my_log2): Likewise.
15825 (checkint): Likewise.
15826 * sysdeps/ieee754/dbl-64/e_remainder.c
15827 (__ieee754_remainder): Likewise.
15828 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15829 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15830 (bsloww): Likewise.
15831 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15833 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15834 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15835 MANTISSA_STORE_T to store computations on mantissa. Use
15836 macros for rounding and division.
15837 (denorm): Likewise.
15838 (__dbl_mp): Likewise.
15839 (add_magnitudes): Likewise.
15840 (sub_magnitudes): Likewise.
15843 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15844 powers of two in terms of TWOPOW macro.
15845 (mp_no): Make type of mantissa as MANTISSA_T.
15846 [!RADIXI]: Define RADIXI.
15847 [!TWO52]: Define TWO52.
15848 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15850 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15852 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15853 llroundl symbol when building for PPC32.
15855 2013-03-24 Mark H Weaver <mhw@netris.org>
15857 * manual/arith.texi (Normalization Functions): Fix prototypes for
15858 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15860 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15863 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15864 high value to check if expl overflow.
15865 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15866 to check for underflow and overflow.
15867 * math/libm-test.inc: Add exp test.
15869 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15872 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15875 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15877 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15880 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15882 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15883 wrap blocks consisting of several statements.
15885 * sysdeps/generic/math-tests.h: New file.
15886 * sysdeps/i386/fpu/math-tests.h: Likewise.
15887 * math/test-snan.c: Include it.
15888 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15890 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15893 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15894 (__ieee754_j0l): Do not improve calculations using cos of twice
15895 input for inputs above LDBL_MAX / 2.0L.
15896 (__ieee754_y0l): Likewise.
15897 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15898 (__ieee754_j1l): Do not improve calculations using cos of twice
15899 input for inputs above LDBL_MAX / 2.0L.
15900 (__ieee754_y1l): Likewise.
15901 * math/libm-test.inc (j0_test): Add another test.
15902 (j1_test): Likewise.
15903 (y0_test): Likewise.
15904 (y1_test): Likewise.
15905 * sysdeps/i386/fpu/libm-test-ulps: Update.
15907 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15909 * Rules ($(objpfx)bench-%.c): Include code from a C source
15912 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15915 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15916 imaginary part 1.0 and real part less than 0.5 specially.
15917 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15918 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15919 * math/libm-test.inc (cacos_test): Add more tests.
15920 (casin_test): Likewise.
15921 (casinh_test): Likewise.
15922 * sysdeps/i386/fpu/libm-test-ulps: Update.
15923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15925 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15927 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15928 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15930 2013-03-20 Joseph Myers <joseph@codesourcery.com>
15932 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15933 * config.make.in (config-cflags-sse4): Remove variable.
15934 (config-cflags-avx): Likewise.
15935 (config-cflags-sse2avx): Likewise.
15936 (config-cflags-novzeroupper): Likewise.
15937 (config-asflags-i686): Likewise.
15938 (have-mfma4): Likewise.
15939 (have-as-vis3): Likewise.
15941 * configure.in (MIG): Do not AC_SUBST.
15942 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15943 (libc_cv_cc_sse4): Do not AC_SUBST.
15944 (libc_cv_cc_avx): Likewise.
15945 (libc_cv_cc_sse2avx): Likewise.
15946 (libc_cv_cc_novzeroupper): Likewise.
15947 (libc_cv_cc_fma4): Likewise.
15948 (libc_cv_as_i686): Likewise.
15949 (libc_cv_sparc_as_vis3): Likewise.
15950 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15952 (config-asflags-i686): Likewise.
15953 (config-cflags-avx): Likewise.
15954 (config-cflags-sse2avx): Likewise.
15955 (have-mfma4): Likewise.
15956 (config-cflags-novzeroupper): Likewise.
15957 * sysdeps/mach/configure.in (MIG): Likewise.
15958 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15959 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15961 (config-cflags-avx): Likewise.
15962 (config-cflags-sse2avx): Likewise.
15963 (have-mfma4): Likewise.
15964 (config-cflags-novzeroupper): Likewise.
15965 * configure: Regenerated.
15966 * sysdeps/i386/configure: Likewise.
15967 * sysdeps/mach/configure: Likewise.
15968 * sysdeps/sparc/configure: Likewise.
15969 * sysdeps/x86_64/configure: Likewise.
15971 2013-03-20 Roland McGrath <roland@hack.frob.com>
15974 * locale/programs/localedef.c (options): Put N_ translation marker
15975 on argument names, not just descriptions.
15977 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15979 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15981 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
15984 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15986 2013-03-19 Roland McGrath <roland@hack.frob.com>
15988 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15989 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15990 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15991 [!BEFORE_ABORT] (before_abort): New function.
15992 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15993 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15994 (writev_for_fatal): New function.
15995 (WRITEV_FOR_FATAL): New macro; call that.
15996 (backtrace_and_maps): New function.
15997 (BEFORE_ABORT): New macro; call that.
15998 (struct str_list): Type removed.
15999 (__libc_message, __libc_fatal): Functions removed.
16000 Include <sysdeps/posix/libc_fatal.c> instead.
16002 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16004 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16006 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16009 2013-03-19 Andreas Schwab <schwab@suse.de>
16011 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16012 * sysdeps/gnu/configure: Regenerate.
16014 * configure.in: Substitute libc_cv_rtlddir.
16015 * configure: Regenerate.
16016 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16017 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16018 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16019 * elf/Makefile (install-others, CFLAGS-interp.c)
16020 (ldso_install, common-ldd-rewrite): Likewise.
16021 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16022 $(inst_slibdir)/$(rtld-installed-name).
16023 * scripts/rellns-sh: Add -p option.
16024 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16027 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16029 * manual/nptl.texi: Renamed to ...
16030 * manual/threads.texi: ... this.
16031 * manual/Makefile (chapters): Update.
16033 2013-03-18 Roland McGrath <roland@hack.frob.com>
16036 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16037 on argument names, not just descriptions.
16038 * malloc/memusagestat.c (options): Likewise.
16039 * nss/getent.c (options): Likewise.
16041 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16044 * iconv/iconv_prog.c (options): Put N_ translation marker
16045 on argument names, not just descriptions.
16046 * iconv/iconvconfig.c (options): Likewise.
16048 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16050 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16051 implementation which is faster on all x86_64 architectures.
16052 Tested on AMD, Intel Nehalem, SNB, IVB.
16053 * sysdeps/x86_64/strnlen.S: Likewise.
16055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16056 Remove all multiarch strlen and strnlen versions.
16057 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16058 Remove strlen and strnlen related parts.
16060 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16061 Inline strlen part.
16062 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16064 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16065 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16066 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16067 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16068 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16069 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16071 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16073 * manual/memory.texi (Malloc Tunable Parameters):
16074 Sort parameters alphabetically. Add comments for missing entries.
16076 2013-03-17 David S. Miller <davem@davemloft.net>
16078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16080 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16083 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16084 for arguments at most half maximum finite value.
16085 * math/libm-test.inc (j0_test): Add more tests.
16086 (j1_test): Likewise.
16087 (y0_test): Likewise.
16088 (y1_test): Likewise.
16089 * sysdeps/i386/fpu/libm-test-ulps: Update.
16090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16093 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16094 1 / x and functions P and Q for arguments above 0x1p256L.
16095 (__ieee754_y0l): Likewise.
16096 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16097 (__ieee754_y1l): Likewise.
16098 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16099 (j1_test): Likewise.
16100 (y0_test): Likewise.
16101 (y1_test): Likewise.
16103 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16105 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16108 2013-03-15 Roland McGrath <roland@hack.frob.com>
16110 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16111 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16112 zero since it's initialized to EXEC_PAGESIZE.
16114 * sysdeps/unix/sysv/linux/ldsodefs.h
16115 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16116 * sysdeps/generic/ldsodefs.h: ... here.
16118 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16120 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16122 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16124 * math/test-snan.c: Renamed from
16125 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16126 * math/Makefile (tests): Add test-snan.
16127 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16130 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16131 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16133 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16134 __builtin_nan family of functions.
16135 * math/libm-test.inc (initialize): Initialize qnan_value with
16136 __builtin_nan family of functions.
16137 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16139 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16141 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16142 storage class. Initialize qNaN_var and sNaN_var with
16143 __builtin_nan and __builtin_nans families of functions,
16146 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16147 (sqrt_test): Remove duplicate test with qNaN input.
16148 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16149 (round_test, signbit_test, significand_test): Note missing +/-Inf
16150 as well as qNaN tests.
16152 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16153 qNaN_var. Fix a few strings, too.
16154 * math/libm-test.inc (nan_value): Rename to qnan_value.
16155 * math/gen-libm-test.pl (%beautify): Adjust to that.
16156 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16157 * math/test-misc.c (main): Likewise.
16158 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16159 to __qnan_bytes, and __qnan_union, respectively.
16160 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16162 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16163 and lqnanval, respectively.
16164 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16165 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16166 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16167 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16169 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16170 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16173 * math/test-misc.c (main): Fix copy'n'pastos.
16174 * misc/tst-efgcvt.c (special): Likewise.
16176 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16177 Remove declarations.
16179 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16181 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16182 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16183 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16184 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16186 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16188 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16189 macro to return vdso values correctly in IFUNC implementations.
16190 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16191 Optimization by using IFUNC.
16193 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16194 Richard Henderson <rth@redhat.com>
16195 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16197 * Makefile.in (bench): New target.
16198 * NEWS: Mention the benchmark framework.
16199 * Rules (bench): Likewise.
16200 (binaries-bench): Generate binaries for functions to
16202 * benchtests/Makefile: New makefile for benchmark tests.
16203 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16205 * benchtests/exp-inputs: New input file for EXP function.
16206 * benchtests/pow-inputs: New input file for POW function.
16207 * scripts/bench.pl: New script to generate source files for
16208 benchmark programs.
16210 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16212 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16213 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16214 computations on mantissa. Use macros for rounding and
16216 (denorm): Likewise.
16217 (__dbl_mp): Likewise.
16218 (add_magnitudes): Likewise.
16219 (sub_magnitudes): Likewise.
16222 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16223 powers of two in terms of TWOPOW macro.
16224 (mp_no): Make type of mantissa as MANTISSA_T.
16225 [!RADIXI]: Define RADIXI.
16226 [!TWO52]: Define TWO52.
16227 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16229 * manual/nptl.texi (cindex): Modify threads to pthreads.
16231 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16233 * sysdeps/x86_64/preconfigure: Regenerated.
16235 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16238 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16240 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16241 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16243 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16244 * math/libm-test.inc (j0_test): Do not allow one spurious
16245 underflow exception.
16246 (y1_test): Likewise.
16248 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16250 * manual/Makefile (chapters): Add nptl.
16251 * manual/debug.texi (Debugging Support): Add link to Threads
16253 * manual/nptl.texi: New file.
16255 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16257 2013-03-14 Petr Baudis <pasky@ucw.cz>
16259 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16260 for non-NULL pointer before the memory validity test. Pointed
16261 out by Holger Brunck <holger.brunck@keymile.com>.
16263 2013-03-13 Andreas Schwab <schwab@suse.de>
16265 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16268 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16270 * timezone/zic.c: Update from tzcode 2013b.
16272 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16274 * manual/install.texi (Configuring and compiling):
16275 Mention i686 and i586.
16276 * INSTALL: Regenerate.
16278 2013-03-12 Roland McGrath <roland@hack.frob.com>
16280 * sysdeps/init_array/elf-init.c: New file.
16282 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16283 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16285 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16286 __gmon_start__ as global, but as static with a .preinit_array pointer.
16287 * sysdeps/init_array/gmon-start.c: New file. Use that.
16288 * sysdeps/init_array/crti.S: New file, empty except for comments.
16289 * sysdeps/init_array/crtn.S: Likewise.
16291 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16293 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16296 Remove Prefer_SSE_for_memop.
16297 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16298 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16299 HAS_PREFER_SSE_FOR_MEMOP.
16300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16302 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16303 Remove bzero, memset ifunc support.
16304 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16305 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16306 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16307 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16309 2013-03-11 Andreas Schwab <schwab@suse.de>
16312 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16315 (GLIBC_2.16): Remove pthread_atfork.
16317 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16319 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16320 (ptestcases.h): Likewise.
16322 2013-03-08 Roland McGrath <roland@hack.frob.com>
16324 * Makeconfig ($(common-objpfx)config.status): Depend on
16325 sysdeps/*/preconfigure{,.in} too.
16327 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16329 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16330 (__free_hook): Use void * instead of __malloc_ptr_t.
16331 (__malloc_hook): Likewise.
16332 (__realloc_hook): Likewise.
16333 (__memalign_hook): Likewise.
16334 (__after_morecore_hook): Likewise.
16335 * malloc/arena.c (save_malloc_hook): Likewise.
16336 (save_free_hook): Likewise.
16337 * malloc/hooks.c (malloc_hook_ini): Likewise.
16338 (realloc_hook_ini): Likewise.
16339 (memalign_hook_ini): Likewise.
16340 * malloc/malloc.c (malloc_hook_ini): Likewise.
16341 (realloc_hook_ini): Likewise.
16342 (memalign_hook_ini): Likewise.
16343 (__free_hook): Likewise.
16344 (__malloc_hook): Likewise.
16345 (__realloc_hook): Likewise.
16346 (__memalign_hook): Likewise.
16347 (__libc_malloc): Likewise.
16348 (__libc_free): Likewise.
16349 (__libc_realloc): Likewise.
16350 (__libc_memalign): Likewise.
16351 (__libc_valloc): Likewise.
16352 (__libc_pvalloc): Likewise.
16353 (__libc_calloc): Likewise.
16354 (__posix_memalign): Likewise.
16355 * malloc/morecore.c (__sbrk): Likewise.
16356 (__default_morecore): Likewise.
16358 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16360 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16361 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16362 __malloc_ptrdiff_t.
16364 * malloc/malloc.h (__malloc_size_t): Remove macro.
16365 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16367 (old_memalign_hook): Likewise.
16368 (old_realloc_hook): Likewise.
16369 (struct hdr): Likewise.
16371 (mallochook): Likewise.
16372 (memalignhook): Likewise.
16373 (reallochook): Likewise.
16374 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16375 (tr_old_realloc_hook): Likewise.
16376 (tr_old_memalign_hook): Likewise.
16377 (tr_mallochook): Likewise.
16378 (tr_reallochook): Likewise.
16379 (tr_memalignhook): Likewise.
16381 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16383 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16384 default_ldbl_pack and using as default implementation.
16385 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16387 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16388 redundant definition.
16389 (ldbl_insert_mantissa): Likewise.
16390 (ldbl_canonicalize): Likewise.
16391 (ldbl_nearbyint): Likewise.
16392 (ldbl_pack): Rename to ldbl_pack_ppc.
16393 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16394 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16395 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16397 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16400 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16401 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16402 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16404 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16405 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16406 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16408 2013-03-07 Andreas Jaeger <aj@suse.de>
16410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16413 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16415 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16416 Include mpa.h and declare __MPEXP.
16417 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16418 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16419 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16420 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16421 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16422 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16423 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16425 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16426 (__slowpow): Use long double EXPL and LOGL functions to
16428 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16429 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16430 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16431 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16432 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16433 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16436 intermediate variable to calculate exponent.
16438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16442 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16443 [!NO__SQR]: Define __sqr.
16444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16445 and NO__SQR. Remove all code except __mul and __sqr. Include
16446 sysdeps/ieee754/dbl-64/mpa.c.
16447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16450 * posix/Makefile (tests): Add tst-pathconf.
16451 * posix/tst-pathconf.c: New test case.
16452 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16454 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16456 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16458 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16460 2013-03-06 Andreas Jaeger <aj@suse.de>
16462 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16463 definition via __MAP_ANONYMOUS.
16465 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16466 it's not part of Linux headers.
16468 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16469 (MAP_HUGE_MASK): Define.
16471 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16473 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16474 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16476 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16477 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16479 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16480 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16482 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16484 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16485 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16486 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16487 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16488 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16489 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16491 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16494 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16495 Handle f2fs and efivarfs.
16497 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16500 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16501 (EFIVARFS_MAGIC): Add.
16502 (F2FS_LINK_MAX): Add.
16504 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16506 * stdio-common/vfprintf.c: Replace __builtin_expect with
16509 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16512 * sysdeps/generic/bp-sym.h: Remove file.
16513 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16514 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16515 <bp-sym.h> and <bp-asm.h>.
16516 (__longjmp): Don't use BP_SYM.
16517 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16519 (memcpy): Don't use BP_SYM.
16520 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16521 <bp-sym.h> and <bp-asm.h>.
16522 (memcpy): Don't use BP_SYM.
16523 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16525 (memcpy): Don't use BP_SYM.
16526 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16528 (memset): Don't use BP_SYM.
16529 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16530 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16531 (__bzero): Don't use BP_SYM.
16532 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16533 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16534 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16535 <bp-sym.h> and <bp-asm.h>.
16536 (memcmp): Don't use BP_SYM. Remove comment about bounded
16538 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16539 <bp-sym.h> and <bp-asm.h>.
16540 (memcpy): Don't use BP_SYM.
16541 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16542 <bp-sym.h> and <bp-asm.h>.
16543 (memset): Don't use BP_SYM.
16544 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16545 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16546 (__bzero): Don't use BP_SYM.
16547 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16548 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16549 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16550 <bp-sym.h> and <bp-asm.h>.
16551 (strncmp): Don't use BP_SYM. Remove comment about bounded
16553 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16554 <bp-sym.h> and <bp-asm.h>.
16555 (memcpy): Don't use BP_SYM.
16556 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16557 <bp-sym.h> and <bp-asm.h>.
16558 (memset): Don't use BP_SYM.
16559 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16560 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16561 (__bzero): Don't use BP_SYM.
16562 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16563 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16564 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16565 <bp-sym.h> and <bp-asm.h>.
16566 (__memchr): Don't use BP_SYM.
16567 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16568 <bp-sym.h> and <bp-asm.h>.
16569 (memcmp): Don't use BP_SYM. Remove comment about bounded
16571 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16572 <bp-sym.h> and <bp-asm.h>.
16573 (memcpy): Don't use BP_SYM.
16574 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16575 <bp-sym.h> and <bp-asm.h>.
16576 (__mempcpy): Don't use BP_SYM.
16577 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16578 <bp-sym.h> and <bp-asm.h>.
16579 (__memrchr): Don't use BP_SYM.
16580 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16581 <bp-sym.h> and <bp-asm.h>.
16582 (memset): Don't use BP_SYM.
16583 (__bzero): Likewise.
16584 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16585 <bp-sym.h> and <bp-asm.h>.
16586 (__rawmemchr): Don't use BP_SYM.
16587 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16588 <bp-sym.h> and <bp-asm.h>.
16589 (__STRCMP): Don't use BP_SYM.
16590 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16591 <bp-sym.h> and <bp-asm.h>.
16592 (strchr): Don't use BP_SYM.
16593 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16594 <bp-sym.h> and <bp-asm.h>.
16595 (__strchrnul): Don't use BP_SYM.
16596 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16597 <bp-sym.h> and <bp-asm.h>.
16598 (strlen): Don't use BP_SYM.
16599 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16600 <bp-sym.h> and <bp-asm.h>.
16601 (strncmp): Don't use BP_SYM. Remove comment about bounded
16603 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16604 <bp-sym.h> and <bp-asm.h>.
16605 (__strnlen): Don't use BP_SYM.
16606 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16607 <bp-sym.h> and <bp-asm.h>.
16608 (__GI__setjmp): Don't use BP_SYM.
16609 (_setjmp): Likewise.
16610 (__sigsetjmp): Likewise.
16611 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16612 (L(start_addresses)): Don't use BP_SYM.
16613 (_start): Likewise.
16614 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16616 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16617 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16618 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16619 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16620 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16622 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16623 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16624 about bounded pointers.
16625 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16626 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16627 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16629 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16630 about bounded pointers. Remove GKM FIXME comments.
16631 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16632 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16634 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16635 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16636 Remove GKM FIXME comments.
16637 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16638 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16639 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16641 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16642 about bounded pointers. Remove GKM FIXME comment.
16643 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16645 (strncmp): Don't use BP_SYM. Remove comment about bounded
16647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16648 <bp-sym.h> and <bp-asm.h>.
16649 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16651 <bp-sym.h> and <bp-asm.h>.
16652 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16655 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16657 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16660 2013-03-05 David S. Miller <davem@davemloft.net>
16662 * po/es.po: Update from translation team.
16664 2013-03-05 Andreas Jaeger <aj@suse.de>
16666 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16667 <bits/mman-linux.h>.
16668 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16670 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16671 <bits/mman-linux.h> to end of file.
16672 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16674 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16675 <bits/mman-linux.h> to end of file.
16676 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16678 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16679 <bits/mman-linux.h> to end of file.
16681 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16682 (MCL_CURRENT, MCL_FUTURE): Define here.
16684 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16687 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16689 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16691 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16693 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16694 fourth parameter needed for rt_sigprocmask syscall.
16695 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16696 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16697 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16698 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16699 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16700 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16702 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16705 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16706 comment about bounded pointers.
16707 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16708 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16710 2013-03-04 Andreas Jaeger <aj@suse.de>
16712 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16713 common definitions.
16715 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16716 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16717 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16718 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16719 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16720 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16722 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16725 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16726 __ieee754_sqrl instead of __sqrl.
16728 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16730 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16731 * sysdeps/powerpc/fpu_control.h: ... here.
16732 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16733 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16734 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16735 * sysdeps/powerpc/bits/mathinline.h: ... here.
16737 2013-03-01 Roland McGrath <roland@hack.frob.com>
16739 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16740 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16741 to just [NEED_DL_SYSINFO_DSO].
16742 * elf/dl-support.c: Likewise.
16743 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16744 * elf/rtld.c (dl_main): Likewise.
16745 * elf/setup-vdso.h (setup_vdso): Likewise.
16746 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16747 * sysdeps/unix/sysv/linux/dl-sysdep.c
16748 (_dl_discover_osversion): Likewise.
16750 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16752 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16753 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16755 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16757 * NEWS: Mention libm performance improvements and non-x86 PI
16760 * csu/libc-start.c (__pthread_initialize_minimal): Change
16761 function arguments.
16762 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16764 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16767 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16768 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16769 <bp-sym.h> and <bp-asm.h>.
16770 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16771 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16773 (memcpy): Don't use BP_SYM.
16774 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16776 (__mpn_add_n): Don't use BP_SYM.
16777 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16778 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16780 (__mpn_addmul_1): Don't use BP_SYM.
16781 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16782 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16784 (_setjmp): Don't use BP_SYM.
16785 (__novmx_setjmp): Likewise.
16786 (__GI__setjmp): Likewise.
16787 (__vmx_setjmp): Likewise.
16788 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16790 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16791 (__bzero): Don't use BP_SYM.
16792 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16793 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16794 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16795 <bp-sym.h> and <bp-asm.h>.
16796 (memcpy): Don't use BP_SYM.
16797 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16798 <bp-sym.h> and <bp-asm.h>.
16799 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16800 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16801 <bp-sym.h> and <bp-asm.h>.
16802 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16803 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16805 (__mpn_lshift): Don't use BP_SYM.
16806 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16807 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16809 (memset): Don't use BP_SYM.
16810 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16811 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16812 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16814 (__mpn_mul_1): Don't use BP_SYM.
16815 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16816 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16817 <bp-sym.h> and <bp-asm.h>.
16818 (memcmp): Don't use BP_SYM.
16819 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16820 <bp-sym.h> and <bp-asm.h>.
16821 (memcpy): Don't use BP_SYM.
16822 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16823 <bp-sym.h> and <bp-asm.h>.
16824 (memset): Don't use BP_SYM.
16825 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16826 <bp-sym.h> and <bp-asm.h>.
16827 (strncmp): Don't use BP_SYM.
16828 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16829 <bp-sym.h> and <bp-asm.h>.
16830 (memcpy): Don't use BP_SYM.
16831 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16832 <bp-sym.h> and <bp-asm.h>.
16833 (memset): Don't use BP_SYM.
16834 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16835 <bp-sym.h> and <bp-asm.h>.
16836 (__memchr): Don't use BP_SYM.
16837 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16838 <bp-sym.h> and <bp-asm.h>.
16839 (memcmp): Don't use BP_SYM.
16840 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16841 <bp-sym.h> and <bp-asm.h>.
16842 (memcpy): Don't use BP_SYM.
16843 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16844 <bp-sym.h> and <bp-asm.h>.
16845 (__mempcpy): Don't use BP_SYM.
16846 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16847 <bp-sym.h> and <bp-asm.h>.
16848 (__memrchr): Don't use BP_SYM.
16849 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16850 <bp-sym.h> and <bp-asm.h>.
16851 (memset): Don't use BP_SYM.
16852 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16853 <bp-sym.h> and <bp-asm.h>.
16854 (__rawmemchr): Don't use BP_SYM.
16855 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16856 <bp-sym.h> and <bp-asm.h>.
16857 (__STRCMP): Don't use BP_SYM.
16858 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16859 <bp-sym.h> and <bp-asm.h>.
16860 (strchr): Don't use BP_SYM.
16861 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16862 <bp-sym.h> and <bp-asm.h>.
16863 (__strchrnul): Don't use BP_SYM.
16864 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16865 <bp-sym.h> and <bp-asm.h>.
16866 (strlen): Don't use BP_SYM.
16867 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16868 <bp-sym.h> and <bp-asm.h>.
16869 (strncmp): Don't use BP_SYM.
16870 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16871 <bp-sym.h> and <bp-asm.h>.
16872 (__strnlen): Don't use BP_SYM.
16873 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16875 (__mpn_rshift): Don't use BP_SYM.
16876 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16877 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16878 <bp-sym.h> and <bp-asm.h>.
16879 (__sigsetjmp): Don't use BP_SYM.
16880 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16881 (L(start_addresses)): Don't use BP_SYM.
16882 (_start): Likewise.
16883 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16885 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16886 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16887 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16888 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16890 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16891 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16892 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16893 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16895 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16897 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16898 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16900 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16902 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16903 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16904 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16906 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16908 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16910 (strncmp): Don't use BP_SYM,
16911 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16913 (__mpn_sub_n): Don't use BP_SYM.
16914 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16915 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16917 (__mpn_submul_1): Don't use BP_SYM.
16918 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16920 <bp-sym.h> and <bp-asm.h>.
16921 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16923 <bp-sym.h> and <bp-asm.h>.
16924 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16927 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16930 Use ZK to minimize writes to Z.
16931 (sub_magnitudes): Simplify code a bit.
16932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16933 Use ZK to minimize writes to Z.
16934 (sub_magnitudes): Simplify code a bit.
16936 2013-02-27 Roland McGrath <roland@hack.frob.com>
16938 * csu/gmon-start.c: Add special exception to license text.
16940 2013-02-27 Richard Henderson <rth@redhat.com>
16942 * scripts/config.guess: Update from config.git.
16943 * scripts/config.sub: Likewise.
16945 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16947 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16949 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16951 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16953 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16955 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16957 2013-02-26 Roland McGrath <roland@hack.frob.com>
16959 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16960 [$(build-shared = yes].
16962 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16964 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16965 (__mul): Reduce iterations for calculating mantissa.
16967 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16969 (__mpranred): Likewise.
16972 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16973 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16975 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16977 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16978 Define __attribute__.
16980 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16982 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16984 * posix/regex_internal.h (__attribute): Remove.
16985 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16986 (re_string_context_at): Likewise.
16987 (bitset_not): Use __attribute__ and mark function as possibly
16989 (bitset_merge): Likewise.
16990 (bitset_mask): Likewise.
16991 (re_string_char_size_at): Likewise.
16992 (re_string_wchar_at): Likewise.
16993 (re_string_elem_size_at): Likewise.
16995 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16997 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17001 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17005 (denorm): Likewise.
17006 (__dbl_mp): Likewise.
17007 (add_magnitudes): Likewise.
17008 (sub_magnitudes): Likewise.
17012 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17015 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17018 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17021 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17022 up changes with default code.
17023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17026 2013-02-24 Allan McRae <allan@archlinux.org>
17028 * manual/socket.texi (The Internet Namespace): Order menu items
17029 to match that in the file.
17031 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17032 node listing of the info page menu.
17034 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17037 * sysdeps/i386/bp-asm.h: Remove file.
17038 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17039 (PARMS): Do not use macros from bp-asm.h.
17043 (__mpn_add_n): Do not use BP_SYM
17044 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17046 (PARMS): Do not use macros from bp-asm.h.
17049 (__mpn_addmul_1): Do not use BP_SYM
17050 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17052 (PARMS): Do not use macros from bp-asm.h.
17053 (SIGMSK): Likewise.
17054 (_setjmp): Likewise. Do not use BP_SYM.
17055 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17057 (PARMS): Do not use macros from bp-asm.h.
17058 (SIGMSK): Likewise.
17059 (setjmp): Likewise. Do not use BP_SYM.
17060 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17062 (PARMS): Do not use macros from bp-asm.h.
17063 (__frexp): Do not use BP_SYM.
17065 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17067 (PARMS): Do not use macros from bp-asm.h.
17068 (__frexpf): Do not use BP_SYM.
17069 (frexpf): Likewise.
17070 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17072 (PARMS): Do not use macros from bp-asm.h.
17073 (__frexpl): Do not use BP_SYM.
17074 (frexpl): Likewise.
17075 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17077 (PARMS): Do not use macros from bp-asm.h.
17078 (__remquo): Do not use BP_SYM.
17079 (remquo): Likewise.
17080 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17082 (PARMS): Do not use macros from bp-asm.h.
17083 (__remquof): Do not use BP_SYM.
17084 (remquof): Likewise.
17085 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17087 (PARMS): Do not use macros from bp-asm.h.
17088 (__remquol): Do not use BP_SYM.
17089 (remquol): Likewise.
17090 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17092 (PARMS): Do not use macros from bp-asm.h.
17095 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17096 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17098 (PARMS): Do not use macros from bp-asm.h.
17099 (strlen): Do not use BP_SYM.
17100 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17102 (PARMS): Do not use macros from bp-asm.h.
17106 (__mpn_add_n): Do not use BP_SYM.
17107 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17109 (PARMS): Do not use macros from bp-asm.h.
17112 (__mpn_addmul_1): Do not use BP_SYM.
17113 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17116 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17118 (PARMS): Do not use macros from bp-asm.h.
17121 (__mpn_lshift): Do not use BP_SYM.
17122 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17124 (PARMS): Do not use macros from bp-asm.h.
17128 (memcpy): Likewise. Do not use BP_SYM.
17129 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17130 libc_hidden_def and weak_alias.
17131 (mempcpy): Do not use BP_SYM in weak_alias.
17132 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17134 (PARMS): Do not use macros from bp-asm.h.
17137 [!BZERO_P] (CHR): Likewise.
17138 (memset): Likewise. Do not use BP_SYM.
17139 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17141 (PARMS): Do not use macros from bp-asm.h.
17144 (__mpn_mul_1): Do not use BP_SYM.
17145 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17147 (PARMS): Do not use macros from bp-asm.h.
17150 (__mpn_rshift): Do not use BP_SYM.
17151 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17153 (PARMS): Do not use macros from bp-asm.h.
17156 (strchr): Likewise. Do not use BP_SYM.
17157 (index): Do not use BP_SYM in weak_alias.
17158 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17160 (PARMS): Do not use macros from bp-asm.h.
17163 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17164 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17166 (PARMS): Do not use macros from bp-asm.h.
17167 (strlen): Do not use BP_SYM.
17168 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17170 (PARMS): Do not use macros from bp-asm.h.
17174 (__mpn_sub_n): Do not use BP_SYM.
17175 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17177 (PARMS): Do not use macros from bp-asm.h.
17180 (__mpn_submul_1): Do not use BP_SYM.
17181 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17183 (PARMS): Do not use macros from bp-asm.h.
17187 (__mpn_add_n): Do not use BP_SYM.
17188 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17191 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17193 (PARMS): Do not use macros from bp-asm.h.
17196 (memcmp): Do not use BP_SYM.
17197 (bcmp): Do not use BP_SYM in weak_alias.
17198 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17200 (PARMS): Do not use macros from bp-asm.h.
17204 (memcpy): Likewise. Do not use BP_SYM.
17205 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17207 (PARMS): Do not use macros from bp-asm.h.
17211 (memmove): Likewise. Do not use BP_SYM.
17212 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17214 (PARMS): Do not use macros from bp-asm.h.
17218 (__mempcpy): Likewise. Do not use BP_SYM.
17219 (mempcpy): Do not use BP_SYM in weak_alias.
17220 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17222 (PARMS): Do not use macros from bp-asm.h.
17225 [!BZERO_P] (CHR): Likewise.
17226 (memset): Likewise. Do not use BP_SYM.
17227 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17229 (PARMS): Do not use macros from bp-asm.h.
17231 (strcmp): Do not use BP_SYM.
17232 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17234 (PARMS): Do not use macros from bp-asm.h.
17237 [USE_AS_STRTOK_R] (SAVE): Likewise.
17238 (FUNCTION): Likewise. Do not use BP_SYM.
17239 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17241 (strtok_r): Likewise.
17242 (__GI___strtok_r): Likewise.
17243 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17244 (PARMS): Do not use macros from bp-asm.h.
17247 (__mpn_lshift): Do not use BP_SYM.
17248 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17249 (PARMS): Do not use macros from bp-asm.h.
17252 (__memchr): Do not use BP_SYM.
17253 (memchr): Do not use BP_SYM in weak_alias.
17254 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17255 (PARMS): Do not use macros from bp-asm.h.
17258 (memcmp): Do not use BP_SYM.
17259 (bcmp): Do not use BP_SYM in weak_alias.
17260 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17261 (PARMS): Do not use macros from bp-asm.h.
17264 (__mpn_mul_1): Do not use BP_SYM.
17265 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17267 (PARMS): Do not use macros from bp-asm.h.
17270 (__rawmemchr): Do not use BP_SYM.
17271 (rawmemchr): Do not use BP_SYM in weak_alias.
17272 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17273 (PARMS): Do not use macros from bp-asm.h.
17276 (__mpn_rshift): Do not use BP_SYM.
17277 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17278 (PARMS): Do not use macros from bp-asm.h.
17279 (SIGMSK): Likewise.
17280 (__sigsetjmp): Likewise. Do not use BP_SYM.
17281 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17282 (_start): Do not use BP_SYM.
17283 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17284 (PARMS): Do not use macros from bp-asm.h.
17287 (__stpcpy): Likewise. Do not use BP_SYM.
17288 (stpcpy): Do not use BP_SYM in weak_alias.
17289 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17291 (PARMS): Do not use macros from bp-asm.h.
17295 (__stpncpy): Likewise. Do not use BP_SYM.
17296 (stpncpy): Do not use BP_SYM in weak_alias.
17297 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17298 (PARMS): Do not use macros from bp-asm.h.
17301 (strchr): Likewise. Do not use BP_SYM.
17302 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17304 (PARMS): Do not use macros from bp-asm.h.
17307 (__strchrnul): Likewise. Do not use BP_SYM.
17308 (strchrnul): Do not use BP_SYM in weak_alias.
17309 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17311 (PARMS): Do not use macros from bp-asm.h.
17313 (strcspn): Do not use BP_SYM.
17314 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17316 (PARMS): Do not use macros from bp-asm.h.
17319 (strpbrk): Likewise. Do not use BP_SYM.
17320 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17322 (PARMS): Do not use macros from bp-asm.h.
17325 (strrchr): Likewise. Do not use BP_SYM.
17326 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17327 (PARMS): Do not use macros from bp-asm.h.
17329 (strspn): Do not use BP_SYM.
17330 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17331 (PARMS): Do not use macros from bp-asm.h.
17335 (FUNCTION): Likewise. Do not use BP_SYM.
17336 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17338 (strtok_r): Likewise.
17339 (__GI___strtok_r): Likewise.
17340 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17341 (PARMS): Do not use macros from bp-asm.h.
17345 (__mpn_sub_n): Do not use BP_SYM.
17346 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17348 (PARMS): Do not use macros from bp-asm.h.
17351 (__mpn_submul_1): Do not use BP_SYM.
17352 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17354 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17356 (PARMS): Do not use macros from bp-asm.h.
17361 (__clone): Do not use BP_SYM.
17362 (clone): Do not use BP_SYM in weak_alias.
17363 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17365 (PARMS): Do not use macros from bp-asm.h.
17367 (__mmap64): Do not use BP_SYM.
17368 (mmap64): Do not use BP_SYM in weak_alias.
17369 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17370 <bp-sym.h> and <bp-asm.h>.
17371 (PARMS): Do not use macros from bp-asm.h.
17372 (__posix_fadvise64_l64): Do not use BP_SYM.
17373 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17374 (PARMS): Do not use macros from bp-asm.h.
17376 (semtimedop): Do not use BP_SYM.
17377 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17380 2013-02-21 Allan McRae <allan@archlinux.org>
17382 * manual/message.texi (Charset conversion in gettext):
17383 Move @end statement to beginning of line.
17385 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17392 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17393 (denorm): Likewise.
17394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17397 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17399 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17400 tail-call to the resolved function if pltexit isn't needed.
17402 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17405 or Y being zero as being unlikely.
17406 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17409 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17411 * manual/nss.texi (System Databases and Name Service Switch):
17412 Remove frobnicate @pxref.
17414 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17416 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17417 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17419 2013-02-20 Petr Machata <pmachata@redhat.com>
17421 * elf/elf.h (R_ARM_TARGET1): New macro.
17422 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17423 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17424 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17425 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17426 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17427 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17428 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17429 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17430 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17431 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17432 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17433 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17434 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17435 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17436 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17437 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17438 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17439 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17440 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17441 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17442 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17443 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17444 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17445 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17446 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17447 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17448 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17449 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17450 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17451 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17452 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17453 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17454 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17455 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17456 (R_ARM_THM_GOT_BREL12): Likewise.
17457 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17458 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17459 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17460 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17461 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17462 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17463 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17464 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17465 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17467 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17469 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17470 __attribute_used__ to __attribute__ ((unused)).
17472 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17474 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17477 comment formatting.
17478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17480 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17483 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17485 (ENTER): Remove both macro definitions.
17487 (CHECK_BOUNDS_LOW): Likewise.
17488 (CHECK_BOUNDS_HIGH): Likewise.
17489 (CHECK_BOUNDS_BOTH): Likewise.
17490 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17491 (RETURN_BOUNDED_POINTER): Likewise.
17492 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17493 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17494 (POP_ERRNO_LOCATION_RETURN): Likewise.
17495 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17496 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17497 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17499 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17500 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17501 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17502 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17503 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17504 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17505 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17506 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17507 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17508 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17509 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17510 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17511 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17512 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17514 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17515 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17517 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17518 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17519 * sysdeps/i386/i586/memset.S (memset): Likewise.
17520 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17521 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17522 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17524 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17525 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17526 Change uses of L(2) to L(out).
17527 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17528 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17529 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17530 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17531 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17533 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17534 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17536 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17537 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17538 (RETURN): Do not use macro LEAVE.
17539 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17540 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17541 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17542 * sysdeps/i386/i686/memset.S (memset): Likewise.
17543 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17544 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17545 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17546 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17548 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17549 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17550 L(1_2) and L(1_3) into L(1).
17551 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17552 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17553 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17554 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17555 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17556 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17557 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17558 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17559 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17561 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17562 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17563 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17564 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17565 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17566 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17567 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17568 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17569 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17570 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17571 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17572 * sysdeps/i386/strspn.S (strspn): Likewise.
17573 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17575 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17576 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17577 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17578 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17579 L(1_3) into L(1_1).
17580 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17581 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17582 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17584 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17586 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17588 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17591 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17593 * math/atest-exp.c (exp_mpn): Remove ROUND.
17594 * math/atest-exp2.c (exp_mpn): Likewise.
17595 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17597 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17598 * stdlib/tst-tls-atexit-lib.c: Likewise.
17599 * stdlib/tst-tls-atexit.c: Likewise.
17601 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17603 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17604 and __attribute_alloc_size__.
17606 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17608 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17609 __attribute_alloc_size__.
17610 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17611 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17613 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17615 * include/programs/xmalloc.h: New file.
17616 * catgets/gencat.c: Include it.
17617 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17618 * elf/pldd.c: Likewise.
17619 * iconv/iconv_charmap.c: Likewise.
17620 * iconv/iconvconfig.c: Likewise.
17621 * iconv/strtab.c: Likewise.
17622 * locale/programs/locale.c: Likewise.
17623 * locale/programs/localedef.h: Likewise.
17624 * locale/programs/simple-hash.c: Likewise.
17625 * nscd/nscd.h: Likewise.
17626 * nss/makedb.c: Likewise.
17627 * sysdeps/generic/ldconfig.h: Likewise.
17629 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17631 * Versions.def: Add GLIBC_2.18.
17632 * include/link.h (struct link_map): New member l_tls_dtor_count.
17633 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17634 (__call_tls_dtors): Likewise.
17635 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17636 __cxa_thread_atexit_impl.
17637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17645 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17653 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17654 (tests): Add test case tst-tls-atexit.
17655 (modules-names): Add shared library for tst-tls-atexit.
17656 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17657 (GLIBC_PRIVATE): Add __call_tls_dtors.
17658 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17660 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17661 * stdlib/tst-tls-atexit.c: New test case.
17662 * stdlib/tst-tls-atexit-lib.c: New test case.
17664 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17666 * elf/Versions (ld): Add _dl_find_dso_for_object.
17667 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17668 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17669 (dl_open_worker): Use _dl_find_dso_for_object.
17670 * elf/dl-sym.c (do_sym): Likewise.
17671 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17673 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17675 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17676 Syntactic changes only.
17677 (_dl_runtime_profile): Do a tail-call to the resolved function.
17679 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17682 * sysdeps/x86_64/bp-asm.h: Remove file.
17683 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17684 <bp-sym.h> and <bp-asm.h>.
17685 (__clone): Do not use BP_SYM.
17686 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17687 <bp-sym.h> and <bp-asm.h>.
17688 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17689 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17691 (_setjmp): Do not use BP_SYM.
17692 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17694 (setjmp): Do not use BP_SYM.
17695 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17697 (mempcpy): Do not use BP_SYM in weak_alias.
17698 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17700 (strchr): Do not use BP_SYM.
17701 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17703 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17704 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17705 (_start): Do not use BP_SYM.
17706 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17708 (strcat): Do not use BP_SYM.
17709 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17711 (STRCMP): Do not use BP_SYM.
17712 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17714 (STRCPY): Do not use BP_SYM.
17715 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17717 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17719 (FUNCTION): Do not use BP_SYM.
17720 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17722 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17724 2013-02-17 Andreas Jaeger <aj@suse.de>
17726 * time/Versions: Sort entries.
17727 * string/Versions: Likewise.
17728 * resolv/Versions: Likewise.
17729 * posix/Versions: Likewise.
17730 * iconv/Versions: Likewise.
17731 * elf/Versions: Likewise.
17732 * wcsmbs/Versions: Likewise.
17734 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17736 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17737 loop termination condition.
17739 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17740 variable to calculate EZ.
17743 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17744 the lower precision input.
17746 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17749 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17750 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17751 (run-via-rtld-prefix): Do not handle %-bp tests.
17752 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17753 (all-object-suffixes): Remove .ob.
17754 (bppfx): Remove variable.
17755 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17756 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17757 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17758 [$(build-bounded) = yes] (libtype.ob): Likewise.
17759 * Makerules (elide-routines.ob): Remove variable.
17760 (do-tests-clean): Do not handle *-bp.out.
17761 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17762 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17763 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17764 (tests): Do not include $(tests-bp.out).
17765 (xtests): Do not include $(xtests-bp.out).
17766 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17767 [$(build-bounded) = yes] ($(addprefix
17768 $(objpfx),$(binaries-bounded))): Remove rule.
17769 ($(objpfx)%-bp.out): Remove rule.
17770 * config.make.in (build-bounded): Remove variable.
17771 * crypt/Makefile [$(build-bounded) = yes]
17772 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17773 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17774 append to variable.
17775 [$(build-bounded) = yes] (install-lib): Likewise.
17776 [$(build-bounded) = yes] (generated): Likewise.
17777 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17779 * intl/Makefile [$(build-bounded) = yes]
17780 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17781 * math/Makefile [$(build-bounded) = yes]
17782 ($(tests:%=$(objpfx)%-bp): Likewise.
17783 * misc/Makefile [$(build-bounded) = yes]
17784 ($(objpfx)tst-tsearch-bp): Likewise.
17785 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17786 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17788 * string/Makefile (o-objects.ob): Remove variable.
17789 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17790 (CFLAGS-.ob): Remove variable.
17791 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17792 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17793 both definitions of variable.
17794 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17795 (ASFLAGS-.ob): Remove variable.
17797 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17800 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17801 Remove __BOUNDED_POINTERS__ from condition.
17802 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17803 * string/bits/string2.h [!__NO_STRING_INLINES &&
17804 !__BOUNDED_POINTERS__]: Likewise.
17805 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17807 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17808 Remove conditional code.
17809 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17810 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17811 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17815 * csu/libc-start.c: Do not include <bp-sym.h>.
17816 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17817 * elf/dl-open.c: Do not include <bp-sym.h>.
17818 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17819 * math/fegetenv.c: Do not include <bp-sym.h>.
17820 (fegetenv): Do not use BP_SYM in versioned symbols.
17821 * nptl/sysdeps/pthread/bits/libc-lockP.h
17822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17825 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17827 (__pthread_mutex_destroy): Likewise.
17828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17829 (__pthread_mutex_lock): Likewise.
17830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17831 (__pthread_mutex_trylock): Likewise.
17832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17833 (__pthread_mutex_unlock): Likewise.
17834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17835 (__pthread_mutexattr_init): Likewise.
17836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17837 (__pthread_mutexattr_destroy): Likewise.
17838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17839 (__pthread_mutexattr_settype): Likewise.
17840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17841 (__pthread_rwlock_init): Likewise.
17842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17843 (__pthread_rwlock_destroy): Likewise.
17844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17845 (__pthread_rwlock_rdlock): Likewise.
17846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17847 (__pthread_rwlock_tryrdlock): Likewise.
17848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17849 (__pthread_rwlock_wrlock): Likewise.
17850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17851 (__pthread_rwlock_trywrlock): Likewise.
17852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17853 (__pthread_rwlock_unlock): Likewise.
17854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17855 (__pthread_key_create): Likewise.
17856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17857 (__pthread_setspecific): Likewise.
17858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17859 (__pthread_getspecific): Likewise.
17860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17863 (_pthread_cleanup_push_defer): Likewise.
17864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17865 (_pthread_cleanup_pop_restore): Likewise.
17866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17867 (pthread_setcancelstate): Likewise.
17868 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17870 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17871 (memchr): Do not use BP_SYM in weak_alias.
17872 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17873 (fegetenv): Do not use BP_SYM in versioned symbols.
17874 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17875 (fesetenv): Do not use BP_SYM in versioned symbols.
17876 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17877 (feupdateenv): Do not use BP_SYM in versioned symbols.
17878 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17879 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17880 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17881 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17882 (open64): Do not use BP_SYM in weak_alias.
17883 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17884 (fegetenv): Do not use BP_SYM in versioned symbols.
17885 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17886 (fesetenv): Do not use BP_SYM in versioned symbols.
17887 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17888 (feupdateenv): Do not use BP_SYM in versioned symbols.
17889 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17890 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17891 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17892 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17893 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17894 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17895 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17897 (__libc_start_main): Do not use BP_SYM.
17899 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17902 redundant return line.
17904 (denorm): Likewise.
17905 (dbl_mp): Likewise.
17906 (sub_magnitudes): Likewise.
17912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17914 (denorm): Likewise.
17915 (dbl_mp): Likewise.
17916 (sub_magnitudes): Likewise.
17923 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17925 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17926 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17929 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17930 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17932 of __mul for squares.
17933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17937 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17938 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17940 2013-02-13 Joseph Myers <joseph@codesourcery.com>
17943 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17945 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17946 prototype or function definition. Rename ubp_* variables and
17947 parameters. Remove argv definitions conditional on
17948 [__BOUNDED_POINTERS__].
17949 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17950 * elf/dl-runtime.c (_dl_fixup): Likewise.
17951 * include/set-hooks.h (RUN_HOOK): Likewise.
17952 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17954 * string/strcpy.c (strcpy): Do not use __unbounded.
17955 * sysdeps/generic/frame.h (struct layout): Likewise.
17956 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17957 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17958 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17959 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17960 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17961 (__backtrace): Likewise.
17962 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17964 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17965 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17966 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17968 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17969 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17970 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17971 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17972 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17973 Do not use __unbounded.
17974 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17975 Rename __unboundedrlimits parameter to rlimits in prototype.
17976 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17977 Do not use __unbounded.
17978 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17979 not use __ptrvalue.
17980 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17981 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17982 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17983 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17984 __ptrvalue or __unbounded.
17985 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17986 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17988 (__new_msgctl): Do not use __ptrvalue.
17989 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17991 (__libc_msgrcv): Do not use __ptrvalue.
17992 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17993 startup_info): Do not use __unbounded.
17994 (__libc_start_main): Likewise. Rename ubp_* variables and
17995 parameters. Remove argv definitions conditional on
17996 [__BOUNDED_POINTERS__].
17997 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17999 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18001 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18003 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18005 (__new_shmctl): Do not use __ptrvalue.
18006 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18007 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18009 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18010 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18011 (__libc_sigaction): Likewise.
18012 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18013 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18015 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18017 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18019 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18021 * string/mempcpy.c: Implement by calling memcpy.
18023 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18025 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18030 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18031 values in the mantissa.
18033 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18034 minimize writes to Z.
18035 (sub_magnitudes): Simplify code a bit.
18037 2013-02-12 Roland McGrath <roland@hack.frob.com>
18039 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18040 from the message. The linker prefixes all warnings with that already.
18042 2013-02-12 Andreas Schwab <schwab@suse.de>
18045 * posix/regexec.c (extend_buffers): Add parameter min_len.
18046 (check_matching): Pass minimum needed length.
18047 (clean_state_log_if_needed): Likewise.
18048 (get_subexp): Likewise.
18049 * posix/Makefile (tests): Add bug-regex34.
18050 (bug-regex34-ENV): Define.
18051 * posix/bug-regex34.c: New file.
18054 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18055 elements compare against the byte sequence of it, not its name.
18056 * posix/Makefile (tests): Add bug-regex35.
18057 (bug-regex35-ENV): Define.
18058 * posix/bug-regex35.c: New file.
18060 2013-02-11 Tom de Vries <tom@codesourcery.com>
18062 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18064 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18065 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18066 (CHECK_EOL): Add undef.
18068 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18070 * bits/stdlib-bsearch.h: New file.
18071 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18072 * stdlib/stdlib.h: Likewise.
18074 2013-02-11 Roland McGrath <roland@hack.frob.com>
18076 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18077 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18079 * manual/search.texi (Array Search Function): Add missing const in
18081 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18082 declaration to use rlim_t.
18083 (Basic Scheduling Functions): Remove erroneous const from
18084 sched_getparam prototype. Remove erroneous * from
18085 sched_get_priority_max and sched_get_priority_min prototypes.
18086 (Resource Usage): Fix summary @comment on vtimes to refer to
18087 sys/vtimes.h rather than vtimes.h.
18088 Add missing *s in vtimes prototype.
18089 (Limits on Resources): Fix ulimit prototype to return long int.
18090 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18091 prototypes to use long int rather than double.
18092 (BSD Random): Fix initstate and setstate to use char *, not void *.
18093 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18094 prototype to make second argument 'struct aiocb64 *const[]'.
18095 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18096 (Status of AIO Operations): Remove erroneous const in aio_return and
18097 aio_return64 prototypes.
18098 (Synchronizing I/O): Fix sync prototype to return void.
18099 * manual/startup.texi (Suboptions): Remove an erroneous const in
18100 getsubopt prototype.
18101 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18102 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18103 use size_t rather than int.
18104 (Scanning All Users): Likewise for getpwent_r.
18105 (Setting Groups): Add missing const to setgroups prototype.
18106 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18107 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18108 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18109 'const void *' rather than 'const char *'.
18110 (Host Address Functions): Likewise for inet_ntop.
18111 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18112 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18113 ssize_t for return value.
18114 (Sending Data): Likewise for send, sendto, sendmsg.
18115 (Socket Option Functions): Add a missing const in setsockopt prototype.
18116 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18117 use wchar_t for the argument.
18118 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18119 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18121 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18122 double/float/long double for second argument.
18123 Fix return types of significand, significandf, significandl.
18124 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18125 argument in fchmod prototype.
18126 (File Owner): Use uid_t and gid_t in fchown prototype.
18127 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18128 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18129 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18130 use 'const struct dirent **' as argument types to CMP function pointer
18132 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18133 (File Times): Fix summary magic @comment for struct utimbuf and utime
18134 to refer to utime.h, not time.h.
18135 * manual/string.texi (Argz Functions): Add missing const in
18136 argz_extract and argz_next prototypes.
18137 (Finding Tokens in a String): Likewise for basename.
18138 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18139 (Copying and Concatenation): Fix typo in wmemmove prototype.
18140 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18141 (Signal Stack): Remove erroneous const in sigstack prototype.
18142 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18144 (Simple Calendar Time): Likewise for stime.
18145 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18147 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18148 say sys/sysctl.h instead.
18149 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18150 and vsyslog prototypes.
18152 2013-02-11 Tom de Vries <tom@codesourcery.com>
18154 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18157 2013-02-11 Roland McGrath <roland@hack.frob.com>
18159 * misc/sys/mman.h: Fix typo in mremap comment.
18161 2013-02-08 Roland McGrath <roland@hack.frob.com>
18163 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18164 the '\0' terminator.
18166 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18169 * debug/segfault.c: Don't include <bp-checks.h>.
18170 * sysdeps/generic/bp-checks.h: Remove file.
18171 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18172 (__GETDENTS): Don't use CHECK_N.
18173 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18174 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18175 (__getgroups): Don't use CHECK_N.
18176 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18177 (setgroups): Don't use CHECK_N.
18178 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18179 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18180 (__libc_msgrcv): Don't use CHECK_N.
18181 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18182 (__libc_msgsnd): Don't use CHECK_N.
18183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18185 (__libc_pread): Don't use CHECK_N.
18186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18187 include <bp-checks.h>.
18188 (__libc_pread64): Don't use CHECK_N.
18189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18190 include <bp-checks.h>.
18191 (__libc_pwrite): Don't use CHECK_N.
18192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18193 include <bp-checks.h>.
18194 (__libc_pwrite64): Don't use CHECK_N.
18195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18197 (__libc_pread): Don't use CHECK_N.
18198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18199 include <bp-checks.h>.
18200 (__libc_pread64): Don't use CHECK_N.
18201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18202 include <bp-checks.h>.
18203 (__libc_pwrite): Don't use CHECK_N.
18204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18205 include <bp-checks.h>.
18206 (__libc_pwrite64): Don't use CHECK_N.
18207 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18208 (do_pread): Don't use CHECK_N.
18209 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18210 (do_pread64): Don't use CHECK_N.
18211 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18212 (do_pwrite): Don't use CHECK_N.
18213 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18214 (do_pwrite64): Don't use CHECK_N.
18215 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18216 (__libc_readv): Don't use CHECK_N.
18217 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18218 (semop): Don't use CHECK_N.
18219 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18221 (semtimedop): Don't use CHECK_N.
18222 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18223 (__libc_pread): Don't use CHECK_N.
18224 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18226 (__libc_pread64): Don't use CHECK_N.
18227 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18229 (__libc_pwrite): Don't use CHECK_N.
18230 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18232 (__libc_pwrite64): Don't use CHECK_N.
18233 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18235 (__libc_msgrcv): Don't use CHECK_N.
18236 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18237 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18238 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18239 (__libc_writev): Don't use CHECK_N.
18241 2013-02-08 Roland McGrath <roland@hack.frob.com>
18243 * string/strcpy.c: Removed unused variable.
18245 * Makeconfig (+sysdep-includes): Define with := rather than =.
18246 Use an existing include/ subdir of each sysdeps dir before it.
18248 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18250 * nscd/connection.c (register_traced_file): Comment function.
18251 [HAVE_INOTIFY] (union __inev): Define.
18252 [HAVE_INOTIFY] (inotify_check_files): New function.
18253 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18254 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18256 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18258 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18260 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18261 loaded if not already and that a failure is permanent.
18263 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18266 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18267 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18269 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18272 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18273 (CHECK_1_NULL_OK): Likewise.
18274 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18275 (__fxstat): Do not use CHECK_1.
18276 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18278 (___fxstat64): Do not use CHECK_1.
18279 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18281 (__fxstatat): Do not use CHECK_1.
18282 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18284 (__fxstatat64): Do not use CHECK_1.
18285 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18287 (__fxstat): Do not use CHECK_1.
18288 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18290 (__fxstatat): Do not use CHECK_1.
18291 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18293 (__getresgid): Do not use CHECK_1.
18294 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18296 (__getresuid): Do not use CHECK_1.
18297 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18299 (__lxstat): Do not use CHECK_1.
18300 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18302 (__old_msgctl): Do not use CHECK_1.
18303 (__new_msgctl): Likewise.
18304 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18306 (__new_setrlimit): Do not use CHECK_1.
18307 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18309 (__old_shmctl): Do not use CHECK_1.
18310 (__new_shmctl): Likewise.
18311 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18313 (__xstat): Do not use CHECK_1.
18314 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18315 (__lxstat): Do not use CHECK_1.
18316 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18318 (___lxstat64): Do not use CHECK_1.
18319 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18320 (__old_msgctl): Do not use CHECK_1.
18321 (__new_msgctl): Likewise.
18322 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18324 (__gettimeofday): Do not use CHECK_1.
18325 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18326 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18327 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18329 (__gettimeofday): Do not use CHECK_1.
18330 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18331 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18332 (__new_shmctl): Do not use CHECK_1.
18333 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18335 (do_sigtimedwait): Do not use CHECK_1.
18336 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18338 (do_sigwaitinfo): Do not use CHECK_1.
18339 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18341 (msgctl): Do not use CHECK_1.
18342 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18344 (shmctl): Do not use CHECK_1.
18345 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18346 (ustat): Do not use CHECK_1.
18347 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18349 (__fxstat): Do not use CHECK_1.
18350 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18352 (__fxstatat): Do not use CHECK_1.
18353 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18355 (__lxstat): Do not use CHECK_1.
18356 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18358 (__xstat): Do not use CHECK_1.
18359 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18360 (__xstat): Do not use CHECK_1.
18361 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18362 (___xstat64): Do not use CHECK_1.
18365 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18367 (CHECK_BOUNDS_HIGH): Likewise.
18368 * string/strcpy.c: Do not include <bp-checks.h>.
18369 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18371 2013-02-07 Roland McGrath <roland@hack.frob.com>
18373 * nscd/nscd-client.h (__nscd_drop_map_ref):
18374 Add __attribute__ ((unused)).
18375 * nis/nss-nisplus.h (niserr2nss): Likewise.
18377 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18378 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18380 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18381 Remove inline keyword.
18382 * include/rounding-mode.h (round_away): Likewise.
18383 * libio/wfileops.c (adjust_wide_data): Likewise.
18384 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18385 (__m128i_strloadu_tolower): Likewise.
18386 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18387 (__m128i_strloadu_tolower): Likewise.
18388 * time/mktime.c (ydhms_diff): Likewise.
18389 * locale/elem-hash.h (elem_hash): Likewise.
18390 * locale/setlocale.c (setdata): Likewise.
18391 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18392 (re_string_wchar_at): Likewise.
18393 (bitset_not, bitset_merge, bitset_mask): Likewise.
18394 [!(__GNUC__ > 3)] (inline): Remove macro.
18395 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18396 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18397 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18398 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18399 * string/memcmp.c (memcmp_bytes): Likewise.
18400 * locale/programs/locarchive.c (compute_hashval): Likewise.
18401 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18402 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18403 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18404 * nss/getent.c (print_rpc, print_protocols): Likewise.
18405 (print_passwd, print_group, print_aliases): Likewise.
18406 * nis/nss-nisplus.h (niserr2nss): Likewise.
18407 * nscd/connections.c (restart_p): Likewise.
18408 Change return type to bool.
18410 2013-02-05 Roland McGrath <roland@hack.frob.com>
18412 * Makeconfig (all-Depend-files): Add existing
18413 $(sorted-subdirs:=/Depend) files.
18414 (all-subdirs): Remove nss.
18415 * sysdeps/unix/inet/Subdirs: Add it here instead.
18416 * hesiod/Depend: New file.
18418 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18419 instead of calling alloca.
18421 * io/lseek.c (__lseek): Rename to __libc_lseek.
18422 Define __lseek as an alias.
18424 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18426 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18428 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18429 else clause and remove check for non-standard endianness.
18431 2013-02-04 David S. Miller <davem@davemloft.net>
18433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18435 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18438 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18439 (__ubp_memchr): Remove prototype.
18440 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18441 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18442 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18443 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18444 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18446 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18447 (__ubp_memchr): Likewise.
18448 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18449 (__ubp_memchr): Likewise.
18450 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18451 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18452 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18453 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18455 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18456 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18457 (__getcwd): Do not use CHECK_STRING.
18458 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18460 (__real_chown): Do not use CHECK_STRING.
18461 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18463 (fchownat): Do not use CHECK_STRING.
18464 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18466 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18468 (__lchown): Do not use CHECK_STRING.
18469 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18470 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18471 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18472 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18474 include <bp-checks.h>.
18475 (truncate64): Do not use CHECK_STRING.
18476 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18478 (__real_chown): Do not use CHECK_STRING.
18479 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18481 (__lchown): Do not use CHECK_STRING.
18482 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18484 (__chown): Do not use CHECK_STRING.
18485 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18487 (truncate64): Do not use CHECK_STRING.
18488 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18490 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18491 (__xmknod): Do not use CHECK_STRING.
18492 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18494 (__xmknodat): Do not use CHECK_STRING.
18495 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18496 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18498 2013-02-04 Andreas Schwab <schwab@suse.de>
18501 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18502 * include/netdb.h: Likewise for h_errno.
18503 * elf/tst-stackguard1.c: Include <tls.h>.
18505 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18507 * elf/link.h (struct link_map): Extend the l_addr comment.
18508 * include/link.h (struct link_map): Likewise.
18510 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18513 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18514 (BOUNDED_1): Remove macro.
18515 * debug/backtrace.c: Don't include <bp-checks.h>.
18516 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18517 (__backtrace): Likewise.
18518 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18520 (__backtrace): Don't use BOUNDED_1.
18521 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18523 (__backtrace): Don't use BOUNDED_1.
18524 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18525 (__backtrace): Don't use BOUNDED_1.
18526 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18527 (shmat): Don't use BOUNDED_N.
18529 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18532 * sysdeps/generic/bp-start.h: Remove file.
18533 * csu/libc-start.c: Don't include <bp-start.h>.
18534 (LIBC_START_MAIN): Set up __environ directly instead of using
18535 INIT_ARGV_and_ENVIRON.
18536 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18540 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18542 (CHECK_FCNTL): Likewise.
18543 (CHECK_N_PAGES): Likewise.
18546 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18548 (CHECK_SIGSET_NULL_OK): Likewise.
18549 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18551 (sigpending): Don't use CHECK_SIGSET.
18552 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18554 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18555 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18557 (do_sigsuspend): Don't use CHECK_SIGSET.
18558 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18560 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18561 (do_sigwait): Don't use CHECK_SIGSET.
18562 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18564 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18565 include <bp-checks.h>.
18566 (sigpending): Don't use CHECK_SIGSET.
18567 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18568 include <bp-checks.h>.
18569 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18570 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18572 (sigpending): Don't use CHECK_SIGSET.
18573 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18575 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18578 * sysdeps/generic/bp-semctl.h: Remove file.
18579 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18580 <bp-checks.h> and <bp-semctl.h>.
18581 (__old_semctl): Don't use CHECK_SEMCTL.
18582 (__new_semctl): Likewise.
18583 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18585 (__old_semctl): Don't use CHECK_SEMCTL.
18586 (__new_semctl): Likewise.
18587 * sysdeps/unix/sysv/linux/sparc/sparc32/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/sparc/sparc64/semctl.c: Don't include
18592 <bp-checks.h> and <bp-semctl.h>.
18593 (semctl): Don't use CHECK_SEMCTL.
18596 * Makerules (elide-bp-thunks): Remove variable.
18597 (elide-routines.oS): Don't use $(elide-bp-thunks).
18598 (elide-routines.os): Likewise.
18599 (elide-routines.o): Likewise.
18600 (elide-routines.op): Likewise.
18601 (elide-routines.og): Likewise.
18602 (objects): Don't use $(bp-thunks).
18603 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18605 (common-generated): Do not add s-proto-bp.d.
18606 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18609 Do not generate makefile rules for bounded-pointer thunks.
18610 * sysdeps/generic/bp-thunks.h: Remove file.
18611 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18612 * sysdeps/unix/s-proto-bp.S: Likewise.
18615 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18616 parts of result separately when argument is not close to line from
18617 -i to i and one part of argument is small.
18618 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18619 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18620 * math/libm-test.inc (cacos_test): Add more tests.
18621 (casin_test): Likewise.
18622 (casinh_test): Likewise.
18623 * sysdeps/i386/fpu/libm-test-ulps: Update.
18624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18626 2013-01-31 David S. Miller <davem@davemloft.net>
18628 * po/de.po: Update from translation team.
18630 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18632 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18634 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18636 * configure.in (_AC_PROG_CC_C89): New definition.
18637 * configure: Regenerate.
18639 * configure.in (AC_PROG_CPP): New definition.
18640 * configure: Regenerate.
18642 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18644 * debug/tst-backtrace.h: New file.
18645 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18646 (ret): Remove variable.
18648 (FAIL): Remove macro.
18649 (NO_INLINE): Likewise.
18650 (fn1): Use match function instead of strstr.
18651 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18652 (ret): Remove variable.
18654 (FAIL): Remove macro.
18655 (NO_INLINE): Likewise.
18656 (fn): Use match function instead of strstr.
18657 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18658 (ret): Remove variable.
18660 (FAIL): Remove macro.
18661 (NO_INLINE): Likewise.
18662 (handle_signal): Use match function instead of strstr.
18663 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18664 (ret): Remove variable.
18666 (FAIL): Remove macro.
18667 (NO_INLINE): Likewise.
18668 (handle_signal): Use match function instead of strstr.
18670 2013-01-23 Roland McGrath <roland@hack.frob.com>
18672 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18674 2013-01-23 David S. Miller <davem@davemloft.net>
18676 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18677 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18678 argument of CAS if possible.
18679 * sysdeps/sparc/sparc64/bits/atomic.h
18680 (__arch_compare_and_exchange_val_32_acq): Likewise.
18681 (__arch_compare_and_exchange_val_64_acq): Likewise.
18683 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18685 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18686 * sysdeps/posix/ulimit.c: ... this.
18687 Include <limits.h>.
18688 * sysdeps/unix/bsd/ulimit.c: Remove file.
18690 2013-01-23 Adam Conrad <adconrad@0c3.net>
18692 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18693 (LDFLAGS-tst-array5): Likewise.
18695 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18698 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18699 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18700 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18701 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18703 2013-01-21 David S. Miller <davem@davemloft.net>
18705 * sysdeps/sparc/backtrace.c: New file.
18706 * sysdeps/sparc/sparc32/backtrace.h: New file.
18707 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18708 * sysdeps/sparc/sparc64/backtrace.h: New file.
18709 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18710 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18713 2013-01-21 Andreas Schwab <schwab@suse.de>
18716 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18719 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18725 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18726 Mark Mitchell <mark@codesourcery.com>
18727 Tom de Vries <tom@codesourcery.com>
18728 Paul Pluzhnikov <ppluzhnikov@google.com>
18730 * debug/tst-backtrace2.c: New file.
18731 * debug/tst-backtrace3.c: Likewise.
18732 * debug/tst-backtrace4.c: Likewise.
18733 * debug/tst-backtrace5.c: Likewise.
18734 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18735 (CFLAGS-tst-backtrace3.c): Likewise.
18736 (CFLAGS-tst-backtrace4.c): Likewise.
18737 (CFLAGS-tst-backtrace5.c): Likewise.
18738 (LDFLAGS-tst-backtrace2): Likewise.
18739 (LDFLAGS-tst-backtrace3): Likewise.
18740 (LDFLAGS-tst-backtrace4): Likewise.
18741 (LDFLAGS-tst-backtrace5): Likewise.
18742 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18743 tst-backtrace4 and tst-backtrace5.
18745 2013-01-18 Anton Blanchard <anton@samba.org>
18746 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18748 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18749 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18750 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18751 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18753 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18754 "+r" and remove output regs list as redundant. Add explicit inline
18755 asm to specify register of return val to work around compiler codegen
18756 bug. Remove (int) cast on return value. Add return type parameter to
18757 use in macro so that this macro does not truncate return value for
18759 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18760 pass to INTERNAL_VSYSCALL_NCS.
18761 (INLINE_VSYSCALL): Add 'long int' as return type to
18762 INTERNAL_VSYSCALL_NCS macro invocation.
18763 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18764 INTERNAL_VSYSCALL_NCS macro invocation.
18765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18767 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18770 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18771 Fix application of SIMD FP exception mask.
18773 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18774 mp_no from a power of two.
18775 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18776 __mpexp_twomm1. Use __pow_mp.
18778 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18781 2013-01-17 David S. Miller <davem@davemloft.net>
18783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18785 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18788 * include/complex.h: Condition contents on [!_COMPLEX_H].
18789 (__kernel_casinhf): New prototype.
18790 (__kernel_casinh): Likewise.
18791 (__kernel_casinhl): Likewise.
18792 * math/Makefile (libm_calls): Add k_casinh.
18793 * math/k_casinh.c: New file.
18794 * math/k_casinhf.c: Likewise.
18795 * math/k_casinhl.c: Likewise.
18796 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18797 finite nonzero arguments.
18798 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18799 finite nonzero arguments.
18800 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18801 finite nonzero arguments.
18802 * math/s_casinh.c: Do not include <float.h>.
18803 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18804 * math/s_casinhf.c: Do not include <float.h>.
18805 (__casinhf): Move code for finite nonzero arguments to
18807 * math/s_casinhl.c: Do not include <float.h>.
18808 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18810 (__casinhl): Move code for finite nonzero arguments to
18812 * math/libm-test.inc (cacos_test): Add more tests.
18813 * sysdeps/i386/fpu/libm-test-ulps: Update.
18814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18816 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18818 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18819 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18820 [!HAVE_MREMAP]: Remove [defined linux] case.
18821 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18823 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18825 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18827 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18829 * elf/elf.h (R_386_SIZE32): New relocation.
18830 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18832 (elf_machine_rela): Likewise.
18833 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18834 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18836 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18838 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18839 (FP_FAST_FMA): Do not define.
18840 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18841 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18842 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18843 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18844 !_SOFT_FLOAT]: Likewise.
18845 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18846 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18848 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18849 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18850 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18851 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18852 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18853 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18856 2013-01-16 Andreas Schwab <schwab@suse.de>
18859 * include/stdlib.h (__mktemp): Add declaration.
18860 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18861 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18863 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18865 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18867 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18868 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18869 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18871 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18872 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18874 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18876 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18877 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18878 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18880 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18881 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18883 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18885 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18887 2013-01-15 David S. Miller <davem@davemloft.net>
18889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18890 trunc{,f} to libm-sysdep_routes.
18891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18901 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18902 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18903 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18904 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18905 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18906 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18909 nearbyint{,f} to libm-sysdep_routes.
18910 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18921 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18923 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18924 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18926 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18927 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18928 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18930 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18931 libc_feholdexcept and libc_fesetenv.
18933 2013-01-15 Mike Frysinger <vapier@gentoo.org>
18935 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18937 2013-01-14 David S. Miller <davem@davemloft.net>
18939 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18940 (SPARC_ASM_VIS2_IFUNC): Likewise.
18941 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18943 use of 'siam' instruction.
18944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18974 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18975 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18977 routines to libm-sysdep_routines.
18978 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18981 fdim/fdimf to libm-sysdep_routines.
18982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18990 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18991 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18992 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18993 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18995 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18997 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18998 to optimize copies.
19000 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19001 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19002 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19005 local variable MPTWO.
19006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19009 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19011 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19014 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19016 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19018 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19020 * manual/pattern.texi (glob_t): Document gl_flags.
19021 (glob64_t): Likewise.
19023 2013-01-11 David S. Miller <davem@davemloft.net>
19025 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19026 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19027 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19028 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19029 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19030 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19031 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19032 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19033 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19034 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19035 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19036 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19037 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19039 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19040 sparc V9 rather than using V8 code.
19041 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19042 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19044 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19046 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19049 2013-01-11 Roland McGrath <roland@hack.frob.com>
19051 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19052 not in the main loop.
19053 * configure: Regenerated.
19055 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19057 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19058 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19060 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19061 [!__GLIBC_HAVE_LONG_LONG] case.
19062 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19063 condition to just #else.
19064 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19065 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19066 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19067 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19069 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19070 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19071 #elif condition to just #else.
19072 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19073 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19074 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19075 #elif condition to just #else.
19077 2013-01-11 Steve Ellcey <sellcey@mips.com>
19079 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19080 (EF_MIPS_ARCH_64): Fix value.
19081 (EF_MIPS_ARCH_32R2): New.
19082 (EF_MIPS_ARCH_64R2): New.
19084 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19086 * Makeconfig (+link-pie-before-libc): New.
19087 (+link-pie-after-libc): Likewise.
19088 (+link-pie-tests): Likewise.
19089 (+link-pie): Rewritten.
19090 (link-before-libc): Remove $(config-LDFLAGS).
19091 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19092 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19093 (config-LDFLAGS): Renamed to ...
19094 (rtld-LDFLAGS): This.
19095 (rtld-tests-LDFLAGS): New macro.
19096 (link-libc-rpath-link): Likewise.
19097 (link-libc-tests-rpath-link): Likewise.
19098 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19099 (link-libc): Prepand $(link-libc-rpath-link).
19100 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19101 (test-program-prefix): New macro.
19102 (test-via-rtld-prefix): Likewise.
19103 (test-program-cmd): Likewise.
19104 (host-test-program-cmd): Likewise.
19105 * Makefile ($(common-objpfx)testrun.sh): Replace
19106 $(run-program-prefix) with $(test-program-prefix).
19107 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19109 ($(common-objpfx)shlib.lds): Likewise.
19110 (build-module-helper): Likewise.
19111 ($(common-objpfx)format.lds): Likewise.
19112 * Rules (binaries-pie-tests): New.
19113 (binaries-pie-notests): Likewise.
19114 (binaries-pie): Rewritten.
19115 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19116 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19117 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19118 (make-test-out): Replace $(host-built-program-cmd) with
19119 $(host-test-program-cmd).
19120 * config.make.in (build-hardcoded-path-in-tests): New variable.
19121 * configure.in (--enable-hardcoded-path-in-tests): New configure
19123 (hardcoded_path_in_tests): New AC_SUBST.
19124 * configure: Regenerated.
19125 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19126 $(built-program-cmd) with $(test-program-cmd).
19127 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19128 (test_program_cmd): This.
19129 * elf/Makefile ($(objpfx)order.out): Run test with
19130 $(test-program-prefix).
19131 ($(objpfx)order2.out): Likewise.
19132 ($(objpfx)tst-initorder.out): Likewise.
19133 ($(objpfx)tst-initorder2.out): Likewise.
19134 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19135 $(test-program-cmd).
19136 ($(objpfx)tst-array1-static.out): Likewise.
19137 ($(objpfx)tst-array2.out): Likewise.
19138 ($(objpfx)tst-array3.out): Likewise.
19139 ($(objpfx)tst-array4.out): Likewise.
19140 ($(objpfx)tst-array5.out): Likewise.
19141 ($(objpfx)tst-array5-static.out): Likewise.
19142 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19143 $(test-program-cmd).
19144 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19145 $(run-program-prefix) with $(test-program-prefix).
19146 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19147 (test_program_prefix): This.
19148 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19149 $(run-program-prefix) with $(test-program-prefix).
19150 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19151 (test_program_prefix): This.
19152 * iconvdata/tst-tables.sh: Likewise.
19153 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19154 $(run-program-prefix) with $(test-program-prefix).
19155 ($(objpfx)tst-translit.out): Likewise.
19156 ($(objpfx)tst-gettext2.out): Likewise.
19157 ($(objpfx)tst-gettext4.out): Likewise.
19158 ($(objpfx)tst-gettext6.out): Likewise.
19159 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19160 (test_program_prefix): This.
19161 * intl/tst-gettext2.sh: Likewise.
19162 * intl/tst-gettext4.sh Likewise.
19163 * intl/tst-gettext6.sh: Likewise.
19164 * intl/tst-translit.sh: Likewise.
19165 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19166 with $(test-program-cmd).
19167 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19168 $(run-program-prefix) with $(test-program-prefix).
19169 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19170 (test_program_prefix): This.
19171 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19172 $(run-program-prefix) with $(test-program-prefix).
19173 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19174 (test_program_prefix): This.
19175 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19176 * posix/Makefile ($(objpfx)globtest.out): Replace
19177 $(run-via-rtld-prefix) and $(test-wrapper) with
19178 $(test-program-prefix) and $(test-via-rtld-prefix).
19179 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19180 $(test-program-prefix).
19181 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19182 $(host-test-program-cmd).
19183 (tst-spawn-ARGS): Likewise.
19184 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19185 $(test-program-prefix).
19186 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19187 (test_via_rtld_prefix): This.
19188 (test_wrapper): Renamed to ...
19189 (test_program_prefix): This.
19190 (run_program_prefix): Replaced by test_program_prefix.
19191 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19192 (test_program_prefix): This.
19193 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19194 with $(host-test-program-cmd).
19195 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19196 $(run-program-prefix) with $(test-program-prefix).
19197 ($(objpfx)tst-printf.out): Likewise.
19198 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19199 $(test-program-cmd).
19200 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19201 (test_program_prefix): This.
19202 * stdio-common/tst-unbputc.sh: Likewise.
19203 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19204 $(run-program-prefix) with $(test-program-prefix).
19205 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19206 (test_program_prefix): This.
19207 * string/Makefile ($(objpfx)tst-svc.out): Replace
19208 $(built-program-cmd) with $(test-program-cmd).
19210 2013-01-11 Andreas Jaeger <aj@suse.de>
19213 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19214 value. Sync with Linux 3.7.
19216 2013-01-10 David S. Miller <davem@davemloft.net>
19218 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19219 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19220 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19222 2013-01-10 Roland McGrath <roland@hack.frob.com>
19224 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19226 * configure: Regenerated.
19228 2013-01-10 David S. Miller <davem@davemloft.net>
19230 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19231 sparc V9 rather than using V8 code.
19232 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19233 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19235 2013-01-10 Roland McGrath <roland@hack.frob.com>
19237 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19238 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19239 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19240 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19241 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19242 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19243 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19244 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19245 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19246 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19247 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19248 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19249 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19250 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19251 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19252 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19253 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19254 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19255 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19256 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19257 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19258 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19259 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19260 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19261 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19262 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19263 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19265 2013-01-10 David S. Miller <davem@davemloft.net>
19267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19269 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19271 * posix/Makefile (tests-static): New variable.
19272 (tests): Add $(tests-static).
19273 (tst-exec-static-ARGS): New variable.
19274 (tst-spawn-static-ARGS): Likewise.
19275 * posix/tst-exec-static.c: New file.
19276 * posix/tst-spawn-static.c: Likewise.
19277 * posix/tst-exec.c: Support run directly.
19278 * posix/tst-spawn.c: Likewise.
19280 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19282 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19284 * math/bits/mathcalls.h (llrint): Likewise.
19285 (llround): Likewise.
19286 * stdlib/stdlib.h (struct drand48_data): Likewise.
19287 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19288 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19289 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19291 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19293 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19294 (elf_greg_t): Likewise.
19295 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19296 (__jmp_buf): Likewise.
19297 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19299 (llrint): Likewise, for all definitions.
19300 (llrintl): Likewise.
19302 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19303 Remove [__GNUC__] condition.
19304 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19305 condition to just [__USE_ISOC99].
19306 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19308 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19311 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19312 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19314 (_POSIX_V6_ILP32_OFF32): Likewise.
19315 (_XBS5_ILP32_OFF32): Likewise.
19316 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19317 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19319 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19321 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19323 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19324 doubles __mpexp_twomm1. Adjust usage.
19325 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19328 2013-01-10 Andreas Schwab <schwab@suse.de>
19331 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19332 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19334 2013-01-09 David S. Miller <davem@davemloft.net>
19337 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19338 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19339 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19340 TCP_FASTOPEN): Define.
19341 (tcp_repair_opt): New structure.
19342 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19344 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19345 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19346 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19347 (tcp_cookie_transactions): New structure.
19349 2013-01-09 Anton Blanchard <anton@samba.org>
19351 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19352 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19353 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19354 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19356 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19358 * include/features.h (__USE_ANSI): Remove.
19360 2013-01-09 Roland McGrath <roland@hack.frob.com>
19362 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19364 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19366 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19368 * sysdeps/s390/fpu/libm-test-ulps: Update.
19370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19372 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19376 (denorm): Likewise.
19377 (__mp_dbl): Likewise.
19378 (__dbl_mp): Likewise.
19379 (add_magnitudes): Likewise.
19380 (sub_magnitudes): Likewise.
19386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19390 (denorm): Likewise.
19391 (__mp_dbl): Likewise.
19392 (__dbl_mp): Likewise.
19393 (add_magnitudes): Likewise.
19394 (sub_magnitudes): Likewise.
19400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19404 (denorm): Likewise.
19405 (__mp_dbl): Likewise.
19406 (__dbl_mp): Likewise.
19407 (add_magnitudes): Likewise.
19408 (sub_magnitudes): Likewise.
19415 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19417 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19418 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19419 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19420 2 && __USE_EXTERN_INLINES]: Likewise.
19422 2013-01-08 Andreas Jaeger <aj@suse.de>
19425 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19427 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19428 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19430 2013-01-07 Anton Blanchard <anton@samba.org>
19432 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19433 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19434 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19435 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19436 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19437 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19438 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19439 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19441 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19442 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19443 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19444 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19445 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19446 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19447 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19448 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19449 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19450 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19451 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19452 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19453 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19454 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19455 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19456 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19457 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19458 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19459 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19460 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19461 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19462 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19464 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19465 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19466 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19467 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19468 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19469 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19470 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19471 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19472 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19473 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19474 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19476 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19478 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19479 (__MALLOC_PMT): Likewise.
19480 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19481 [__GNUC__], only on [_LIBC].
19482 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19483 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19484 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19485 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19486 forward declaration.
19487 (realloc_hook_ini): Likewise.
19488 (memalign_hook_ini): Likewise.
19489 (__libc_memalign): Do not use __MALLOC_PMT in variable
19491 (__libc_valloc): Likewise.
19492 (__libc_pvalloc): Likewise.
19493 (__libc_calloc): Likewise.
19494 (__posix_memalign): Likewise.
19497 * math/s_casinh.c: Include <float.h>.
19498 (__casinh): Do not do computation with squaring and square root
19499 for large arguments.
19500 * math/s_casinhf.c: Include <float.h>.
19501 (__casinhf): Do not do computation with squaring and square root
19502 for large arguments.
19503 * math/s_casinhl.c: Include <float.h>.
19504 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19505 (__casinhl): Do not do computation with squaring and square root
19506 for large arguments.
19507 * math/libm-test.inc (casin_test): Add more tests.
19508 (casinh_test): Likewise.
19509 * sysdeps/i386/fpu/libm-test-ulps: Update.
19510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19512 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19514 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19515 (__x86_64_raw_data_cache_size): Likewise.
19516 (__x86_64_data_cache_size_half): Likewise.
19517 (__x86_64_raw_data_cache_size_half): Likewise.
19518 (__x86_64_shared_cache_size): Likewise.
19519 (__x86_64_raw_shared_cache_size): Likewise.
19520 (__x86_64_shared_cache_size_half): Likewise.
19521 (__x86_64_raw_shared_cache_size_half): Likewise.
19522 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19524 (__x86_data_cache_size): This.
19525 (__x86_64_raw_data_cache_size): Renamed to ...
19526 (__x86_raw_data_cache_size): This.
19527 (__x86_64_data_cache_size_half): Renamed to ...
19528 (__x86_data_cache_size_half): This.
19529 (__x86_64_raw_data_cache_size_half): Renamed to ...
19530 (__x86_raw_data_cache_size_half): This.
19531 (__x86_64_shared_cache_size): Renamed to ...
19532 (__x86_shared_cache_size): This.
19533 (__x86_64_raw_shared_cache_size): Renamed to ...
19534 (__x86_raw_shared_cache_size): This.
19535 (__x86_64_shared_cache_size_half): Renamed to ...
19536 (__x86_shared_cache_size_half): This.
19537 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19538 (__x86_raw_shared_cache_size_half): This.
19539 * sysdeps/x86_64/memcpy.S: Updated.
19540 * sysdeps/x86_64/memset.S: Likewise.
19541 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19542 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19543 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19545 2013-01-04 David S. Miller <davem@davemloft.net>
19547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19549 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19551 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19552 1 to avoid redefinition warning.
19553 (__USE_GNU): Don't define.
19554 (init_signaling_nan): Protoize.
19556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19558 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19560 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19562 (__cpymn): Likewise.
19563 (norm): Remove commented code.
19564 (denorm): Likewise.
19565 (__mp_dbl): Likewise.
19567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19568 (__cpymn): Likewise.
19569 (norm): Remove commented code.
19570 (denorm): Likewise.
19571 (__mp_dbl): Likewise.
19574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19575 mp_no value for 1.0 and 2.0.
19576 (norm): Use RADIXI instead of radixi.d.
19577 (denorm): Likewise.
19578 (__mul): Use 0.0 instead of zero.d.
19579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19580 mp_no value for 1.0 and 2.0.
19581 (norm): Use RADIXI instead of radixi.d.
19582 (denorm): Likewise.
19583 (__mul): Use 0.0 instead of zero.d.
19585 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19588 * math/s_casinh.c (__casinh): Reduce finite argument to first
19589 quadrant then set signs of results at the end.
19590 * math/s_casinhf.c (__casinhf): Likewise.
19591 * math/s_casinhl.c (__casinhl): Likewise.
19592 * math/libm-test.inc (casin_test): Add more tests.
19593 (casinh_test): Likewise.
19594 * sysdeps/i386/fpu/libm-test-ulps: Update.
19595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19597 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19599 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19601 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19603 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19605 (denorm): Likewise.
19606 (__mp_dbl): Likewise.
19609 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19610 and adjust the header comment.
19612 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19613 variable name from declaration.
19615 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19618 Initialize COMMON_CPUID_INDEX_7 element.
19619 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19620 (CPUID_RTM): Likewise.
19621 (HAS_RTM): Likewise.
19622 (COMMON_CPUID_INDEX_7): New enum.
19624 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19627 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19628 size is zero, record memory as freed.
19630 2013-01-03 Andreas Jaeger <aj@suse.de>
19632 * po/ia.po: Add new Interlingua translation.
19634 2012-01-03 Allan McRae <allan@archlinux.org>
19636 * locale/programs/localedef.c: Fix description of '--posix' flag.
19638 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19640 * NEWS: Update dates in second copyright notice.
19641 * README: Update copyright dates in example.
19642 * manual/libc.texinfo: Update copyright dates.
19643 * scripts/test-installation.pl: Update copyright date in --version
19646 * hurd/ctty-input.c: Fix copyright notice formatting.
19647 * hurd/ctty-output.c: Likewise.
19648 * hurd/dtable.c: Likewise.
19649 * hurd/hurd-raise.c: Likewise.
19650 * hurd/hurdprio.c: Likewise.
19651 * hurd/msgportdemux.c: Likewise.
19652 * misc/sys/file.h: Likewise.
19653 * misc/sys/ioctl.h: Likewise.
19654 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19655 * sysdeps/mach/hurd/chdir.c: Likewise.
19656 * sysdeps/mach/hurd/fchdir.c: Likewise.
19657 * sysdeps/mach/hurd/rename.c: Likewise.
19658 * sysdeps/mach/hurd/rmdir.c: Likewise.
19659 * sysdeps/mach/hurd/seekdir.c: Likewise.
19660 * sysdeps/mach/hurd/setsid.c: Likewise.
19661 * sysdeps/posix/wait3.c: Likewise.
19663 * All files with FSF copyright notices: Update copyright dates
19664 using scripts/update-copyrights.
19665 * intl/plural.c: Regenerated.
19666 * locale/programs/charmap-kw.h: Likewise.
19667 * locale/programs/locfile-kw.h: Likewise.
19669 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19671 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19674 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19675 calculation loop and add branch prediction.
19677 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19678 check access beyond bounds of m1np.
19680 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19682 (__inv): Remove local variable MPTWO to use the global
19684 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19685 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19687 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19688 MP3HALFS static const.
19690 2013-01-01 David S. Miller <davem@davemloft.net>
19692 * po/ca.po: Update from translation team.
19694 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19696 * scripts/update-copyrights: New file.
19697 * Makeconfig: Reformat copyright notice.
19698 * ctype/ctype.h: Likewise.
19699 * debug/swprintf_chk.c: Likewise.
19700 * elf/dl-cache.c: Likewise.
19701 * elf/dl-debug.c: Likewise.
19702 * elf/dl-object.c: Likewise.
19703 * grp/initgroups.c: Likewise.
19704 * hurd/Makefile: Likewise.
19705 * hurd/hurd/signal.h: Likewise.
19706 * hurd/hurdfault.c: Likewise.
19707 * hurd/hurdioctl.c: Likewise.
19708 * hurd/hurdlookup.c: Likewise.
19709 * hurd/intr-msg.c: Likewise.
19710 * iconv/gconv_open.c: Likewise.
19711 * libio/swprintf.c: Likewise.
19712 * locale/lc-ctype.c: Likewise.
19713 * locale/nl_langinfo.c: Likewise.
19714 * mach/Machrules: Likewise.
19715 * mach/Makefile: Likewise.
19716 * malloc/obstack.h: Likewise.
19717 * manual/Makefile: Likewise.
19718 * manual/tsort.awk: Likewise.
19719 * misc/bits/stab.def: Likewise.
19720 * nis/nis_print_group_entry.c: Likewise.
19721 * nis/nis_table.c: Likewise.
19722 * nis/nss_compat/compat-pwd.c: Likewise.
19723 * nis/nss_compat/compat-spwd.c: Likewise.
19724 * po/Makefile: Likewise.
19725 * posix/fnmatch.c: Likewise.
19726 * posix/regex.h: Likewise.
19727 * resolv/Makefile: Likewise.
19728 * resolv/nss_dns/dns-network.c: Likewise.
19729 * resolv/res_hconf.c: Likewise.
19730 * scripts/gen-sorted.awk: Likewise.
19731 * soft-fp/soft-fp.h: Likewise.
19732 * stdio-common/printf.h: Likewise.
19733 * stdlib/monetary.h: Likewise.
19734 * stdlib/random.c: Likewise.
19735 * stdlib/random_r.c: Likewise.
19736 * sysdeps/generic/Makefile: Likewise.
19737 * sysdeps/gnu/Makefile: Likewise.
19738 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19739 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19740 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19742 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19745 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19746 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19747 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19748 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19749 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19750 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19751 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19752 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19753 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19754 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19756 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19757 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19758 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19759 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19760 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19761 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19762 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19763 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19764 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19765 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19766 * sysdeps/mach/hurd/errnos.awk: Likewise.
19767 * sysdeps/mach/hurd/fork.c: Likewise.
19768 * sysdeps/mach/hurd/getcwd.c: Likewise.
19769 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19770 * sysdeps/mach/hurd/mmap.c: Likewise.
19771 * sysdeps/mach/hurd/utimes.c: Likewise.
19772 * sysdeps/mach/hurd/xmknod.c: Likewise.
19773 * sysdeps/posix/profil.c: Likewise.
19774 * sysdeps/posix/readdir_r.c: Likewise.
19775 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19776 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19777 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19778 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19780 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19781 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19782 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19784 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19785 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19786 * sysdeps/pthread/lio_listio.c: Likewise.
19787 * sysdeps/sparc/dl-procinfo.h: Likewise.
19788 * sysdeps/unix/i386/sysdep.S: Likewise.
19789 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19790 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19791 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19792 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19794 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19795 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19796 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19797 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19798 * sysdeps/wordsize-32/divdi3.c: Likewise.
19799 * time/sys/time.h: Likewise.
19800 * wcsmbs/Makefile: Likewise.
19802 2013-01-01 David S. Miller <davem@davemloft.net>
19804 * po/fr.po: Update from translation team.
19806 * catgets/gencat.c: Update copyright year.
19807 * csu/version.c: Likewise.
19808 * debug/catchsegv.sh: Likewise.
19809 * debug/pcprofiledump.c: Likewise.
19810 * debug/xtrace.sh: Likewise.
19811 * elf/ldconfig.c: Likewise.
19812 * elf/ldd.bash.in: Likewise.
19813 * elf/pldd.c: Likewise.
19814 * elf/sotruss.ksh: Likewise.
19815 * elf/sprof.c: Likewise.
19816 * iconv/iconv_prog.c: Likewise.
19817 * iconv/iconvconfig.c: Likewise.
19818 * locale/programs/locale.c: Likewise.
19819 * locale/programs/localedef.c: Likewise.
19820 * login/programs/pt_chown.c: Likewise.
19821 * malloc/memusage.sh: Likewise.
19822 * malloc/memusagestat.c: Likewise.
19823 * malloc/mtrace.pl: Likewise.
19824 * nscd/nscd.c: Likewise.
19825 * nss/getent.c: Likewise.
19826 * nss/makedb.c: Likewise.
19827 * posix/getconf.c: Likewise.
19829 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19831 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19834 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19836 * math/bits/mathcalls.h (modf): Use __nonnull.
19838 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19840 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19841 (split): Use macro CN instead of the bare value.
19842 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19844 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19845 instead of the bare value.
19846 (power1): Likewise.
19848 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19850 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19852 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19854 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19856 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19857 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19858 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19859 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19861 2012-12-28 Andreas Jaeger <aj@suse.de>
19863 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19864 values are from Linux 3.7.
19866 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19867 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19869 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19871 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19874 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19876 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19877 variables with preprocessor constants.
19878 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19879 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19880 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19882 2012-12-27 Bruno Haible <bruno@clisp.org>
19885 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19888 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19890 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19891 and use variable directly.
19892 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19894 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19896 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19897 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19899 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19900 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19901 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19902 include directive. Remove local variable MPONE.
19903 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19904 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19905 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19907 2012-12-25 David S. Miller <davem@davemloft.net>
19909 * version.h (RELEASE): Set to "development".
19910 (VERSION): Set to "2.17.90".
19911 * NEWS: Add 2.18 section.
19913 2012-12-21 David S. Miller <davem@davemloft.net>
19915 * po/hr.po: Update from translation team.
19917 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19919 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19921 2012-12-19 Steve Ellcey <sellcey@mips.com>
19923 * NEWS: Mention new memcpy for MIPS.
19925 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19927 * manual/contrib.texi (Contributors): Spelling correction.
19929 2012-12-15 David S. Miller <davem@davemloft.net>
19931 * po/ru.po: Update from translation team.
19933 2012-12-13 David S. Miller <davem@davemloft.net>
19935 * NEWS: Mention IFUNC testsuite enhancements.
19937 * po/pl.po: Update from translation team.
19938 * po/bg.po: Likewise.
19940 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19941 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19943 2012-12-11 David S. Miller <davem@davemloft.net>
19945 * po/sv.po: Update from translation team.
19947 * po/vi.po: Update from translation team.
19949 * po/cs.po: Update from translation team.
19951 * po/de.po: Update from translation team.
19952 * po/eo.po: Likewise.
19953 * po/nl.po: Likewise.
19955 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19958 * manual/argp.texi (Argp Helper Functions): Move node to follow
19959 Argp Parsing State.
19962 * manual/conf.texi (Limits on File System Capacity): Mention if
19963 terminating null is included in the max size.
19965 2012-12-10 Andreas Jaeger <aj@suse.de>
19967 * po/cs.po: Update from translation team.
19969 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19971 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19972 void pointer and cast to uintptr_t.
19973 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19975 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19976 * sysdeps/s390/s390-64/memset.S: Likewise.
19978 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
19981 * menual/message.texi (Message Translation): Fix typos.
19982 (Helper programs for gettext): Likewise.
19984 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19987 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19990 2012-12-07 David S. Miller <davem@davemloft.net>
19992 * po/libc.pot: Update.
19994 2012-12-07 Richard Henderson <rth@redhat.com>
19997 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19998 normal/normal case to before the switch.
19999 (_FP_DIV): Likewise.
20001 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20002 Mike Frysinger <vapier@gentoo.org>
20004 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20005 check for __NR_fadvise64_64.
20007 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20009 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20010 0, not just to plain "0" as a statement.
20011 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20014 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20016 * NEWS: Use sourceware.org in Bugzilla URL.
20018 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20021 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20023 * stdio-common/tst-put-error.c (do_test): Add newline to the
20024 padded test to ensure flush.
20026 2012-12-05 Jeff Law <law@redhat.com>
20028 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20030 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20032 * README: Don't refer to ports add-on as distributed separately.
20033 Mention AArch64 in list of systems supported in the ports add-on.
20035 * LICENSES: Add more non-FSF copyright and license notices.
20037 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20040 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20042 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20043 10000 as width of padded output.
20045 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20047 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20049 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20050 variable LX with __attribute__ ((unused)).
20051 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20053 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20054 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20055 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20056 with __attribute__ ((unused)).
20058 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20060 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20062 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20064 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20065 (CFLAGS-nldbl-acos.c): New variable.
20066 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20067 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20068 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20069 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20070 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20071 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20072 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20073 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20074 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20075 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20076 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20077 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20078 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20079 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20080 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20081 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20082 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20083 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20084 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20085 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20086 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20087 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20088 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20089 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20090 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20091 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20092 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20093 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20094 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20095 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20096 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20097 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20098 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20099 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20100 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20101 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20102 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20103 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20104 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20105 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20106 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20107 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20108 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20109 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20110 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20111 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20112 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20113 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20114 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20115 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20116 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20117 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20118 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20119 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20120 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20121 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20122 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20123 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20124 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20125 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20126 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20127 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20128 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20129 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20130 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20131 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20132 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20133 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20134 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20135 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20136 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20137 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20138 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20139 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20140 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20141 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20142 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20143 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20144 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20145 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20146 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20147 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20148 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20149 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20150 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20151 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20152 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20153 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20154 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20155 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20156 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20157 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20158 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20159 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20160 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20161 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20162 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20165 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20168 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20169 whole low double instead of just low 47 bits when splitting values
20172 2012-12-03 Allan McRae <allan@archlinux.org>
20174 * manual/stdio.texi (Predefined Printf Handlers): Remove
20175 @hsep and @vsep usage.
20177 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20179 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20180 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20182 2012-12-03 Jeff Law <law@redhat.com>
20184 * time/sys/time.h (settimeofday): Do not mark TV argument
20187 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20189 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20190 when currently writing and seek to current position when not.
20191 * libio/Makefile (tests): Remove bug-fclose1.
20192 * libio/bug-fclose1.c: Delete.
20194 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20196 * manual/arith.texi (feenableexcept): Fix typo.
20197 (fedisableexcept): Likewise.
20199 2012-11-30 Roland McGrath <roland@hack.frob.com>
20201 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20202 second, differently-typed declaration, rather than a cast.
20204 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20206 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20207 * include/rpc/svc.h: ... here.
20209 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20212 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20213 depending n and resplen2 to catch cases where answer
20216 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20218 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20219 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20221 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20223 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20225 2012-11-29 Roland McGrath <roland@hack.frob.com>
20227 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20229 2012-11-28 Jeff Law <law@redhat.com>
20232 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20233 dataset_temporary. Track alloca usage into alloca_used.
20234 If dataset is large allocate and release it via malloc/free.
20236 2012-06-04 Florian Weimer <fweimer@redhat.com>
20239 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20241 2012-11-28 David S. Miller <davem@davemloft.net>
20243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20245 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20248 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20249 of pi/2 rounded to nearest to 64 bits.
20250 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20251 nearest to 64 bits.
20252 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20255 2012-11-28 Jeff Law <law@redhat.com>
20256 Martin Osvald <mosvald@redhat.com>
20259 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20260 * sunrpc/svc.c: Include time.h.
20261 (__svc_accept_failed): New function.
20262 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20263 any reason other than EINTR, call __svc_accept_failed.
20264 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20265 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20267 2012-11-28 Andreas Schwab <schwab@suse.de>
20269 * scripts/abilist.awk: Also handle indirect functions in .opd
20272 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20275 * sysdeps/x86/fpu/powl_helper.c: New file.
20276 * sysdeps/x86/fpu/Makefile: Likewise.
20277 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20279 (__ieee754_powl): Use __powl_helper for finite arguments except
20280 integer exponents below 8.
20281 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20283 (__ieee754_powl): Use __powl_helper for finite arguments except
20284 integer exponents below 8.
20285 * math/libm-test.inc (pow_test): Add more tests and enable some
20286 previously disabled tests.
20287 * sysdeps/i386/fpu/libm-test-ulps: Update.
20288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20290 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20291 Carlos O'Donell <carlos_odonell@mentor.com>
20293 * nss/makedb.c (is_prime): Assert that input is odd and greater
20294 than 4. Note that fact in a comment too.
20295 (next_prime): Add 4 to input.
20297 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20300 * libio/Makefile (tests): Add test case tst-fwrite-error.
20301 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20302 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20303 * libio/tst-fwrite-error.c: New test case.
20305 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20307 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20308 before casting to void *.
20309 * include/libc-internal.h (__pointer_type): New macro.
20310 (__integer_if_pointer_type_sub): Likewise.
20311 (__integer_if_pointer_type): Likewise.
20312 (cast_to_integer): Likewise.
20313 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20314 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20315 before casting to atomic64_t.
20316 (atomic_exchange_acq): Likewise.
20317 (__arch_exchange_and_add_body): Likewise.
20318 (__arch_add_body): Likewise.
20319 (atomic_add_negative): Likewise.
20320 (atomic_add_zero): Likewise.
20322 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20324 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20325 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20326 (add_fdes): Likewise.
20327 (linear_search_fdes): Likewise.
20328 (binary_search_unencoded_fdes): Likewise.
20330 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20332 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20334 2012-11-24 Adam Conrad <adconrad@0c3.net>
20336 * configure.in: Autodetect C++ header directories.
20337 * configure: Regenerated.
20339 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20341 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20343 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20347 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20349 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20350 LDBL_MANT_DIG == 106]: Disable some tests.
20351 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20353 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20357 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20358 input for small inputs. Return +/- pi/2 for large inputs.
20359 * math/libm-test.inc (atan_test): Add more tests.
20361 * sysdeps/generic/unwind-dw2-fde-glibc.c
20362 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20363 __attribute__ ((unused)).
20366 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20367 x * y if x and y are nonzero and z is zero.
20370 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20371 nonzero exponents with absolute value below 0x1p-117 to +/-
20375 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20376 up arguments below 2**-450, not just those below 2**-500.
20377 * math/libm-test.inc (hypot_test): Add another test.
20380 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20381 Return a+b for ratio over 2**120, not 2**60.
20382 * math/libm-test.inc (hypot_test): Add another test.
20384 * math/libm-test.inc (clog_test): Use
20385 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20386 (clog10_test): Likewise.
20389 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20391 2012-11-22 Andreas Schwab <schwab@suse.de>
20393 * sysdeps/i386/fpu/libm-test-ulps: Update.
20395 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20397 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20398 printf output with newline.
20400 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20403 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20404 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20405 -z nodlopen, -z initfirst and -z execstack support.
20406 * configure: Regenerated.
20408 * elf/elf.h (DF_1_NODIRECT): New macro.
20409 (DF_1_IGNMULDEF): Likewise.
20410 (DF_1_NOKSYMS): Likewise.
20411 (DF_1_NOHDR): Likewise.
20412 (DF_1_EDITED): Likewise.
20413 (DF_1_NORELOC): Likewise.
20414 (DF_1_SYMINTPOSE): Likewise.
20415 (DF_1_GLOBAUDIT): Likewise.
20416 (DF_1_SINGLETON): Likewise.
20417 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20418 DT_1_SUPPORTED_MASK bits.
20419 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20421 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20423 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20425 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20427 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20430 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20431 (sendmmsg): Move declarations...
20432 * socket/sys/socket.h: ... here.
20433 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20434 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20436 * socket/recvmmsg.c: ... this new file.
20437 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20438 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20439 definition of __sendmmsg hidden.
20440 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20441 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20442 Move ENOSYS stub into and include it from...
20443 * socket/sendmmsg.c: ... this new file.
20444 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20445 (sysdep_routines): Move recvmmsg and sendmmsg...
20446 * socket/Makefile (routines): ... here.
20447 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20448 (GLIBC_PRIVATE): Add __sendmmsg.
20449 * include/sys/socket.h (__sendmmsg): Add declarations.
20450 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20453 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20455 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20456 variable I1 with __attribute__ ((unused)).
20457 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20459 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20461 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20462 DUMMY variables with __attribute__ ((unused)).
20464 * bits/byteswap.h: Include <bits/types.h>.
20465 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20467 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20469 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20470 string_t. Do not manually set errno.
20471 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20472 length with __strnlen. Make sure to both set errno and return it on
20475 2012-11-19 David S. Miller <davem@davemloft.net>
20477 With help from Joseph Myers.
20478 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20479 very large arguments properly.
20480 * math/libm-test.inc (atan_test): New tests.
20481 (atan2_test): New tests.
20482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20485 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20488 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20491 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20492 [POSIX] (EADDRNOTAVAIL): Likewise.
20493 [POSIX] (EAFNOSUPPORT): Likewise.
20494 [POSIX] (EALREADY): Likewise.
20495 [POSIX] (ECONNABORTED): Likewise.
20496 [POSIX] (ECONNREFUSED): Likewise.
20497 [POSIX] (ECONNRESET): Likewise.
20498 [POSIX] (EDESTADDRREQ): Likewise.
20499 [POSIX] (EDQUOT): Likewise.
20500 [POSIX] (EHOSTUNREACH): Likewise.
20501 [POSIX] (EIDRM): Likewise.
20502 [POSIX] (EISCONN): Likewise.
20503 [POSIX] (ELOOP): Likewise.
20504 [POSIX] (EMULTIHOP): Likewise.
20505 [POSIX] (ENETDOWN): Likewise.
20506 [POSIX] (ENETUNREACH): Likewise.
20507 [POSIX] (ENOBUFS): Likewise.
20508 [POSIX] (ENODATA): Likewise.
20509 [POSIX] (ENOLINK): Likewise.
20510 [POSIX] (ENOMSG): Likewise.
20511 [POSIX] (ENOPROTOOPT): Likewise.
20512 [POSIX] (ENOSR): Likewise.
20513 [POSIX] (ENOSTR): Likewise.
20514 [POSIX] (ENOTCONN): Likewise.
20515 [POSIX] (ENOTSOCK): Likewise.
20516 [POSIX] (EOPNOTSUPP): Likewise.
20517 [POSIX] (EOVERFLOW): Likewise.
20518 [POSIX] (EPROTO): Likewise.
20519 [POSIX] (EPROTONOSUPPORT): Likewise.
20520 [POSIX] (EPROTOTYPE): Likewise.
20521 [POSIX] (ESTALE): Likewise.
20522 [POSIX] (ETIME): Likewise.
20523 [POSIX] (ETXTBSY): Likewise.
20524 [POSIX] (EWOULDBLOCK): Likewise.
20525 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20526 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20527 [POSIX] (SEEK_CUR): Likewise.
20528 [POSIX] (SEEK_END): Likewise.
20529 [POSIX || UNIX98] (mode_t): Do not require.
20530 [POSIX] (off_t): Likewise.
20531 [POSIX] (pid_t): Likewise.
20532 [POSIX] (sys/stat.h): Do not allow header.
20533 [POSIX] (unistd.h): Likewise.
20534 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20535 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20536 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20537 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20539 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20540 sigevent): Specify elements.
20541 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20543 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20544 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20546 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20547 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20548 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20549 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20550 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20551 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20552 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20553 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20554 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20555 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20556 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20557 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20558 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20559 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20561 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20563 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20565 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20567 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20568 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20569 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20570 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20571 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20572 Specify lower bound on value.
20573 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20574 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20575 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20576 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20577 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20578 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20579 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20580 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20582 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20584 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20585 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20586 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20587 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20588 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20589 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20590 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20591 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20592 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20593 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20594 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20595 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20596 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20597 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20598 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20599 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20601 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20603 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20604 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20605 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20606 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20607 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20608 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20610 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20611 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20612 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20613 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20614 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20615 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20616 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20618 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20619 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20620 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20621 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20622 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20623 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20624 specify as optional.
20625 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20626 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20627 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20628 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20629 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20630 [XPG3] (NL_LANGMAX): Likewise.
20631 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20632 [POSIX || XPG3] (NL_NMAX): Likewise.
20633 [POSIX || XPG3] (NL_SETMAX): Likewise.
20634 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20635 [XPG3] (NZERO): Likewise.
20636 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20637 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20638 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20639 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20640 (REG_ERANGE): Expect.
20641 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20643 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20644 Use (void) in prototype.
20645 [POSIX] (*_t): Allow.
20646 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20647 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20648 (WRDE_BADVAL): Expect.
20650 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20652 [XPG3 || XPG4] (O_RSYNC): Likewise.
20653 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20655 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20656 [XPG3 || XPG4] (sigqueue): Likewise.
20657 [XPG3 || XPG4] (sigtimedwait): Likewise.
20658 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20659 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20660 [XPG3 || XPG4] (vsnprintf): Likewise.
20661 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20663 [XPG3 || XPG4] (blksize_t): Likewise.
20664 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20666 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20667 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20668 [XPG3 || XPG4] (struct itimerspec): Likewise.
20669 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20670 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20671 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20672 [XPG3 || XPG4] (clockid_t): Likewise.
20673 [XPG3 || XPG4] (timer_t): Likewise.
20674 [XPG3 || XPG4] (clock_getres): Likewise.
20675 [XPG3 || XPG4] (clock_gettime): Likewise.
20676 [XPG3 || XPG4] (clock_settime): Likewise.
20677 [XPG3 || XPG4] (nanosleep): Likewise.
20678 [XPG3 || XPG4] (timer_create): Likewise.
20679 [XPG3 || XPG4] (timer_delete): Likewise.
20680 [XPG3 || XPG4] (timer_gettime): Likewise.
20681 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20682 [XPG3 || XPG4] (timer_settime): Likewise.
20683 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20684 [XPG3 || XPG4] (getlogin_r): Likewise.
20685 [XPG3 || XPG4] (pread): Likewise.
20686 [XPG3 || XPG4] (pthread_atfork): Likewise.
20687 [XPG3 || XPG4] (pwrite): Likewise.
20690 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20693 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20695 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20696 finalizing MALLSTREAM.
20698 * sysdeps/mach/hurd/syncfs.c: New file.
20700 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20703 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20704 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20705 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20706 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20707 (_nss_dns_gethostbyname4_r): Likewise.
20708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20709 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20711 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20714 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20716 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20718 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20719 * elf/cache.c (print_entry): Print ",AArch64" for
20722 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20723 * elf/cache.c (print_entry): Print ",hard-float" for
20726 2012-11-18 David S. Miller <davem@davemloft.net>
20728 With help from Joseph Myers.
20729 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20731 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20733 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20734 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20736 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20737 * math/libm-test.inc (y0_test): New tests.
20738 (y1_test): New tests.
20739 * sysdeps/i386/fpu/libm-test-ulps: Update.
20740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20743 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20745 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20747 * configure: Regenerated.
20749 2012-11-17 David S. Miller <davem@davemloft.net>
20752 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20753 nonzero exponents with absolute value below 0x1p-128 to +/-
20756 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20758 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20760 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20762 * posix/getconf-speclist.c: New file.
20763 * posix/posix-envs.def: Likewise.
20764 * posix/confstr.c (START_ENV_GROUP): New macro.
20765 (END_ENV_GROUP): Likewise.
20766 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20767 (KNOWN_PRESENT_ENV_STRING): Likewise.
20768 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20769 (UNKNOWN_ENVIRONMENT): Likewise.
20770 (confstr): Include posix-envs.def instead of handling
20771 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20772 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20773 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20774 (END_ENV_GROUP): Likewise.
20775 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20776 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20777 (UNKNOWN_ENVIRONMENT): Likewise.
20778 (__sysconf): Include posix-envs.def instead of handling associated
20779 cases directly here.
20780 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20781 preprocessing getconf-speclist.c rather than running getconf or
20782 generating empty file.
20784 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20786 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20788 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20791 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20793 2012-11-16 David S. Miller <davem@davemloft.net>
20795 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20796 smaller than LDBL_EPSILON/2.0L, just return xm1.
20798 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20800 * elf/tst-array1.c (init): Set constructor priority to 1000.
20801 (fini): Set destructor priority to 1000.
20802 * elf/tst-array2dep.c: Likewise.
20804 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20807 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20808 (_IO_new_file_xsputn): Also return EOF if none of the input
20809 data was written when overflow failed.
20810 * libio/iopadn.c (_IO_padn): Likewise.
20811 * libio/iowpadn.c (_IO_wpadn): Likewise.
20812 * stdio-common/tst-put-error.c: Add copyright notice.
20813 (do_test): Add case for printing padded string.
20814 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20815 _IO_padn returned error.
20816 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20817 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20820 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20822 * libio/libioP.h: Add comment note that the references to C++
20823 bits are now obsolete.
20825 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20827 * math/libm-test.inc (check_complex): Use asprintf.
20829 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20831 * debug/pcprofiledump.c (print_version): Update copyright year.
20832 * malloc/memusagestat.c (print_version): Likewise.
20834 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20837 * elf/Makefile (tests): Add tst-audit8.
20838 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20839 ($(objpfx)tst-audit8.out): New target.
20840 (tst-audit8-ENV): New variable.
20841 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20842 audit if l_reloc_result is NULL.
20843 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20844 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20845 * elf/tst-audit8.c: New file.
20847 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20849 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20850 * misc/Makefile (CFLAGS-select.c): Define.
20851 * posix/Makefile (CFLAGS-pause.c): Define.
20853 2012-11-13 David S. Miller <davem@davemloft.net>
20855 * crypt/Makefile: Move test targets after toplevel Rules
20856 inclusion. Grab any necessary sysdep routines when linking.
20857 * crypt/md5.c (md5_process_block): Remove define, we will always
20858 name it __md5_process_block.
20859 (md5_finish_ctx): Update md5_process_block call.
20860 (md5_stream): Likewise.
20861 (md5_process_bytes): Likewise.
20862 (md5_process_block): Rename to __md5_process_block and move to ...
20863 * crypt/md5-block.c: ... here.
20864 * crypt/sha256.c (sha256_process_block): Move to ...
20865 * crypt/sha256-block.c: ... here.
20866 * crypt/sha512.c (sha512_process_block): Move to ...
20867 * crypt/sha512-block.c: ... here.
20868 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20870 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20871 * sysdeps/sparc/sparc64/multiarch/Makefile
20872 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20874 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20875 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20877 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20878 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20879 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20880 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20881 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20882 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20883 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20884 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20885 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20887 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20888 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20890 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20892 2012-11-13 Joseph Myers <joseph@codesourcery.com>
20894 * timezone/tzselect.ksh: Update from tzcode git revision
20895 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20896 * timezone/zdump.c: Likewise.
20897 * timezone/zic.c: Likewise.
20898 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20899 in TZVERSION setting, not $(PKGVERSION).
20900 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20901 REPORT_BUGS_TO settings.
20904 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20907 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20909 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20910 detection to immediately after _FP_ROUND().
20911 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20914 2012-11-11 David S. Miller <davem@davemloft.net>
20916 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20918 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20919 __close rather than their public counterparts.
20921 2012-11-10 Joseph Myers <joseph@codesourcery.com>
20923 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20925 [UNIX98] (sem_timedwait): Do not expect.
20926 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20927 [XPG4 || UNIX98] (sockatmark): Do not expect.
20928 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20929 (clock_getcpuclockid): Do not expect.
20930 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20931 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20933 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20934 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20935 [UNIX98] (vwscanf): Likewise.
20936 [UNIX98] (vswscanf): Likewise.
20938 2012-11-09 Joseph Myers <joseph@codesourcery.com>
20940 * timezone/version.h: Remove file.
20941 * timezone/README: Do not refer to version.h.
20942 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20943 $(objpfx)version.h.
20944 ($(objpfx)zdump.o): Likewise.
20945 ($(objpfx)version.h): New target.
20947 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20949 * timezone/README: Don't mention modification to tzselect.ksh.
20950 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20951 work on unmodified tzselect.ksh. Substitute version numbers in
20954 * Makefile (format-me): Remove.
20955 (INSTALL): Adjust indentation. Use commands directly instead of
20956 using $(format-me).
20958 * aclocal.m4 (ACX_PKGVERSION): New macro.
20959 (ACX_BUGURL): Likewise.
20960 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20961 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20962 (REPORT_BUGS_TO): Likewise.
20963 * configure: Regenerated.
20964 * config.h.in (PKGVERSION): New macro.
20965 (REPORT_BUGS_TO): Likewise.
20966 * config.make.in (PKGVERSION): New variable.
20967 (PKGVERSION_TEXI): Likewise.
20968 (REPORT_BUGS_TO): Likewise.
20969 (REPORT_BUGS_TEXI): Likewise.
20970 * Makefile (format-me): Use -I$(common-objpfx)manual.
20971 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20972 ($(common-objpfx)manual/%): New target.
20973 (manual/%): Remove target.
20974 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20975 (print_version): Use PKGVERSION.
20976 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20977 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20978 and REPORT_BUGS_TO.
20979 ($(objpfx)xtrace): Likewise.
20980 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20981 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20982 (print_version): Use PKGVERSION.
20983 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20984 (do_version): Use PKGVERSION.
20985 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20987 (common-ldd-rewrite): Likewise.
20988 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20989 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20990 (print_version): Use PKGVERSION.
20991 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20992 * elf/pldd.c (argp_program_bug_address): Remove variable.
20993 (more_help): New function.
20994 (argp): Use more_help.
20995 (print_version): Use PKGVERSION.
20996 * elf/sln.c (main): Use PKGVERSION.
20997 (usage): Use REPORT_BUGS_TO.
20998 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20999 (top level): Use PKGVERSION.
21000 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21001 (print_version): Use PKGVERSION.
21002 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21003 (print_version): Use PKGVERSION.
21004 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21005 (print_version): Use PKGVERSION.
21006 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21007 (print_version): Use PKGVERSION.
21008 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21009 (print_version): Use PKGVERSION.
21010 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21011 (print_version): Use PKGVERSION.
21012 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21014 ($(objpfx)memusage): Likewise.
21015 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21016 (do_version): Use PKGVERSION.
21017 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21018 (print_version): Use PKGVERSION.
21019 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21020 ($PKGVERSION): New variable.
21021 ($REPORT_BUGS_TO): Likewise.
21022 (usage): Use $REPORT_BUGS_TO.
21023 (top level): Use $PKGVERSION.
21024 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21025 ($(objpfx)pkgvers.texi): New rule.
21026 ($(objpfx)stamp-pkgvers): Likewise.
21027 * manual/install.texi: Include pkgvers.texi.
21028 (--with-pkgversion): Document new configure option.
21029 (--with-bugurl): Likewise.
21030 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21031 than necessarily for this particular distribution. Use
21032 REPORT_BUGS_TO for where to report bugs.
21033 * INSTALL: Regenerated.
21034 * manual/libc.texinfo: Include pkgvers.texi.
21035 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21036 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21037 (print_version): Use PKGVERSION.
21038 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21039 (print_version): Use PKGVERSION.
21040 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21041 (print_version): Use PKGVERSION.
21042 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21043 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21045 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21046 (print_version): Use PKGVERSION.
21047 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21048 (print_version): Use PKGVERSION.
21049 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21052 * timezone/checktab.awk: Update from tzcode 2012i.
21053 * timezone/ialloc.c: Likewise.
21054 * timezone/private.h: Likewise.
21055 * timezone/scheck.c: Likewise.
21056 * timezone/tzfile.h: Likewise.
21057 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21058 (TZVERSION): Hardcode tzcode version number.
21059 * timezone/zdump.c: Update from tzcode 2012i.
21060 * timezone/zic.c: Likewise.
21061 * timezone/version.h: New file.
21062 * timezone/README: Describe version.h. Update upstream location.
21065 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21066 (mktemp): Enable declaration.
21067 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21069 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21070 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21072 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21074 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21076 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21078 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21080 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21084 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21085 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21086 for copies of such integer values.
21087 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21088 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21090 2012-11-09 Andreas Jaeger <aj@suse.de>
21092 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21093 definitions and declarations that are provided by
21094 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21096 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21098 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21099 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21100 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21103 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21105 * elf/elf.h: Update comment before AArch64 relocations.
21107 2012-11-07 David S. Miller <davem@davemloft.net>
21109 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21110 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21111 (__start_context): Declare.
21112 (__makecontext_ret): Delete.
21113 (__makecontext): Hook up __start_context instead of
21115 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21116 (sysdep_routines): Add __start_context when in stdlib.
21118 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21120 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21121 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21122 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21124 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21125 (READELF): New variable. Use it instead of hardcoded "readelf".
21127 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21129 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21130 * sysdeps/x86/Makefile: Here.
21131 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21132 * sysdeps/x86/tst-xmmymm.sh: This.
21134 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21136 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21138 [UNIX98] (pthread_barrier_t): Do not expect.
21139 [UNIX98] (pthread_barrierattr_t): Likewise.
21140 [UNIX98] (pthread_spinlock_t): Likewise.
21141 [UNIX98] (pthread_barrier_destroy): Likewise.
21142 [UNIX98] (pthread_barrier_init): Likewise.
21143 [UNIX98] (pthread_barrier_wait): Likewise.
21144 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21145 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21146 [UNIX98] (pthread_barrierattr_init): Likewise.
21147 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21148 [UNIX98] (pthread_getcpuclockid): Likewise.
21149 [UNIX98] (pthread_mutex_timedlock): Likewise.
21150 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21151 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21152 [UNIX98] (pthread_sigmask): Likewise.
21153 [UNIX98] (pthread_spin_destroy): Likewise.
21154 [UNIX98] (pthread_spin_init): Likewise.
21155 [UNIX98] (pthread_spin_lock): Likewise.
21156 [UNIX98] (pthread_spin_trylock): Likewise.
21157 [UNIX98] (pthread_spin_unlock): Likewise.
21158 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21160 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21161 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21162 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21163 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21164 [XPG3 || XPG4] (pthread_key_t): Likewise.
21165 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21166 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21167 [XPG3 || XPG4] (pthread_once_t): Likewise.
21168 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21169 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21170 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21171 [XPG3 || XPG4] (pthread_t): Likewise.
21173 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21175 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21177 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21178 Change function return type to int.
21180 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21181 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21182 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21183 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21184 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21185 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21186 [!POSIX] (posix_madvise): Likewise.
21187 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21189 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21190 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21191 (mode_t): Likewise.
21192 (posix_mem_offset): Likewise.
21193 (posix_typed_mem_get_info): Likewise.
21194 (posix_typed_mem_open): Likewise.
21196 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21197 Change condition to [XOPEN2K8].
21199 * conform/conformtest.pl: Preprocess allow-header data with -x c
21200 instead of from stdin.
21201 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21202 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21203 [C99-based standards] (cerfc): Likewise.
21204 [C99-based standards] (cexp2): Likewise.
21205 [C99-based standards] (cexpm1): Likewise.
21206 [C99-based standards] (clog10): Likewise.
21207 [C99-based standards] (clog1p): Likewise.
21208 [C99-based standards] (clog2): Likewise.
21209 [C99-based standards] (clgamma): Likewise.
21210 [C99-based standards] (ctgamma): Likewise.
21211 [C99-based standards] (cerff): Likewise.
21212 [C99-based standards] (cerfcf): Likewise.
21213 [C99-based standards] (cexp2f): Likewise.
21214 [C99-based standards] (cexpm1f): Likewise.
21215 [C99-based standards] (clog10f): Likewise.
21216 [C99-based standards] (clog1pf): Likewise.
21217 [C99-based standards] (clog2f): Likewise.
21218 [C99-based standards] (clgammaf): Likewise.
21219 [C99-based standards] (ctgammaf): Likewise.
21220 [C99-based standards] (cerfl): Likewise.
21221 [C99-based standards] (cerfcl): Likewise.
21222 [C99-based standards] (cexp2l): Likewise.
21223 [C99-based standards] (cexpm1l): Likewise.
21224 [C99-based standards] (clog10l): Likewise.
21225 [C99-based standards] (clog1pl): Likewise.
21226 [C99-based standards] (clog2l): Likewise.
21227 [C99-based standards] (clgammal): Likewise.
21228 [C99-based standards] (ctgammal): Likewise.
21229 * conform/data/inttypes.h-data [C99-based standards]: Include
21230 stdint.h-data. Remove all expectations for stdint.h contents.
21231 [C99-based standards] (PRI*): Do not allow.
21232 [C99-based standards] (SCN*): Likewise.
21233 [C99-based standards] (*_t): Likewise.
21234 [C99-based-standards] (PRId8): Expect macro.
21235 [C99-based-standards] (PRIi8): Likewise.
21236 [C99-based-standards] (PRIo8): Likewise.
21237 [C99-based-standards] (PRIu8): Likewise.
21238 [C99-based-standards] (PRIx8): Likewise.
21239 [C99-based-standards] (PRIX8): Likewise.
21240 [C99-based-standards] (SCNd8): Likewise.
21241 [C99-based-standards] (SCNi8): Likewise.
21242 [C99-based-standards] (SCNo8): Likewise.
21243 [C99-based-standards] (SCNu8): Likewise.
21244 [C99-based-standards] (SCNx8): Likewise.
21245 [C99-based-standards] (PRIdLEAST8): Likewise.
21246 [C99-based-standards] (PRIiLEAST8): Likewise.
21247 [C99-based-standards] (PRIoLEAST8): Likewise.
21248 [C99-based-standards] (PRIuLEAST8): Likewise.
21249 [C99-based-standards] (PRIxLEAST8): Likewise.
21250 [C99-based-standards] (PRIXLEAST8): Likewise.
21251 [C99-based-standards] (SCNdLEAST8): Likewise.
21252 [C99-based-standards] (SCNiLEAST8): Likewise.
21253 [C99-based-standards] (SCNoLEAST8): Likewise.
21254 [C99-based-standards] (SCNuLEAST8): Likewise.
21255 [C99-based-standards] (SCNxLEAST8): Likewise.
21256 [C99-based-standards] (PRIdFAST8): Likewise.
21257 [C99-based-standards] (PRIiFAST8): Likewise.
21258 [C99-based-standards] (PRIoFAST8): Likewise.
21259 [C99-based-standards] (PRIuFAST8): Likewise.
21260 [C99-based-standards] (PRIxFAST8): Likewise.
21261 [C99-based-standards] (PRIXFAST8): Likewise.
21262 [C99-based-standards] (SCNdFAST8): Likewise.
21263 [C99-based-standards] (SCNiFAST8): Likewise.
21264 [C99-based-standards] (SCNoFAST8): Likewise.
21265 [C99-based-standards] (SCNuFAST8): Likewise.
21266 [C99-based-standards] (SCNxFAST8): Likewise.
21267 [C99-based-standards] (PRId16): Likewise.
21268 [C99-based-standards] (PRIi16): Likewise.
21269 [C99-based-standards] (PRIo16): Likewise.
21270 [C99-based-standards] (PRIu16): Likewise.
21271 [C99-based-standards] (PRIx16): Likewise.
21272 [C99-based-standards] (PRIX16): Likewise.
21273 [C99-based-standards] (SCNd16): Likewise.
21274 [C99-based-standards] (SCNi16): Likewise.
21275 [C99-based-standards] (SCNo16): Likewise.
21276 [C99-based-standards] (SCNu16): Likewise.
21277 [C99-based-standards] (SCNx16): Likewise.
21278 [C99-based-standards] (PRIdLEAST16): Likewise.
21279 [C99-based-standards] (PRIiLEAST16): Likewise.
21280 [C99-based-standards] (PRIoLEAST16): Likewise.
21281 [C99-based-standards] (PRIuLEAST16): Likewise.
21282 [C99-based-standards] (PRIxLEAST16): Likewise.
21283 [C99-based-standards] (PRIXLEAST16): Likewise.
21284 [C99-based-standards] (SCNdLEAST16): Likewise.
21285 [C99-based-standards] (SCNiLEAST16): Likewise.
21286 [C99-based-standards] (SCNoLEAST16): Likewise.
21287 [C99-based-standards] (SCNuLEAST16): Likewise.
21288 [C99-based-standards] (SCNxLEAST16): Likewise.
21289 [C99-based-standards] (PRIdFAST16): Likewise.
21290 [C99-based-standards] (PRIiFAST16): Likewise.
21291 [C99-based-standards] (PRIoFAST16): Likewise.
21292 [C99-based-standards] (PRIuFAST16): Likewise.
21293 [C99-based-standards] (PRIxFAST16): Likewise.
21294 [C99-based-standards] (PRIXFAST16): Likewise.
21295 [C99-based-standards] (SCNdFAST16): Likewise.
21296 [C99-based-standards] (SCNiFAST16): Likewise.
21297 [C99-based-standards] (SCNoFAST16): Likewise.
21298 [C99-based-standards] (SCNuFAST16): Likewise.
21299 [C99-based-standards] (SCNxFAST16): Likewise.
21300 [C99-based-standards] (PRId32): Likewise.
21301 [C99-based-standards] (PRIi32): Likewise.
21302 [C99-based-standards] (PRIo32): Likewise.
21303 [C99-based-standards] (PRIu32): Likewise.
21304 [C99-based-standards] (PRIx32): Likewise.
21305 [C99-based-standards] (PRIX32): Likewise.
21306 [C99-based-standards] (SCNd32): Likewise.
21307 [C99-based-standards] (SCNi32): Likewise.
21308 [C99-based-standards] (SCNo32): Likewise.
21309 [C99-based-standards] (SCNu32): Likewise.
21310 [C99-based-standards] (SCNx32): Likewise.
21311 [C99-based-standards] (PRIdLEAST32): Likewise.
21312 [C99-based-standards] (PRIiLEAST32): Likewise.
21313 [C99-based-standards] (PRIoLEAST32): Likewise.
21314 [C99-based-standards] (PRIuLEAST32): Likewise.
21315 [C99-based-standards] (PRIxLEAST32): Likewise.
21316 [C99-based-standards] (PRIXLEAST32): Likewise.
21317 [C99-based-standards] (SCNdLEAST32): Likewise.
21318 [C99-based-standards] (SCNiLEAST32): Likewise.
21319 [C99-based-standards] (SCNoLEAST32): Likewise.
21320 [C99-based-standards] (SCNuLEAST32): Likewise.
21321 [C99-based-standards] (SCNxLEAST32): Likewise.
21322 [C99-based-standards] (PRIdFAST32): Likewise.
21323 [C99-based-standards] (PRIiFAST32): Likewise.
21324 [C99-based-standards] (PRIoFAST32): Likewise.
21325 [C99-based-standards] (PRIuFAST32): Likewise.
21326 [C99-based-standards] (PRIxFAST32): Likewise.
21327 [C99-based-standards] (PRIXFAST32): Likewise.
21328 [C99-based-standards] (SCNdFAST32): Likewise.
21329 [C99-based-standards] (SCNiFAST32): Likewise.
21330 [C99-based-standards] (SCNoFAST32): Likewise.
21331 [C99-based-standards] (SCNuFAST32): Likewise.
21332 [C99-based-standards] (SCNxFAST32): Likewise.
21333 [C99-based-standards] (PRId64): Likewise.
21334 [C99-based-standards] (PRIi64): Likewise.
21335 [C99-based-standards] (PRIo64): Likewise.
21336 [C99-based-standards] (PRIu64): Likewise.
21337 [C99-based-standards] (PRIx64): Likewise.
21338 [C99-based-standards] (PRIX64): Likewise.
21339 [C99-based-standards] (SCNd64): Likewise.
21340 [C99-based-standards] (SCNi64): Likewise.
21341 [C99-based-standards] (SCNo64): Likewise.
21342 [C99-based-standards] (SCNu64): Likewise.
21343 [C99-based-standards] (SCNx64): Likewise.
21344 [C99-based-standards] (PRIdLEAST64): Likewise.
21345 [C99-based-standards] (PRIiLEAST64): Likewise.
21346 [C99-based-standards] (PRIoLEAST64): Likewise.
21347 [C99-based-standards] (PRIuLEAST64): Likewise.
21348 [C99-based-standards] (PRIxLEAST64): Likewise.
21349 [C99-based-standards] (PRIXLEAST64): Likewise.
21350 [C99-based-standards] (SCNdLEAST64): Likewise.
21351 [C99-based-standards] (SCNiLEAST64): Likewise.
21352 [C99-based-standards] (SCNoLEAST64): Likewise.
21353 [C99-based-standards] (SCNuLEAST64): Likewise.
21354 [C99-based-standards] (SCNxLEAST64): Likewise.
21355 [C99-based-standards] (PRIdFAST64): Likewise.
21356 [C99-based-standards] (PRIiFAST64): Likewise.
21357 [C99-based-standards] (PRIoFAST64): Likewise.
21358 [C99-based-standards] (PRIuFAST64): Likewise.
21359 [C99-based-standards] (PRIxFAST64): Likewise.
21360 [C99-based-standards] (PRIXFAST64): Likewise.
21361 [C99-based-standards] (SCNdFAST64): Likewise.
21362 [C99-based-standards] (SCNiFAST64): Likewise.
21363 [C99-based-standards] (SCNoFAST64): Likewise.
21364 [C99-based-standards] (SCNuFAST64): Likewise.
21365 [C99-based-standards] (SCNxFAST64): Likewise.
21366 [C99-based-standards] (PRIdMAX): Likewise.
21367 [C99-based-standards] (PRIiMAX): Likewise.
21368 [C99-based-standards] (PRIoMAX): Likewise.
21369 [C99-based-standards] (PRIuMAX): Likewise.
21370 [C99-based-standards] (PRIxMAX): Likewise.
21371 [C99-based-standards] (PRIXMAX): Likewise.
21372 [C99-based-standards] (SCNdMAX): Likewise.
21373 [C99-based-standards] (SCNiMAX): Likewise.
21374 [C99-based-standards] (SCNoMAX): Likewise.
21375 [C99-based-standards] (SCNuMAX): Likewise.
21376 [C99-based-standards] (SCNxMAX): Likewise.
21377 [C99-based-standards] (PRIdPTR): Likewise.
21378 [C99-based-standards] (PRIiPTR): Likewise.
21379 [C99-based-standards] (PRIoPTR): Likewise.
21380 [C99-based-standards] (PRIuPTR): Likewise.
21381 [C99-based-standards] (PRIxPTR): Likewise.
21382 [C99-based-standards] (PRIXPTR): Likewise.
21383 [C99-based-standards] (SCNdPTR): Likewise.
21384 [C99-based-standards] (SCNiPTR): Likewise.
21385 [C99-based-standards] (SCNoPTR): Likewise.
21386 [C99-based-standards] (SCNuPTR): Likewise.
21387 [C99-based-standards] (SCNxPTR): Likewise.
21388 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21390 * conform/data/stdint.h-data: Update comments to clarify
21392 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21394 [C99-based standards] (INT8_MAX): Likewise.
21395 [C99-based standards] (INT16_MIN): Likewise.
21396 [C99-based standards] (INT16_MAX): Likewise.
21397 [C99-based standards] (INT32_MIN): Likewise.
21398 [C99-based standards] (INT32_MAX): Likewise.
21399 [C99-based standards] (INT64_MIN): Likewise.
21400 [C99-based standards] (INT64_MAX): Likewise.
21401 [C99-based standards] (UINT8_MAX): Likewise.
21402 [C99-based standards] (UINT16_MAX): Likewise.
21403 [C99-based standards] (UINT32_MAX): Likewise.
21404 [C99-based standards] (UINT64_MAX): Likewise.
21405 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21406 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21407 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21408 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21409 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21410 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21411 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21412 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21413 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21414 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21415 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21416 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21417 [C99-based standards] (INT_FAST8_MIN): Likewise.
21418 [C99-based standards] (INT_FAST8_MAX): Likewise.
21419 [C99-based standards] (INT_FAST16_MIN): Likewise.
21420 [C99-based standards] (INT_FAST16_MAX): Likewise.
21421 [C99-based standards] (INT_FAST32_MIN): Likewise.
21422 [C99-based standards] (INT_FAST32_MAX): Likewise.
21423 [C99-based standards] (INT_FAST64_MIN): Likewise.
21424 [C99-based standards] (INT_FAST64_MAX): Likewise.
21425 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21426 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21427 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21428 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21429 [C99-based standards] (INTPTR_MIN): Likewise.
21430 [C99-based standards] (INTPTR_MAX): Likewise.
21431 [C99-based standards] (UINTPTR_MAX): Likewise.
21432 [C99-based standards] (INTMAX_MIN): Likewise.
21433 [C99-based standards] (INTMAX_MAX): Likewise.
21434 [C99-based standards] (UINTMAX_MAX): Likewise.
21435 [C99-based standards] (PTRDIFF_MIN): Likewise.
21436 [C99-based standards] (PTRDIFF_MAX): Likewise.
21437 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21438 [C99-based standards] (SIZE_MAX): Likewise.
21439 [C99-based standards] (WCHAR_MAX): Likewise.
21440 [C99-based standards] (WINT_MAX): Likewise.
21441 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21442 constraint on value.
21443 [C99-based standards] (WCHAR_MIN): Likewise.
21444 [C99-based standards] (WINT_MIN): Likewise.
21445 [C99-based standards] (*_t): Allow.
21446 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21447 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21448 Include math.h-data and complex.h-data. Remove all expectations
21449 of math.h and complex.h contents.
21450 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21452 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21453 (struct tm): Expect tag.
21454 [C99-based-standards] (wcstof): Expect function.
21455 [C99-based-standards] (wcstold): Likewise.
21456 [C99-based-standards] (wcstoll): Likewise.
21457 [C99-based-standards] (wcstoull): Likewise.
21458 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21459 macro-int-constant. Specify type.
21460 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21461 constraint on value.
21462 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21464 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21466 [ISO C standards]: Do not allow headers.
21467 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21468 wcs[abcdefghijklmnopqrstuvwxyz]*.
21469 [ISO C standards] (*_t): Do not allow.
21470 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21472 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21473 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21475 [ISO C standards]: Do not allow headers.
21476 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21477 is[abcdefghijklmnopqrstuvwxyz]*.
21478 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21479 to[abcdefghijklmnopqrstuvwxyz]*.
21480 [ISO C standards] (*_t): Do not allow.
21481 * conform/data/stdalign.h-data: New file.
21482 * conform/data/stdbool.h-data: Likewise.
21483 * conform/data/stdnoreturn.h-data: Likewise.
21485 2012-11-07 Roland McGrath <roland@hack.frob.com>
21488 * manual/filesys.texi (Directory Entries): Typo fix.
21489 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21491 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21493 * elf/elf.h (EM_AARCH64): New macro.
21494 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21495 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21496 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21497 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21498 (R_AARCH64_TLSDESC): Likewise.
21499 (NT_ARM_TLS): Likewise.
21500 (NT_ARM_HW_BREAK): Likewise.
21501 (NT_ARM_HW_WATCH): Likewise.
21503 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21506 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21507 (__ieee754_powl): Saturate nonzero exponents with absolute value
21508 below 0x1p-79 to +/- 0x1p-79.
21509 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21510 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21511 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21512 nonzero exponents with absolute value below 0x1p-32 to +/-
21514 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21515 (__ieee754_powl): Saturate nonzero exponents with absolute value
21516 below 0x1p-79 to +/- 0x1p-79.
21517 * math/libm-test.inc (pow_test): Add more tests.
21519 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21521 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21522 _dl_s390_cap_flags with kernel. Increase string length.
21523 (_dl_s390_platforms): Add z196 and zEC12.
21525 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21527 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21528 Change XOPEN21K to XOPEN2K.
21530 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21532 * string/memmove.c: Use memcpy when possible.
21534 2012-11-06 Andreas Jaeger <aj@suse.de>
21536 * po/eo.po: Update from translation team.
21538 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21542 exponent and small x and y exponents, scale x or y up. Increase
21543 by 2 the exponent used in scaling up.
21544 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21545 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21546 * math/libm-test.inc (fma_test): Add more tests.
21547 (fma_test_towardzero): Likewise.
21548 (fma_test_downward): Likewise.
21549 (fma_test_upward): Likewise.
21551 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21554 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21558 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21559 namespace for names of struct fields.
21560 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21562 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21563 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21565 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21568 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21570 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21572 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21576 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21579 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21583 definitely overflow as x * y not x * y + z.
21584 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21585 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21586 * math/libm-test.inc (fma_test): Add more tests.
21587 (fma_test_towardzero): Likewise.
21588 (fma_test_downward): Likewise.
21589 (fma_test_upward): Likewise.
21591 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21595 * include/stub-tag.h: Remove file.
21596 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21598 * manual/maint.texi (Porting): Don't reference it.
21599 * Makerules ($(objpfx)stubs): Likewise.
21600 * dirent/closedir.c: Don't include <stub-tag.h>.
21601 * dirent/dirfd.c: Likewise.
21602 * dirent/fdopendir.c: Likewise.
21603 * dirent/getdents.c: Likewise.
21604 * dirent/getdents64.c: Likewise.
21605 * dirent/opendir.c: Likewise.
21606 * dirent/readdir.c: Likewise.
21607 * dirent/readdir64.c: Likewise.
21608 * dirent/readdir64_r.c: Likewise.
21609 * dirent/readdir_r.c: Likewise.
21610 * dirent/rewinddir.c: Likewise.
21611 * dirent/seekdir.c: Likewise.
21612 * dirent/telldir.c: Likewise.
21613 * gmon/profil.c: Likewise.
21614 * grp/setgroups.c: Likewise.
21615 * inet/if_index.c: Likewise.
21616 * io/access.c: Likewise.
21617 * io/chdir.c: Likewise.
21618 * io/chmod.c: Likewise.
21619 * io/chown.c: Likewise.
21620 * io/close.c: Likewise.
21621 * io/dup.c: Likewise.
21622 * io/dup2.c: Likewise.
21623 * io/dup3.c: Likewise.
21624 * io/euidaccess.c: Likewise.
21625 * io/faccessat.c: Likewise.
21626 * io/fchdir.c: Likewise.
21627 * io/fchmod.c: Likewise.
21628 * io/fchmodat.c: Likewise.
21629 * io/fchown.c: Likewise.
21630 * io/fchownat.c: Likewise.
21631 * io/fcntl.c: Likewise.
21632 * io/flock.c: Likewise.
21633 * io/fstatfs.c: Likewise.
21634 * io/fstatfs64.c: Likewise.
21635 * io/fstatvfs.c: Likewise.
21636 * io/fstatvfs64.c: Likewise.
21637 * io/futimens.c: Likewise.
21638 * io/fxstat.c: Likewise.
21639 * io/fxstat64.c: Likewise.
21640 * io/fxstatat.c: Likewise.
21641 * io/fxstatat64.c: Likewise.
21642 * io/getcwd.c: Likewise.
21643 * io/isatty.c: Likewise.
21644 * io/lchmod.c: Likewise.
21645 * io/lchown.c: Likewise.
21646 * io/link.c: Likewise.
21647 * io/linkat.c: Likewise.
21648 * io/lseek.c: Likewise.
21649 * io/lseek64.c: Likewise.
21650 * io/lxstat64.c: Likewise.
21651 * io/mkdir.c: Likewise.
21652 * io/mkdirat.c: Likewise.
21653 * io/mkfifo.c: Likewise.
21654 * io/mkfifoat.c: Likewise.
21655 * io/open.c: Likewise.
21656 * io/open64.c: Likewise.
21657 * io/openat.c: Likewise.
21658 * io/openat64.c: Likewise.
21659 * io/pipe.c: Likewise.
21660 * io/pipe2.c: Likewise.
21661 * io/poll.c: Likewise.
21662 * io/posix_fadvise.c: Likewise.
21663 * io/posix_fadvise64.c: Likewise.
21664 * io/posix_fallocate.c: Likewise.
21665 * io/posix_fallocate64.c: Likewise.
21666 * io/read.c: Likewise.
21667 * io/readlink.c: Likewise.
21668 * io/readlinkat.c: Likewise.
21669 * io/rmdir.c: Likewise.
21670 * io/sendfile.c: Likewise.
21671 * io/sendfile64.c: Likewise.
21672 * io/statfs.c: Likewise.
21673 * io/statfs64.c: Likewise.
21674 * io/statvfs.c: Likewise.
21675 * io/statvfs64.c: Likewise.
21676 * io/symlink.c: Likewise.
21677 * io/symlinkat.c: Likewise.
21678 * io/ttyname.c: Likewise.
21679 * io/ttyname_r.c: Likewise.
21680 * io/umask.c: Likewise.
21681 * io/unlink.c: Likewise.
21682 * io/unlinkat.c: Likewise.
21683 * io/utime.c: Likewise.
21684 * io/utimensat.c: Likewise.
21685 * io/write.c: Likewise.
21686 * io/xmknod.c: Likewise.
21687 * io/xmknodat.c: Likewise.
21688 * io/xstat.c: Likewise.
21689 * io/xstat64.c: Likewise.
21690 * login/getpt.c: Likewise.
21691 * login/grantpt.c: Likewise.
21692 * login/unlockpt.c: Likewise.
21693 * math/e_acoshl.c: Likewise.
21694 * math/e_acosl.c: Likewise.
21695 * math/e_asinl.c: Likewise.
21696 * math/e_atan2l.c: Likewise.
21697 * math/e_atanhl.c: Likewise.
21698 * math/e_coshl.c: Likewise.
21699 * math/e_expl.c: Likewise.
21700 * math/e_fmodl.c: Likewise.
21701 * math/e_gammal_r.c: Likewise.
21702 * math/e_hypotl.c: Likewise.
21703 * math/e_j0l.c: Likewise.
21704 * math/e_j1l.c: Likewise.
21705 * math/e_jnl.c: Likewise.
21706 * math/e_lgammal_r.c: Likewise.
21707 * math/e_log10l.c: Likewise.
21708 * math/e_log2l.c: Likewise.
21709 * math/e_logl.c: Likewise.
21710 * math/e_powl.c: Likewise.
21711 * math/e_rem_pio2l.c: Likewise.
21712 * math/e_sinhl.c: Likewise.
21713 * math/e_sqrtl.c: Likewise.
21714 * math/fclrexcpt.c: Likewise.
21715 * math/fedisblxcpt.c: Likewise.
21716 * math/feenablxcpt.c: Likewise.
21717 * math/fegetenv.c: Likewise.
21718 * math/fegetexcept.c: Likewise.
21719 * math/fegetround.c: Likewise.
21720 * math/feholdexcpt.c: Likewise.
21721 * math/fesetenv.c: Likewise.
21722 * math/fesetround.c: Likewise.
21723 * math/feupdateenv.c: Likewise.
21724 * math/fgetexcptflg.c: Likewise.
21725 * math/fraiseexcpt.c: Likewise.
21726 * math/fsetexcptflg.c: Likewise.
21727 * math/ftestexcept.c: Likewise.
21728 * math/k_cosl.c: Likewise.
21729 * math/k_rem_pio2l.c: Likewise.
21730 * math/k_sinl.c: Likewise.
21731 * math/k_tanl.c: Likewise.
21732 * math/s_asinhl.c: Likewise.
21733 * math/s_atanl.c: Likewise.
21734 * math/s_cbrtl.c: Likewise.
21735 * math/s_erfl.c: Likewise.
21736 * math/s_expm1l.c: Likewise.
21737 * math/s_log1pl.c: Likewise.
21738 * math/s_tanhl.c: Likewise.
21739 * misc/acct.c: Likewise.
21740 * misc/brk.c: Likewise.
21741 * misc/chflags.c: Likewise.
21742 * misc/chroot.c: Likewise.
21743 * misc/fchflags.c: Likewise.
21744 * misc/fgetxattr.c: Likewise.
21745 * misc/flistxattr.c: Likewise.
21746 * misc/fremovexattr.c: Likewise.
21747 * misc/fsetxattr.c: Likewise.
21748 * misc/fsync.c: Likewise.
21749 * misc/ftruncate.c: Likewise.
21750 * misc/futimes.c: Likewise.
21751 * misc/futimesat.c: Likewise.
21752 * misc/getdomain.c: Likewise.
21753 * misc/getdtsz.c: Likewise.
21754 * misc/gethostid.c: Likewise.
21755 * misc/gethostname.c: Likewise.
21756 * misc/getloadavg.c: Likewise.
21757 * misc/getpagesize.c: Likewise.
21758 * misc/getsysstats.c: Likewise.
21759 * misc/getxattr.c: Likewise.
21760 * misc/gtty.c: Likewise.
21761 * misc/ioctl.c: Likewise.
21762 * misc/lgetxattr.c: Likewise.
21763 * misc/listxattr.c: Likewise.
21764 * misc/llistxattr.c: Likewise.
21765 * misc/lremovexattr.c: Likewise.
21766 * misc/lsetxattr.c: Likewise.
21767 * misc/lutimes.c: Likewise.
21768 * misc/madvise.c: Likewise.
21769 * misc/mincore.c: Likewise.
21770 * misc/mlock.c: Likewise.
21771 * misc/mlockall.c: Likewise.
21772 * misc/mmap.c: Likewise.
21773 * misc/mprotect.c: Likewise.
21774 * misc/msync.c: Likewise.
21775 * misc/munlock.c: Likewise.
21776 * misc/munlockall.c: Likewise.
21777 * misc/munmap.c: Likewise.
21778 * misc/preadv.c: Likewise.
21779 * misc/preadv64.c: Likewise.
21780 * misc/ptrace.c: Likewise.
21781 * misc/pwritev.c: Likewise.
21782 * misc/pwritev64.c: Likewise.
21783 * misc/readv.c: Likewise.
21784 * misc/reboot.c: Likewise.
21785 * misc/remap_file_pages.c: Likewise.
21786 * misc/removexattr.c: Likewise.
21787 * misc/revoke.c: Likewise.
21788 * misc/select.c: Likewise.
21789 * misc/setdomain.c: Likewise.
21790 * misc/setegid.c: Likewise.
21791 * misc/seteuid.c: Likewise.
21792 * misc/sethostid.c: Likewise.
21793 * misc/sethostname.c: Likewise.
21794 * misc/setregid.c: Likewise.
21795 * misc/setreuid.c: Likewise.
21796 * misc/setxattr.c: Likewise.
21797 * misc/sstk.c: Likewise.
21798 * misc/stty.c: Likewise.
21799 * misc/swapoff.c: Likewise.
21800 * misc/swapon.c: Likewise.
21801 * misc/sync.c: Likewise.
21802 * misc/syncfs.c: Likewise.
21803 * misc/syscall.c: Likewise.
21804 * misc/truncate.c: Likewise.
21805 * misc/ualarm.c: Likewise.
21806 * misc/usleep.c: Likewise.
21807 * misc/ustat.c: Likewise.
21808 * misc/utimes.c: Likewise.
21809 * misc/vhangup.c: Likewise.
21810 * misc/writev.c: Likewise.
21811 * posix/_exit.c: Likewise.
21812 * posix/alarm.c: Likewise.
21813 * posix/execve.c: Likewise.
21814 * posix/fexecve.c: Likewise.
21815 * posix/fork.c: Likewise.
21816 * posix/fpathconf.c: Likewise.
21817 * posix/getaddrinfo.c: Likewise.
21818 * posix/getegid.c: Likewise.
21819 * posix/geteuid.c: Likewise.
21820 * posix/getgid.c: Likewise.
21821 * posix/getgroups.c: Likewise.
21822 * posix/getlogin.c: Likewise.
21823 * posix/getlogin_r.c: Likewise.
21824 * posix/getpgid.c: Likewise.
21825 * posix/getpid.c: Likewise.
21826 * posix/getppid.c: Likewise.
21827 * posix/getresgid.c: Likewise.
21828 * posix/getresuid.c: Likewise.
21829 * posix/getsid.c: Likewise.
21830 * posix/getuid.c: Likewise.
21831 * posix/glob64.c: Likewise.
21832 * posix/nanosleep.c: Likewise.
21833 * posix/pathconf.c: Likewise.
21834 * posix/pause.c: Likewise.
21835 * posix/posix_madvise.c: Likewise.
21836 * posix/pread.c: Likewise.
21837 * posix/pread64.c: Likewise.
21838 * posix/pwrite.c: Likewise.
21839 * posix/pwrite64.c: Likewise.
21840 * posix/sched_getaffinity.c: Likewise.
21841 * posix/sched_getp.c: Likewise.
21842 * posix/sched_gets.c: Likewise.
21843 * posix/sched_primax.c: Likewise.
21844 * posix/sched_primin.c: Likewise.
21845 * posix/sched_rr_gi.c: Likewise.
21846 * posix/sched_setaffinity.c: Likewise.
21847 * posix/sched_setp.c: Likewise.
21848 * posix/sched_sets.c: Likewise.
21849 * posix/sched_yield.c: Likewise.
21850 * posix/setgid.c: Likewise.
21851 * posix/setlogin.c: Likewise.
21852 * posix/setpgid.c: Likewise.
21853 * posix/setresgid.c: Likewise.
21854 * posix/setresuid.c: Likewise.
21855 * posix/setsid.c: Likewise.
21856 * posix/setuid.c: Likewise.
21857 * posix/sleep.c: Likewise.
21858 * posix/spawni.c: Likewise.
21859 * posix/sysconf.c: Likewise.
21860 * posix/times.c: Likewise.
21861 * posix/wait.c: Likewise.
21862 * posix/wait3.c: Likewise.
21863 * posix/wait4.c: Likewise.
21864 * posix/waitpid.c: Likewise.
21865 * resolv/gai_sigqueue.c: Likewise.
21866 * resource/getpriority.c: Likewise.
21867 * resource/getrlimit.c: Likewise.
21868 * resource/getrusage.c: Likewise.
21869 * resource/nice.c: Likewise.
21870 * resource/setpriority.c: Likewise.
21871 * resource/setrlimit.c: Likewise.
21872 * resource/ulimit.c: Likewise.
21873 * rt/aio_cancel.c: Likewise.
21874 * rt/aio_fsync.c: Likewise.
21875 * rt/aio_read.c: Likewise.
21876 * rt/aio_sigqueue.c: Likewise.
21877 * rt/aio_suspend.c: Likewise.
21878 * rt/aio_write.c: Likewise.
21879 * rt/clock_getres.c: Likewise.
21880 * rt/clock_gettime.c: Likewise.
21881 * rt/clock_nanosleep.c: Likewise.
21882 * rt/clock_settime.c: Likewise.
21883 * rt/lio_listio.c: Likewise.
21884 * rt/mq_close.c: Likewise.
21885 * rt/mq_getattr.c: Likewise.
21886 * rt/mq_notify.c: Likewise.
21887 * rt/mq_open.c: Likewise.
21888 * rt/mq_receive.c: Likewise.
21889 * rt/mq_send.c: Likewise.
21890 * rt/mq_setattr.c: Likewise.
21891 * rt/mq_timedreceive.c: Likewise.
21892 * rt/mq_timedsend.c: Likewise.
21893 * rt/mq_unlink.c: Likewise.
21894 * rt/shm_open.c: Likewise.
21895 * rt/shm_unlink.c: Likewise.
21896 * rt/timer_create.c: Likewise.
21897 * rt/timer_delete.c: Likewise.
21898 * rt/timer_getoverr.c: Likewise.
21899 * rt/timer_gettime.c: Likewise.
21900 * rt/timer_settime.c: Likewise.
21901 * setjmp/__longjmp.c: Likewise.
21902 * setjmp/setjmp.c: Likewise.
21903 * signal/kill.c: Likewise.
21904 * signal/killpg.c: Likewise.
21905 * signal/raise.c: Likewise.
21906 * signal/sigaction.c: Likewise.
21907 * signal/sigaltstack.c: Likewise.
21908 * signal/sigblock.c: Likewise.
21909 * signal/sigignore.c: Likewise.
21910 * signal/sigintr.c: Likewise.
21911 * signal/signal.c: Likewise.
21912 * signal/sigpause.c: Likewise.
21913 * signal/sigpending.c: Likewise.
21914 * signal/sigqueue.c: Likewise.
21915 * signal/sigreturn.c: Likewise.
21916 * signal/sigset.c: Likewise.
21917 * signal/sigsetmask.c: Likewise.
21918 * signal/sigstack.c: Likewise.
21919 * signal/sigsuspend.c: Likewise.
21920 * signal/sigtimedwait.c: Likewise.
21921 * signal/sigvec.c: Likewise.
21922 * signal/sigwait.c: Likewise.
21923 * signal/sigwaitinfo.c: Likewise.
21924 * signal/sysv_signal.c: Likewise.
21925 * socket/accept.c: Likewise.
21926 * socket/accept4.c: Likewise.
21927 * socket/bind.c: Likewise.
21928 * socket/connect.c: Likewise.
21929 * socket/getpeername.c: Likewise.
21930 * socket/getsockname.c: Likewise.
21931 * socket/getsockopt.c: Likewise.
21932 * socket/isfdtype.c: Likewise.
21933 * socket/listen.c: Likewise.
21934 * socket/recv.c: Likewise.
21935 * socket/recvfrom.c: Likewise.
21936 * socket/recvmsg.c: Likewise.
21937 * socket/send.c: Likewise.
21938 * socket/sendmsg.c: Likewise.
21939 * socket/sendto.c: Likewise.
21940 * socket/setsockopt.c: Likewise.
21941 * socket/shutdown.c: Likewise.
21942 * socket/sockatmark.c: Likewise.
21943 * socket/socket.c: Likewise.
21944 * socket/socketpair.c: Likewise.
21945 * stdio-common/ctermid.c: Likewise.
21946 * stdio-common/cuserid.c: Likewise.
21947 * stdio-common/remove.c: Likewise.
21948 * stdio-common/rename.c: Likewise.
21949 * stdio-common/renameat.c: Likewise.
21950 * stdio-common/tempname.c: Likewise.
21951 * stdlib/getcontext.c: Likewise.
21952 * stdlib/makecontext.c: Likewise.
21953 * stdlib/setcontext.c: Likewise.
21954 * stdlib/swapcontext.c: Likewise.
21955 * stdlib/system.c: Likewise.
21956 * streams/fattach.c: Likewise.
21957 * streams/fdetach.c: Likewise.
21958 * streams/getmsg.c: Likewise.
21959 * streams/getpmsg.c: Likewise.
21960 * streams/putmsg.c: Likewise.
21961 * streams/putpmsg.c: Likewise.
21962 * sysdeps/unix/bsd/getpt.c: Likewise.
21963 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21964 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21965 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21968 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21969 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21970 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21971 * sysvipc/msgctl.c: Likewise.
21972 * sysvipc/msgget.c: Likewise.
21973 * sysvipc/msgrcv.c: Likewise.
21974 * sysvipc/msgsnd.c: Likewise.
21975 * sysvipc/semctl.c: Likewise.
21976 * sysvipc/semget.c: Likewise.
21977 * sysvipc/semop.c: Likewise.
21978 * sysvipc/semtimedop.c: Likewise.
21979 * sysvipc/shmat.c: Likewise.
21980 * sysvipc/shmctl.c: Likewise.
21981 * sysvipc/shmdt.c: Likewise.
21982 * sysvipc/shmget.c: Likewise.
21983 * termios/tcdrain.c: Likewise.
21984 * termios/tcflow.c: Likewise.
21985 * termios/tcflush.c: Likewise.
21986 * termios/tcgetattr.c: Likewise.
21987 * termios/tcgetpgrp.c: Likewise.
21988 * termios/tcsendbrk.c: Likewise.
21989 * termios/tcsetattr.c: Likewise.
21990 * termios/tcsetpgrp.c: Likewise.
21991 * time/adjtime.c: Likewise.
21992 * time/clock.c: Likewise.
21993 * time/getitimer.c: Likewise.
21994 * time/gettimeofday.c: Likewise.
21995 * time/setitimer.c: Likewise.
21996 * time/settimeofday.c: Likewise.
21997 * time/stime.c: Likewise.
21998 * time/time.c: Likewise.
22000 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22002 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22005 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22007 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22009 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22013 FE_TONEAREST before applying Dekker multiplication and Knuth
22014 addition. Clear inexact exceptions and check for exact zero
22015 results afterwards.
22016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22017 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22018 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22019 * math/libm-test.inc (fma_test): Add more tests.
22020 (fma_test_towardzero): Likewise.
22021 (fma_test_downward): Likewise.
22022 (fma_test_upward): Likewise.
22023 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22025 (libc_fesetround): New macro.
22026 (libc_fesetroundf): Likewise.
22027 (libc_fesetroundl): Likewise.
22028 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22030 (libc_fesetround_387): Likewise.
22031 (libc_fesetroundf): New macro.
22032 (libc_fesetround): Likewise.
22033 (libc_fesetroundl): Likewise.
22034 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22036 (libc_fesetroundf): New macro.
22037 (libc_fesetround): Likewise.
22038 (libc_fesetroundl): Likewise.
22039 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22040 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22041 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22043 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22044 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22046 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22047 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22049 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22053 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22054 integer constant usable in #if and use that to give value to enum
22056 (FE_DIVBYZERO): Likewise.
22057 (FE_UNDERFLOW): Likewise.
22058 (FE_OVERFLOW): Likewise.
22059 (FE_INVALID): Likewise.
22060 (FE_INVALID_SNAN): Likewise.
22061 (FE_INVALID_ISI): Likewise.
22062 (FE_INVALID_IDI): Likewise.
22063 (FE_INVALID_ZDZ): Likewise.
22064 (FE_INVALID_IMZ): Likewise.
22065 (FE_INVALID_COMPARE): Likewise.
22066 (FE_INVALID_SOFTWARE): Likewise.
22067 (FE_INVALID_SQRT): Likewise.
22068 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22069 (FE_TONEAREST): Likewise.
22070 (FE_TOWARDZERO): Likewise.
22071 (FE_UPWARD): Likewise.
22072 (FE_DOWNWARD): Likewise.
22073 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22074 (FE_DIVBYZERO): Likewise.
22075 (FE_OVERFLOW): Likewise.
22076 (FE_UNDERFLOW): Likewise.
22077 (FE_INEXACT): Likewise.
22078 (FE_TONEAREST): Likewise.
22079 (FE_DOWNWARD): Likewise.
22080 (FE_UPWARD): Likewise.
22081 (FE_TOWARDZERO): Likewise.
22082 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22083 (FE_UNDERFLOW): Likewise.
22084 (FE_OVERFLOW): Likewise.
22085 (FE_DIVBYZERO): Likewise.
22086 (FE_INVALID): Likewise.
22087 (FE_TONEAREST): Likewise.
22088 (FE_TOWARDZERO): Likewise.
22089 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22090 (FE_OVERFLOW): Likewise.
22091 (FE_UNDERFLOW): Likewise.
22092 (FE_DIVBYZERO): Likewise.
22093 (FE_INEXACT): Likewise.
22094 (FE_TONEAREST): Likewise.
22095 (FE_TOWARDZERO): Likewise.
22096 (FE_UPWARD): Likewise.
22097 (FE_DOWNWARD): Likewise.
22098 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22099 (FE_DIVBYZERO): Likewise.
22100 (FE_OVERFLOW): Likewise.
22101 (FE_UNDERFLOW): Likewise.
22102 (FE_INEXACT): Likewise.
22103 (FE_TONEAREST): Likewise.
22104 (FE_DOWNWARD): Likewise.
22105 (FE_UPWARD): Likewise.
22106 (FE_TOWARDZERO): Likewise.
22108 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22110 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22112 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22114 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22115 commands. Quote $PWD.
22116 (blacklist_exports): Don't use remove_newlines. Replace "declare
22118 (remove_newlines): Remove.
22120 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22122 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22123 * stdlib/stdlib.h (atof): Moved to ...
22124 * include/bits/stdlib-float.h: Here. New file.
22125 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22126 * stdlib/bits/stdlib-float.h: New file.
22127 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22129 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22132 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22134 * conform/conformtest.pl (@headers): Add fenv.h.
22135 * conform/data/fenv.h-data: New file.
22136 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22137 include of <math/fenv.h>.
22139 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22140 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22141 && !UNIX98]. Enables tests for XOPEN2K8.
22142 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22143 POSIX2008]: Likewise.
22145 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22146 (struct rusage): Do not expect type or its members.
22149 * math/math.h (FP_NAN): Define macro to integer constant usable in
22150 #if and use that to give value to enum constant.
22151 (FP_INFINITE): Likewise.
22152 (FP_ZERO): Likewise.
22153 (FP_SUBNORMAL): Likewise.
22154 (FP_NORMAL): Likewise.
22156 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22158 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22159 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22162 2012-11-02 Roland McGrath <roland@hack.frob.com>
22164 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22165 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22166 autoconf-time if not.
22167 * configure.in: Remove AC_PREREQ.
22169 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22171 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22172 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22173 of the internal implementation.
22175 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22177 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22178 except include of <misc/sys/syslog.h>.
22180 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22183 function returns with a NULL context exit with zero.
22185 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22187 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22189 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22191 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22192 (run_program_cmd): This.
22193 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22194 (tst_langinfo): New variable. Use it.
22196 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22198 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22199 floating point opcodes.
22201 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22203 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22206 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22208 * sysdeps/mach/hurd/powerpc: Remove directory.
22209 * sysdeps/mach/powerpc: Likewise.
22211 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22213 * scripts/check-local-headers.sh: Ignore c++ headers.
22215 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22217 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22218 __libc_cleanup_region_start argument.
22220 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22225 x * y using scaling, not as x * y + z.
22226 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22227 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22228 * math/libm-test.inc (fma_test): Add more tests.
22229 (fma_test_towardzero): Likewise.
22230 (fma_test_downward): Likewise.
22231 (fma_test_upward): Likewise.
22233 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22235 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22237 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22239 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22242 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22244 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22246 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22253 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22256 Fix the order of the list for glibc 2.17.
22257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22260 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22264 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22267 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22268 for low part of x being zero before using __atanl (y).
22269 * math/libm-test.inc (atan2_test): Add another test.
22271 * manual/install.texi (Configuring and compiling): Document
22272 general use of test-wrapper and test-wrapper-env.
22273 * INSTALL: Regenerated.
22275 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22276 (__fma): Do not extract and scale down low bits on after-rounding
22277 systems when result rounded to normal precision would have normal
22279 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22280 (__fmal): Do not extract and scale down low bits on after-rounding
22281 systems when result rounded to normal precision would have normal
22283 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22284 (__fmal): Do not extract and scale down low bits on after-rounding
22285 systems when result rounded to normal precision would have normal
22287 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22289 (fma_test): Add more tests.
22290 (fma_test_towardzero): Likewise.
22291 (fma_test_downward): Likewise.
22292 (fma_test_upward): Likewise.
22294 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22296 * sysdeps/i386/tininess.h: Renamed to ...
22297 * sysdeps/x86/tininess.h: This.
22298 * sysdeps/x86_64/tininess.h: Removed.
22300 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22302 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22303 input. Use $(build-program-cmd).
22304 ($(objpfx)tst-array1-static.out): Likewise.
22305 ($(objpfx)tst-array2.out): Likewise.
22306 ($(objpfx)tst-array3.out): Likewise.
22307 ($(objpfx)tst-array4.out): Likewise.
22308 ($(objpfx)tst-array5.out): Likewise.
22309 ($(objpfx)tst-array5-static.out): Likewise.
22311 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22313 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22316 * nss/nsswitch.h (nss_interface_function): Provide new
22317 macro for use with NSS functions.
22318 * grp/initgroups.c: Use new macro.
22319 * nss/getXXbyYY.c: Likewise.
22320 * nss/getXXbyYY_r.c: Likewise.
22321 * nss/getXXent.c: Likewise.
22322 * nss/getXXent_r.c: Likewise.
22323 * sysdeps/posix/getaddrinfo.c: Likewise.
22325 2012-10-30 Andreas Jaeger <aj@suse.de>
22327 * po/ru.po: Update Russion translation from translation project.
22329 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22334 result and shift together with sticky bit instead of replicating
22335 round-to-nearest rounding.
22336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22337 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22338 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22339 missing underflow exceptions.
22340 (fma_test_towardzero): Add more tests.
22341 (fma_test_downward): Likewise.
22342 (fma_test_upward): Likewise.
22345 * sysdeps/generic/tininess.h: New file.
22346 * sysdeps/i386/tininess.h: Likewise.
22347 * sysdeps/sh/tininess.h: Likewise.
22348 * sysdeps/x86_64/tininess.h: Likewise.
22349 * stdlib/tst-strtod-underflow.c: Likewise.
22350 * stdlib/tst-tininess.c: Likewise.
22351 * stdlib/strtod_l.c: Include <tininess.h>.
22352 (round_and_return): Do not set errno for exact underflow cases.
22353 Force an underflow exception when setting errno for underflow.
22354 Determine underflow based on rounding to normal precision if
22355 TININESS_AFTER_ROUNDING.
22356 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22357 ERANGE for exact underflow cases.
22358 * stdlib/Makefile (tests): Add tst-tininess and
22359 tst-strtod-underflow.
22360 ($(objpfx)tst-tininess): Use $(link-libm).
22361 ($(objpfx)tst-strtod-underflow): Likewise.
22363 2012-10-30 Andreas Jaeger <aj@suse.de>
22366 * elf/Makefile (tests): Remove conditional for have-initfini-array
22367 since this is now always required and the variable does not exist
22369 (tests-static): Likewise.
22370 (modules-names): Likewise.
22372 * po/eo.po: Add Esperanto translation from translation project.
22374 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22375 merged with constructor/destructor.
22376 (init_array): Likewise.
22377 * elf/tst-array2dep.c (fini_array): Likewise.
22378 (init_array): Likewise.
22380 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22382 * manual/message.texi: Delete @cartouche tags.
22384 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22386 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22388 * sysdeps/mach/hurd/fsync.c: Likewise.
22390 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22391 [_POSIX_REALTIME_SIGNALS]: Change condition to
22392 [_POSIX_REALTIME_SIGNALS > 0].
22394 2012-10-27 Andreas Jaeger <aj@suse.de>
22396 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22397 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22398 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22399 [__WORDSIZE != 64]: Likewise.
22401 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22403 * iconvdata/tst-table.sh: Remove ${SHELL}.
22404 * iconvdata/tst-tables.sh: Likewise.
22406 2012-10-25 David S. Miller <davem@davemloft.net>
22408 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22409 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22412 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22414 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22415 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22416 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22419 2012-10-25 Roland McGrath <roland@hack.frob.com>
22421 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22422 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22425 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22426 Jim Blandy <jimb@codesourcery.com>
22428 * scripts/cross-test-ssh.sh: New file.
22429 * manual/install.texi (Configuring and compiling): Document use of
22431 * INSTALL: Regenerated.
22433 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22435 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22438 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22440 * Makeconfig (run-program-prefix): Fix comment.
22442 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22443 Jim Blandy <jimb@codesourcery.com>
22445 * Makeconfig (test-wrapper): New variable,
22446 (test-wrapper-env): Likewise.
22447 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22448 (run-built-tests): Define to yes.
22449 (run-program-prefix): Use $(test-wrapper).
22450 (built-program-cmd): Likewise.
22451 * Rules (make-test-out): Use $(test-wrapper-env) and
22452 $(host-built-program-cmd).
22453 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22454 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22456 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22457 $(test-wrapper-env) to tst-rtld-load-self.sh.
22458 ($(objpfx)order2.out): Use $(test-wrapper).
22459 ($(objpfx)tst-initorder.out): Likewise.
22460 ($(objpfx)tst-initorder2.out): Likewise.
22461 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22462 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22463 (test_wrapper_env): New variable. Use it to run ld.so.
22464 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22465 Use it to run ld.so.
22466 (test_wrapper_env): Likewise.
22467 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22468 $(test-wrapper) to run-iconv-test.sh.
22469 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22470 (ICONV): Use $test_wrapper.
22471 * posix/Makefile ($(objpfx)globtest.out): Pass
22472 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22473 globtest.sh, not $(run-program-prefix).
22474 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22475 (test_wrapper): Likewise.
22476 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22477 set together with run_via_rtld_prefix.
22478 (run_program_prefix): Define in terms of test_wrapper and
22479 run_via_rtld_prefix.
22481 2012-10-24 Roland McGrath <roland@hack.frob.com>
22483 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22484 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22488 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22489 Declare __clock_getres, __clock_gettime, __clock_settime,
22490 __clock_nanosleep, and __clock_getcpuclockid.
22491 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22492 Remove librt_hidden_def (clock_gettime).
22493 * sysdeps/unix/clock_gettime.c: Likewise.
22494 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22495 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22496 * rt/clock_getres.c: Define __clock_getres as an alias.
22497 * sysdeps/posix/clock_getres.c: Likewise.
22498 * rt/clock_settime.c: Define __clock_settime as an alias.
22499 * sysdeps/unix/clock_settime.c: Likewise.
22500 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22501 * sysdeps/unix/clock_nanosleep.c: Likewise.
22502 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22503 * rt/clock-compat.c: New file.
22504 * rt/Makefile (librt-routines): Add clock-compat and move
22505 $(clock-routines) to ...
22506 (routines): ... here, new variable.
22507 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22508 Don't add get_clockfreq here.
22509 * rt/Versions (libc: GLIBC_2.17): New version set.
22510 Add clock_* symbols here.
22511 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22512 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22513 (GLIBC_2.17): Add clock_* symbols.
22514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22516 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22525 * NEWS: Mention the move.
22527 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22528 Use __open, __read, __close rather than their public counterparts.
22529 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22530 (__get_clockfreq_via_cpuinfo): Likewise.
22531 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22532 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22534 * config.h.in (HAVE_IFUNC): New #undef.
22535 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22537 * configure: Regenerated.
22539 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22541 * configure.in: Move READELF check to start of file.
22542 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22543 libc_cv_asm_gnu_indirect_function in the process.
22544 * configure: Regenerated.
22546 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22548 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22549 send the output to /dev/null.
22550 (libc_cv_cc_with_libunwind): Likewise.
22551 (libc_cv_as_noexecstack): Likewise.
22552 * configure: Regenerate.
22554 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22556 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22558 * posix/globtest.sh (TMPDIR): Do not set.
22559 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22560 (testout): Likewise.
22562 2012-10-24 Andreas Jaeger <aj@suse.de>
22564 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22565 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22566 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22567 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22568 posix_fadvise64, posix_fallocate64.
22570 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22571 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22572 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22574 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22576 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22579 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22580 <bits/fcntl-linux.h>.
22581 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22584 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22585 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22586 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22587 [__WORDSIZE != 64]: Likewise.
22589 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22591 * Makeconfig (run-built-tests): New variable.
22592 * Rules [$(cross-compiling) = yes]: Change condition to
22593 [$(run-built-tests) = no].
22594 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22595 to [$(run-built-tests) = yes].
22596 * elf/Makefile [$(cross-compiling) = no]: Likewise
22597 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22598 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22599 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22600 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22601 * io/Makefile [$(cross-compiling) = no]: Likewise.
22602 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22603 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22604 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22605 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22606 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22607 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22608 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22609 * string/Makefile [$(cross-compiling) = no]: Likewise.
22611 * posix/Makefile ($(objpfx)globtest.out): Pass
22612 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22613 $(rtld-installed-name).
22614 * posix/globtest.sh (elf_objpfx): Remove variable.
22615 (rtld_installed_name): Likewise.
22616 (library_path): Likewise.
22617 (run_program_prefix): New variable. Use for running globtest
22620 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22621 Joseph Myers <joseph@codesourcery.com>
22623 * Makeconfig (host-built-program-cmd): New variable.
22624 * elf/Makefile (tst-stackguard1-ARGS): Use
22625 $(host-built-program-cmd).
22626 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22627 (tst-spawn-ARGS): Likewise.
22628 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22630 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22631 Jim Blandy <jimb@codesourcery.com>
22633 * Makeconfig (run-via-rtld-prefix): New variable.
22634 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22635 (built-program-cmd): Likewise.
22637 2012-10-22 Andreas Jaeger <aj@suse.de>
22639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22640 __O_RSYNC if it exists, otherwise to O_SYNC.
22642 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22643 Joseph Myers <joseph@codesourcery.com>
22645 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22647 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22649 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22652 2012-10-22 Andreas Jaeger <aj@suse.de>
22654 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22656 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22659 bits/fcntl-linux.h.
22661 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22662 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22664 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22669 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22670 Joseph Myers <joseph@codesourcery.com>
22672 * config.make.in (NM): New variable.
22674 2012-10-21 Andreas Jaeger <aj@suse.de>
22676 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22677 definitions and declarations that are provided by
22678 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22680 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22683 * elf/Makefile (tests-static): Add tst-leaks1-static.
22684 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22685 ($(objpfx)tst-leaks1-static): New rule.
22686 ($(objpfx)tst-leaks1-static-mem): Likewise.
22687 (tst-leaks1-static-ENV): New macro.
22688 * elf/dl-open.c (dl_open_worker): Check the main application
22689 only if SHARED is defined.
22690 * elf/tst-leaks1-static.c: New file.
22692 2012-10-20 Andreas Jaeger <aj@suse.de>
22694 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22695 generic values for Linux.
22696 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22697 and declarations that are provided by <bits/fcntl-linux.h> and
22698 include <bits/fcntl-linux.h>.
22699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22700 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22702 2012-10-20 Roland McGrath <roland@hack.frob.com>
22704 * io/fcntl.h: Move include of <bits/types.h> to the top and
22705 include it unconditionally.
22707 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22709 * wcsmbs/Makefile (tests-ifunc): New variable.
22710 (tests): Add $(tests-ifunc).
22711 * wcsmbs/test-wcschr-ifunc.c: New file.
22712 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22713 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22714 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22715 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22716 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22718 * string/Makefile (tests-ifunc): New variable.
22719 (tests): Add $(tests-ifunc).
22720 * string/test-memccpy.c (TEST_NAME): New macro.
22721 * string/test-memchr.c (TEST_NAME): Likewise.
22722 * string/test-memcmp.c (TEST_NAME): Likewise.
22723 * string/test-memcpy.c (TEST_NAME): Likewise.
22724 * string/test-memmem.c (TEST_NAME): Likewise.
22725 * string/test-memmove.c (TEST_NAME): Likewise.
22726 * string/test-memset.c (TEST_NAME): Likewise.
22727 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22728 * string/test-stpcpy.c (TEST_NAME): Likewise.
22729 * string/test-stpncpy.c (TEST_NAME): Likewise.
22730 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22731 * string/test-strcasestr.c (TEST_NAME): Likewise.
22732 * string/test-strcat.c (TEST_NAME): Likewise.
22733 * string/test-strchr.c (TEST_NAME): Likewise.
22734 * string/test-strcmp.c(TEST_NAME): Likewise.
22735 * string/test-strcpy.c (TEST_NAME): Likewise.
22736 * string/test-strcspn.c (TEST_NAME): Likewise.
22737 * string/test-strlen.c (TEST_NAME): Likewise.
22738 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22739 * string/test-strncmp.c (TEST_NAME): Likewise.
22740 * string/test-strncpy.c (TEST_NAME): Likewise.
22741 * string/test-strnlen.c (TEST_NAME): Likewise.
22742 * string/test-strpbrk.c (TEST_NAME): Likewise.
22743 * string/test-strrchr.c (TEST_NAME): Likewise.
22744 * string/test-strspn.c (TEST_NAME): Likewise.
22745 * string/test-strstr.c (TEST_NAME): Likewise.
22746 * string/test-bcopy-ifunc.c: New file.
22747 * string/test-bzero-ifunc.c: Likewise.
22748 * string/test-memccpy-ifunc.c: Likewise.
22749 * string/test-memchr-ifunc.c: Likewise.
22750 * string/test-memcmp-ifunc.c: Likewise.
22751 * string/test-memcpy-ifunc.c: Likewise.
22752 * string/test-memmem-ifunc.c: Likewise.
22753 * string/test-memmove-ifunc.c: Likewise.
22754 * string/test-mempcpy-ifunc.c: Likewise.
22755 * string/test-memset-ifunc.c: Likewise.
22756 * string/test-rawmemchr-ifunc.c: Likewise.
22757 * string/test-stpcpy-ifunc.c: Likewise.
22758 * string/test-stpncpy-ifunc.c: Likewise.
22759 * string/test-strcasecmp-ifunc.c: Likewise.
22760 * string/test-strcasestr-ifunc.c: Likewise.
22761 * string/test-strcat-ifunc.c: Likewise.
22762 * string/test-strchr-ifunc.c: Likewise.
22763 * string/test-strchrnul-ifunc.c: Likewise.
22764 * string/test-strcmp-ifunc.c: Likewise.
22765 * string/test-strcpy-ifunc.c: Likewise.
22766 * string/test-strcspn-ifunc.c: Likewise.
22767 * string/test-strlen-ifunc.c: Likewise.
22768 * string/test-strncasecmp-ifunc.c: Likewise.
22769 * string/test-strncat-ifunc.c: Likewise.
22770 * string/test-strncmp-ifunc.c: Likewise.
22771 * string/test-strncpy-ifunc.c: Likewise.
22772 * string/test-strnlen-ifunc.c: Likewise.
22773 * string/test-strpbrk-ifunc.c: Likewise.
22774 * string/test-strrchr-ifunc.c: Likewise.
22775 * string/test-strspn-ifunc.c: Likewise.
22776 * string/test-strstr-ifunc.c: Likewise.
22778 * debug/Makefile (tests-ifunc): New variable.
22779 (tests): Add $(tests-ifunc).
22780 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22781 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22782 * debug/test-stpcpy_chk-ifunc.c: New file.
22783 * debug/test-strcpy_chk-ifunc.c: Likewise.
22785 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22788 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22789 header is not read in.
22791 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22793 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22794 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22795 directly. Pass built executable to script as
22796 $(built-program-cmd).
22797 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22798 $testprogram without using LD_LIBRARY_PATH and $ldso.
22800 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22801 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22802 $(rtld-installed-name).
22803 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22804 (rtld_installed_name): Likewise.
22805 (library_path): Likewise.
22806 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22807 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22808 $(run-program-prefix) to tst-tables.sh.
22809 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22810 it to run tst-table-from and tst-table-to.
22811 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22812 Pass it to tst-table.sh.
22813 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22814 $(run-program-prefix) to tst-gettext.sh.
22815 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22817 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22819 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22820 to run tst-gettext.
22821 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22822 to run tst-gettext2.
22823 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22824 to run tst-translit.
22825 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22826 $(run-program-prefix) to tst-mtrace.sh.
22827 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22829 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22830 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22831 $(rtld-installed-name).
22832 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22833 (rtld_installed_name): Likewise.
22834 (run_program_prefix): New variable. Use it to run wordexp-test.
22836 * Makeconfig (ARCH): Remove all definitions.
22837 (machine): Likewise.
22838 [ARCH]: Remove conditional code.
22839 [!objdir]: Give error.
22840 [!objdir] (objpfx): Remove.
22841 [!objdir] (common-objpfx): Likewise.
22842 [!objdir] (common-objdir): Likewise.
22843 * configure.in (config_makefile): Remove. Hardcode Makefile in
22844 AC_CONFIG_FILES call.
22845 * configure: Regenerated.
22848 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22850 (testout): Likewise.
22852 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22853 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22854 $(rtld-installed-name).
22855 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22856 (rtld_installed_name): Likwise.
22857 (runit): Remove function.
22858 (run_getconf): New variable, Use it for running getconf binary.
22860 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22863 * string/test-memmem.c (check_result): New function.
22864 (do_one_test): Use it.
22865 (check1): New function.
22866 (test_main): Use it.
22868 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22870 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22872 2012-10-18 Joseph Myers <joseph@codesourcery.com>
22874 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22875 (_G_LSEEK64): Likewise.
22876 (_G_MMAP64): Likewise.
22877 (_G_FSTAT64): Likewise.
22878 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22879 (_G_LSEEK64): Likewise.
22880 (_G_MMAP64): Likewise.
22881 (_G_FSTAT64): Likewise.
22882 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22883 unconditional. Call __mmap64 directly.
22884 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22885 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22886 __lseek64 directly.
22887 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22888 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22890 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22891 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22892 __lseek64 directly.
22893 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22894 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22895 __lseek64 directly.
22896 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22897 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22898 __lseek64 directly.
22899 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22900 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22901 __fxstat64 directly.
22902 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22903 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22905 (freopen64) [!_G_OPEN64]: Remove conditional code.
22906 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22908 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22909 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22911 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22912 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22914 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22915 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22917 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22918 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22920 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22921 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22923 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22924 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22926 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22928 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22931 * manual/memory.texi (Malloc Tunable Parameters): Add note
22932 about free list pointers overwriting some perturb bytes.
22933 Wording suggested by Roland McGrath.
22935 2012-10-17 Joseph Myers <joseph@codesourcery.com>
22937 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22938 (lgamma_test): Likewise.
22939 (tgamma_test): Likewise.
22941 2012-10-16 Florian Weimer <fweimer@redhat.com>
22944 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22945 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22947 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22949 * NEWS: Mention BZ #14716.
22950 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22951 when removing AVAILABLE1_USES_J macro.
22953 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22955 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22956 (__bswap_64): __uint64_t for unsigned 64-bit int.
22958 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22960 * include/string.h (memmem): Declare libc hidden alias.
22961 * string/memmem.c (memmem): Define libc hidden alias.
22962 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22963 __read, __close instead of open, read, close.
22965 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22967 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22968 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22970 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22971 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22972 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22974 (__rawmemchr_sse2): Likewise.
22975 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22976 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22977 (__strchr_sse2): Likewise.
22978 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22979 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22980 (__strcasecmp_sse2): Likewise.
22981 (__strncasecmp_sse2): Likewise.
22982 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22983 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22984 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22985 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22986 (__strrchr_sse2): Likewise.
22987 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22989 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22990 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22991 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22992 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22993 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22994 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22995 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22996 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22997 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22998 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22999 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23000 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23001 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23002 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23003 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23004 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23005 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23006 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23007 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23008 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23009 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23010 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23011 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23012 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23013 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23014 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23015 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23016 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23017 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23018 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23020 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23022 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23023 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23024 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23025 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23027 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23029 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23030 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23031 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23032 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23034 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23035 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23036 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23037 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23038 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23039 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23040 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23041 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23042 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23043 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23044 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23045 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23046 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23047 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23048 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23049 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23050 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23051 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23052 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23053 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23054 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23055 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23056 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23057 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23058 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23059 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23060 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23061 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23062 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23063 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23064 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23065 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23066 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23067 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23068 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23069 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23070 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23071 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23072 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23073 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23074 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23076 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23077 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23078 * include/ifunc-impl-list.h: New file.
23079 * misc/ifunc-impl-list.c: Likewise.
23080 * misc/Makefile (routines): Add ifunc-impl-list.
23081 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23082 * string/test-string.h: Include <ifunc-impl-list.h>.
23083 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23084 impl_array): New variables.
23085 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23087 (test_init): Call __libc_ifunc_impl_list to initialize
23088 func_list if TEST_IFUNC and TEST_NAME are defined.
23090 * string/Makefile (strop-tests): Add bcopy and bzero.
23091 * string/test-bcopy.c: New file.
23092 * string/test-bzero.c: Likewise.
23093 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23095 * string/test-memset.c: Support bzero test if TEST_BZERO is
23097 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23099 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23101 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23104 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23106 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23107 * configure: Regenerated.
23109 * Makeconfig (+link-static-before-libc): Don't include
23110 $(link-static-libc).
23112 * libio/libio.h (_IO_pos_t): Remove.
23114 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23116 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23119 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23121 * crypt/crypt-entry.c: Include fips-private.h.
23122 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23123 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23124 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23125 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23127 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23129 * crypt/crypt-private.h: Include stdbool.h.
23130 (_ufc_setup_salt_r): Return bool.
23131 * crypt/crypt-entry.c: Include errno.h.
23132 (__crypt_r): Return NULL with EINVAL for bad salt.
23133 * crypt/crypt_util.c (bad_for_salt): New.
23134 (_ufc_setup_salt_r): Check that salt is long enough and within
23135 the specified alphabet.
23136 * crypt/badsalttest.c: New file.
23137 * crypt/Makefile (tests): Add it.
23138 ($(objpfx)badsalttest): New.
23140 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23142 * NEWS: Add entry for BZ #14602.
23144 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23146 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23148 * math/libm-test.inc: Update comment listing what functions and
23150 (isgreater_test): New function.
23151 (isgreaterequal_test): Likewise.
23152 (isless_test): Likewise.
23153 (islessequal_test): Likewise.
23154 (islessgreater_test): Likewise.
23155 (isunordered_test): Likewise.
23156 (main): Call the new functions.
23158 2012-10-09 Roland McGrath <roland@hack.frob.com>
23160 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23161 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23162 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23163 * sysdeps/i386/configure: Regenerated.
23164 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23165 * sysdeps/mach/configure: Regenerated.
23166 * sysdeps/mach/hurd/configure: Regenerated.
23167 * sysdeps/powerpc/configure: Regenerated.
23168 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23169 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23170 * sysdeps/s390/s390-32/configure: Regenerated.
23171 * sysdeps/s390/s390-64/configure: Regenerated.
23172 * sysdeps/sh/configure: Regenerated.
23173 * sysdeps/sparc/configure: Regenerated.
23174 * sysdeps/unix/sysv/linux/configure: Regenerated.
23175 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23176 * sysdeps/x86_64/configure: Regenerated.
23178 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23179 defined. Don't check if MAP is NULL.
23181 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23183 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23184 (_G_stat64): Likewise.
23185 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23186 (_G_stat64): Likewise.
23187 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23188 instead of struct _G_stat64.
23189 * libio/fileops.c (mmap_remap_check): Likewise.
23190 (decide_maybe_mmap): Likewise.
23191 (_IO_new_file_seekoff): Likewise.
23192 (_IO_file_stat): Likewise.
23193 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23195 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23196 instead of struct _G_stat64.
23197 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23199 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23202 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23204 (CHECK_EOL): New macro.
23205 (two_way_short_needle): Check beginning of haystack for EOL. Use
23207 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23208 Replace with CHECK_EOL.
23209 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23210 Replace with CHECK_EOL.
23212 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23214 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23216 * math/libm-test.inc: Update comment listing what functions and
23218 (finite_test): New function.
23219 (isinf_test): Likewise.
23220 (isnan_test): Likewise.
23221 (fpclassify_test): Test subnormal input.
23222 (isfinite_test): Likewise.
23223 (isnormal_test): Likewise.
23224 (main): Call the new functions.
23226 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23229 * Makerules (%.dynsym): Force C locale when running
23230 $(OBJDUMP) --dynamic-syms.
23232 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23234 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23237 2012-10-06 David S. Miller <davem@davemloft.net>
23239 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23240 upper 32-bits of the length value in %o2 since we use branch-on-register
23241 tests which consider the entire 64-bit register.
23243 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23245 * string/test-strstr.c (check2): Add a test for page boundary.
23247 2012-10-05 David S. Miller <davem@davemloft.net>
23249 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23250 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23252 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23254 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23255 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23256 and bzero when HWCAP_SPARC_CRYPTO is present.
23258 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23261 * string/test-strstr.c (check2): New function.
23262 (test_main): Call check2.
23264 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23266 * string/bug-strcasestr1.c (do_test): Moved to ...
23267 * string/test-strcasestr.c (check1): Here. New function.
23268 (do_one_test): Break out result checking code into ...
23269 (check_result): This. New function.
23270 (do_one_test): Call check_result.
23271 (test_main): Call check1.
23272 * string/bug-strchr1.c (do_test): Moved to ...
23273 * string/test-strchr.c (check1): Here. New function.
23274 (do_one_test): Break out result checking code into ...
23275 (check_result): This. New function.
23276 (do_one_test): Call check_result.
23277 (test_main): Call check1.
23278 * string/bug-strstr1.c (main): Moved to ...
23279 * string/test-strstr.c (check1): Here. New function.
23280 (do_one_test): Break out result checking code into ...
23281 (check_result): This. New function.
23282 (do_one_test): Call check_result.
23283 (test_main): Call check1.
23284 * string/bug-strcasestr1.c: Removed.
23285 * string/bug-strchr1.c: Likewise.
23286 * string/bug-strstr1.c: Likewise.
23288 * elf/Makefile (dl-routines): Add hwcaps.
23289 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23290 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23291 (_dl_important_hwcaps): Moved to ...
23292 * elf/dl-hwcaps.c: Here. New file.
23293 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23296 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23297 if IS_IN_rtld isn't defined.
23299 * elf/dl-support.c (_dl_sysinfo_map): New.
23300 Include "get-dynamic-info.h" and "setup-vdso.h".
23301 (_dl_non_dynamic_init): Call setup_vdso.
23302 * elf/dynamic-link.h: Don't include <assert.h>.
23303 (elf_get_dynamic_info): Moved to ...
23304 * elf/get-dynamic-info.h: Here. New file.
23305 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23306 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23307 * elf/setup-vdso.h: Here. New file.
23308 * elf/rtld.c: Include "setup-vdso.h".
23309 (dl_main): Call setup_vdso.
23311 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23313 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23314 creal in comment listing functions tested. List finite, isinf,
23315 isnan, isless, islessequal, isgreater, isgreaterequal,
23316 islessgreater, isunordered, lgamma_r and pow10 as functions and
23317 macros not tested. Mention which functions not tested are aliases
23318 for other functions. Fix typo. Note that signs of NaNs are not
23321 * scripts/config.guess: Update from config.git.
23322 * scripts/config.sub: Likewise.
23324 2012-10-04 Roland McGrath <roland@hack.frob.com>
23326 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23327 * misc/madvise.c (madvise): Renamed to __madvise.
23328 Make madvise a weak alias.
23329 * include/sys/mman.h: Declare __madvise.
23330 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23331 * sysdeps/unix/syscalls.list
23332 (madvise): Make __madvise the strong name, and madvise a weak alias.
23333 * sysdeps/unix/sysv/linux/syscalls.list
23334 (madvise, mmap): Remove redundant entries.
23335 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23336 * malloc/malloc.c (mtrim): Likewise.
23337 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23339 2012-10-03 Roland McGrath <roland@hack.frob.com>
23341 * sysdeps/mach/hurd/dl-cache.c: File removed.
23342 * config.h.in (USE_LDCONFIG): New #undef.
23343 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23344 * configure: Regenerated.
23345 * elf/Makefile (dl-routines): Add dl-cache only under
23346 [$(use-ldconfig) = yes].
23347 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23348 cache on [USE_LDCONFIG].
23349 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23351 * elf/rtld.c (dl_main): Likewise.
23353 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23355 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23356 _SC_LEVEL4_CACHE_LINESIZE.
23358 2012-10-03 Roland McGrath <roland@hack.frob.com>
23360 * sysdeps/unix/bsd/confstr.h: File removed.
23362 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23364 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23367 2012-10-02 Roland McGrath <roland@hack.frob.com>
23369 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23370 Make 'mapoff' field ElfW(Off) rather than off_t.
23372 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23374 * nscd/Makefile: Remove nscd-cflags and all its users.
23375 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23376 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23379 * malloc.c (malloc_printerr): Clarify error message.
23381 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23385 Set bit_FMA_Usable if FMA is supported.
23386 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23388 (bit_FMA4_Usable): Updated.
23389 (index_FMA_Usable): New macro.
23390 (CPUID_FMA): Likewise
23391 (HAS_FMA): Defined with bit_FMA_Usable.
23393 2012-10-01 Roland McGrath <roland@hack.frob.com>
23395 * bits/types.h (__swblk_t): Type removed.
23396 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23397 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23398 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23399 (__SWBLK_T_TYPE): Likewise.
23400 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23401 (__SWBLK_T_TYPE): Likewise.
23402 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23403 (__SWBLK_T_TYPE): Likewise.
23404 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23405 (__SWBLK_T_TYPE): Likewise.
23407 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23408 Honza Horak <hhorak@redhat.com>
23410 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23411 (xdr_mapname): Use YPMAXMAP as maxsize.
23412 (xdr_peername): Use YPMAXPEER as maxsize.
23413 (xdr_keydat): Use YPAXRECORD as maxsize.
23414 (xdr_valdat): Use YPMAXRECORD as maxsize.
23416 2012-10-01 Roland McGrath <roland@hack.frob.com>
23418 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23420 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23421 * csu/init-first.c: ... here.
23422 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23423 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23424 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23425 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23426 * sysdeps/i386/init-first.c: File removed.
23427 * sysdeps/sh/init-first.c: File removed.
23429 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23433 if x * y might underflow to zero and z is zero.
23434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23435 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23436 * math/libm-test.inc (min_subnorm_value): New variable.
23437 (fma_test): Add more tests.
23438 (fma_test_towardzero): Likewise.
23439 (fma_test_downward): Likewise
23440 (fma_test_upward): Likewise.
23441 (initialize): Set min_subnorm_value.
23443 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23448 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23449 mode for addition resulting in exact zero.
23450 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23451 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23453 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23454 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23455 * math/libm-test.inc (fma_test): Add more tests.
23456 (fma_test_towardzero): New function.
23457 (fma_test_downward): Likewise.
23458 (fma_test_upward): Likewise.
23459 (main): Call the new functions.
23461 2012-09-28 David S. Miller <davem@davemloft.net>
23463 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23465 2012-09-28 Roland McGrath <roland@hack.frob.com>
23467 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23468 instead of SIGALRM.
23470 * sysdeps/gnu/_G_config.h: Moved to ...
23471 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23472 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23473 * sysdeps/generic/_G_config.h: ... here.
23475 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23477 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23479 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23480 Conditionalize target on [libnss_test1.so-version].
23482 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23484 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23485 (elfobjdir): Move out of conditionals.
23487 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23488 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23489 (__nss_lookup_function): Conditionalize label remove_from_tree on
23490 [!DO_STATIC_NSS || SHARED], matching its only use.
23492 2012-09-28 David S. Miller <davem@davemloft.net>
23494 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23495 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23497 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23499 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23501 when HWCAP_SPARC_CRYPTO is present.
23503 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23505 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23507 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23510 * stdio-common/vfprintf.c (process_string_arg): Revert
23513 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23515 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23517 * stdio-common/tst-sprintf.c: Include <locale.h>
23518 (main): Test sprintf's handling of incomplete multibyte
23521 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23523 * elf/dl-runtime.c (VERSYMIDX): Removed.
23524 * elf/dl-version.c (VERSYMIDX): Likewise.
23525 * elf/do-rel.h (VERSYMIDX): Likewise.
23526 (VALIDX): Likewise.
23527 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23528 * elf/rtld.c (VALIDX): Likewise.
23529 (ADDRIDX): Likewise.
23530 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23531 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23532 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23533 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23534 (VALIDX): Likewise.
23535 (ADDRIDX): Likewise.
23537 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23539 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23541 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23544 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23546 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23547 addresses are in the same scope as 192.0.2/24.
23548 * posix/gai.conf: Document new scope table defaults.
23550 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23553 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23554 for ftell. Compute offsets from write pointers instead.
23555 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23557 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23560 * libio/Makefile (tests): New test case tst-fseek.
23561 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23562 combination works in wide mode.
23563 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23564 state when the external buffer state changes.
23566 2012-09-27 David S. Miller <davem@davemloft.net>
23569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23570 pass reloc->r_addend in as the 'high' argument to
23571 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23575 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23577 * rt/tst-aio2.c: Include <pthread.h>.
23578 * rt/tst-aio3.c: Likewise.
23580 2012-09-27 Steve Ellcey <sellcey@mips.com>
23582 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23584 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23586 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23587 contents on [SHARED].
23589 2012-09-26 Marek Polacek <polacek@redhat.com>
23593 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23594 for C++ and GCC <4.3 as well as for non GCC compilers.
23596 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23600 2012-09-25 Roland McGrath <roland@hack.frob.com>
23602 * Makefile.in (all, install): Declare with .PHONY.
23603 Reported by Michael Hope <michael.hope@linaro.org>.
23605 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23607 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23608 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23610 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23612 (sydep_routines): Add the new and the internal functions.
23613 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23614 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23616 (GLIBC_2.17): Add the new function.
23617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23618 (GLIBC_2.17): Likewise.
23619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23620 (GLIBC_2.17): Likewise.
23621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23622 (GLIBC_2.17): Likewise.
23623 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23625 2012-09-25 Alan Modra <amodra@gmail.com>
23627 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23628 Add release barrier before setting once_control to say
23629 initialisation is done. Add hints on lwarx. Use macro in
23631 (clear_once_control): Add release barrier.
23633 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23636 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23638 * math/s_clog10.c (__clog10): Likewise.
23639 * math/s_clog10f.c (__clog10f): Likewise.
23640 * math/s_clog10l.c (__clog10l): Likewise.
23641 * math/s_clogf.c (__clogf): Likewise.
23642 * math/s_clogl.c (__clogl): Likewise.
23643 * math/Makefile (libm-calls): Add x2y2m1.
23644 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23645 (__x2y2m1): Likewise.
23646 (__x2y2m1l): Likewise.
23647 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23648 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23649 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23650 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23651 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23652 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23653 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23654 * sysdeps/i386/fpu/libm-test-ulps: Update.
23655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23658 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23659 int as type of variable DEPTH.
23660 (glob): Use size_t instead of int as type of variables NEWCOUNT
23663 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23665 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23666 Add s_sincosf-sse2.
23667 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23668 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23669 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23670 macros for using routine as __sincosf_ia32.
23671 Use macro for function declaration and weak_alias.
23672 * sysdeps/i386/fpu/libm-test-ulps: Update.
23674 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23677 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23678 subnormal argument.
23679 * math/s_cexpf.c (__cexpf): Likewise.
23680 * math/s_csinf.c (__csinf): Likewise.
23681 * math/s_csinhf.c (__csinhf): Likewise.
23682 * math/s_ctanf.c (__ctanf): Likewise.
23683 * math/s_ctanhf.c (__ctanhf): Likewise.
23684 * math/s_ccosh.c (__ccoshf): Likewise.
23685 * math/s_cexp.c (__cexpl): Likewise.
23686 * math/s_csin.c (__csin): Likewise.
23687 * math/s_csinh.c (__csinh): Likewise.
23688 * math/s_ctan.c (__ctan): Likewise.
23689 * math/s_ctanh.c (ctanh): Likewise.
23690 * math/s_ccoshl.c (__ccoshl): Likewise.
23691 * math/s_cexpl.c (__cexpl): Likewise.
23692 * math/s_csinl.c (__csinl): Likewise.
23693 * math/s_csinhl.c (__csinhl): Likewise.
23694 * math/s_ctanl.c (__ctanl): Likewise.
23695 * math/s_ctanhl.c (__ctanhl): Likewise.
23697 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23699 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23700 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23701 (_IO_off_t): Define to __off_t, not _G_off_t.
23702 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23703 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23704 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23705 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23706 type of __dummy and __dummy2 fields.
23707 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23708 (_G_ssize_t): Likewise.
23709 (_G_off_t): Likewise.
23710 (_G_pid_t): Likewise.
23711 (_G_uid_t): Likewise.
23712 (_G_wchar_t): Likewise.
23713 (_G_wint_t): Likewise.
23714 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23715 (_G_ssize_t): Likewise.
23716 (_G_off_t): Likewise.
23717 (_G_pid_t): Likewise.
23718 (_G_uid_t): Likewise.
23719 (_G_wchar_t): Likewise.
23720 (_G_wint_t): Likewise.
23721 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23722 (_G_ssize_t): Likewise.
23723 (_G_off_t): Likewise.
23724 (_G_pid_t): Likewise.
23725 (_G_uid_t): Likewise.
23726 (_G_wchar_t): Likewise.
23727 (_G_wint_t): Likewise.
23729 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23731 * malloc/arena.c: Include malloc-sysdep.h.
23732 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23733 is sufficient to shrink the heap or an unmap is needed.
23734 * sysdeps/generic/malloc-sysdep.h: New file. Define
23735 new function check_may_shrink_heap.
23736 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23737 new function check_may_shrink_heap.
23739 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23741 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23744 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23746 * catgets/test-gencat.sh: Add "set -e".
23747 * elf/tst-pathopt.sh: Likewise.
23748 * grp/tst_fgetgrent.sh: Likewise.
23749 * iconvdata/run-iconv-test.sh: Likewise.
23750 * intl/tst-gettext.sh: Likewise.
23751 * intl/tst-gettext2.sh: Likewise.
23752 * intl/tst-gettext4.sh: Likewise.
23753 * intl/tst-gettext6.sh: Likewise.
23754 * intl/tst-translit.sh: Likewise.
23755 * io/ftwtest-sh: Likewise.
23756 * libio/test-freopen.sh: Likewise.
23757 * malloc/tst-mtrace.sh: Likewise.
23758 * posix/globtest.sh: Likewise.
23759 * posix/tst-getconf.sh: Likewise.
23760 * posix/wordexp-tst.sh: Likewise.
23761 * stdio-common/tst-printf.sh: Likewise.
23762 * stdio-common/tst-unbputc.sh: Likewise.
23763 * stdlib/tst-fmtmsg.sh: Likewise.
23764 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23765 * catgets/Makefile: Do not specify -e option when running
23766 testsuite shell scripts.
23767 * elf/Makefile: Likewise.
23768 * grp/Makefile: Likewise.
23769 * iconvdata/Makefile: Likewise.
23770 * intl/Makefile: Likewise.
23771 * io/Makefile: Likewise.
23772 * libio/Makefile: Likewise.
23773 * malloc/Makefile: Likewise.
23774 * posix/Makefile: Likewise.
23775 * stdio-common/Makefile: Likewise.
23776 * stdlib/Makefile: Likewise.
23777 * sysdeps/x86_64/Makefile: Likewise.
23779 * io/ftwtest-sh: Add copyright header.
23780 * posix/globtest.sh: Likewise.
23781 * posix/tst-getconf.sh: Likewise.
23782 * posix/wordexp-tst.sh: Likewise.
23783 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23785 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23788 * Makeconfig (+link): Defined as $(+link-static) if
23789 $(build-shared) isn't yes.
23790 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23792 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23794 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23797 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23798 new chunk size with MALLOC_ALIGN_MASK.
23800 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23803 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23805 (__printf_fphex): Determine rounding using get_rounding_mode and
23807 * stdio-common/tst-printf-round.c (struct hex_test): New
23809 (hex_tests): New variable.
23810 (test_hex_in_one_mode): New function.
23811 (do_test): Also run tests for hex float output.
23813 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23815 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23816 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23817 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23818 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23819 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23820 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23821 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23822 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23824 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23826 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23827 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23828 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23829 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23831 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23834 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23836 * elf/tst-rtld-load-self.sh: New test.
23837 * elf/Makefile: Run it.
23839 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23841 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23842 (tst-writev-ENV): Remove.
23843 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23845 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23847 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23849 2012-09-17 Joseph Myers <joseph@codesourcery.com>
23851 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23853 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23855 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23856 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23857 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23860 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23863 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23864 * config.make.in (have-cpp-asm-debuginfo): Removed.
23865 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23866 * configure: Regenerated.
23868 2012-09-14 Joseph Myers <joseph@codesourcery.com>
23871 * stdio-common/printf_fp.c: Include <stdbool.h> and
23873 (___printf_fp): Determine rounding using get_rounding_mode and
23875 * stdio-common/tst-printf-round.c: New file.
23876 * stdio-common/Makefile (tests): Add tst-printf-round.
23877 (link-libm): New variable.
23878 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23880 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23883 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23884 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23886 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23889 2012-09-13 Joseph Myers <joseph@codesourcery.com>
23891 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23892 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23893 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23894 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23896 2012-09-12 Joseph Myers <joseph@codesourcery.com>
23899 * include/rounding-mode.h: New file.
23900 * sysdeps/generic/get-rounding-mode.h: Likewise.
23901 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23902 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23903 (MAX_VALUE): New macro.
23904 (MIN_VALUE): Likewise.
23905 (overflow_value): New function.
23906 (underflow_value): Likewise.
23907 (round_and_return): Use overflow_value and underflow_value to
23908 determine return values in overflow and underflow cases. Use
23909 round_away to determine rounding depending on rounding mode.
23910 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23911 determine return values in overflow and underflow cases.
23912 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23913 (struct test_results): New structure.
23914 (struct test): Use struct test_results to store expected results
23915 for all rounding modes.
23916 (TEST): Include expected results for all rounding modes.
23917 (test_in_one_mode): New function.
23918 (do_test): Use test_in_one_mode to compute and check results.
23919 Check results for all rounding modes.
23920 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23923 2012-12-09 Allan McRae <allan@archlinux.org>
23925 * sysdeps/i386/fpu/libm-test-ulps: Update
23927 2012-09-11 Joseph Myers <joseph@codesourcery.com>
23929 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23930 (_G_int32_t): Likewise.
23931 (_G_uint16_t): Likewise.
23932 (_G_uint32_t): Likewise.
23933 (_G_HAVE_BOOL): Likewise.
23934 (_G_HAVE_ATEXIT): Likewise.
23935 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23936 (_G_HAVE_IO_FILE_OPEN): Likewise.
23937 * sysdeps/gnu/_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/mach/hurd/_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.
23954 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23956 * csu/libc-tls.c: Update copyright years.
23958 2012-09-10 Joseph Myers <joseph@codesourcery.com>
23960 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23961 [!_G_USING_THUNKS]: Remove conditional code.
23962 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23963 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23965 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23966 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23967 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23968 (_G_VTABLE_LABEL_PREFIX): Likewise.
23969 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23970 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23971 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23972 (_G_VTABLE_LABEL_PREFIX): Likewise.
23973 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23974 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23975 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23976 (_G_VTABLE_LABEL_PREFIX): Likewise.
23977 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23979 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23981 * libio/Makefile: Include ../Makeconfig before tests.
23982 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23983 only if $(build-shared) is yes.
23985 * iconv/gconv_db.c: Update copyright years.
23987 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23989 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23990 unwind info if defined PIC. Fix special cases description.
23991 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23993 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23995 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23997 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23999 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24001 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24004 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24005 (LDLIBS-tst-chk4): This.
24006 (LDFLAGS-tst-chk5): Renamed to ...
24007 (LDLIBS-tst-chk5): This.
24008 (LDFLAGS-tst-chk6): Renamed to ...
24009 (LDLIBS-tst-chk6): This.
24010 (LDFLAGS-tst-lfschk4): Renamed to ...
24011 (LDLIBS-tst-lfschk4): This.
24012 (LDFLAGS-tst-lfschk5): Renamed to ...
24013 (LDLIBS-tst-lfschk5): This.
24014 (LDFLAGS-tst-lfschk6): Renamed to ...
24015 (LDLIBS-tst-lfschk6): This.
24017 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24018 on $(common-objpfx)soversions.mk.
24020 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24023 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24026 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24028 * malloc/arena.c (arena_get_retry): New function that gets
24029 another arena for the caller to try its request on.
24030 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24031 current arena cannot fulfill the request.
24032 (__libc_memalign): Likewise.
24033 (__libc_memalign): Likewise.
24034 (__libc_pvalloc): Likewise.
24035 (__libc_calloc): Likewise.
24037 2012-09-05 John Tobey <john.tobey@gmail.com>
24040 * manual/arith.texi (Operations on Complex): Fix description
24041 of carg branch cut.
24043 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24046 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24050 * manual/memory.texi (Memory): Make order of menu items match
24053 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24055 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24056 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24057 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24059 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24061 * csu/libc-tls.c (static_dtv): Renamed to ...
24062 (_dl_static_dtv): This. Make it global.
24063 (_dl_initial_dtv): Removed.
24064 (__libc_setup_tls): Updated.
24065 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24066 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24069 2012-09-06 Petr Machata <pmachata@redhat.com>
24071 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24072 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24073 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24074 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24076 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24079 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24080 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24083 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24086 * Makeconfig (link-static-before-libc): Replace $(+prector)
24088 (link-static-after-libc): Replace $(+postctor) with
24090 (link-bounded): Replace $(+prector)/$(+postctor) with
24091 $(+prectorT)/$(+postctorT).
24092 (+prectorT): New macro.
24093 (+postctorT): Likewise.
24095 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24097 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24098 (round_str): Handle values above the maximum for IBM long double
24100 * stdlib/tst-strtod-round.c (tests): Regenerated.
24102 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24104 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24106 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24107 zarch_nohighgprs around the zarch optimized routines.
24108 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24109 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24110 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24113 2012-09-05 David S. Miller <davem@davemloft.net>
24115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24117 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24118 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24119 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24120 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24123 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24125 * malloc/arena.c: Fold copyright years.
24126 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24128 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24130 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24132 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24134 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24136 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24138 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24139 change internal state upon failure.
24141 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24143 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24144 * malloc/memusage.c (mmap): Likewise.
24145 (mmap64, mremap): Likewise. Adjust name in comment.
24147 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24149 * libio/fileops.c: Fix typos in comments.
24150 * libio/oldfileops.c: Likewise.
24151 * libio/wfileops.c: Likewise.
24153 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24156 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24157 (tst-malloc-usable-ENV): Set environment for test case.
24158 * malloc/hooks.c (malloc_check_get_size): New function to get
24160 * malloc/malloc.c (musable): Use malloc_check_get_size.
24161 * malloc/tst-malloc-usable.c: New test case.
24163 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24165 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24167 2012-09-05 Allan McRae <allan@archlinux.org>
24170 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24171 determine header location.
24172 * configure: Regenerated.
24174 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24176 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24178 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24179 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24181 (test): Regenerate.
24183 2012-09-04 David S. Miller <davem@davemloft.net>
24185 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24186 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24187 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24189 2012-09-04 Florian Weimer <fweimer@redhat.com>
24191 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24194 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24196 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24199 * libio/iogetdelim.c: Include <limits.h>.
24200 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24201 + len + 1 would overflow.
24203 2012-09-03 Andreas Jaeger <aj@suse.de>
24205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24206 * sysdeps/i386/fpu/libm-test-ulps: Update.
24208 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24210 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24211 Add s_sinf-sse2, s_conf-sse2.
24213 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24214 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24215 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24216 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24218 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24219 for using routine as __sinf_ia32.
24220 Use macro for function declaration and weak_alias.
24221 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24222 for using routine as __cosf_ia32.
24223 Use macro for function declaration and weak_alias.
24225 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24226 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24228 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24229 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24232 * math/libm-test.inc (cos_test): Add more test cases.
24233 (sin_test): Likewise.
24234 (sincos_test): Likewise.
24236 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24238 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24239 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24241 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24243 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24246 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24247 first element of the GOT.
24248 (elf_machine_load_address): Return the difference between
24249 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24251 2012-09-01 Allan McRae <allan@archlinux.org>
24254 * configure.in (AWK): Require gawk version 3.0 or later.
24255 * configure: Regenerated.
24257 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24259 * sysdeps/unix/sysv/linux/kernel-features.h
24260 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24261 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24262 [__NR_clock_getres]: Make code unconditional.
24263 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24264 (clock_getcpuclockid): Remove code left unreachable by removal of
24266 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24267 code unconditional.
24268 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24269 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24270 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24271 Make code unconditional.
24272 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24273 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24274 * sysdeps/unix/sysv/linux/clock_settime.c
24275 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24277 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24278 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24280 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24283 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24284 scripts/test-installation.pl.
24286 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24287 and $ld_so_version if it is set.
24289 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24292 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24293 failure if reading from procfs failed.
24294 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24296 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24298 * sysdeps/unix/sysv/linux/kernel-features.h
24299 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24300 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24301 Remove conditional code.
24302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24303 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24304 Remove conditional code.
24305 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24306 * sysdeps/unix/sysv/linux/i386/fxstat.c
24307 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24308 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24309 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24310 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24311 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24312 * sysdeps/unix/sysv/linux/i386/lxstat.c
24313 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24314 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24315 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24316 Remove conditional code.
24317 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24318 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24319 Remove conditional code.
24320 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24321 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24322 <kernel-features.h>.
24323 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24325 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24326 Remove conditional code.
24327 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24328 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24329 Remove conditional.
24331 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24334 * NEWS: Add fixed bug number.
24336 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24339 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24340 underflowing exponent in case of negative sign.
24341 * stdlib/tst-strtod-round-data: Add more tests.
24342 * stdlib/tst-strtod-round.c (tests): Regenerated.
24345 * stdlib/strtod_l.c (NDIG): Remove.
24346 (HEXNDIG): Likewise.
24347 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24348 smallest representable value.
24349 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24350 lie within an exact representation of 1/2 ulp of the result.
24351 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24353 (TENS_P9_IDX): Define unconditionally.
24354 (TENS_P9_SIZE): Likewise.
24355 (TENS_P10_IDX): Likewise.
24356 (TENS_P10_SIZE): Likewise.
24357 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24358 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24359 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24360 entries for 10^2^13 and 10^2^14.
24361 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24362 (TENS_P13_IDX): Define.
24363 (TENS_P13_SIZE): Likewise.
24364 (TENS_P14_IDX): Likewise.
24365 (TENS_P14_SIZE): Likewise.
24366 (_fpioconst_pow10): Change array size to
24367 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24369 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24370 1024]: Add entries for 10^2^13 and 10^2^14.
24371 [LAST_POW10 > _LAST_POW10]: Remove #error.
24372 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24373 (_fpioconst_pow10): Change array size to
24374 FPIOCONST_POW10_ARRAY_SIZE.
24375 * stdlib/gen-fpioconst.c: New file.
24376 * stdlib/gen-tst-strtod-round.c: Likewise.
24377 * stdlib/tst-strtod-round-data: Likewise.
24378 * stdlib/tst-strtod-round.c: Likewise.
24379 * stdlib/Makefile (tests): Add tst-strtod-round.
24382 * stdlib/strtod_l.c: Include <stdint.h>.
24383 (NDEBUG): Do not define.
24384 (round_and_return): Change EXPONENT parameter to type intmax_t.
24385 Rearrange calculations to avoid internal overflow possibilities.
24386 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24387 Rearrange calculations to avoid internal overflow possibilities.
24388 Assert that number fits inside MPNSIZE limbs.
24389 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24390 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24391 calculations and add assertions to avoid internal overflow
24392 possibilities. Add casts to avoid signed/unsigned operations.
24393 * stdlib/tst-strtod-overflow.c: New file.
24394 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24396 2012-08-25 Marek Polacek <polacek@redhat.com>
24398 * time/time.h: Fix some typos in comments.
24400 2012-08-23 Roland McGrath <roland@hack.frob.com>
24402 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24403 * posix/tst-rfc3484-2.c: Likewise.
24404 * posix/tst-rfc3484-3.c: Likewise.
24406 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24408 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24409 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24411 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24413 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24414 #include of fxstatat64.c.
24416 2012-08-22 Roland McGrath <roland@hack.frob.com>
24418 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24419 * shadow/getspent_r.c: Likewise.
24420 * shadow/getspnam.c: Likewise.
24421 * shadow/getspnam_r.c: Likewise.
24422 * gshadow/getsgent.c: Likewise.
24423 * gshadow/getsgent_r.c: Likewise.
24424 * gshadow/getsgnam.c: Likewise.
24425 * gshadow/getsgnam_r.c: Likewise.
24426 * inet/getnetbyad.c: Likewise.
24427 * inet/getnetbyad_r.c: Likewise.
24428 * inet/getnetbynm.c: Likewise.
24429 * inet/getnetbynm_r.c: Likewise.
24430 * inet/getnetent.c: Likewise.
24431 * inet/getnetent_r.c: Likewise.
24432 * inet/getproto.c: Likewise.
24433 * inet/getproto_r.c: Likewise.
24434 * inet/getprtent.c: Likewise.
24435 * inet/getprtent_r.c: Likewise.
24436 * inet/getprtname.c: Likewise.
24437 * inet/getprtname_r.c: Likewise.
24438 * inet/getrpcbyname.c: Likewise.
24439 * inet/getrpcbyname_r.c: Likewise.
24440 * inet/getrpcbynumber.c: Likewise.
24441 * inet/getrpcbynumber_r.c: Likewise.
24442 * inet/getrpcent.c: Likewise.
24443 * inet/getrpcent_r.c: Likewise.
24444 * inet/getaliasent.c: Likewise.
24445 * inet/getaliasent_r.c: Likewise.
24446 * inet/getaliasname.c: Likewise.
24447 * inet/getaliasname_r.c: Likewise.
24448 * nscd/getgrgid_r.c: Likewise.
24449 * nscd/getgrnam_r.c: Likewise.
24450 * nscd/gethstbyad_r.c: Likewise.
24451 * nscd/gethstbynm3_r.c: Likewise.
24452 * nscd/getpwnam_r.c: Likewise.
24453 * nscd/getpwuid_r.c: Likewise.
24454 * nscd/getsrvbynm_r.c: Likewise.
24455 * nscd/getsrvbypt_r.c: Likewise.
24456 * nscd/gai.c: Likewise.
24458 * configure.in (build_nscd): New substituted variable, set
24459 by --disable-build-nscd and defaults to $use_nscd.
24460 * configure: Regenerated.
24461 * config.make.in (build-nscd): New substituted variable.
24462 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24463 Change conditional to require [$(build-nscd) = yes] as well.
24464 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24467 * configure.in (use_nscd): New substituted variable, set by
24468 --disable-nscd. If enabled, define USE_NSCD.
24469 * configure: Regenerated.
24470 * config.h.in: Add USE_NSCD.
24471 * config.make.in (use-nscd): New substituted variable.
24472 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24473 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24474 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24475 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24476 (CFLAGS-getgrnam_r.c): Likewise.
24477 (CFLAGS-initgroups.c): Likewise.
24478 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24479 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24481 * inet/getnetgrent_r.c
24482 (nscd_setnetgrent): New function, broken out of ...
24483 (setnetgrent): ... here. Call it.
24484 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24485 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24486 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24487 * nscd/Makefile (routines, aux): Move definitions after include of
24488 Makeconfig. Conditionalize on [$(use-nscd) != no].
24489 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24490 Conditionalize on [USE_NSCD].
24491 (is_nscd, nscd_init_cb): Likewise.
24492 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24493 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24494 * nss/nss_db/db-init.c: Likewise.
24495 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24497 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24498 (make_request): Use it.
24499 (cache_valid_p): New function.
24500 (__check_pf): Use it.
24501 * NEWS: Add item for --disable-nscd.
24503 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24505 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24506 to support sed >= 4.2.1-20-ga9bf076.
24507 * configure: Regenerated.
24509 2012-08-22 Roland McGrath <roland@hack.frob.com>
24511 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24512 Conditionalize whole body on [IREL].
24514 2012-08-22 Jeff Law <law@redhat.com>
24517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24518 if the family is PF_UNSPEC.
24520 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24522 * Makerules (lib-version): Rename from V.
24523 (install-lib-nosubdir): Change V to lib-version.
24525 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24528 * powerpc32/power6/wcschr.c: New file.
24529 * powerpc32/power6/wcscpy.c: New file.
24530 * powerpc32/power6/wcsrchr.c: New file.
24531 * powerpc64/power6/wcschr.c: New file.
24532 * powerpc64/power6/wcscpy.c: New file.
24533 * powerpc64/power6/wcsrchr.c: New file.
24535 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24537 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24538 (two_way_short_needle): Use it.
24539 * string/strstr.c (AVAILABLE1_USES_J): Define.
24540 * string/strcasestr.c: Likewise.
24542 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24544 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24547 * NEWS: Add an entry.
24548 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24549 define their defaults.
24550 (two_way_short_needle): Detect end-of-string on-the-fly.
24551 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24552 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24553 * string/bug-strcasestr1.c: New test.
24554 * string/Makefile: Run it.
24556 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24559 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24560 the first character.
24562 2012-08-21 Roland McGrath <roland@hack.frob.com>
24564 * csu/elf-init.c (__libc_csu_irel): Function removed.
24565 * csu/libc-start.c (apply_irel): New function.
24566 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24568 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24570 * sysdeps/unix/sysv/linux/kernel-features.h
24571 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24572 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24573 <kernel-features.h>.
24574 [__NR_fadvise64_64]: Make code unconditional.
24575 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24576 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24577 !__NR_fadvise64_64)]: Likewise.
24578 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24579 !__NR_fadvise64_64))]: Likewise.
24580 [__NR_fadvise64]: Make code unconditional.
24581 [!__NR_fadvise64]: Remove conditional code.
24582 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24583 <kernel-features.h>.
24584 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24586 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24589 not include <kernel-features.h>.
24590 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24592 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24594 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24595 include <kernel-features.h>.
24596 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24598 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24601 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24603 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24604 slight instruction rearrangements per scrollpipe analysis.
24605 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24607 2012-08-20 Roland McGrath <roland@hack.frob.com>
24609 * manual/syslog.texi (syslog; vsyslog, closelog):
24610 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24611 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24613 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24614 DSOCAPS to match condition on defining it.
24616 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24618 * sysdeps/unix/sysv/linux/kernel-features.h
24619 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24621 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24622 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24624 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24625 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24627 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24628 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24630 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24631 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24633 * sysdeps/unix/sysv/linux/kernel-features.h
24634 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24635 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24637 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24638 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24639 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24640 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24641 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24642 Make code unconditional.
24643 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24644 (__mmap64) [!__NR_mmap2]: Likewise.
24645 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24646 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24647 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24648 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24649 [__NR_mmap2]: Make code unconditional.
24650 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24651 (__mmap64) [!__NR_mmap2]: Likewise.
24653 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24655 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24657 2012-08-18 Andreas Jaeger <aj@suse.de>
24659 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24661 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24663 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24664 * include/unistd.h (__have_sock_cloexec): Likewise.
24665 (__have_pipe2): Likewise.
24666 (__have_dup3): Likewise.
24668 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24671 * include/unistd.h (__have_pipe2): Change define into an extern int.
24672 (__have_dup3): Likewise.
24673 * socket/have_sock_cloexec.c: Include fcntl.h.
24674 (__have_pipe2): New variable.
24675 (__have_dup3): Likewise.
24677 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24679 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24681 2012-08-17 Marek Polacek <polacek@redhat.com>
24683 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24684 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24686 2012-08-17 Roland McGrath <roland@hack.frob.com>
24688 * configure.in: Add AC_SUBST for sysheaders.
24689 * configure: Regenerated.
24690 * config.make.in (sysheaders): New substituted variable.
24692 * sysdeps/unix/mkfifo.c: Moved ...
24693 * sysdeps/posix/mkfifo.c: ... here.
24694 * sysdeps/unix/mkfifoat.c: Moved ...
24695 * sysdeps/posix/mkfifoat.c: ... here.
24697 * sysdeps/unix/utime.c: Moved ...
24698 * sysdeps/posix/utime.c: ... here.
24700 * sysdeps/unix/time.c: Moved ...
24701 * sysdeps/posix/time.c: ... here.
24702 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24703 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24705 * sysdeps/unix/nice.c: Moved ...
24706 * sysdeps/posix/nice.c: ... here.
24708 * sysdeps/unix/alarm.c: Moved ...
24709 * sysdeps/posix/alarm.c: ... here.
24711 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24713 2012-08-17 Jeff Law <law@redhat.com>
24715 * intl/Makefile (codeset_mo): New variable.
24716 ($(codeset_mo)): New target.
24717 (tst-codeset.out): Depend on that. Remove explicit rule.
24718 (tst-gettext3.out, tst-gettext5.out): Likewise.
24719 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24720 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24721 * intl/tst-codeset.sh: Remove.
24722 * intl/tst-gettext3.sh: Likewise.
24723 * intl/tst-gettext5.sh: Likewise.
24725 2012-08-17 Roland McGrath <roland@hack.frob.com>
24727 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24728 * sysdeps/unix/syscalls.list: ... here.
24730 * sysdeps/posix/getaddrinfo.c
24731 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24732 (gaiconf_init, gaiconf_reload): Use them.
24733 [!_STATBUF_ST_NSEC]
24734 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24735 Define using time_t rather than struct timespec.
24737 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24738 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24740 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24742 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24743 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24746 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24747 __libc_cleanup_push argument.
24749 * bits/param.h: New file.
24750 * misc/sys/param.h: New file.
24751 * include/sys/param.h: New file.
24752 * misc/Makefile (headers): Add bits/param.h.
24753 * sysdeps/generic/sys/param.h: File removed.
24754 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24755 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24756 * sysdeps/mach/hurd/bits/param.h: New file.
24757 * sysdeps/mach/hurd/sys/param.h: File removed.
24759 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24762 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24764 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24765 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24768 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24769 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24770 rather than -D_IO_MTSAFE_IO conditionally.
24771 * stdio-common/Makefile (CPPFLAGS): Likewise.
24772 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24773 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24774 Use $(libio-mtsafe).
24775 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24776 of -D_IO_MTSAFE_IO.
24777 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24778 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24779 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24780 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24781 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24782 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24783 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24784 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24785 (CFLAGS-fread_u_chk.c): Likewise.
24786 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24787 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24788 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24789 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24790 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24791 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24792 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24793 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24794 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24796 * libio/Makefile: Test [$(libc-reentrant) = yes]
24797 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24800 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24801 * sysdeps/pthread/configure: File removed.
24802 * sysdeps/pthread/Makeconfig: New file.
24803 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24804 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24806 2012-08-16 Gary Benson <gbenson@redhat.com>
24808 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24809 unmapping the first object in a namespace.
24811 2012-08-16 Roland McGrath <roland@hack.frob.com>
24813 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24814 (__internal_setnetgrent): ... this. Add internal_function to
24815 definition. Add libc_hidden_def.
24816 (setnetgrent): Update caller.
24817 (internal_endnetgrent): Renamed to ...
24818 (__internal_endnetgrent): ... this. Add internal_function to
24819 definition. Add libc_hidden_def.
24820 (endnetgrent): Update caller.
24821 (internal_getnetgrent_r): Renamed to ...
24822 (__internal_getnetgrent_r): ... this. Add internal_function to
24823 definition. Add libc_hidden_def.
24824 (__getnetgrent_r): Update caller.
24825 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24827 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24829 * stdlib/longlong.h: Update from GCC.
24831 2012-08-16 Roland McGrath <roland@hack.frob.com>
24833 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24834 on _QL, which is set by umul_ppmm but never used.
24835 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24836 variables, which are set by GMP macros but never used.
24837 * stdio-common/_itowa.c (_itowa): Likewise.
24838 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24839 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24841 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24843 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24844 struct La_sh_regs is not constant.
24845 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24846 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24847 and struct La_sparc64_regs are not constant.
24849 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24851 * sysdeps/unix/sysv/linux/kernel-features.h
24852 (__ASSUME_POSIX_TIMERS): Remove.
24853 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24854 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24855 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24856 Make code unconditional.
24857 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24858 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24859 Make code unconditional.
24860 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24861 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24862 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24863 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24864 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24865 Make code unconditional.
24866 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24867 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24868 (__libc_missing_posix_timers): Remove.
24870 2012-08-15 Roland McGrath <roland@hack.frob.com>
24872 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24873 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24875 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24877 * elf/dl-sym.c: Include <stdlib.h>.
24879 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24880 constants, which avoids warnings in 32-bit builds.
24882 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24883 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24885 * misc/lseek.c: File moved to ...
24886 * io/lseek.c: ... here.
24888 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24890 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24891 shifting LEN more than 31 bits at once.
24893 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24896 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24897 segmentation fault for a case of two empty input strings.
24898 * string/test-strncasecmp.c (check1): Renamed to...
24899 (bz12205): ...this.
24900 (bz14195): Add new testcase for two empty input strings and N > 0.
24901 (test_main): Call new testcase, adapt for renamed function.
24903 2012-08-15 Andreas Jaeger <aj@suse.de>
24906 * crypt/md5test2.c: New test, based on test supplied by Serge
24907 Belyshev <belyshev@depni.sinp.msu.ru>.
24908 * crypt/Makefile (xtests): Add md5test-giant..
24909 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24911 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24914 * crypt/md5.c (md5_process_block): Don't assume the buffer
24915 length is less than 2**32.
24916 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24917 length is less than 2**64.
24919 2012-08-15 Roland McGrath <roland@hack.frob.com>
24921 * string/str-two-way.h: Include <sys/param.h>.
24922 (MAX): Macro removed.
24924 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24925 Move #define and #undef of memmove to just before and after
24926 including <string.h>.
24928 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24929 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24930 and after including <string.h>. Move declarations of
24931 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24932 to before #include "string/memmove.c".
24934 * include/dirent.h: Declare __getdirentries.
24936 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24937 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24939 2012-08-14 Mike Frysinger <vapier@gentoo.org>
24941 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24942 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24943 * sysdeps/i386/configure: Regenerated.
24944 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24945 STABS_CURRENT_FILE, and STABS_FUN.
24946 (END): Remove call to STABS_FUN_END.
24947 (STABS_CURRENT_FILE1): Delete.
24948 (STABS_CURRENT_FILE): Likewise.
24949 (STABS_FUN): Likewise.
24950 (STABS_FUN_END): Likewise.
24951 (STABS_FUN2): Likewise.
24952 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24953 * sysdeps/x86_64/configure: Regenerated.
24955 2012-08-14 Roland McGrath <roland@hack.frob.com>
24957 * elf/dl-open.c: Include <atomic.h>.
24958 * elf/dl-lookup.c: Likewise.
24960 2012-08-14 Joseph Myers <joseph@codesourcery.com>
24962 * sysdeps/unix/sysv/linux/kernel-features.h
24963 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24964 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24966 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24968 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24969 condition on __ASSUME_CLONE_THREAD_FLAGS.
24971 2012-08-14 Andreas Jaeger <aj@suse.de>
24973 * sysdeps/i386/fpu/libm-test-ulps: Update.
24975 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24977 * include/atomic.h (atomic_exchange_and_add): Split into ...
24978 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24981 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24983 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24985 2012-08-13 Jeff Law <law@redhat.com>
24987 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24988 null byte in the output string.
24990 2012-08-10 Joseph Myers <joseph@codesourcery.com>
24992 * sysdeps/unix/sysv/linux/kernel-features.h
24993 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24994 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24995 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24996 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24997 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24998 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24999 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25001 2012-08-09 Jeff Law <law@redhat.com>
25004 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25005 When avoid_arena is set, don't retry in the that arena. Pick the
25006 next one, whatever it might be.
25007 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25008 (arena_lock): Pass in new parameter to arena_get2.
25009 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25011 (__libc_malloc): Unify retrying after main arena failure with
25012 __libc_memalign version.
25013 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25015 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25018 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25019 to __redirect_strstr.
25020 (__strstr_sse42): Use typeof __redirect_strstr.
25021 (__strstr_ia32): Likewise.
25022 (__libc_strstr): New prototype.
25023 (strstr): Renamed to ...
25024 (__libc_strstr): This.
25025 (strstr): New strong alias of __libc_strstr.
25026 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25027 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25030 (__libc_time): New prototype.
25031 (time_ifunc): Replace time with __libc_time.
25032 (time): New strong alias and hidden definition of __libc_time.
25033 (__GI_time): Remove strong alias.
25034 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25035 Include <stddef.h>.
25036 (memmove): Redefined to __redirect_memmove.
25037 (__memmove_sse2): Use typeof __redirect_memmove.
25038 (__memmove_ssse3): Likewise.
25039 (__memmove_ssse3_back): Likewise.
25040 (__libc_memmove): New prototype.
25041 (memmove): Renamed to ...
25042 (__libc_memmove): This.
25043 (memmove): New strong alias of __libc_memmove.
25045 2012-08-08 Mark Salter <msalter@redhat.com>
25048 (R_MN10300_TLS_GD): Define.
25049 (R_MN10300_TLS_LD): Likewise.
25050 (R_MN10300_TLS_LDO): Likewise.
25051 (R_MN10300_TLS_GOTIE): Likewise.
25052 (R_MN10300_TLS_IE): Likewise.
25053 (R_MN10300_TLS_LE): Likewise.
25054 (R_MN10300_TLS_DTPMOD): Likewise.
25055 (R_MN10300_TLS_DTPOFF): Likewise.
25056 (R_MN10300_TLS_TPOFF): Likewise.
25057 (R_MN10300_SYM_DIFF): Likewise.
25058 (R_MN10300_ALIGN): Likewise.
25059 (R_MN10300_NUM): Update.
25061 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25063 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25066 2012-08-08 Roland McGrath <roland@hack.frob.com>
25068 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25070 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25071 sysdeps/unix -> sysdeps/posix move.
25072 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25074 2012-08-07 Allan McRae <allan@archlinux.org>
25077 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25078 (SUNOS_CPP): Likewise.
25079 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25081 (open_input): Call CPP using execvp.
25083 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25085 * sysdeps/unix/sysv/linux/kernel-features.h
25086 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25087 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25088 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25089 (__ASSUME_WAITID_SYSCALL): Likewise.
25090 * sysdeps/unix/sysv/linux/dl-execstack.c
25091 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25092 code unconditional.
25093 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25095 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25096 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25097 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25099 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25101 [__ASSUME_WAITID_SYSCALL]: Likewise.
25102 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25104 2012-08-07 Roland McGrath <roland@hack.frob.com>
25106 * sysdeps/unix/closedir.c: Renamed to ...
25107 * sysdeps/posix/closedir.c: ... here.
25108 * sysdeps/unix/dirfd.c: Renamed to ...
25109 * sysdeps/posix/dirfd.c: ... here.
25110 * sysdeps/unix/dirstream.h: Renamed to ...
25111 * sysdeps/posix/dirstream.h: ... here.
25112 * sysdeps/unix/fdopendir.c: Renamed to ...
25113 * sysdeps/posix/fdopendir.c: ... here.
25114 * sysdeps/unix/opendir.c: Renamed to ...
25115 * sysdeps/posix/opendir.c: ... here.
25116 * sysdeps/unix/readdir.c: Renamed to ...
25117 * sysdeps/posix/readdir.c: ... here.
25118 * sysdeps/unix/readdir_r.c: Renamed to ...
25119 * sysdeps/posix/readdir_r.c: ... here.
25120 * sysdeps/unix/rewinddir.c: Renamed to ...
25121 * sysdeps/posix/rewinddir.c: ... here.
25122 * sysdeps/unix/seekdir.c: Renamed to ...
25123 * sysdeps/posix/seekdir.c: ... here.
25124 * sysdeps/unix/telldir.c: Renamed to ...
25125 * sysdeps/posix/telldir.c: ... here.
25126 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25127 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25128 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25129 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25131 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25132 * bits/fcntl.h: ... here.
25134 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25136 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25137 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25138 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25139 (struct flock): Move l_start, l_len to the beginning.
25140 Use __pid_t for l_pid.
25141 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25142 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25143 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25144 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25145 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25146 [__USE_LARGEFILE64] (struct flock64): New type.
25147 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25149 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25150 * bits/dirent.h: ... here.
25152 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25153 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25155 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25157 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25158 Change from 2.6.0 to 2.6.16.
25159 * sysdeps/unix/sysv/linux/configure: Regenerated.
25160 * sysdeps/unix/sysv/linux/kernel-features.h
25161 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25162 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25164 (__ASSUME_UTIMES): Likewise.
25165 (__ASSUME_CLONE_STOPPED): Remove.
25166 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25167 architectures, not kernel version.
25168 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25169 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25170 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25171 (__ASSUME_WAITID_SYSCALL): Likewise.
25172 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25173 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25174 * README: State 2.6.16 as minimum Linux kernel version. Do not
25175 refer to older versions.
25177 2012-08-06 Roland McGrath <roland@hack.frob.com>
25179 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25180 Define alphasort64 as an alias.
25181 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25182 Define versionsort64 as an alias.
25183 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25184 Define scandir64 as an alias.
25185 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25186 Define scandirat64 as an alias.
25187 * dirent/alphasort64.c (alphasort64):
25188 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25189 * dirent/versionsort64.c: Likewise.
25190 * dirent/scandir64.c: Likewise.
25191 * dirent/scandirat64.c: Likewise.
25192 * sysdeps/wordsize-64/alphasort.c: File removed.
25193 * sysdeps/wordsize-64/alphasort64.c: File removed.
25194 * sysdeps/wordsize-64/scandir.c: File removed.
25195 * sysdeps/wordsize-64/scandir64.c: File removed.
25196 * sysdeps/wordsize-64/scandirat.c: File removed.
25197 * sysdeps/wordsize-64/scandirat64.c: File removed.
25198 * sysdeps/wordsize-64/versionsort.c: File removed.
25199 * sysdeps/wordsize-64/versionsort64.c: File removed.
25200 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25201 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25202 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25203 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25204 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25205 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25206 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25207 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25209 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25210 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25211 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25212 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25213 [defined __arch64__ || defined __sparcv9]
25214 (__INO_T_MATCHES_INO64_T): New macro.
25215 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25216 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25217 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25218 * sysdeps/unix/sysv/linux/bits/dirent.h
25219 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25220 (_DIRENT_MATCHES_DIRENT64): New macro.
25222 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25223 Define lockf64 as an alias.
25224 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25225 Define fseeko64 as an alias.
25226 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25227 Define ftello64 as an alias.
25228 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25229 Define _IO_fgetpos64 and fgetpos64 as aliases.
25230 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25231 Define _IO_fsetpos64 and fsetpos64 as aliases.
25232 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25233 Conditionalize body on this.
25234 * libio/fseeko64.c: Likewise.
25235 * libio/ftello64.c: Likewise.
25236 * libio/iofgetpos64.c: Likewise.
25237 * libio/iofsetpos64.c: Likewise.
25238 * sysdeps/wordsize-64/lockf.c: File removed.
25239 * sysdeps/wordsize-64/lockf64.c: File removed.
25240 * sysdeps/wordsize-64/fseeko.c: File removed.
25241 * sysdeps/wordsize-64/fseeko64.c: File removed.
25242 * sysdeps/wordsize-64/ftello.c: File removed.
25243 * sysdeps/wordsize-64/ftello64.c: File removed.
25244 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25245 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25246 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25247 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25248 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25249 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25250 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25251 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25252 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25253 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25254 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25255 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25256 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25257 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25259 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25261 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25263 [defined __arch64__ || defined __sparcv9]
25264 (__OFF_T_MATCHES_OFF64_T): New macro.
25265 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25266 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25267 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25268 (__OFF_T_MATCHES_OFF64_T): New macro.
25270 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25272 * stdlib/secure-getenv.c (__secure_getenv): Replace
25273 GLIBC_2_16 with GLIBC_2_17.
25275 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25277 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25278 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25280 2012-08-03 David S. Miller <davem@davemloft.net>
25282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25284 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25286 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25288 (__ASSUME_CORRECT_SI_PID): Likewise.
25289 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25290 (__ASSUME_TMPFS_NAME): Likewise.
25291 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25292 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25293 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25294 (HAVE_AUX_SECURE): Make definition unconditional.
25295 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25296 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25298 2012-08-03 Roland McGrath <roland@hack.frob.com>
25300 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25301 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25302 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25303 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25304 __eloop_threshold instead of SYMLOOP_MAX.
25306 * sysdeps/generic/eloop-threshold.h: New file.
25307 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25309 * elf/chroot_canon.c (chroot_canon): Likewise.
25311 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25314 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25315 Change to 2.6.0 everywhere.
25316 * sysdeps/unix/sysv/linux/configure: Regenerated.
25317 * sysdeps/unix/sysv/linux/kernel-features.h
25318 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25319 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25321 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25322 (__ASSUME_FUTEX_REQUEUE): Remove.
25323 (__ASSUME_STATFS64): Define unconditionally.
25324 (__ASSUME_AT_SECURE): Likewise.
25325 (__ASSUME_CORRECT_SI_PID): Likewise.
25326 (__ASSUME_TGKILL): Define without depending on kernel version for
25328 (__ASSUME_UTIMES): Likewise.
25329 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25331 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25332 (__ASSUME_TMPFS_NAME): Likewise.
25333 * README: Update reference to Linux kernel versions.
25335 2012-08-02 Marek Polacek <polacek@redhat.com>
25338 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25339 libc_cv_asm_type_prefix with %.
25340 * configure: Regenerated.
25341 * include/libc-symbols.h: Remove comment about
25342 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25343 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25344 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25345 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25346 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25347 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25348 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25349 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25350 * elf/tst-unique2mod1.c: Likewise.
25351 * elf/tst-unique1mod2.c: Likewise.
25352 * elf/tst-unique1mod1.c: Likewise.
25353 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25354 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25355 Replace ASM_TYPE_DIRECTIVE with .type.
25356 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25357 * sysdeps/i386/sysdep.h: Likewise.
25358 * sysdeps/x86_64/sysdep.h: Likewise.
25359 * sysdeps/sh/sysdep.h: Likewise.
25360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25361 Do not define ASM_TYPE_DIRECTIVE.
25362 * sysdeps/powerpc/sysdep.h: Likewise.
25363 * sysdeps/powerpc/powerpc32/sysdep.h:
25364 Replace ASM_TYPE_DIRECTIVE with .type.
25365 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25366 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25367 * sysdeps/i386/fpu/e_powf.S: Likewise.
25368 * sysdeps/i386/fpu/e_expl.S: Likewise.
25369 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25370 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25371 * sysdeps/i386/fpu/e_pow.S: Likewise.
25372 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25373 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25374 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25375 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25376 * sysdeps/i386/fpu/e_log2.S: Likewise.
25377 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25378 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25379 * sysdeps/i386/fpu/e_powl.S: Likewise.
25380 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25381 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25382 * sysdeps/i386/fpu/e_logl.S: Likewise.
25383 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25384 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25385 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25386 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25387 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25388 * sysdeps/i386/fpu/e_log.S: Likewise.
25389 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25390 * sysdeps/i386/fpu/e_logf.S: Likewise.
25391 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25392 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25393 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25394 * sysdeps/i386/fpu/e_log10.S: Likewise.
25395 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25396 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25397 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25398 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25399 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25400 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25401 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25402 * sysdeps/i386/i686/strtok.S: Likewise.
25403 * sysdeps/i386/i386-mcount.S: Likewise.
25404 * sysdeps/i386/strtok.S: Likewise.
25405 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25406 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25407 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25408 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25409 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25410 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25411 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25412 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25413 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25414 * sysdeps/x86_64/_mcount.S: Likewise.
25415 * sysdeps/x86_64/strtok.S: Likewise.
25416 * sysdeps/sh/_mcount.S: Likewise.
25418 2012-08-01 Roland McGrath <roland@hack.frob.com>
25420 * libio/iofopen.c: Include <fcntl.h>.
25421 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25422 (_IO_fopen64, fopen64): Define as aliases.
25423 * libio/iofopen64.c: Include <fcntl.h>.
25424 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25425 Conditionalize body on this.
25426 * sysdeps/wordsize-64/iofopen.c: File removed.
25427 * sysdeps/wordsize-64/iofopen64.c: File removed.
25429 2012-08-01 Marek Polacek <polacek@redhat.com>
25431 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25432 Use dlfcn directly instead of a variable.
25433 (binfmt-subdir): Do not define.
25436 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25438 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25439 Remove all definitions.
25440 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25441 <kernel-features.h>.
25442 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25443 (miss_F_GETOWN_EX): Remove all definitions.
25444 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25446 [!__ASSUME_FCNTL64]: Remove conditional code.
25447 [__ASSUME_FCNTL64]: Make code unconditional.
25448 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25449 <kernel-features.h>.
25450 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25451 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25452 (lockf64) [__NR_fcntl64]: Make code unconditional.
25453 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25455 * sysdeps/unix/sysv/linux/kernel-features.h
25456 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25457 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25458 Make code unconditional.
25459 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25460 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25462 [__NR_vfork]: Make code unconditional.
25463 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25464 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25466 [__NR_vfork]: Make code unconditional.
25467 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25468 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25470 2012-08-01 Roland McGrath <roland@hack.frob.com>
25472 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25473 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25475 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25476 Define mkstemp64 as an alias.
25477 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25478 Define mkstemps64 as an alias.
25479 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25480 Define mkostemp64 as an alias.
25481 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25482 Define mkostemps64 as an alias.
25483 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25484 Conditionalize body on this.
25485 * misc/mkostemp64.c: Likewise.
25486 * misc/mkostemps64.c: Likewise.
25487 * misc/mkstemps64.c: Likewise.
25488 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25489 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25490 * sysdeps/wordsize-64/mkostemp.c: File removed.
25491 * sysdeps/wordsize-64/mkstemp.c: File removed.
25492 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25493 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25494 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25495 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25498 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25499 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25500 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25501 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25503 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25504 compat_symbol macros from <shlib-compat.h> rather than the underlying
25505 default_symbol_version and symbol_version macros, so that DEFAULT
25506 lines in shlib-versions are respected.
25507 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25509 2012-08-01 Florian Weimer <fweimer@redhat.com>
25511 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25512 Declare with warn_unused_result.
25513 (setgid, setregid, setegid, setresgid): Likewise.
25514 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25516 * WUR-REPORT: Remove set*id functions.
25518 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25520 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25522 2012-07-31 Roland McGrath <roland@hack.frob.com>
25525 * include/sys/socket.h (__libc_accept, __libc_accept4):
25526 Add attribute_hidden.
25527 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25529 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25531 * inet/getnetgrent_r.c (setup): Likewise.
25533 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25535 2012-07-31 David S. Miller <davem@davemloft.net>
25537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25539 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25542 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25543 value between 1.0 and 2.0 and smaller part has absolute value less
25545 * math/s_clog10.c (__clog10): Likewise.
25546 * math/s_clog10f.c (__clog10f): Likewise.
25547 * math/s_clog10l.c (__clog10l): Likewise.
25548 * math/s_clogf.c (__clogf): Likewise.
25549 * math/s_clogl.c (__clogl): Likewise.
25550 * math/libm-test.inc (clog_test): Add more tests.
25551 (clog10_test): Likewise.
25552 * sysdeps/i386/fpu/libm-test-ulps: Update.
25553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25555 2012-07-31 Florian Weimer <fweimer@redhat.com>
25557 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25558 Exit with zero in case no suitable GID is found, and write a
25559 message to standard error.
25561 2012-07-30 Roland McGrath <roland@hack.frob.com>
25563 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25565 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25566 (MAXPATHLEN): Removed.
25567 (NOGROUP, NODEV): New macros.
25568 (setbit, clrbit, isset, isclr): New macros.
25569 (howmany, roundup, powerof2): New macros.
25570 (DEV_BSIZE): New macro.
25572 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25573 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25575 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25576 definition on [!__NO_LONG_DOUBLE_MATH].
25578 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25579 PTR_MANGLE and PTR_DEMANGLE.
25581 * socket/accept4.c (accept4): Rename to __libc_accept4.
25582 Define accept4 as a weak alias.
25584 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25585 on [_DIRENT_HAVE_D_TYPE].
25586 * io/ftw.c (ftw_dir): Likewise.
25588 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25590 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25592 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25593 Use the BSD numbers rather than the arbitrary ones we had.
25594 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25595 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25596 (SIGXCPU, SIGXFSZ): New macros.
25599 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25600 initializer on [_LIBC_REENTRANT].
25602 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25603 definitions inside [_POSIX_MAPPED_FILES].
25605 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25607 * dirent/opendir.c: Include <fcntl.h>.
25609 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25610 (__libc_getspecific): Likewise.
25611 (__libc_key_create): Likewise.
25613 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25614 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25615 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25616 (tmpfile64): Define as alias.
25617 * sysdeps/wordsize-64/tmpfile.c: File removed.
25618 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25619 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25620 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25622 * stdio-common/vfscanf.c: Include <stdbool.h>.
25623 * nss/makedb.c: Likewise.
25624 * stdio-common/_i18n_number.h: Likewise.
25625 * argp/argp-help.c: Likewise.
25626 * posix/wordexp.c: Likewise.
25627 * sysdeps/posix/spawni.c: Likewise.
25628 * nss/nss_files/files-initgroups.c: Likewise.
25629 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25630 * nss/nss_files/files-initgroups.c: Likewise.
25631 * nss/nss_db/db-netgrp.c: Likewise.
25632 * nss/nss_db/db-initgroups.c: Likewise.
25633 * io/fchmodat.c: Include <sys/stat.h>.
25635 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25636 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25638 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25641 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25642 Add multiple inclusion protection.
25644 2012-07-27 David S. Miller <davem@davemloft.net>
25646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25648 2012-07-27 Gary Benson <gbenson@redhat.com>
25651 * elf/rtld.c: Include <stap-probe.h>.
25652 (dl_main): Added static probes "init_start" and "init_complete".
25653 * elf/dl-load.c: Include <stap-probe.h>.
25654 (lose): Take new parameter "nsid".
25655 Added static probe "map_failed".
25656 (_dl_map_object_from_fd): Pass namespace id to lose.
25657 Added static probe "map_start".
25658 (open_verify): Pass namespace id to lose.
25659 * elf/dl-open.c: Include <stap-probe.h>.
25660 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25661 and "reloc_complete".
25662 * elf/dl-close.c: Include <stap-probe.h>.
25663 (_dl_close_worker): Added static probes "unmap_start" and
25665 * elf/rtld-debugger-interface.txt: New file documenting the above.
25667 2012-07-26 Roland McGrath <roland@hack.frob.com>
25669 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25670 rather than a string variable.
25671 * sunrpc/rpc_main.c (h_output): Likewise.
25672 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25674 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25676 * inet/check_native.c: New file.
25678 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25681 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25682 if larger part has absolute value 1.0.
25683 * math/s_clog10.c (__clog10): Likewise.
25684 * math/s_clog10f.c (__clog10f): Likewise.
25685 * math/s_clog10l.c (__clog10l): Likewise.
25686 * math/s_clogf.c (__clogf): Likewise.
25687 * math/s_clogl.c (__clogl): Likewise.
25688 * math/libm-test.inc (clog_test): Add more tests.
25689 (clog10_test): Likewise.
25690 * sysdeps/i386/fpu/libm-test-ulps: Update.
25691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25693 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25694 (pltexit): Likewise.
25695 (La_regs): Likewise.
25696 (La_retval): Likewise.
25697 (int_retval): Likewise.
25698 Update #error for removed macros to refer only to definitions in
25700 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25702 (pltexit): Likewise.
25703 (La_regs): Likewise.
25704 (La_retval): Likewise.
25705 (int_retval): Likewise.
25706 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25708 (pltexit): Likewise.
25709 (La_regs): Likewise.
25710 (La_retval): Likewise.
25711 (int_retval): Likewise.
25712 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25714 (pltexit): Likewise.
25715 (La_regs): Likewise.
25716 (La_retval): Likewise.
25717 (int_retval): Likewise.
25718 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25720 (pltexit): Likewise.
25721 (La_regs): Likewise.
25722 (La_retval): Likewise.
25723 (int_retval): Likewise.
25724 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25726 (pltexit): Likewise.
25727 (La_regs): Likewise.
25728 (La_retval): Likewise.
25729 (int_retval): Likewise.
25730 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25732 (pltexit): Likewise.
25733 (La_regs): Likewise.
25734 (La_retval): Likewise.
25735 (int_retval): Likewise.
25736 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25737 macro definitions in tst-audit.h.
25738 * sysdeps/i386/tst-audit.h: New file.
25739 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25740 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25741 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25742 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25743 * sysdeps/sh/tst-audit.h: Likewise.
25744 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25745 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25746 * sysdeps/x86_64/tst-audit.h: Likewise.
25748 2012-07-26 Andreas Jaeger <aj@suse.de>
25750 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25753 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25754 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25755 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25757 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25758 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25759 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25761 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25764 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25766 (si_call_addr, si_syscall, si_arch): Define new macro.
25767 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25769 (si_call_addr, si_syscall, si_arch): Define new marcro.
25770 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25772 (si_call_addr, si_syscall, si_arch): Define new macro.
25773 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25775 (si_call_addr, si_syscall, si_arch): Define new macro.
25777 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25780 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25781 Change to 2.4.21 where previously 2.4.1.
25782 * sysdeps/unix/sysv/linux/configure: Regenerated.
25783 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25784 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25785 Linux kernel version.
25786 (__ASSUME_STD_AUXV): Remove.
25787 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25789 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25790 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25791 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25792 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25793 (__ASSUME_NETLINK_SUPPORT): Likewise.
25794 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25795 (__no_netlink_support): Remove conditional definition.
25796 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25798 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25799 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25800 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25801 (if_nameindex_ioctl): Remove.
25802 (if_nameindex_netlink): Do not handle __no_netlink_support.
25803 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25805 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25806 Remove conditional code.
25807 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25809 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25811 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25812 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25813 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25815 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25816 [!__ASSUME_STD_AUXV]: Remove conditional code.
25817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25818 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25819 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25821 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25822 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25824 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25826 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25827 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25829 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25831 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25834 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25837 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25838 code unconditional.
25839 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25841 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25843 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25846 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25848 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25851 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25852 code unconditional.
25853 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25855 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25857 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25860 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25861 code unconditional.
25862 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25864 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25866 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25869 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25871 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25872 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25873 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25874 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25875 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25876 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25877 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25878 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25879 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25880 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25881 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25882 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25883 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25884 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25885 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25886 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25887 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25888 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25889 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25891 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25892 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25893 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25895 2012-07-25 Florian Weimer <fweimer@redhat.com>
25897 * Versions.def: Add GLIBC_2.17.
25898 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25899 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25900 Introduce __libc_secure_getenv.
25901 * stdlib/Versions (2.17): Add secure_getenv
25902 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25903 * stdlib/secure-getenv.c: Rename __secure_getenv to
25904 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25905 symbol __secure_getenv for GLIBC_2.0.
25906 * stdlib/tst-secure-getenv.c: New.
25907 * stdlib/Makefile (tests): Add testcase.
25908 * manual/startup.texi (Environment Access): Document
25910 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25911 __libc_secure_getenv.
25912 * inet/ruserpass.c (ruserpass): Likewise.
25913 * malloc/mtrace.c (mtrace): Likewise.
25914 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25915 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25916 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25917 * sysdeps/posix/tempname.c: Likewise. Evaluate
25918 HAVE_SECURE_GETENV.
25919 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25920 __secure_getenv to __libc_secure_getenv.
25921 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25928 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25934 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25936 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25937 (struct La_i86_retval): Likewise.
25938 (struct La_x86_64_regs): Likewise.
25939 (struct La_x86_64_retval): Likewise.
25940 (struct La_x32_regs): Likewise.
25941 (struct La_x32_retval): Likewise.
25942 (struct La_ppc32_regs): Likewise.
25943 (struct La_ppc32_retval): Likewise.
25944 (struct La_ppc64_regs): Likewise.
25945 (struct La_ppc64_retval): Likewise.
25946 (struct La_sh_regs): Likewise.
25947 (struct La_sh_retval): Likewise.
25948 (struct La_s390_32_regs): Likewise.
25949 (struct La_s390_32_retval): Likewise.
25950 (struct La_s390_64_regs): Likewise.
25951 (struct La_s390_64_retval): Likewise.
25952 (struct La_sparc32_regs): Likewise.
25953 (struct La_sparc32_retval): Likewise.
25954 (struct La_sparc64_regs): Likewise.
25955 (struct La_sparc64_retval): Likewise.
25956 (struct audit_ifaces): Remove architecture-specific pltenter and
25958 * sysdeps/i386/ldsodefs.h: New file.
25959 * sysdeps/powerpc/ldsodefs.h: Likewise.
25960 * sysdeps/s390/ldsodefs.h: Likewise.
25961 * sysdeps/sh/ldsodefs.h: Likewise.
25962 * sysdeps/sparc/ldsodefs.h: Likewise.
25963 * sysdeps/x86_64/ldsodefs.h: Likewise.
25965 2012-07-25 Marek Polacek <polacek@redhat.com>
25968 * math/libm-test.inc (yn_test): Add another test.
25969 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25970 to ERANGE when the result is +-Inf.
25971 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25972 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25973 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25974 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25976 2012-07-24 Joseph Myers <joseph@codesourcery.com>
25978 * conform/data/time.h-data (NULL): Use macro-constant. Require
25980 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25982 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25984 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25986 * configure.in <sysdeps resolving>: Correct printing
25988 * configure: Regenerate.
25990 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25992 * math/w_ilogb.c: Include <limits.h>.
25993 * math/w_ilogbl.c: Likewise.
25995 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25997 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25998 va_copy. Document allowing for unavailable va_copy only as
25999 pre-C99 compatibility.
26000 * manual/string.texi (Copying and Concatenation): Use va_copy
26001 instead of __va_copy in concat example.
26003 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26005 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26006 (__sendto): Use create_address_port. Initialize APORT and deallocate
26009 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26010 with O_NOLINK passed to __file_name_lookup.
26012 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26013 with O_NOLINK passed to __file_name_lookup.
26015 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26016 negative N or less than NGIDS.
26018 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26019 type to string_t. Set ERANGE as errno and return it if NAME is not big
26020 enough. Use memcpy instead of strncpy.
26022 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26024 * elf/Makefile (check-data): Remove.
26025 (localplt.data): New vpath directive.
26026 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26027 instead of $(check-data).
26028 * scripts/data/localplt-generic.data: Move to ...
26029 * sysdeps/generic/localplt.data: ... here.
26030 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26031 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26032 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26035 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26038 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26041 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26044 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26047 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26051 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26053 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26054 PPC32 and PPC64 files.
26055 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26056 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26058 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26060 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26061 __makecontext_ret to ...
26062 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26063 ... here and call exit if uc_link is NULL. New file.
26064 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26065 __makecontext_ret.S.
26066 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26067 __makecontext_ret to ...
26068 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26069 ... here and call exit if uc_link is NULL. New file.
26070 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26071 __makecontext_ret.S.
26073 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26075 * elf/elf.h (R_390_IRELATIVE): New definition.
26076 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26077 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26078 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26079 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26080 (elf_machine_lazy_rel): Likewise.
26081 * sysdeps/s390/dl-irel.h: New file.
26082 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26083 * sysdeps/s390/s390-64/memset.S: New asm code.
26084 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26085 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26086 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26087 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26088 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26089 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26090 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26091 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26092 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26093 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26094 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26095 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26096 * sysdeps/s390/s390-32/memset.S: New asm code.
26097 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26099 2012-07-17 Marek Polacek <polacek@redhat.com>
26102 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26103 * sysdeps/s390/s390-64/configure.in: Likewise.
26104 * sysdeps/sparc/configure.in: Likewise.
26105 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26106 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26107 * sysdeps/i386/configure.in: Likewise.
26108 * sysdeps/x86_64/configure.in: Likewise.
26109 * sysdeps/sh/configure.in: Likewise.
26110 * sysdeps/s390/s390-32/configure: Regenerated.
26111 * sysdeps/s390/s390-64/configure: Likewise.
26112 * sysdeps/x86_64/configure: Likewise.
26113 * sysdeps/sh/configure: Likewise.
26114 * sysdeps/powerpc/powerpc64/configure: Likewise.
26115 * sysdeps/powerpc/powerpc32/configure: Likewise.
26116 * sysdeps/sparc/configure: Likwise.
26117 * sysdeps/i386/configure: Likewise.
26119 * elf/dl-open.c: Comment fixes.
26121 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26123 * Makefile [CXX] (check-data): Remove.
26124 [CXX] (c++-types.data): New vpath directive.
26125 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26126 vpath. Do not allow for C++ type data being missing.
26127 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26128 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26129 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26130 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26131 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26132 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26133 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26136 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26139 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26142 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26145 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26148 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26151 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26154 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26157 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26158 definitions to architecture-specific files.
26159 (TLS_IE): Likewise.
26160 (TLS_LD): Likewise.
26161 (TLS_GD): Likewise.
26162 * sysdeps/i386/tls-macros.h: New file.
26163 * sysdeps/powerpc/tls-macros.h: Likewise.
26164 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26165 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26166 * sysdeps/sh/tls-macros.h: Likewise.
26167 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26168 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26169 * sysdeps/x86_64/tls-macros.h: Likewise.
26171 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26173 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26174 zero value for regular exit case.
26176 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26177 (__start_context): Preserve zero value for regular exit case.
26179 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26180 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26182 * manual/setjmp.texi (setcontext): Clarify normal process
26183 termination when uc_link is the null pointer.
26184 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26187 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26189 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26190 preprocessor. Test for each exception mask separately.
26192 2012-07-16 Andreas Jaeger <aj@suse.de>
26194 * po/ru.po: Update from translation team.
26196 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26198 * conform/data/string.h-data (NULL): Use macro-constant. Require
26200 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26201 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26202 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26203 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26204 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26206 2012-07-13 Andreas Jaeger <aj@suse.de>
26208 * po/fr.po: Update from translation team.
26210 2012-07-12 Marek Polacek <polacek@redhat.com>
26213 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26214 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26217 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26220 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26221 Change to 2.4.1 where previously 2.4.0.
26222 * sysdeps/unix/sysv/linux/configure: Regenerated.
26223 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26224 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26226 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26227 (__ASSUME_AT_CLKTCK): Remove.
26228 (__ASSUME_AT_PAGESIZE): Likewise.
26229 (__ASSUME_AT_XID): Likewise.
26230 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26231 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26232 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26234 (HAVE_AUX_PAGESIZE): Likewise.
26235 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26236 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26237 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26239 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26243 the temporary buffer used to invoke __gethostbyname2_r,
26244 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26245 host_data / struct gaih_addrtuple.
26246 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26247 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26248 header file nss/nsswitch.h.
26249 * nss/nsswitch.h (global scope): Add definition of implementation
26250 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26251 resolv/nss_dns/dns-host.c).
26253 2012-07-11 Andreas Jaeger <aj@suse.de>
26255 * po/fr.po: Update from translation team.
26257 * po/sv.po: Update from translation team
26258 * po/fr.po: Another update from translation team.
26260 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26262 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26263 for subnormals or multiply small sinh result by itself.
26264 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26267 2012-07-11 David S. Miller <davem@davemloft.net>
26269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26271 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26274 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26275 (INTERNAL_MARK): Shift it here.
26277 2012-07-10 Marek Polacek <polacek@redhat.com>
26280 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26281 libc_cv_asm_global_directive with .globl.
26282 * configure: Regenerated.
26283 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26285 * sysdeps/i386/configure: Regenerated.
26286 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26288 * sysdeps/x86_64/configure: Regenerated.
26289 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26290 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26291 * elf/tst-unique2mod2.c: Likewise.
26292 * elf/tst-unique2mod1.c: Likewise.
26293 * elf/tst-unique1mod2.c: Likewise.
26294 * elf/tst-unique1mod1.c: Likewise.
26295 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26296 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26297 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26298 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26299 * sysdeps/mach/sysdep.h: Likewise.
26300 * sysdeps/i386/sysdep.h: Likewise.
26301 * sysdeps/i386/i386-mcount.S: Likewise.
26302 * sysdeps/x86_64/_mcount.S: Likewise.
26303 * sysdeps/x86_64/sysdep.h: Likewise.
26304 * sysdeps/sh/_mcount.S: Likewise.
26305 * sysdeps/sh/sysdep.h: Likewise.
26306 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26307 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26308 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26309 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26310 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26311 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26312 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26313 * locale/localeinfo.h: Likewise.
26314 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26315 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26317 2012-07-09 Roland McGrath <roland@hack.frob.com>
26320 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26322 * manual/message.texi (The Uniforum approach): Likewise.
26323 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26324 (glibc iconv Implementation): Likewise.
26326 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26329 * math/s_clog.c (__clog): Avoid scaling a value down where that
26330 could result in underflow.
26331 * math/s_clog10.c (__clog10): Likewise.
26332 * math/s_clog10f.c (__clog10f): Likewise.
26333 * math/s_clog10l.c (__clog10l): Likewise.
26334 * math/s_clogf.c (__clogf): Likewise.
26335 * math/s_clogl.c (__clogl): Likewise.
26336 * math/libm-test.inc (clog_test): Add more tests.
26337 (clog10_test): Likewise.
26338 * sysdeps/i386/fpu/libm-test-ulps: Update.
26339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26341 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26344 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26345 by 7 not 8 to examine high bit of fractional part.
26348 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26349 for call to __mcount_internal.
26350 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26351 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26352 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26354 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26357 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26358 approximation for values within 0x1p-13f of an odd multiple of
26360 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26361 exception. Add more tests.
26362 * sysdeps/i386/fpu/libm-test-ulps: Update.
26365 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26366 inputs and return -1 for them. Do not check for +Inf in case not
26367 reachable for +Inf.
26368 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26369 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26370 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26371 and return -1 for them. Do not check for +Inf in case not
26372 reachable for +Inf.
26373 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26375 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26376 and return -1 for them. Do not check for +Inf in case not
26377 reachable for +Inf.
26378 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26379 spurious underflow.
26380 * sysdeps/i386/fpu/libm-test-ulps: Update.
26381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26383 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26385 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26387 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26391 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26392 could result in spurious underflow. Scale down values above
26393 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26394 * math/s_csqrtf.c (__csqrtf): Likewise.
26395 * math/s_csqrtl.c (__csqrtl): Likewise.
26396 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26397 spurious underflow.
26398 * sysdeps/i386/fpu/libm-test-ulps: Update.
26399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26401 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26403 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26405 * catgets/xopen-msg.awk: New file.
26406 * catgets/xopen-msg.sed: Removed.
26408 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26410 * intl/po2test.awk: New file.
26411 * intl/po2test.sed: Removed.
26413 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26416 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26417 or multiply small sinh result by itself.
26418 * math/s_ctanf.c (__ctanf): Likewise.
26419 * math/s_ctanh.c (__ctanh): Likewise.
26420 * math/s_ctanhf.c (__ctanhf): Likewise.
26421 * math/s_ctanhl.c (__ctanhl): Likewise.
26422 * math/s_ctanl.c (__ctanl): Likewise.
26423 * math/libm-test.inc (ctan_test_tonearest): New function.
26424 (ctan_test_towardzero): Likewise.
26425 (ctan_test_downward): Likewise.
26426 (ctan_test_upward): Likewise.
26427 (ctanh_test_tonearest): Likewise.
26428 (ctanh_test_towardzero): Likewise.
26429 (ctanh_test_downward): Likewise.
26430 (ctanh_test_upward): Likewise.
26431 (main): Call these new functions.
26432 * sysdeps/i386/fpu/libm-test-ulps: Update.
26433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26435 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26437 * .gitignore: Delete /ports entry.
26439 2012-07-03 Andreas Jaeger <aj@suse.de>
26441 * po/bg.po: Update from translation team.
26442 * po/cs.po: Likewise.
26443 * po/de.po: Likewise.
26444 * po/hr.po: Likewise.
26445 * po/nl.pl: Likewise.
26446 * po/pl.po: Likewise.
26447 * po/vi.po: Likewise.
26449 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26451 * Makeconfig [!+link] (+link-before-libc): New variable.
26452 [!+link] (+link-after-libc): Likewise.
26453 [!+link] (+link-tests): Likewise.
26454 [!+link] (+link): Define in terms of $(+link-before-libc) and
26455 $(+link-after-libc).
26456 [!+link-static] (+link-static-before-libc): New variable.
26457 [!+link-static] (+link-static-after-libc): Likewise.
26458 [!+link-static] (+link-static-tests): Likewise.
26459 [!+link-static] (+link-static): Define in terms of
26460 $(+link-static-before-libc) and $(+link-static-after-libc).
26461 [build-shared] (link-libc-before-gnulib): New variable.
26462 [build-shared] (link-libc-tests): Likewise.
26463 [build-shared] (link-libc): Define in terms of
26464 $(link-libc-before-gnulib).
26465 [!build-shared] (link-libc-tests): New variable.
26466 (link-libc-static-tests): New variable.
26467 [!gnulib] (gnulib-arch): New variable.
26468 [!gnulib] (gnulib-tests): Likewise.
26469 [!gnulib] (static-gnulib-arch): Likewise.
26470 [!gnulib] (static-gnulib-tests): Likewise.
26471 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26472 Define with "=" instead of ":=".
26473 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26474 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26475 * Rules (binaries-all-notests): New variable.
26476 (binaries-all-tests): Likewise.
26477 (binaries-static-notests): Likewise.
26478 (binaries-static-tests): Likewise.
26479 (binaries-all): Define using $(binaries-all-notests) and
26480 $(binaries-all-tests).
26481 (binaries-static): Define using $(binaries-static-notests) and
26482 $(binaries-static-tests).
26483 (binaries-shared-tests): New variable.
26484 (binaries-shared-notests): Likewise.
26485 (binaries-shared): Remove variable.
26486 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26487 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26488 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26489 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26490 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26491 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26492 * elf/Makefile (sln-modules): New variable.
26493 (extra-objs): Add $(sln-modules:=.o).
26494 (ldconfig-modules): Add static-stubs.
26495 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26496 * elf/static-stubs.c: New file.
26499 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26500 by 7 not 8 to examine high bit of fractional part. Use volatile
26501 variables when splitting into final array of floats if
26502 __FLT_EVAL_METHOD__ != 0.
26503 * math/libm-test.inc (cos_test): Add another test.
26504 (sin_test): Likewise.
26505 * sysdeps/i386/fpu/libm-test-ulps: Update.
26508 * math/libm-test.inc (cosh_test): Add more tests.
26510 * version.h (RELEASE): Set to "development".
26511 (VERSION): Set to "2.16.90".
26513 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26515 * NEWS: Update copyright. Remove last-updated date.
26516 Mention math library bug fixes and timezone data changes.
26517 * README: Mention GNU/Hurd, x32, and HPPA support status.
26519 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26521 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26523 2012-06-27 Andreas Jaeger <aj@suse.de>
26525 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26527 2012-06-25 Andreas Jaeger <aj@suse.de>
26529 * sysdeps/s390/fpu/libm-test-ulps: Update.
26531 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26532 Thomas Schwinge <thomas@codesourcery.com>
26534 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26535 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26536 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26539 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26541 * sysdeps/mach/start.c: Remove file.
26542 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26543 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26544 * sysdeps/sh/init-first.c: Likewise.
26546 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26547 registers for frame unwinding purposes, add CFI directives.
26548 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26549 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26550 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26553 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26554 __fortify_fail returning.
26555 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26557 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26558 sysdeps/sh/____longjmp_chk.S.
26559 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26560 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26561 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26562 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26564 * sysdeps/sh/abort-instr.h: New file.
26565 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26566 process in case exit returns.
26568 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26569 initialize the GOT register before use.
26571 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26572 calculation of ARGC > 4.
26574 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26575 meaningful names to some local labels.
26577 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26578 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26580 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26581 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26582 (__arch_compare_and_exchange_val_16_acq): Likewise.
26583 (__arch_compare_and_exchange_val_32_acq): Likewise.
26584 (atomic_exchange_and_add): Fix gUSA sequence.
26585 (atomic_add): Likewise.
26586 (atomic_add_negative): Likewise.
26587 (atomic_add_zero): Likewise.
26588 (atomic_bit_test_set): Likewise.
26590 2012-06-22 Andreas Schwab <schwab@redhat.com>
26593 * include/link.h (struct link_map): Add l_free_initfini.
26594 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26596 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26597 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26598 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26601 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26603 * configure.in: Use AC_LANG_SOURCE.
26604 * configure: Regenerate.
26606 2012-06-22 Roland McGrath <roland@hack.frob.com>
26608 * configure.in (libc_cv_localstatedir): New substituted variable.
26609 * configure: Regenerated.
26610 * config.make.in (localstatedir): New variable, substituted from
26611 libc_cv_localstatedir.
26612 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26613 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26614 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26615 * sysdeps/gnu/configure: Regenerated.
26617 2012-06-21 Jeff Law <law@redhat.com>
26620 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26621 free. Simplify list management for _LIBC case.
26623 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26626 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26627 Clear sign bit of 64-bit integer value before comparing against
26630 * sysdeps/mach/configure: Regenerated.
26632 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26635 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26637 2012-06-21 Jeff Law <law@redhat.com>
26640 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26641 uint16_t for elements in the "seen" array to avoid char overflows.
26642 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26643 * elf/dl-open.c (dl_open_worker): Likewise.
26645 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26647 * scripts/list-sources.sh: Scan PORTS for translations.
26648 * po/libc.pot: Regenerated.
26650 2012-06-21 Andreas Jaeger <aj@suse.de>
26653 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26655 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26656 * bits/byteswap-16.h (__bswap_16): Likewise.
26657 * bits/byteswap.h (__bswap_constant_16): Likewise.
26659 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26662 * sysdeps/i386/fpu_control.h: Removed.
26663 * sysdeps/x86_64/fpu_control.h: Moved to ...
26664 * sysdeps/x86/fpu_control.h: Here.
26666 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26667 (_FPU_SETCW): Likewise.
26669 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26672 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26673 * sysdeps/x86/fpu/bits/mathinline.h: This.
26674 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26678 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26679 functions if __x86_64__ is defined.
26681 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26683 * string/endian.h: Add !__ASSEMBLER__ condition for including
26684 conversion interfaces.
26686 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26689 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26690 of ABS(x) in calculating zero to negative powers other than odd
26692 * math/libm-test.inc (pow_test): Add more tests.
26694 2012-06-15 Andreas Jaeger <aj@suse.de>
26696 * manual/contrib.texi (Contributors): Update entry of Liubov
26697 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26700 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26702 * string/string.h: Add __wur to GNU version of strerror_r.
26704 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26707 * string/Makefile (tests): Add tst-strtok_r.
26708 * string/tst-strtok_r.c: New file.
26709 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26710 RAX_LP/RDX_LP on SAVE_PTR.
26712 2012-06-14 Roland McGrath <roland@hack.frob.com>
26714 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26716 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26718 * libm_test.inc (csqrt_test): Allow more spurious underflow
26720 (j0_test): Likewise.
26721 (j1_test): Likewise.
26722 (y0_test): Likewise.
26723 (y1_test): Likewise.
26725 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26727 * po/Makefile (libc.pot): Use UTF-8 charset.
26729 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26732 Suppress sign-conversion warning from FD_SET.
26733 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26734 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26735 not unsigned long int.
26736 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26738 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26742 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26743 __extern_always_inline instead of __extern_inline.
26744 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26745 (__signbit): Likewise.
26746 (__signbitl): Support C++ namespace.
26747 (lrintf): New inline function.
26749 (llrintf): Likewise.
26750 (llrint): Likewise.
26760 (floorf): Likewise.
26761 (nearbyint): Likewise.
26762 (nearbyintf): Likewise.
26764 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26766 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26767 non-default versions.
26769 2012-06-11 Roland McGrath <roland@hack.frob.com>
26772 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26774 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26776 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26777 (FE_UPWARD, FE_DOWNWARD): Don't define.
26778 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26779 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26781 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26783 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26784 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26786 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26788 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26789 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26790 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26791 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26793 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26796 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26797 * sysdeps/i386/fpu/Implies: New file.
26798 * sysdeps/x86_64/fpu/Implies: Likewise.
26799 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26800 * sysdeps/x86/fpu/bits/fenv.h: This.
26802 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26805 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26808 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26809 character 0xffff that matches the last element of the
26812 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26814 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26817 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26819 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26820 values higher than 25.6283.
26822 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26824 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26825 subnormal exponent extraction and add some __builtin_expect.
26826 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26827 Fix for subnormal mantissa calculation.
26829 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26831 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26832 cpu2 is -1 and errno is not ENOSYS.
26834 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26837 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26838 * sysdeps/x86/bits/string.h: This.
26839 * sysdeps/x86_64/bits/string.h: Removed.
26841 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26842 if not compiling for x86-64, but compiling for >= i486.
26844 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26845 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26847 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26848 New macro from Linux kernel 3.4.0.
26849 (FP_XSTATE_MAGIC2): Likewise.
26850 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26851 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26852 (struct _fpx_sw_bytes): New struct.
26853 (struct _xsave_hdr): Likewise.
26854 (struct _ymmh_state): Likewise.
26855 (struct _xstate): Likewise.
26857 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26858 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26859 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26860 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26861 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26862 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26864 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26865 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26866 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26867 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26868 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26869 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26871 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26874 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26875 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26876 (sysdep_headers): Include sys/platform/ppc.h.
26877 * sysdeps/powerpc/test-gettimebase.c: Test for
26878 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26879 * manual/Makefile (appendices): Include platform.texi.
26880 * manual/contrib.texi (Contributors): Update @node pointers.
26881 * manual/maint.texi (Maintenance): Likewise.
26882 (Platform): New node.
26883 * manual/platform.texi: New file. Document the new features.
26885 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26886 Jakub Jelinek <jakub@redhat.com>
26889 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26890 where __builtin_expect is unavailable.
26892 2012-06-03 David S. Miller <davem@davemloft.net>
26894 * stdlib/longlong.h: Updated from GCC.
26896 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26899 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26900 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26903 (GLIBC_2.16): Likewise.
26905 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26907 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26909 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26912 (default-abi): New variable.
26913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26914 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26916 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26918 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26920 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26923 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26924 definition. Document in comment.
26926 2012-06-01 David S. Miller <davem@davemloft.net>
26928 * stdlib/longlong.h: Updated from GCC.
26930 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26933 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26934 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26935 sys/debugreg.h sys/io.h here.
26936 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26937 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26939 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26940 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26941 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26942 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26943 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26944 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26946 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26947 Define only if __x86_64__ is defined.
26949 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26952 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26953 Use int64_t for variable i.
26954 * math/libm-test.inc (fmod_test): Add more tests.
26956 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26957 z computation is not scheduled after fetestexcept.
26958 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26959 Use math_force_eval instead of asm to ensure calculation scheduled
26960 before exception test.
26961 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26962 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26964 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26967 computation is not scheduled after fetestexcept.
26969 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26972 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26973 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26975 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26977 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26978 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26980 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26983 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26985 (__WCHAR_MIN): Support __WORDSIZE == 64.
26986 (__WCHAR_MAX): Likewise.
26988 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26989 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26992 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26993 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26996 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26997 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26999 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27000 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27002 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27003 Defined to 1 if __x86_64__ isn't defined.
27004 (_STAT_VER_LINUX_OLD): New.
27005 (st_atime): Remove duplicate.
27006 (st_mtime): Likewise.
27007 (st_ctime): Likewise.
27009 2012-05-31 David S. Miller <davem@davemloft.net>
27011 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27014 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27016 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27020 * elf/dl-reloc.c: Include <_itoa.h>.
27021 (_dl_reloc_bad_type): Remove use of INTUSE.
27022 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27023 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27024 * stdio-common/psiginfo.c (psiginfo): Likewise.
27025 * stdio-common/psignal.c (psignal): Likewise.
27026 * string/strsignal.c (strsignal): Likewise.
27027 * include/signal.h (_sys_siglist): Declare hidden proto.
27028 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27029 INTVARDEF with libc_hidden_data_def.
27030 * stdio-common/itoa-udigits.c: Likewise.
27031 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27032 (_itoa_lower_digits_internal): Remove declaration.
27033 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27034 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27035 (_sys_sigabbrev_internal): Remove aliases.
27036 (_sys_siglist): Define hidden alias.
27038 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27043 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27046 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27047 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27049 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27050 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27051 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27052 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27053 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27054 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27056 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27057 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27058 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27060 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27068 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27069 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27070 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27072 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27073 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27074 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27075 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27076 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27077 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27079 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27080 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27082 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27083 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27085 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27086 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27087 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27089 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27090 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27092 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27094 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27095 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27096 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27098 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27100 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27102 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27104 * math/math.h (M_El): Use two more decimal places.
27105 (M_LOG2El): Likewise.
27106 (M_LOG10El): Likewise.
27107 (M_LN2l): Likewise.
27108 (M_LN10l): Likewise.
27110 (M_PI_2l): Likewise.
27111 (M_PI_4l): Likewise.
27112 (M_1_PIl): Likewise.
27113 (M_2_PIl): Likewise.
27114 (M_2_SQRTPIl): Likewise.
27115 (M_SQRT2l): Likewise.
27116 (M_SQRT1_2l): Likewise.
27118 2012-05-31 David S. Miller <davem@davemloft.net>
27120 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27121 values between float registers.
27122 * sysdeps/sparc/sparc64/memset.S: Likewise.
27123 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27125 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27127 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27128 -D_FORTIFY_SOURCE=1.
27129 (CPPFLAGS-tst-longjmp_chk.c): Define.
27130 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27131 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27132 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27133 CFLAGS-tst-wchar-h.c.
27135 2012-05-31 Marek Polacek <polacek@redhat.com>
27138 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27139 __endmntent_internal): Remove declaration.
27140 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27141 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27142 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27144 2012-05-30 David S. Miller <davem@davemloft.net>
27146 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27147 (___Q_simulate_exceptions): Use real FP ops rather than writing
27149 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27152 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27155 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27156 * sysdeps/x86/bits/xtitypes.h: This.
27158 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27159 * sysdeps/x86/bits/wordsize.h: This.
27161 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27162 * sysdeps/x86/bits/huge_vall.h: This.
27164 * sysdeps/i386/bits/select.h: Removed.
27165 * sysdeps/x86_64/bits/select.h: Renamed to ...
27166 * sysdeps/x86/bits/select.h: This.
27168 * sysdeps/i386/bits/setjmp.h: Removed.
27169 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27170 * sysdeps/x86/bits/setjmp.h: This.
27172 * sysdeps/i386/bits/mathdef.h: Removed.
27173 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27174 * sysdeps/x86/bits/mathdef.h: This.
27176 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27179 * include/sys/socket.h (__connect_internal)
27180 (__libc_sa_len_internal): Remove declaration.
27181 (__connect, __libc_sa_len): Declare hidden_proto.
27182 (SA_LEN): Remove use of INTUSE.
27183 * socket/connect.c: Add libc_hidden_def.
27184 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27185 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27186 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27188 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27189 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27190 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27191 of adding _internal alias.
27193 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27196 * sysdeps/i386/bits/link.h: Removed.
27197 * sysdeps/i386/bits/linkmap.h: Likewise.
27198 * sysdeps/x86_64/bits/link.h: Renamed to ...
27199 * sysdeps/x86/bits/link.h: This.
27200 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27201 * sysdeps/x86/bits/linkmap.h: This.
27203 * sysdeps/i386/bits/endian.h: Removed.
27204 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27205 * sysdeps/x86/bits/endian.h: This.
27207 * sysdeps/i386/bits/byteswap.h: Removed.
27208 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27209 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27210 * sysdeps/x86/bits/byteswap.h: This.
27211 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27212 * sysdeps/x86/bits/byteswap-16.h: This.
27213 * sysdeps/i386/Implies: Add x86.
27214 * sysdeps/x86_64/Implies: Likewise.
27216 2012-05-30 David S. Miller <davem@davemloft.net>
27218 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27219 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27220 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27221 (FP_TRAPPING_EXCEPTIONS): Define.
27222 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27223 (FP_TRAPPING_EXCEPTIONS): Define.
27224 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27225 subnormals only when inexact has been signalled or underflow
27226 exceptions are enabled.
27227 (_FP_PACK_CANONICAL): Likewise.
27229 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27232 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27233 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27235 2012-05-30 Richard Henderson <rth@twiddle.net>
27237 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27238 with #ifndef NOT_IN_libc.
27240 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27241 marked to avoid plt entry.
27243 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27246 * Makeconfig (default-abi): New macro.
27247 (abi-includes): Likewise.
27248 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27249 $(abi-$(default-abi)-lib-soname) for soname if defined.
27250 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27252 * Makefile (installed-stubs): Likewise.
27253 * include/stubs-biarch.h: Removed.
27254 * scripts/lib-names.awk: Only handle one library at a time.
27255 * scripts/soversions.awk: Remove WORDSIZE support.
27256 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27258 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27260 (syscall-list-default-condition): Likewise.
27261 (syscall-list-default-condition): Likewise.
27262 (syscall-list-includes): Likewise.
27263 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27264 syscall-list-* with abi-*. Handle undefined abi-variants.
27265 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27266 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27267 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27268 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27269 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27270 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27272 (syscall-list-32-options): Likewise.
27273 (syscall-list-32-condition): Likewise.
27274 (syscall-list-64-options): Likewise.
27275 (syscall-list-64-condition): Likewise.
27276 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27278 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27281 (abi-64-ld-soname): New macro.
27282 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27283 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27286 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27287 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27289 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27291 * sysdeps/unix/sysv/linux/kernel-features.h
27292 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27293 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27294 include <kernel-features.h>.
27295 [!__NR_ftruncate64]: Remove conditional code.
27296 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27297 [__NR_ftruncate64]: Make code unconditional.
27298 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27299 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27300 include <kernel-features.h>.
27301 [!__NR_ftruncate64]: Remove conditional code.
27302 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27303 [__NR_ftruncate64]: Make code unconditional.
27304 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27306 include <kernel-features.h>.
27307 [!__NR_ftruncate64]: Remove conditional code.
27308 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27309 [__NR_ftruncate64]: Make code unconditional.
27310 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27312 include <kernel-features.h>.
27313 [!__NR_ftruncate64]: Remove conditional code.
27314 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27315 [__NR_ftruncate64]: Make code unconditional.
27316 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27318 * configure.in (libc_cv_fpie): Weaken to a compile test using
27319 LIBC_TRY_CC_OPTION.
27320 * configure: Regenerated.
27322 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27337 2012-05-27 David S. Miller <davem@davemloft.net>
27339 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27341 (__Q_simulate_exceptions): Return void. Change to simulate
27342 exceptions by writing into the %fsr.
27343 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27344 (__Qp_handle_exceptions): Likewise.
27346 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27347 __Qp_handle_exceptions.
27348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27349 __Qp_handle_exceptions.
27350 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27351 as unused and give dummy FP_RND_NEAREST initializer.
27352 (FP_INHIBIT_RESULTS): Define.
27353 (___Q_simulate_exceptions): Update declaration.
27354 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27356 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27357 as unused and give dummy FP_RND_NEAREST initializer.
27358 (__Qp_handle_exceptions): Update declaration.
27359 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27362 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27364 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27365 the temporary FPU control word.
27366 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27367 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27368 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27369 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27370 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27371 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27372 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27373 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27374 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27375 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27376 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27378 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27380 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27383 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27385 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27386 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27387 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27388 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27390 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27391 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27394 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27396 * po/h.po: Update from translation team.
27398 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27400 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27402 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27403 handling of denormals.
27404 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27405 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27406 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27407 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27408 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27410 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27413 2012-05-26 Marek Polacek <polacek@redhat.com>
27416 * math/libm-test.inc (fma_test): Don't always expect underflow
27419 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27422 * elf/tst-execstack.c: Include stackinfo.h.
27423 (do_test): Adjust test case to ensure that pthread_getattr_np
27424 behaviour remains the same after marking stack executable.
27426 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27428 * sysdeps/unix/sysv/linux/kernel-features.h
27429 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27430 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27432 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27433 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27434 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27436 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27437 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27439 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27441 * configure.in: Define the default includes to being none.
27442 * configure: Regenerated.
27444 2012-05-25 Roland McGrath <roland@hack.frob.com>
27446 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27447 * sysdeps/x86_64/setjmp.S: Likewise.
27448 * sysdeps/i386/bsd-setjmp.S: Likewise.
27449 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27450 * sysdeps/i386/setjmp.S: Likewise.
27451 * sysdeps/i386/__longjmp.S: Likewise.
27452 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27453 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27455 * include/stap-probe.h: New file.
27456 * configure.in: Handle --enable-systemtap.
27457 * configure: Regenerated.
27458 * config.h.in (USE_STAP_PROBE): New #undef.
27459 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27460 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27461 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27463 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27467 to 2.4.0 where earlier.
27468 * sysdeps/unix/sysv/linux/configure: Regenerated.
27469 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27470 <kernel-features.h>.
27471 [__ASSUME_32BITUIDS]: Make code unconditional.
27472 [!__ASSUME_32BITUIDS]: Remove conditional code.
27473 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27474 <kernel-features.h>.
27475 [__ASSUME_32BITUIDS]: Make code unconditional.
27476 [!__ASSUME_32BITUIDS]: Remove conditional code.
27477 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27478 [__ASSUME_32BITUIDS]: Make code unconditional.
27479 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27480 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27481 <kernel-features.h>.
27482 [__ASSUME_32BITUIDS]: Make code unconditional.
27483 [!__ASSUME_32BITUIDS]: Remove conditional code.
27484 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27485 <kernel-features.h>.
27486 [__ASSUME_32BITUIDS]: Make code unconditional.
27487 [!__ASSUME_32BITUIDS]: Remove conditional code.
27488 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
27521 <kernel-features.h>.
27522 [__NR_setresgid] (__setresgid): Do not declare.
27523 [__ASSUME_32BITUIDS]: Make code unconditional.
27524 [!__ASSUME_32BITUIDS]: Remove conditional code.
27525 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27526 <kernel-features.h>.
27527 [__NR_setresuid] (__setresuid): Do not declare.
27528 [__ASSUME_32BITUIDS]: Make code unconditional.
27529 [!__ASSUME_32BITUIDS]: Remove conditional code.
27530 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27531 <kernel-features.h>.
27532 [__ASSUME_32BITUIDS]: Make code unconditional.
27533 [!__ASSUME_32BITUIDS]: Remove conditional code.
27534 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27535 <kernel-features.h>.
27536 [__ASSUME_32BITUIDS]: Make code unconditional.
27537 [!__ASSUME_32BITUIDS]: Remove conditional code.
27538 * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
27571 (__ASSUME_SETRESUID_SYSCALL): Remove.
27572 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27573 (__ASSUME_32BITUIDS): Likewise.
27574 (__ASSUME_LDT_WORKS): Likewise.
27575 (__ASSUME_O_DIRECTORY): Likewise.
27576 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27577 architecture but not kernel version.
27578 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27579 (__ASSUME_MMAP2_SYSCALL): Likewise.
27580 (__ASSUME_STAT64_SYSCALL): Likewise.
27581 (__ASSUME_IPC64): Likewise.
27582 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27583 <kernel-features.h>.
27584 [__ASSUME_32BITUIDS]: Make code unconditional.
27585 [!__ASSUME_32BITUIDS]: Remove conditional code.
27586 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27587 <kernel-features.h>.
27588 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27589 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27590 132096]: Remove conditional code.
27591 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27592 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27593 <kernel-features.h>.
27594 [__ASSUME_32BITUIDS]: Make code unconditional.
27595 [!__ASSUME_32BITUIDS]: Remove conditional code.
27596 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27597 <kernel-features.h>.
27598 [__ASSUME_32BITUIDS]: Make code unconditional.
27599 [!__ASSUME_32BITUIDS]: Remove conditional code.
27600 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27601 <kernel-features.h>.
27602 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27604 (__setresgid): Do not declare.
27605 [__ASSUME_32BITUIDS]: Make code unconditional.
27606 [!__ASSUME_32BITUIDS]: Remove conditional code.
27607 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27608 <kernel-features.h>.
27609 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27611 (__setresuid): Do not declare.
27612 [__ASSUME_32BITUIDS]: Make code unconditional.
27613 [!__ASSUME_32BITUIDS]: Remove conditional code.
27614 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27615 <kernel-features.h>.
27616 [__ASSUME_32BITUIDS]: Make code unconditional.
27617 [!__ASSUME_32BITUIDS]: Remove conditional code.
27618 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27619 <kernel-features.h>.
27620 [__ASSUME_32BITUIDS]: Make code unconditional.
27621 [!__ASSUME_32BITUIDS]: Remove conditional code.
27623 2012-05-25 Richard Henderson <rth@twiddle.net>
27625 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27626 dl_hwcap to ifunc resolver.
27627 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27629 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27630 dl_hwcap to ifunc resolver.
27631 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27633 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27636 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27637 for |x| <= 2**-26, not 2**-57.
27638 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27641 2012-05-24 Jeff Law <law@redhat.com>
27643 * stdio-common/Makefile (tests): Add bug25.
27644 * stdio-common/bug25.c: New test.
27646 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27649 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27650 multiple of MALLOC_ALIGNMENT in size.
27651 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27653 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27655 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27657 (FILENAME_MAX): Use macro-int-constant.
27658 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27659 (_IOFBF): Use macro-int-constant.
27660 (_IOLBF): Likewise.
27661 (_IONBF): Likewise.
27662 (SEEK_CUR): Likewise.
27663 (SEEK_END): Likewise.
27664 (SEEK_SET): Likewise.
27665 (TMP_MAX): Likewise.
27666 (EOF): Use macro-int-constant. Require < 0.
27667 (NULL): Use macro-constant. Require == 0.
27668 (stdin): Require type to be FILE *.
27669 (stdout): Likewise.
27670 (stderr): Likewise.
27671 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27672 macro-int-constant.
27673 (EXIT_SUCCESS): Likewise.
27674 (NULL): Use macro-constant. Require == 0.
27675 (RAND_MAX): Use macro-int-constant.
27676 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27677 [C99-based standards] (strtof): Require function.
27678 [C99-based standards] (strtold): Likewise.
27679 [C99-based standards] (strtoll): Likewise.
27680 [C99-based standards] (strtoull): Likewise.
27681 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27682 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27683 [ISO || ISO99 || ISO11] (math.h): Likewise.
27684 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27685 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27686 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27688 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27691 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27692 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27693 * intl/dgettext.c (DCGETTEXT): Likewise.
27694 * intl/gettext.c (DCGETTEXT): Likewise.
27695 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27696 * posix/regex_internal.h (gettext): Likewise.
27697 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27698 Remove declaration.
27699 * include/argz.h (__argz_count_internal)
27700 (__argz_stringify_internal): Remove declaration.
27701 (__argz_count, __argz_stringify): Declare hidden proto.
27702 * intl/dcgettext.c: Remove use of INTDEF.
27703 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27704 * string/argz-stringify.c: Likewise.
27705 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27706 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27707 Declare hidden proto.
27708 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27709 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27710 Declare hidden proto.
27711 * include/stdio.h (__asprintf_internal): Don't declare.
27712 (__asprintf): Don't define as macro. Declare hidden proto.
27713 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27714 (__fsetlocking): Declare hidden proto.
27715 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27716 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27718 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27719 (_IO_setlinebuf): Remove use of INTUSE.
27720 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27721 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27722 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27723 Remove declaration.
27724 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27725 (_IO_do_flush): Remove use of INTUSE.
27726 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27727 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27728 (_IO_adjust_column, _IO_least_wmarker)
27729 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27730 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27731 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27732 (_IO_default_doallocate, _IO_wdefault_doallocate)
27733 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27734 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27735 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27736 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27737 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27738 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27739 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27740 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27741 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27742 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27743 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27744 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27745 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27747 (_IO_flush_all_internal, _IO_adjust_column_internal)
27748 (_IO_default_uflow_internal, _IO_default_finish_internal)
27749 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27750 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27751 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27752 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27753 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27754 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27755 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27756 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27757 (_IO_file_close_internal, _IO_file_close_it_internal)
27758 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27759 (_IO_file_init_internal, _IO_file_attach_internal)
27760 (_IO_file_fopen_internal, _IO_file_read_internal)
27761 (_IO_file_sync_internal, _IO_file_seek_internal)
27762 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27763 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27764 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27765 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27766 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27767 (_IO_list_all_internal, _IO_link_in_internal)
27768 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27769 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27770 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27771 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27772 (_IO_do_write_internal, _IO_padn_internal)
27773 (_IO_getline_info_internal, _IO_getline_internal)
27774 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27775 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27776 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27777 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27778 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27779 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27780 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27781 with libc_hidden_ver, remove use of INTUSE.
27782 * libio/genops.c: Likewise.
27783 * libio/freopen.c: Likewise.
27784 * libio/freopen64.c: Likewise.
27785 * libio/iofclose.c: Likewise.
27786 * libio/iofdopen.c: Likewise.
27787 * libio/iofflush.c: Likewise.
27788 * libio/iofflush_u.c: Likewise.
27789 * libio/iofgets.c: Likewise.
27790 * libio/iofgets_u.c: Likewise.
27791 * libio/iofopen.c: Likewise.
27792 * libio/iofopncook.c: Likewise.
27793 * libio/iofread.c: Likewise.
27794 * libio/iofread_u.c: Likewise.
27795 * libio/ioftell.c: Likewise.
27796 * libio/iofwrite.c: Likewise.
27797 * libio/iogetline.c: Likewise.
27798 * libio/iogets.c: Likewise.
27799 * libio/iogetwline.c: Likewise.
27800 * libio/iopadn.c: Likewise.
27801 * libio/iopopen.c: Likewise.
27802 * libio/ioseekoff.c: Likewise.
27803 * libio/ioseekpos.c: Likewise.
27804 * libio/iosetbuffer.c: Likewise.
27805 * libio/iosetvbuf.c: Likewise.
27806 * libio/ioungetc.c: Likewise.
27807 * libio/ioungetwc.c: Likewise.
27808 * libio/iovdprintf.c: Likewise.
27809 * libio/iovsprintf.c: Likewise.
27810 * libio/iovsscanf.c: Likewise.
27811 * libio/memstream.c: Likewise.
27812 * libio/obprintf.c: Likewise.
27813 * libio/oldfileops.c: Likewise.
27814 * libio/oldiofclose.c: Likewise.
27815 * libio/oldiofdopen.c: Likewise.
27816 * libio/oldiofopen.c: Likewise.
27817 * libio/oldiopopen.c: Likewise.
27818 * libio/oldstdfiles.c: Likewise.
27819 * libio/putc.c: Likewise.
27820 * libio/setbuf.c: Likewise.
27821 * libio/setlinebuf.c: Likewise.
27822 * libio/stdfiles.c: Likewise.
27823 * libio/strops.c: Likewise.
27824 * libio/vasprintf.c: Likewise.
27825 * libio/vscanf.c: Likewise.
27826 * libio/vsnprintf.c: Likewise.
27827 * libio/vswprintf.c: Likewise.
27828 * libio/wfiledoalloc.c: Likewise.
27829 * libio/wfileops.c: Likewise.
27830 * libio/wgenops.c: Likewise.
27831 * libio/wmemstream.c: Likewise.
27832 * libio/wstrops.c: Likewise.
27833 * libio/__fpurge.c: Likewise.
27834 * libio/__fsetlocking.c: Likewise.
27835 * assert/assert.c: Likewise.
27836 * debug/fgets_chk.c: Likewise.
27837 * debug/fgets_u_chk.c: Likewise.
27838 * debug/fread_chk.c: Likewise.
27839 * debug/fread_u_chk.c: Likewise.
27840 * debug/gets_chk.c: Likewise.
27841 * debug/obprintf_chk.c: Likewise.
27842 * debug/vasprintf_chk.c: Likewise.
27843 * debug/vdprintf_chk.c: Likewise.
27844 * debug/vsnprintf_chk.c: Likewise.
27845 * debug/vsprintf_chk.c: Likewise.
27846 * malloc/mtrace.c: Likewise.
27847 * misc/error.c: Likewise.
27848 * misc/syslog.c: Likewise.
27849 * stdio-common/asprintf.c: Likewise.
27850 * stdio-common/fxprintf.c: Likewise.
27851 * stdio-common/getw.c: Likewise.
27852 * stdio-common/isoc99_fscanf.c: Likewise.
27853 * stdio-common/isoc99_scanf.c: Likewise.
27854 * stdio-common/isoc99_vfscanf.c: Likewise.
27855 * stdio-common/isoc99_vscanf.c: Likewise.
27856 * stdio-common/isoc99_vsscanf.c: Likewise.
27857 * stdio-common/printf-prs.c: Likewise.
27858 * stdio-common/printf_fp.c: Likewise.
27859 * stdio-common/printf_fphex.c: Likewise.
27860 * stdio-common/printf_size.c: Likewise.
27861 * stdio-common/putw.c: Likewise.
27862 * stdio-common/scanf.c: Likewise.
27863 * stdio-common/sprintf.c: Likewise.
27864 * stdio-common/tmpfile.c: Likewise.
27865 * stdio-common/vfprintf.c: Likewise.
27866 * stdio-common/vfscanf.c: Likewise.
27867 * stdlib/strfmon_l.c: Likewise.
27868 * sunrpc/openchild.c: Likewise.
27869 * sunrpc/xdr_stdio.c: Likewise.
27870 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27871 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27873 2012-05-24 Roland McGrath <roland@hack.frob.com>
27875 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27877 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27878 in the third column, to generate for the shared library an IFUNC
27879 that uses _dl_vdso_vsym.
27880 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27881 * Makeconfig (object-suffixes-noshared): New variable.
27883 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27884 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27885 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27886 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27889 * include/sys/time.h (__gettimeofday): Remove macro.
27890 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27891 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27893 (__gettimeofday): Add libc_hidden_def.
27894 (gettimeofday): Add libc_hidden_weak.
27895 * sysdeps/mach/gettimeofday.c: Likewise.
27896 * sysdeps/posix/gettimeofday.c: Likewise.
27897 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27898 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27899 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27900 (__gettimeofday_internal): Remove strong_alias.
27901 (__gettimeofday): Add libc_hidden_def.
27902 (gettimeofday): Add libc_hidden_weak.
27903 * sysdeps/unix/syscalls.list (gettimeofday):
27904 Remove __gettimeofday_internal alias.
27906 2012-05-24 Daniel Jacobowitz <drow@false.org>
27907 H.J. Lu <hongjiu.lu@intel.com>
27910 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27911 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27912 (largebin_index_32_big): New.
27913 (largebin_index): Use it for 16-byte alignment.
27914 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27915 correction with front_misalign.
27917 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27945 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27946 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27948 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27952 * math/libm-test.inc (exp_test): Add test from bug 14036.
27953 (pow_test): Add test from bug 10846.
27955 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27957 (special_function): Do not include flags in test name.
27958 (parse_args): Likewise.
27959 * sysdeps/i386/fpu/libm-test-ulps: Update.
27960 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27961 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27962 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27965 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27967 * math/libm-test.inc ("Philosophy"): Update comment about
27969 (UNDERFLOW_EXCEPTION): New macro.
27970 (UNDERFLOW_EXCEPTION_OK): Likewise.
27971 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27972 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27973 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27974 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27975 (INVALID_EXCEPTION_OK): Update value.
27976 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27977 (OVERFLOW_EXCEPTION_OK): Likewise.
27978 (IGNORE_ZERO_INF_SIGN): Likewise.
27979 (test_exceptions): Handle underflow exceptions.
27980 (acos_test): Update for underflow exception expectations.
27981 (cexp_test): Likewise.
27982 (clog_test): Likewise.
27983 (clog10_test): Likewise.
27984 (csqrt_test): Likewise.
27985 (ctan_test): Likewise.
27986 (ctanh_test): Likewise.
27987 (exp_test): Likewise.
27988 (exp10_test): Likewise.
27989 (exp2_test): Likewise.
27990 (expm1_test): Likewise.
27991 (fma_test): Likewise.
27992 (j0_test): Likewise.
27993 (jn_test): Likewise.
27994 (nexttoward_test): Likewise.
27995 (pow_test): Likewise.
27996 (scalbn_test): Likewise.
27997 (scalbln_test): Likewise.
27998 (tan_test): Likewise.
27999 (y1_test): Likewise.
28000 * sysdeps/i386/fpu/libm-test-ulps: Update.
28001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28003 2012-05-23 David S. Miller <davem@davemloft.net>
28005 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28006 (__libc_sigaction): Remove unused local variables.
28008 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28010 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28012 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28014 mktime: avoid signed integer overflow
28015 * time/mktime.c (__mktime_internal): Do not mishandle the case
28016 where diff == INT_MIN.
28018 mktime: simplify computation of average
28019 * time/mktime.c (ranged_convert): Use new time_t_avg function
28020 instead of rolling our own (probably-slower) code.
28022 mktime: do not assume signed right shift propagates sign bit
28023 * time/mktime.c (isdst_differ): New static function.
28024 (__mktime_internal): No need to normalize tm_isdst now.
28025 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28028 mktime: merge another wrapv change from gnulib
28029 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28030 from some compilers.
28032 mktime: remove incorrect attempt at unusual arithmetics
28033 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28034 The code didn't really work on such machines anyway.
28035 (TYPE_MINIMUM): Assume two's complement.
28036 (twos_complement_arithmetic): Verify that long_int and time_t
28037 are two's complement (or unsigned, in the latter case).
28039 mktime: check signed shifts on long_int and time_t, too
28040 * time/mktime.c (SHR): Check that shifts work as desired
28041 on the types long_int and time_t too, as SHR is used on
28044 mktime: do not assume 'long' is wide enough
28045 * time/mktime.c (verify): Move decl up.
28046 (long_int): New type.
28047 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28048 to remove assumption in the code that 'long' is wide enough to
28049 store year values. This assumption is not true on x32 and on
28050 some non-glibc platforms.
28052 mktime: merge wrapv change from gnulib
28053 * time/mktime.c (WRAPV): New macro.
28054 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28055 (guess_time_tm, __mktime_internal): Do not assume that signed
28056 integer overflow wraps around; modern compilers generate code
28057 where this assumption is no longer valid.
28059 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28061 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28062 Replace "jmp L(pseudo_end)" with "ret".
28063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28066 2012-05-23 Andreas Jaeger <aj@suse.de>
28068 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28069 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28071 2012-05-23 Andreas Jaeger <aj@suse.de>
28072 Maximilian Attems <max@stro.at>
28074 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28077 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28079 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28080 code so that pseudo_end is just ret and the stack pointer is
28081 correct also for static library in error case.
28083 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28085 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28086 move to syscalls.list.
28087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28092 * manual/install.texi (Running make install): Do not mention Linux
28093 kernel version for which pt_chown is not needed.
28094 (Linux): Do not mention problems with nscd with 2.0 kernels.
28095 * INSTALL: Regenerated.
28097 2012-05-23 Andreas Jaeger <aj@suse.de>
28099 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28100 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28102 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28103 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28104 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28105 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28106 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28107 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28108 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28109 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28110 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28111 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28112 * sysdeps/unix/sysv/linux/bits/in.h
28113 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28115 2012-05-22 Roland McGrath <roland@hack.frob.com>
28117 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28118 (PREPARE_VERSION): Just use assert instead, it will be elided
28119 under [NDEBUG] anyway.
28121 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28123 * sysdeps/unix/sysv/linux/Makefile: Include
28124 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28125 (sysdep_routines): Remove sysctl.
28126 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28127 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28128 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28129 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28130 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28132 2012-05-22 Andreas Jaeger <aj@suse.de>
28134 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28135 that pseudo_end is just ret and the stack pointer is correct also
28136 for static library in error case.
28138 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28141 * nss/nsswitch.c (defconfig_entries): New variable.
28142 (__nss_database_lookup): Don't leak defconfig entries.
28143 (nss_parse_service_list): Don't leak on error paths.
28144 (free_database_entries): New function.
28145 (free_defconfig): New function.
28146 (free_mem): Move common code to free_database_entries.
28148 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28150 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28152 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28154 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28155 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28158 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28159 (INTERNAL_SYSCALL_TYPES): Likewise.
28160 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28161 (LOAD_REGS_TYPES_[1-6]): Likewise.
28162 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28163 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28165 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28167 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28168 copysignl for GLIBC_2_0.
28169 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28170 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28172 logbl for GLIBC_2_0.
28173 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28174 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28176 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28178 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28179 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28181 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28184 * time/mktime.c: Update copyright years.
28186 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28188 mktime: merge comment-quoting-style change from gnulib
28189 * time/mktime.c: Quote 'like this' in comments.
28190 The GNU coding standards suggest that we no longer quote `like this',
28191 as "`" and "'" are typically rendered asymmetrically nowadays.
28192 The typical gnulib style is to quote 'like this' when quoting
28193 code, and "like this" when quoting English.
28195 * time/mktime.c (compile-command): Add "-I.".
28197 mktime: merge mktime-internal.h change from gnulib
28198 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28200 mktime: merge time_r change from gnulib
28201 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28203 mktime: merge DEBUG change from gnulib
28204 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28205 case system <time.h> has a #define.
28207 mktime: merge <sys/types.h> change from gnulib
28208 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28209 since <time.t> is now guaranteed to define time_t.
28211 mktime: merge HAVE_CONFIG_H change from gnulib
28212 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28214 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28219 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28221 (struct rusage): Use anonymous union to pad each field to
28224 2012-05-21 David S. Miller <davem@davemloft.net>
28226 * Makefules (o-iterator): Remove .s cases.
28227 (compile-command.s): Delete.
28228 (COMPILE.s): Delete.
28229 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28231 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28233 * configure.in (libc_cv_predef_stack_protector): Only consider
28234 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28235 * configure: Regenerated.
28237 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28240 New macro. Use R*LP on int and pointer.
28241 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28242 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28243 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28244 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28246 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28247 [__WORDSIZE_TIME64_COMPAT32] instead of
28248 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28249 (struct utmp): Likewise.
28250 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28251 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28253 (__WORDSIZE_TIME64_COMPAT32): This.
28254 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28255 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28256 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28257 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28258 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28259 (__WORDSIZE_TIME64_COMPAT32): New macro.
28261 2012-05-21 Andreas Jaeger <aj@suse.de>
28263 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28264 only if [SHARED]. Add prototype for __wcschr_ia32.
28266 2012-05-21 Roland McGrath <roland@hack.frob.com>
28268 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28269 of %rbp unmolested in the jmp_buf while mangling the low bits.
28270 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28271 unmolested high bits of %rbp while demangling the low bits.
28272 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28274 2012-05-21 Andreas Jaeger <aj@suse.de>
28276 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28277 * sunrpc/svc_simple.c: Use it for registerrpc.
28278 * sunrpc/xcrypt.c: Use it for passwd2des.
28280 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28282 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28284 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28285 Don't define if [__SYSCALL_WORDSIZE != 32].
28286 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28289 2012-05-21 Bruno Haible <bruno@clisp.org>
28290 Andreas Jaeger <aj@suse.de>
28292 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28293 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28294 inptr and inend for must_buffer_ch.
28295 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28296 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28297 * stdio-common/Makefile (tests): Remove bug15.
28298 (bug15-ENV): Remove macro.
28299 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28302 2012-05-19 Andreas Jaeger <aj@suse.de>
28303 Roland McGrath <roland@hack.frob.com>
28305 * manual/contrib.texi: Completely rewritten. It contains now an
28306 alphabetical list of contributors and their contributions.
28308 2012-05-21 Richard Henderson <rth@twiddle.net>
28310 * misc/getauxval.c (__getauxval): Use unsigned long int.
28311 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28312 (getauxval): Use unsigned long int.
28314 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28316 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28318 2012-05-21 Roland McGrath <roland@hack.frob.com>
28320 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28321 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28322 __alignof__ (long double).
28324 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28328 2012-05-20 Richard Henderson <rth@twiddle.net>
28330 * misc/getauxval.c: New file.
28331 * misc/sys/auxv.h: New file.
28332 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28333 (routines): Add getauxval.
28334 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28335 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28336 * elf/dl-sysdep.c (_dl_auxv): Remove.
28337 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28338 * elf/dl-support.c (_dl_auxv): New variable.
28339 (_dl_aux_init): Initialize it.
28340 * manual/startup.texi (Auxiliary Vector): New node.
28341 * sysdeps/generic/bits/hwcap.h: New file.
28342 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28343 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28344 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28345 * sysdeps/sparc/sysdep.h: ... here. Include it.
28346 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28347 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28353 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28359 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28363 2012-05-19 David S. Miller <davem@davemloft.net>
28365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28367 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28370 * math/s_ccosh.c: Include <float.h>
28371 (__ccosh): Avoid internal overflow calculating sinh and cosh
28372 values before multiplying by sin and cos values.
28373 * math/s_ccoshf.c: Likewise.
28374 * math/s_ccoshl.c: Likewise.
28375 * math/s_csin.c: Likewise.
28376 * math/s_csinf.c: Likewise.
28377 * math/s_csinl.c: Likewise.
28378 * math/s_csinh.c: Likewise.
28379 * math/s_csinhf.c: Likewise.
28380 * math/s_csinhl.c: Likewise.
28381 * math/libm-test.inc (ccos_test): Add more tests.
28382 (ccosh_test): Likewise.
28383 (csin_test): Likewise.
28384 (csinh_test): Likewise.
28385 * sysdeps/i386/fpu/libm-test-ulps: Update.
28386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28388 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28390 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28391 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28393 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28395 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28397 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28398 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28399 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28400 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28401 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28402 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28403 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28404 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28405 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28406 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28407 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28408 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28409 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28410 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28411 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28412 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28413 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28414 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28415 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28416 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28417 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28418 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28419 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28420 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28421 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28422 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28423 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28424 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28425 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28426 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28427 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28429 2012-05-18 Andreas Jaeger <aj@suse.de>
28431 * csu/.gitignore: Delete.
28433 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28435 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28436 (timex): Use __syscall_slong_t.
28438 2012-05-18 Andreas Jaeger <aj@suse.de>
28439 Carlos O'Donell <carlos_odonell@mentor.com>
28441 * manual/install.texi (Configuring and compiling): Update
28442 description about files modified in the source directory.
28443 * INSTALL: Regenerated.
28445 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28447 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28448 value. Use "or" to set return value to -1.
28449 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28450 negate return value.
28452 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28454 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28455 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28456 failure if the compiler has Graphite support disabled.
28457 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28459 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28460 CFLAGS-memmove.c): Likewise.
28461 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28464 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28466 * sysdeps/x86_64/x32/_itoa.h: New file.
28468 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28469 getdents system call only if kernel and user dirents have the
28470 same d_ino and d_off.
28472 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28473 LLONG_MAX != LONG_MAX.
28474 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28475 (_fitoa_word): Likewise.
28477 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28479 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28480 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28481 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28483 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28484 include <bits/wordsize.h>. Check __x86_64__ instead of
28486 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28487 if __x86_64__ is defined. Use anonymous union on fpstate.
28489 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28492 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28494 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28495 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28496 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28497 Refer to _rtld_local_ro instead of _rtld_global_ro.
28498 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28500 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28502 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28504 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28505 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28506 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28508 * sysdeps/powerpc/powerpc32/dl-machine.c
28509 (__elf_machine_runtime_setup) [PROF]: Don't reference
28512 2012-05-18 Andreas Jaeger <aj@suse.de>
28514 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28515 function only available for GCCs before 3.4 since GCC 3.4
28516 introduced a builtin.
28518 (llrintf): Likewise.
28519 (llrint): Likewise.
28526 (nearbyint): Likewise.
28527 (nearbyintf): Likewise.
28531 (floorf): Likewise.
28533 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28535 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28536 on both fields and cast pointer to __syscall_ulong_t.
28538 * bits/types.h (__fsword_t): New type.
28539 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28540 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28541 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28542 (__FSWORD_T_TYPE): Likewise.
28543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28544 (__FSWORD_T_TYPE): Likewise.
28545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28546 (__FSWORD_T_TYPE): Likewise.
28547 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28548 (__FSWORD_T_TYPE): Likewise.
28549 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28550 __SWORD_TYPE with __fsword_t.
28551 (statfs64): Likewise.
28553 2012-05-17 David S. Miller <davem@davemloft.net>
28555 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28557 2012-05-17 Andreas Jaeger <aj@suse.de>
28559 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28562 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28564 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28566 2012-05-17 Andreas Jaeger <aj@suse.de>
28568 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28571 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28573 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28575 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28577 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28578 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28580 2012-05-17 Andreas Jaeger <aj@suse.de>
28581 Carlos O'Donell <carlos_odonell@mentor.com>
28584 * sysdeps/x86_64/multiarch/init-arch.h
28585 (bit_YMM_Usable): Rename to...
28586 (bit_AVX_Usable): ... this.
28587 (bit_FMA4_Usable): New macro.
28588 (bit_XMM_state): New macro.
28589 (bit_YMM_state): New macro.
28590 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28591 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28592 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28593 (CPUID_OSXSAVE): New macro.
28594 (CPUID_AVX): New macro.
28595 (CPUID_FMA4): New macro.
28596 (index_YMM_Usable): Rename to...
28597 (index_AVX_Usable): ... this.
28598 (HAS_AVX): Use HAS_ARCH_FEATURE.
28599 (HAS_FMA4): Likewise.
28600 (HAS_YMM_USABLE): Remove.
28601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28602 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28604 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28605 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28606 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28607 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28608 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28610 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28612 * math/libm-test.c: Support platforms without multiple rounding modes.
28613 * math/bug-nextafter.c: Support platforms without FP exceptions.
28614 * math/bug-nexttoward.c: Likewise.
28615 * math/test-fenv.c: Likewise.
28616 * math/test-misc.c: Likewise.
28617 * stdlib/bug-getcontext.c: Likewise.
28619 2012-05-17 Andreas Jaeger <aj@suse.de>
28621 * manual/examples/search.c (critter_cmp): Change signature to
28623 * manual/string.texi (Collation Functions): Likewise.
28625 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28627 * bits/types.h: Fold copyright years.
28628 * bits/typesizes.h: Likewise.
28629 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28631 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28633 * time/time.h: Likewise.
28635 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28638 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28639 in instead of returning them. Return void.
28640 (__libc_mallinfo): Accumulate over all arenas.
28641 (__malloc_stats): Adjust for change in int_mallinfo interface.
28643 2012-05-16 Roland McGrath <roland@hack.frob.com>
28646 * configure.in (NM): Add AC_CHECK_TOOL for it.
28647 (libc_extra_cflags): New substituted variable.
28648 Check for -fstack-protector being used implicitly.
28649 * configure: Regenerated.
28650 * config.make.in (config-extra-cflags): New variable,
28651 gets @libc_extra_cflags@.
28652 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28655 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28656 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28657 * configure: Regenerated.
28658 * config.make.in (CPPUNDEFS): New substituted variable.
28659 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28660 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28661 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28663 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28665 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28666 (mq_attr): Use __syscall_slong_t.
28668 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28670 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28671 Check __x86_64__ instead of __WORDSIZE.
28672 (_STAT_VER_LINUX): Likewise.
28673 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28674 __syscall_ulong_t and __syscall_slong_t.
28675 (stat64): Likewise.
28677 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28679 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28681 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28683 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28685 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28687 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28690 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28691 include <bits/wordsize.h>. Check __x86_64__ instead of
28693 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28695 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28697 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28698 include <bits/wordsize.h>. Check __x86_64__ instead of
28700 (user_regs_struct): Use "__extension__ unsigned long long"
28701 instead of "unsigned long" if __x86_64__ is defined.
28702 (user): Likewise. Pad after pointer field if __ILP32__ is
28705 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28707 * configure.in (makeinfo): Require version 4.5 or later. Allow
28709 * configure: Regenerated.
28710 * manual/install.texi (texinfo): Increase version requirement to
28712 * INSTALL: Regenerated.
28714 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28716 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28718 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28720 * sysdeps/x86_64/x32/ffs.c: New file.
28722 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28724 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28725 defined. Use __syscall_ulong_t.
28726 (shminfo): Use __syscall_ulong_t.
28727 (shm_info): Likewise.
28729 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28732 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28734 (msgqnum_t): Use __syscall_ulong_t.
28735 (msglen_t): Likewise.
28736 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28739 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28740 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28742 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28744 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28745 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28747 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28750 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28751 include <bits/wordsize.h>. Check __x86_64__ instead of
28754 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28755 "unsigned long long int" if __x86_64__ is defined.
28756 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28758 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28759 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28760 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28762 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28764 (GET_PC): Cast to uintptr_t first.
28765 (GET_FRAME): Likewise.
28766 (GET_STACK): Likewise.
28768 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28769 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28770 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28771 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28772 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28773 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28774 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28775 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28776 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28777 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28778 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28779 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28780 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28781 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28782 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28783 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28784 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28785 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28786 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28787 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28788 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28789 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28790 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28791 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28792 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28793 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28794 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28795 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28796 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28798 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28800 * Makerules (+depfiles): Also collect depfiles from .oS in
28802 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28803 .oS, $(libnldbl-routines)).
28805 * Makerules (native-compile-mkdep-flags): Define.
28806 * sunrpc/Makefile (extra-objs): Add $(addprefix
28807 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28808 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28809 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28810 calling $(make-target-directory).
28812 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28814 * bits/types.h (__snseconds_t): Removed.
28815 * time/time.h (struct timespec): Replace __snseconds_t with
28817 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28818 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28820 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28821 (__SNSECONDS_T_TYPE): Likewise.
28822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28823 (__SNSECONDS_T_TYPE): Likewise.
28824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28825 (__SNSECONDS_T_TYPE): Likewise.
28827 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28829 * sysdeps/mach/hurd/bits/typesizes.h
28830 (__SYSCALL_SLONG_TYPE): New macro.
28831 (__SYSCALL_ULONG_TYPE): Likewise.
28833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28835 * bits/types.h (__syscall_slong_t): New type.
28836 (__syscall_ulong_t): Likewise.
28838 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28839 (__SYSCALL_ULONG_TYPE): Likewise.
28840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28841 (__SYSCALL_SLONG_TYPE): Likewise.
28842 (__SYSCALL_ULONG_TYPE): Likewise.
28843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28844 (__SYSCALL_SLONG_TYPE): Likewise.
28845 (__SYSCALL_ULONG_TYPE): Likewise.
28846 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28847 (__SYSCALL_SLONG_TYPE): Likewise.
28848 (__SYSCALL_ULONG_TYPE): Likewise.
28850 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28852 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28853 Add sigaltstack-offsets.sym.
28854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28855 <sigaltstack-offsets.h>.
28856 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28857 longjmp_msg pointer.
28858 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28859 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28861 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28863 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28865 * elf/stackguard-macros.h: Remove file.
28866 * sysdeps/generic/stackguard-macros.h: New file.
28867 * sysdeps/i386/stackguard-macros.h: Likewise.
28868 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28869 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28870 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28871 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28872 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28873 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28874 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28875 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28876 <elf/stackguard-macros.h>.
28879 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28880 __aligned__ in attribute.
28881 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28882 (gregset_t): Likewise.
28884 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28886 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28887 * sysdeps/x86_64/64/Implies-after: Here. New file.
28888 * sysdeps/x86_64/x32/Implies-after: New file.
28890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28892 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28893 and access return value for _dl_profile_fixup. Use R10_LP to
28896 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28898 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28902 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28903 * sysdeps/x86_64/x32/sysdep.h: New file.
28905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28907 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28908 * sysdeps/x86_64/setjmp.S: Likewise.
28910 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28912 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28913 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28914 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28915 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28916 remove unused global constant.
28918 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28920 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28921 include of <not-cancel.h>.
28923 2012-05-15 Roland McGrath <roland@hack.frob.com>
28925 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28927 2012-05-15 Jeff Law <law@redhat.com>
28928 Andreas Jaeger <aj@suse.de>
28931 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28933 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28934 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28935 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28936 code changing __hst_map_handle.map.
28938 2012-05-15 Roland McGrath <roland@hack.frob.com>
28940 * configure.in (sysnames): Look for Implies-before and Implies-after
28942 * configure: Regenerated.
28944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28946 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28947 8-byte data alignment with LP_SIZE alignment.
28949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28951 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28956 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28960 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28961 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28962 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28964 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28966 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28968 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28969 (stackinfo_sub_sp): Likewise.
28971 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28973 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28978 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28983 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28988 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28992 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28993 into R11_LP and load __x86_64_shared_cache_size_half into
28996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28998 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29001 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29003 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29009 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29010 powerpc32/power7/fpu/s_logb.c via #include.
29011 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29012 powerpc32/power7/fpu/s_logbf.c via #include.
29013 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29014 powerpc32/power7/fpu/s_logbl.c via #include.
29016 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29018 * README.libm: Remove file.
29020 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29022 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29023 count for x32. Use R*_LP and omit operand-size suffix.
29025 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29027 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29028 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29029 * sysdeps/x86_64/x32/shlib-versions: New file.
29031 2012-05-14 Roland McGrath <roland@hack.frob.com>
29033 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29034 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29035 Use _dl_fatal_printf instead.
29037 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29039 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29040 set if not set by the user. Do not allow for being unset.
29041 * sysdeps/unix/sysv/linux/configure: Regenerated.
29043 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29045 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29046 the `q' suffix from lea and replace .quad with ASM_ADDR.
29048 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29051 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29053 (PTR_DEMANGLE): Likewise.
29055 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29057 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29059 (ASM_ADDR): Likewise.
29060 (RAX_LP): Likewise.
29061 (RBP_LP): Likewise.
29062 (RBX_LP): Likewise.
29063 (RCX_LP): Likewise.
29064 (RDI_LP): Likewise.
29065 (RSI_LP): Likewise.
29066 (RSP_LP): Likewise.
29069 (R10_LP): Likewise.
29070 (R10_LP): Likewise.
29071 (R11_LP): Likewise.
29072 (R12_LP): Likewise.
29073 (R13_LP): Likewise.
29074 (R14_LP): Likewise.
29075 (R15_LP): Likewise.
29077 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29079 * sysdeps/x86_64/x32/dl-machine.h: New file.
29081 2012-05-14 Andreas Jaeger <aj@suse.de>
29083 * manual/Makefile (subdir): Remove export of subdir.
29084 (all): Remove target.
29085 (.PHONY): Remove all from list.
29086 (mkinstalldirs): Remove.
29087 (.PHONY): Remove installdirs from list.
29088 ($(inst_infodir)/libc.info): Use make-target-directory.
29089 (installdirs): Remove.
29090 (subdir_%): Remove.
29091 (glibc-targets): Remove.
29094 ($(objpfx)stubs ../po/manual.pot): Remove.
29095 ($(objpfx)stamp%): Remove.
29096 (make-target-directory): Remove.
29097 (subdir_install): Remove.
29098 (routines): Remove.
29105 * manual/.gitignore: Remove, it's not needed anymore.
29106 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29108 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29110 (texis): Renamed to $(objpfx)texis.
29111 (texis-path): New, contains path to generated files.
29112 (chapters.%): Use texis-path for complete path, add extra argument
29114 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29115 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29116 (summary,texi, stamp-summary): Use complete path of
29117 files. Generate files in build dir.
29118 (dir-add.texi): Build in build dir.
29119 (libm-err.texi,stamp-libm-err): Likewise.
29120 (version.texi, stamp-version): Likewise.
29121 (.%c.texi): Likewise.
29122 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29123 (mostlyclean): Remove target.
29124 (realclean): Remove target.
29125 (generated): Add new variable with contents from mostlyclean and
29126 realclean, remove entries duplicated in common-mostlyclean, add
29127 stamp-libm-err and stamp-version.
29128 (generated-dirs): Add libc directory.
29129 ($(inst_infodir)/libc.info): Install files from build dir.
29131 * manual/install.texi (Configuring and compiling): Adjust since
29132 the info files are not part of the tar ball anymore.
29134 2012-05-14 Andreas Jaeger <aj@suse.de>
29136 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29139 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29142 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29143 to 2.2.0 where earlier.
29144 * sysdeps/unix/sysv/linux/configure: Regenerated.
29145 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29146 Remove conditional code.
29147 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29148 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29149 Remove conditional code.
29150 [!__NR_lchown]: Likewise.
29151 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29152 [__NR_lchown]: Likewise.
29153 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29154 comment referencing __ASSUME_LCHOWN_SYSCALL.
29155 * sysdeps/unix/sysv/linux/i386/sigaction.c
29156 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29157 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29158 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29159 Remove conditional code.
29160 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29161 (__protocol_available): Remove #if 0 code.
29162 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29164 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29165 * sysdeps/unix/sysv/linux/kernel-features.h
29166 (__ASSUME_GETCWD_SYSCALL): Don't define.
29167 (__ASSUME_REALTIME_SIGNALS): Likewise.
29168 (__ASSUME_PREAD_SYSCALL): Likewise.
29169 (__ASSUME_PWRITE_SYSCALL): Likewise.
29170 (__ASSUME_POLL_SYSCALL): Likewise.
29171 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29172 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29174 (__ASSUME_SIOCGIFNAME): Don't define.
29175 (__ASSUME_MSG_NOSIGNAL): Likewise.
29176 (__ASSUME_SENDFILE): Define unconditionally.
29177 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29178 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29180 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29181 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29182 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29183 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29184 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29185 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29186 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29188 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29191 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29192 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29194 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29197 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29200 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29203 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29206 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29209 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29211 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29212 Remove conditional code.
29213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29214 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29215 Remove conditional code.
29216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29217 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29218 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29219 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29220 Remove conditional code.
29221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29222 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29223 Remove conditional code.
29224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29225 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29226 Remove conditional code.
29227 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29228 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29229 Remove conditional code.
29230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29231 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29232 Remove conditional code.
29233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29234 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29237 * sysdeps/unix/sysv/linux/sigaction.c
29238 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29239 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29240 * sysdeps/unix/sysv/linux/sigpending.c
29241 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29242 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29243 * sysdeps/unix/sysv/linux/sigprocmask.c
29244 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29245 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29246 * sysdeps/unix/sysv/linux/sigsuspend.c
29247 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29248 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29249 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29250 (__libc_missing_rt_sigs): Remove.
29251 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29252 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29253 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29254 Remove conditional code.
29255 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29256 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29258 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29259 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29260 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29261 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29263 2012-05-14 Andreas Jaeger <aj@suse.de>
29265 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29266 it's not used in glibc.
29267 (__coshm1): Likewise.
29268 (__acosh1p): Likewise.
29271 * manual/string.texi (Copying and Concatenation): Add missing
29272 variable in concat example.
29273 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29275 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29278 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29279 __builtin_clzl with __builtin_clzll.
29281 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29284 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29287 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29289 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29290 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29291 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29292 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29294 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29296 * NEWS: Update ia64 info.
29298 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29300 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29303 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29305 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29306 * sysdeps/unix/syscalls.list (dup3): Likewise.
29307 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29308 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29310 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29312 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29313 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29315 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29317 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29319 (TLS_IE): Use mov/add instead of movq/addq to load thread
29321 (TLS_GD_PREFIX): New.
29324 2012-05-11 David S. Miller <davem@davemloft.net>
29326 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29327 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29328 (_FPU_SETCW): Likewise.
29330 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29332 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29333 is 32-byte aligned.
29335 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29338 * iconvdata/gb18030.c: Update tables.
29339 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29340 characters specially.
29341 (BODY for TO_LOOP): Add encoding of missing ranges.
29343 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29346 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29347 * sysdeps/mach/hurd/dup3.c: Likewise.
29348 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29349 * sysdeps/powerpc/memmove.c:: Likewise.
29351 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29353 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29354 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29356 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29358 * elf/elf.h (R_X86_64_RELATIVE64): New.
29359 (R_X86_64_NUM): Updated.
29360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29361 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29362 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29363 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29364 tst-quad1pie tst-quad2pie
29365 (modules-names): Add tst-quadmod1 tst-quadmod2.
29366 ($(objpfx)tst-quad1): New dependency.
29367 ($(objpfx)tst-quad2): Likewise.
29368 ($(objpfx)tst-quad1pie): Likewise.
29369 ($(objpfx)tst-quad2pie): Likewise.
29370 * sysdeps/x86_64/tst-quad1.c: New file.
29371 * sysdeps/x86_64/tst-quad1pie.c: New file.
29372 * sysdeps/x86_64/tst-quad2.c: Likewise.
29373 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29374 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29375 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29376 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29377 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29379 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29381 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29382 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29383 * streams/stropts.h (t_scalar_t): Define type.
29385 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29386 (_PATH_PRESERVE): Set to "/var/lib".
29387 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29389 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29392 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29393 if __dir_mkfile succeeded.
29395 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29396 checking for _hurd_dtablesize. Unlock it right after having
29397 finished _hurd_dtable allocation.
29399 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29401 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29402 * sysdeps/mach/hurd/configure: Regenerated.
29403 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29404 special-casing to...
29405 * sysdeps/gnu/configure.in: ... this new file.
29406 * sysdeps/unix/sysv/linux/configure: Regenerated.
29407 * sysdeps/gnu/configure: New generated file.
29409 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29410 for Linux: use nsec instead of usec, as well as:
29411 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29412 members of type struct timespec.
29413 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29415 (struct stat64): Likewise.
29416 (_STATBUF_ST_NSEC): New macro.
29417 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29419 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29420 __strtoul_internal rather than strtoul.
29422 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29424 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29427 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29429 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29430 which preserves existing values.
29431 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29433 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29435 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29436 TIMEOUT values. Return EINVAL for NFDS values either negative or
29437 greater than FD_SETSIZE.
29439 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29441 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29442 allocated, call __vm_protect to finish enabling the existing space, and
29443 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29444 allocate the remainder.
29446 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29448 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29449 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29451 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29453 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29454 sysdeps/mach/hurd/readlink.c.
29456 * posix/tst-sysconf.c (posix_options): Only use
29457 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29458 _POSIX_SYNCHRONIZED_IO when they are defined
29459 * sysdeps/mach/hurd/bits/posix_opt.h:
29460 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29461 (_XOPEN_REALTIME): Undefine macro.
29462 (_XOPEN_REALTIME_THREADS): Undefine macro.
29463 (_XOPEN_SHM): Undefine macro.
29464 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29466 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29468 (_POSIX_ASYNC_IO): Undefine macro.
29469 (_POSIX_PRIORITIZED_IO): Undefine macro.
29470 (_POSIX_SPIN_LOCKS): Define macro to -1.
29472 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29473 SA_NODEFER, SA_RESETHAND.
29474 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29475 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29478 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29480 * elf/Makefile (pldd-modules): Define unconditionally.
29482 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29484 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29486 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29488 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29489 Return ENOENT when name is empty.
29490 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29494 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29496 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29498 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29500 Fix mlock in all cases except non-readable pages.
29501 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29502 instead of VM_PROT_ALL as parameter to __vm_wire function.
29504 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29505 (__mkdir): When path is `/', just fail with EEXIST.
29506 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29508 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29510 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29511 <sys/uio.h> (for writev).
29512 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29513 and <sys/param.h> (for MIN).
29515 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29517 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29518 REQUESTED_TIME. Properly set the remaining time and return EINTR
29521 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29523 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29524 Depend on against $(link-rpcuserlibs).
29526 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29528 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29529 (__libc_stack_end): Do not use attribute_relro.
29530 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29531 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29532 to libthread-provided value.
29533 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29536 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29539 * bits/libc-lock.h (__libc_once_get): New macro.
29540 * sysdeps/mach/bits/libc-lock.h: Likewise.
29541 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29542 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29543 instead of using implementation details.
29545 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29546 * libio/freopen.c: Likewise.
29547 * libio/freopen64.c: Likewise.
29548 * misc/syslog.c: Likewise.
29549 * nscd/connections.c: Likewise.
29550 * nscd/netgroupcache.c: Likewise.
29551 * sysdeps/posix/getcwd.c: Likewise.
29553 2012-05-10 Roland McGrath <roland@hack.frob.com>
29555 * math/w_ilogbf.c: Add #include <limits.h>.
29557 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29559 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29560 path instead of returning without unlocking.
29562 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29563 immediate-write ioctls.
29564 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29566 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29568 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29569 __builtin_frame_address instead of making assumptions about the
29570 location of the return address relative to DATA. Force early load of
29571 the return address.
29572 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29573 __builtin_frame_address.
29576 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29577 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29578 implement dup3 and do some further code clean-ups.
29579 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29580 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29582 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29584 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29586 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29587 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29588 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29589 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29590 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29593 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29594 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29595 when handler == SIG_ERR, not when handler != SIG_ERR.
29597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29599 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29600 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29603 accept4 for GNU Hurd.
29604 * include/sys/socket.h (__libc_accept4): New prototype.
29605 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29606 to implement __libc_accept4.
29607 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29609 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29611 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29612 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29613 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29614 signal-defines.sym.
29616 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29618 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29620 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29622 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29623 assertion on O_CLOEXEC flag.
29624 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29625 * hurd/intern-fd.c: Likewise.
29626 * hurd/port2fd.c: Likewise.
29628 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29631 * bits/in.h (IPV6_PKTINFO): Define new macro.
29632 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29634 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29639 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29641 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29642 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29643 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29644 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29645 * math/libm-test.inc (logb_test) : Additional logb tests.
29647 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29648 Andreas Jaeger <aj@suse.de>
29650 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29651 * configure: Regenerated.
29652 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29653 * config.make.in (link-obsolete-rpc): New substituted variable.
29654 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29655 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29656 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29657 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29658 so that libc.a contains the symbols.
29659 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29660 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29661 * sunrpc/auth_none.c: Likewise.
29662 * sunrpc/auth_unix.c: Likewise.
29663 * sunrpc/authdes_prot.c: Likewise.
29664 * sunrpc/authuxprot.c: Likewise.
29665 * sunrpc/clnt_gen.c: Likewise.
29666 * sunrpc/clnt_perr.c: Likewise.
29667 * sunrpc/clnt_raw.c: Likewise.
29668 * sunrpc/clnt_simp.c: Likewise.
29669 * sunrpc/clnt_tcp.c: Likewise.
29670 * sunrpc/clnt_udp.c: Likewise.
29671 * sunrpc/clnt_unix.c: Likewise.
29672 * sunrpc/des_crypt.c: Likewise.
29673 * sunrpc/des_soft.c: Likewise.
29674 * sunrpc/get_myaddr.c: Likewise.
29675 * sunrpc/key_call.c: Likewise.
29676 * sunrpc/key_prot.c: Likewise.
29677 * sunrpc/netname.c: Likewise.
29678 * sunrpc/pm_getmaps.c: Likewise.
29679 * sunrpc/pm_getport.c: Likewise.
29680 * sunrpc/pmap_clnt.c: Likewise.
29681 * sunrpc/pmap_prot.c: Likewise.
29682 * sunrpc/pmap_prot2.c: Likewise.
29683 * sunrpc/pmap_rmt.c: Likewise.
29684 * sunrpc/publickey.c: Likewise.
29685 * sunrpc/rpc_cmsg.c: Likewise.
29686 * sunrpc/rpc_common.c: Likewise.
29687 * sunrpc/rpc_dtable.c: Likewise.
29688 * sunrpc/rpc_prot.c: Likewise.
29689 * sunrpc/rpc_thread.c: Likewise.
29690 * sunrpc/rtime.c: Likewise.
29691 * sunrpc/svc.c: Likewise.
29692 * sunrpc/svc_auth.c: Likewise.
29693 * sunrpc/svc_raw.c: Likewise.
29694 * sunrpc/svc_run.c: Likewise.
29695 * sunrpc/svc_tcp.c: Likewise.
29696 * sunrpc/svc_udp.c: Likewise.
29697 * sunrpc/svc_unix.c: Likewise.
29698 * sunrpc/svcauth_des.c: Likewise.
29699 * sunrpc/xcrypt.c: Likewise.
29700 * sunrpc/xdr.c: Likewise.
29701 * sunrpc/xdr_array.c: Likewise.
29702 * sunrpc/xdr_float.c: Likewise.
29703 * sunrpc/xdr_intXX_t.c: Likewise.
29704 * sunrpc/xdr_mem.c: Likewise.
29705 * sunrpc/xdr_rec.c: Likewise.
29706 * sunrpc/xdr_ref.c: Likewise.
29707 * sunrpc/xdr_sizeof.c: Likewise.
29708 * sunrpc/xdr_stdio.c: Likewise.
29710 2012-05-10 Roland McGrath <roland@hack.frob.com>
29712 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29713 change. Update copyright years.
29715 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29717 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29719 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29720 Joseph Myers <joseph@codesourcery.com>
29721 Paul Pluzhnikov <ppluzhnikov@google.com>
29724 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29726 [cross-compiling] (extra-libs): Likewise.
29727 [cross-compiling] (extra-libs-others): Likewise.
29728 [cross-compiling] (librpcsvc-routines): Likewise.
29729 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29730 [cross-compiling] (omit-deps): Likewise.
29731 (sunrpc-CPPFLAGS): New variable.
29732 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29733 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29734 (cross-rpcgen-objs): New variable.
29735 (extra-objs): Append $(cross-rpcgen-objs).
29736 ($(cross-rpcgen-objs)): New rule.
29737 ($(objpfx)cross-rpcgen): Likewise.
29738 (rpcgen-cmd): Define to use $(built-program-file). Expand
29740 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29741 ($(objpfx)x%.stmp): Likewise.
29742 * sunrpc/proto.h [IS_IN_build] (_): Define.
29743 [IS_IN_build] (_libc_intl_domainname): Likewise.
29745 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29747 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29748 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29749 and R_X86_64_TPOFF64.
29751 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29753 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29754 sysdeps/unix/sysv/syscalls.list.
29757 * sysdeps/unix/sysv/syscalls.list: Remove file.
29759 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29762 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29763 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29764 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29765 (__LC_IDENTIFICATION): Make these macros useful in #if
29766 expressions, as required by C99.
29768 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29770 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29771 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29774 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29776 * stdlib/longlong.h: Updated from GCC.
29778 2012-05-09 Andreas Jaeger <aj@suse.de>
29780 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29781 default is first entry.
29782 (run_mode): Set type.
29783 (main): Remove informal message about syslog.
29784 (options): Fix typo.
29787 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29790 (llrintf): Likewise.
29791 (llrint): Likewise.
29794 (nearbyint): Likewise.
29795 (nearbyintf): Likewise.
29797 2012-05-09 Andreas Jaeger <aj@suse.de>
29798 Pedro Alves <palves@redhat.com>
29800 * nscd/nscd.c (run_mode): Use enum.
29801 (main): Cleanup coding style issue.
29803 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29804 Andreas Jaeger <aj@suse.de>
29806 * nscd/nscd.c (go_background): Replaced with...
29807 (run_mode): ... this.
29808 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29809 (options): Add -F --foreground.
29810 (main): Implement it.
29811 (parse_opt): Parse it.
29813 2012-05-09 Andreas Jaeger <aj@suse.de>
29816 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29817 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29818 -Wconversion warning.
29819 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29822 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29824 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29826 (LC_ALL): Use macro-int-constant.
29827 (LC_COLLATE): Likewise.
29828 (LC_CTYPE): Likewise.
29829 (LC_MESSAGES): Likewise.
29830 (LC_MONETARY): Likewise.
29831 (LC_NUMERIC): Likewise.
29832 (LC_TIME): Likewise.
29833 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29834 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29836 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29838 [C99-based standards] (float_t): Expect type.
29839 [C99-based standards] (double_t): Expect type.
29840 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29842 [C99-based standards] (HUGE_VALL): Likewise.
29843 [C99-based standards] (INFINITY): Likewise.
29844 [C99-based standards] (NAN): Likewise.
29845 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29846 [C99-based standards] (FP_NAN): Likewise.
29847 [C99-based standards] (FP_NORMAL): Likewise.
29848 [C99-based standards] (FP_SUBNORMAL): Likewise.
29849 [C99-based standards] (FP_ZERO): Likewise.
29850 [C99-based standards] (FP_FAST_FMA): Use
29851 optional-macro-int-constant. Specify type. Require == 1.
29852 [C99-based standards] (FP_FAST_FMAF): Likewise.
29853 [C99-based standards] (FP_FAST_FMAL): Likewise.
29854 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29855 [C99-based standards] (FP_ILOGBNAN): Likewise.
29856 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29858 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29859 [C99-based standards] (math_errhandling): Specify type.
29860 [ISO99 || ISO11] (signgam): Do not allow.
29861 [non-C99-based standards] (copysignf): Do not allow.
29862 [non-C99-based standards] (exp2f): Likewise.
29863 [non-C99-based standards] (log2f): Likewise.
29864 [non-C99-based standards] (modff): Allow.
29865 [non-C99-based standards] (erff): Do not allow.
29866 [non-C99-based standards] (erfcf): Likewise.
29867 [non-C99-based standards] (gammaf): Likewise.
29868 [non-C99-based standards] (hypotf): Likewise.
29869 [non-C99-based standards] (j0f): Likewise.
29870 [non-C99-based standards] (j1f): Likewise.
29871 [non-C99-based standards] (jnf): Likewise.
29872 [non-C99-based standards] (lgammaf): Likewise.
29873 [non-C99-based standards] (tgammaf): Likewise.
29874 [non-C99-based standards] (y0f): Likewise.
29875 [non-C99-based standards] (y1f): Likewise.
29876 [non-C99-based standards] (ynf): Likewise.
29877 [non-C99-based standards] (isnanf): Likewise.
29878 [non-C99-based standards] (acoshf): Likewise.
29879 [non-C99-based standards] (asinhf): Likewise.
29880 [non-C99-based standards] (atanhf): Likewise.
29881 [non-C99-based standards] (cbrtf): Likewise.
29882 [non-C99-based standards] (expm1f): Likewise.
29883 [non-C99-based standards] (ilogbf): Likewise.
29884 [non-C99-based standards] (log1pf): Likewise.
29885 [non-C99-based standards] (logbf): Likewise.
29886 [non-C99-based standards] (nextafterf): Likewise.
29887 [non-C99-based standards] (remainderf): Likewise.
29888 [non-C99-based standards] (rintf): Likewise.
29889 [non-C99-based standards] (scalbf): Likewise.
29890 [non-C99-based standards] (copysignl): Likewise.
29891 [non-C99-based standards] (exp2l): Likewise.
29892 [non-C99-based standards] (log2l): Likewise.
29893 [non-C99-based standards] (modfl): Allow.
29894 [non-C99-based standards] (erfl): Do not allow.
29895 [non-C99-based standards] (erfcl): Likewise.
29896 [non-C99-based standards] (gammal): Likewise.
29897 [non-C99-based standards] (hypotl): Likewise.
29898 [non-C99-based standards] (j0l): Likewise.
29899 [non-C99-based standards] (j1l): Likewise.
29900 [non-C99-based standards] (jnl): Likewise.
29901 [non-C99-based standards] (lgammal): Likewise.
29902 [non-C99-based standards] (tgammal): Likewise.
29903 [non-C99-based standards] (y0l): Likewise.
29904 [non-C99-based standards] (y1l): Likewise.
29905 [non-C99-based standards] (ynl): Likewise.
29906 [non-C99-based standards] (isnanl): Likewise.
29907 [non-C99-based standards] (acoshl): Likewise.
29908 [non-C99-based standards] (asinhl): Likewise.
29909 [non-C99-based standards] (atanhl): Likewise.
29910 [non-C99-based standards] (cbrtl): Likewise.
29911 [non-C99-based standards] (expm1l): Likewise.
29912 [non-C99-based standards] (ilogbl): Likewise.
29913 [non-C99-based standards] (log1pl): Likewise.
29914 [non-C99-based standards] (logbl): Likewise.
29915 [non-C99-based standards] (nextafterl): Likewise.
29916 [non-C99-based standards] (remainderl): Likewise.
29917 [non-C99-based standards] (rintl): Likewise.
29918 [non-C99-based standards] (scalbl): Likewise.
29919 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29920 [non-C99-based standards] (FP_*): Do not allow.
29921 [C99-based standards] (FP_*): Change to
29922 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29923 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29925 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29926 (SIG_ERR): Likewise.
29927 [X/Open-based standards] (SIG_HOLD): Likewise.
29928 (SIG_IGN): Likewise.
29929 (SIGABRT): Use macro-int-constant. Specify type. Require
29931 (SIGFPE): Likewise.
29932 (SIGILL): Likewise.
29933 (SIGINT): Likewise.
29934 (SIGSEGV): Likewise.
29935 (SIGTER): Likewise.
29936 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29937 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29938 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29939 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29940 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29941 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29942 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29943 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29944 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29945 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29946 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29947 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29948 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29949 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29950 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29951 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29952 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29953 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29954 [X/Open-based standards] (SIGTRAP): Likewise.
29955 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29956 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29957 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29958 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29959 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29962 2012-05-08 Ian Wienand <ianw@vmware.com>
29965 * time/tzset.c (__tzset_parse_tz): Update default rules for
29966 daylight time changes in the Energy Policy Act of 2005.
29968 2012-05-09 Andreas Jaeger <aj@suse.de>
29971 * elf/ldconfig.c (parse_conf): Change string to make clear that
29972 ldconfig only issued a warning if ld.so.conf does not exist.
29974 2012-05-08 David S. Miller <davem@davemloft.net>
29976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29977 movxtod instead of popping the value on the stack.
29979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29981 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29983 * config.h.in: Add HAVE_ARM_PCS_VFP.
29985 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
29988 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29989 checking but the checks are disabled for any reason.
29991 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29993 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29994 and ELF64_R_TYPE with ELFW(R_TYPE).
29996 2012-05-08 Joseph Myers <joseph@codesourcery.com>
29998 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29999 (ulimit): Likewise.
30001 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30002 (settimeofday): Likewise.
30004 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30006 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30007 a struct th_u2 inside the union, and move tu_block/tu_code into
30008 a new th_u3 union of tu_block/tu_code inside of that. Move
30009 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30010 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30011 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30012 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30013 (th_stuff): Change to th_u1.tu_stuff.
30015 (th_msg): Change to th_u1.th_u2.tu_data.
30017 2012-05-07 David S. Miller <davem@davemloft.net>
30019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30022 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30023 (SETUP_PIC_REG): Use it.
30024 (SETUP_PIC_REG_LEAF): Use it.
30026 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30030 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30032 (EXPL_FINITE): Likewise.
30033 (FLDLOG): Likewise.
30034 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30035 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30037 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30039 (EXPL_FINITE): Likewise.
30040 (FLDLOG): Likewise.
30041 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30042 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30044 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30045 test of -max_value argument for long double.
30046 * sysdeps/i386/fpu/libm-test-ulps: Update.
30047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30049 2012-05-06 David S. Miller <davem@davemloft.net>
30051 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30052 quad soft-float symbols whose references which are compiler
30054 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30056 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30060 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30062 (EXPL_FINITE): Likewise.
30063 (FLDLOG): Likewise.
30066 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30067 Adjust comments for base varying.
30068 (__expl_finite): Change alias to EXPL_FINITE.
30069 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30071 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30072 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30073 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30074 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30075 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30077 (EXPL_FINITE): Likewise.
30078 (FLDLOG): Likewise.
30081 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30082 Adjust comments for base varying.
30083 (__expl_finite): Change alias to EXPL_FINITE.
30084 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30089 * math/libm-test.inc (check_float_internal): Correct ulp
30090 calculation for subnormal expected results.
30092 2012-05-06 Andreas Jaeger <aj@suse.de>
30094 * Makeconfig (+math-flags): New, set to -frounding-math.
30095 (+cflags): Add +math-flags so that all of glibc gets compiled with
30098 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30100 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30102 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30108 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30109 (__ieee754_expl): Allow for and saturate large arguments.
30110 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30111 (u_threshold): Likewise.
30112 (__exp): Call __ieee754_exp before checking for overflow and
30114 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30115 (u_threshold): Likewise.
30116 (__expf): Call __ieee754_expf before checking for overflow and
30118 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30119 (u_threshold): Likewise.
30120 (__expl): Call __ieee754_expl before checking for overflow and
30122 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30123 (__ieee754_expl): Allow for and saturate large arguments.
30124 * math/libm-test.inc (exp_test): Add another test. Do not allow
30125 missing overflow exception on overflow.
30126 (expm1_test): Do not allow missing overflow exception on overflow.
30128 * sysdeps/i386/fpu/e_expl.c: Move to ...
30129 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30130 rather than using inline asm.
30131 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30132 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30133 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30135 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30138 (signal): Likewise.
30142 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30144 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30145 sysdeps/unix/common/syscalls.list.
30146 (fchmod): Likewise.
30147 (fchown): Likewise.
30148 (ftruncate): Likewise.
30149 (getrusage): Likewise.
30150 (gettimeofday): Likewise.
30151 (setpgid): Likewise.
30152 (setregid): Likewise.
30153 (setreuid): Likewise.
30154 (sigaction): Likewise.
30155 (truncate): Likewise.
30156 (vhangup): Likewise.
30157 * sysdeps/unix/common/syscalls.list: Remove file.
30158 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30159 * sysdeps/unix/sysv/linux/Implies: Likewise.
30161 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30163 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30165 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30169 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30172 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30175 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30178 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30181 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30184 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30187 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30191 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30195 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30198 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30202 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30206 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30208 * sysdeps/unix/common/bits/dirent.h: Remove file.
30209 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30211 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30212 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30213 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30214 * sysdeps/unix/bsd/isatty.c: Likewise.
30215 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30216 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30217 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30219 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30222 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30223 long double comparison inaccuracies.
30224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30227 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30229 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30232 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30235 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30236 nonzero digits before rounding a hex value.
30237 * stdlib/tst-strtod.c (tests): Add another test.
30239 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30241 * sysdeps/s390/fpu/libm-test-ulps: Update.
30243 2012-05-03 Andreas Jaeger <aj@suse.de>
30245 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30246 does not get optimized out.
30247 (malloc_opt_barrier): New.
30249 2012-05-03 Andreas Jaeger <aj@suse.de>
30250 Roland McGrath <roland@hack.frob.com>
30252 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30253 intermediate file deletion.
30254 (generated): Add .symlist files.
30256 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30259 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30260 Redirect under this condition.
30261 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30262 [__USE_GNU] (__dprintf_chk): Not under this condition.
30263 [__USE_GNU] (__vdprintf_chk): Likewise.
30264 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30265 under this condition.
30266 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30267 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30268 [__USE_XOPEN2K8] (vdprintf): Likewise.
30269 [__USE_GNU] (__dprintf_chk): Not under this condition.
30270 [__USE_GNU] (__vdprintf_chk): Likewise.
30271 [__USE_GNU] (dprintf): Likewise.
30272 [__USE_GNU] (vdprintf): Likewise.
30274 2012-05-03 Roland McGrath <roland@hack.frob.com>
30276 * elf/Makefile (common-generated): Set this instead of generated for
30277 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30278 $(all-built-dso)-derived lists.
30280 2012-05-03 Andreas Jaeger <aj@suse.de>
30282 * sysdeps/i386/fpu/libm-test-ulps: Update.
30285 * FAQ.in: Likewise.
30286 * scripts/gen-FAQ.pl: Likewise.
30287 * manual/install.texi (Installation): Point to online location of
30289 * Makefile (files-for-dist): Remove FAQ.
30292 2012-05-02 Allan McRae <allan@archlinux.org>
30294 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30295 (LDFLAGS-reldepmod5.so): Likewise.
30296 (LDFLAGS-reldep6mod1.so): Likewise.
30297 (LDFLAGS-reldep6mod4.so): Likewise.
30298 (LDFLAGS-reldep8mod3.so): Likewise.
30299 (LDFLAGS-unload4mod1.so): Likewise.
30300 (LDFLAGS-unload4mod2.so): Likewise.
30301 (LDFLAGS-tst-initorder): Likewise.
30302 (LDFLAGS-tst-initordera2.so): Likewise.
30303 (LDFLAGS-tst-initordera3.so): Likewise.
30304 (LDFLAGS-tst-initordera4.so): Likewise.
30305 (LDFLAGS-tst-initorderb2.so): Likewise.
30306 (LDFLAGS-noload): Likewise.
30307 (LDFLAGS-next): Likewise.
30308 (LDFLAGS-order2mod1.so): Likewise.
30309 (LDFLAGS-order2mod2.so): Likewise.
30310 (LDFLAGS-tst-initorder2): Likewise.
30311 (LDFLAGS-tst-initorder2a.so): Likewise.
30312 (LDFLAGS-tst-initorder2b.so): Likewise.
30313 (LDFLAGS-tst-initorder2c.so): Likewise.
30314 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30316 2012-05-02 David S. Miller <davem@davemloft.net>
30318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30320 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30323 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30325 2012-05-02 Andreas Jaeger <aj@suse.de>
30327 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30328 since we manipulate rounding mode.
30329 (CPPFLAGS-test-idouble.c): Likewise.
30330 (CPPFLAGS-test-ifloat.c): Likewise.
30331 (CFLAGS-test-ldouble.c): Likewise.
30332 (CFLAGS-test-double.c): Likewise.
30333 (CFLAGS-test-float.c): Likewise.
30334 (CFLAGS-test-misc.c): Likewise.
30335 (CFLAGS-test-test-fenv.c): Likewise.
30337 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30341 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30342 comparisons to determine direction to adjust input.
30344 2012-05-01 Roland McGrath <roland@hack.frob.com>
30346 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30347 output to the target.
30349 * scripts/localplt.awk: New file.
30350 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30351 (check-localplt-CFLAGS): Variable removed.
30352 ($(all-built-dso:=.jmprel)): New static pattern rule.
30353 (generated): Add those targets.
30354 (localplt-built-dso): New variable.
30355 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30357 * elf/check-localplt.c: File removed.
30359 * scripts/check-execstack.awk: New file.
30360 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30361 (check-execstack-CFLAGS): Variable removed.
30362 ($(objpfx)check-execstack.h): Target removed.
30363 ($(objpfx)execstack-default): New target.
30364 (generated): Add that instead of check-execstack.h.
30365 ($(all-built-dso:=.phdr)): New static pattern rule.
30366 (generated): Add those targets.
30367 * elf/check-execstack.c: File removed.
30369 * scripts/check-textrel.awk: New file.
30370 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30371 (check-textrel-CFLAGS): Variable removed.
30372 (all-built-dso): Use := to define.o
30373 ($(all-built-dso:=.dyn)): New static pattern rule.
30374 (generated): Add those targets.
30375 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30376 * config.make.in (READELF): New substituted variable.
30377 * elf/check-textrel.c: File removed.
30379 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30381 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30383 * conform/data/ctype.h-data [C99-based standards] (isblank):
30385 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30386 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30387 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30388 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30389 Specify type. Require positive value.
30390 (EILSEQ): Likewise.
30391 (ERANGE): Likewise.
30392 [ISO || POSIX] (EILSEQ): Do not expect.
30393 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30394 Specify type. Require positive value.
30395 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30396 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30397 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30398 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30399 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30400 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30401 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30402 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30403 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30404 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30405 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30406 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30407 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30408 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30409 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30410 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30411 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30412 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30413 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30414 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30415 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30416 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30417 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30418 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30419 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30420 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30421 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30422 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30423 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30424 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30425 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30426 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30427 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30428 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30429 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30430 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30431 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30432 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30433 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30434 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30435 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30436 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30437 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30438 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30439 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30440 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30441 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30442 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30443 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30444 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30445 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30446 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30447 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30448 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30449 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30450 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30451 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30452 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30453 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30454 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30455 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30456 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30457 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30458 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30459 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30460 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30461 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30462 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30463 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30464 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30465 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30466 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30467 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30468 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30469 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30470 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30471 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30473 (FLT_ROUNDS): Expect as macro, not constant.
30474 (FLT_MANT_DIG): Use macro-int-constant.
30475 (DBL_MANT_DIG): Likewise.
30476 (LDBL_MANT_DIG): Likewise.
30477 (FLT_DIG): Likewise.
30478 (DBL_DIG): Likewise.
30479 (LDBL_DIG): Likewise.
30480 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30481 (DBL_MIN_EXP): Likewise.
30482 (LDBL_MIN_EXP): Likewise.
30483 (FLT_MAX_EXP): Use macro-int-constant.
30484 (DBL_MAX_EXP): Likewise.
30485 (LDBL_MAX_EXP): Likewise.
30486 (FLT_MAX_10_EXP): Likewise.
30487 (DBL_MAX_10_EXP): Likewise.
30488 (LDBL_MAX_10_EXP): Likewise.
30489 (FLT_MAX): Use macro-constant.
30490 (DBL_MAX): Likewise.
30491 (LDBL_MAX): Likewise.
30492 (FLT_EPSILON): Use macro-constant. Give upper bound.
30493 (DBL_EPSILON): Likewise.
30494 (LDBL_EPSILON): Likewise.
30495 (FLT_MIN): Likewise.
30496 (DBL_MIN): Likewise.
30497 (LDBL_MIN): Likewise.
30498 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30499 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30500 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30501 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30502 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30503 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30504 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30505 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30506 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30507 [ISO11] (FLT_TRUE_MIN): Likewise.
30508 [ISO11] (LDBL_TRUE_MIN): Likewise.
30509 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30510 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30511 (SCHAR_MIN): Use macro-int-constant. Specify type.
30512 (SCHAR_MAX): Likewise.
30513 (UCHAR_MAX): Likewise.
30514 (CHAR_MIN): Likewise.
30515 (CHAR_MAX): Likewise.
30516 (MB_LEN_MAX): Use macro-int-constant.
30517 (SHRT_MIN): Use macro-int-constant. Specify type.
30518 (SHRT_MAX): Likewise.
30519 (USHRT_MAX): Likewise.
30520 (INT_MAX): Likewise.
30521 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30523 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30525 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30527 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30528 bound negative. Suffix upper bound with "L".
30529 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30531 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30533 [C99-based standards] (LLONG_MAX): Likewise.
30534 [C99-based standards] (ULLONG_MAX): Likewise.
30535 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30537 [ISO11] (max_align_t): Require type.
30538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30540 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30541 from $CFLAGS, without defining away __attribute__ calls.
30542 (checknamespace): Use $CFLAGS_namespace.
30544 * conform/conformtest.pl (@keywords): Only include C99 keywords
30545 for standards based on C99 or C11.
30547 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30549 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30552 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30553 usability of symbols in #if.
30555 * conform/conformtest.pl: If macro or constant types start
30556 "promoted:", expect the symbol to be of the following type
30557 promoted by the integer promotions.
30559 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30560 in one place. Also handle "macro-constant".
30562 * conform/conformtest.pl: Only accept expected macro values with
30563 "==". Parse all "macro" lines in one place.
30564 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30566 * conform/conformtest.pl: Handle braced types on "constant" lines
30567 instead of handling "typed-constant".
30568 * conform/data/signal.h-data: Use "constant" instead of
30571 * conform/conformtest.pl: Handle "optional-" at start of lines in
30572 one place rather than duplicating several cases. Handle each
30573 format of "macro" line with initial "optional-".
30575 * conform/conformtest.pl: Only accept expected constant or
30576 optional-constant values with "==". Parse all "constant" lines in
30577 one place. Parse all "optional-constant" lines in one place.
30578 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30579 * conform/data/fmtmsg.h-data: Likewise.
30580 * conform/data/netinet/in.h-data: Likewise.
30581 * conform/data/tar.h-data: Likewise.
30582 * conform/data/limits.h-data: Use "==" form on "constant" and
30583 "optional-constant" lines.
30585 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30586 Use -std=c99 for XOPEN2K.
30587 (@knownproblems): Remove.
30588 (newtoken): Don't check %isknown.
30590 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30591 Do not expect macro.
30592 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30593 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30594 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30595 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30596 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30597 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30598 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30599 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30600 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30601 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30602 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30603 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30604 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30605 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30606 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30607 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30608 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30609 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30610 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30611 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30612 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30613 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30614 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30615 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30616 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30617 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30618 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30619 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30620 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30621 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30622 [XPG3] (acosh): Likewise.
30623 [XPG3] (asinh): Likewise.
30624 [XPG3] (atanh): Likewise.
30625 [XPG3] (cbrt): Likewise.
30626 [XPG3] (expm1): Likewise.
30627 [XPG3] (ilogb): Likewise.
30628 [XPG3] (log1p): Likewise.
30629 [XPG3] (logb): Likewise.
30630 [XPG3] (nextafter): Likewise.
30631 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30632 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30633 [XPG3] (remainder): Likewise.
30634 [XPG3] (rint): Likewise.
30635 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30636 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30637 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30638 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30639 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30640 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30641 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30642 [UNIX98 || XOPEN2K] (scalb): Expect.
30643 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30644 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30645 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30646 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30647 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30648 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30649 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30650 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30651 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30652 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30653 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30654 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30655 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30656 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30657 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30658 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30659 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30660 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30661 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30662 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30663 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30664 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30665 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30666 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30667 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30668 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30669 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30670 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30671 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30672 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30673 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30674 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30675 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30676 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30677 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30678 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30679 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30680 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30681 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30682 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30683 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30684 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30685 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30686 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30687 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30688 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30689 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30690 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30691 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30692 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30694 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30697 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30698 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30699 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30703 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30704 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30706 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30707 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30709 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30710 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30721 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30722 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30723 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30724 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30725 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30726 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30727 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30728 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30729 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30730 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30731 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30732 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30733 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30736 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30739 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30741 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30742 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30743 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30744 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30748 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30749 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30757 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30758 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30759 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30761 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30762 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30763 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30764 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30765 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30766 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30767 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30768 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30769 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30772 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30773 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30777 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30778 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30779 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30781 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30782 _XOPEN_SOURCE_EXTENDED for XPG4.
30784 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30786 * Makeconfig (localtime): Remove variable.
30787 (inst_localtime-file): Likewise.
30789 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30810 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30814 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30815 comparisons to determine direction to adjust input.
30816 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30817 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30820 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30822 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30824 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30825 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30827 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30829 * math/libm-test.inc (nexttoward_test): Add more tests.
30831 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30835 in version GLIBC_2.1, not GLIBC_2.0.
30836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30839 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30842 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30844 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30845 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30846 * math/libm-test.inc (acos_test): Add more tests.
30847 (asin_test): Likewise.
30848 * sysdeps/i386/fpu/libm-test-ulps: Update.
30849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30852 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30854 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30855 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30856 * math/libm-test.inc (acos_test_tonearest): New function.
30857 (acos_test_towardzero): Likewise.
30858 (acos_test_downward): Likewise.
30859 (acos_test_upward): Likewise.
30860 (asin_test_tonearest): Likewise.
30861 (asin_test_towardzero): Likewise.
30862 (asin_test_downward): Likewise.
30863 (asin_test_upward): Likewise.
30864 (main): Call the new functions.
30865 * sysdeps/i386/fpu/libm-test-ulps: Update.
30866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30870 * math/e_exp10.c: Include <float.h>.
30871 (__ieee754_exp10): Handle underflow here rather than multiplying
30872 large negative argument by M_LN10.
30873 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30875 * math/e_exp10l.c: Include <float.h>.
30876 (__ieee754_exp10l): Handle underflow here rather than multiplying
30877 large negative argument by M_LN10l.
30878 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30879 spurious overflow exception on underflow.
30881 2012-04-29 Marek Polacek <polacek@redhat.com>
30883 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30884 (__fortify_function): New macro.
30885 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30886 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30887 __extern_always_inline.
30888 * libio/bits/stdio2.h: Likewise.
30889 * libio/bits/stdio.h: Likewise.
30890 * string/string.h: Likewise.
30891 * string/bits/string3.h: Likewise.
30892 * include/stdio.h: Likewise.
30893 * stdlib/bits/stdlib.h: Likewise.
30894 * stdlib/stdlib.h: Likewise.
30895 * rt/bits/mqueue2.h: Likewise.
30896 * rt/mqueue.h: Likewise.
30897 * posix/bits/unistd.h: Likewise.
30898 * posix/unistd.h: Likewise.
30899 * io/bits/poll2.h: Likewise.
30900 * io/bits/fcntl2.h: Likewise.
30901 * io/fcntl.h: Likewise.
30902 * io/sys/poll.h: Likewise.
30903 * misc/bits/syslog.h: Likewise.
30904 * misc/bits/syslog-ldbl.h: Likewise.
30905 * misc/sys/syslog.h: Likewise.
30906 * socket/bits/socket2.h: Likewise.
30907 * socket/sys/socket.h: Likewise.
30908 * debug/tst-chk1.c: Likewise.
30909 * wcsmbs/bits/wchar2.h: Likewise.
30910 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30911 * wcsmbs/wchar.h: Likewise.
30913 2012-04-29 Andreas Jaeger <aj@suse.de>
30915 * Makerules (tests): Remove enable-check-abi protection.
30916 (check-abi-warn): Remove.
30917 (check-abi-%): Remove check-abi-warn usage.
30919 * configure.in: Remove check-abi configure option.
30920 * configure: Regenerated.
30921 * config.make.in (enable-check-abi): Remove.
30923 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30926 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30927 double functions to double *_finite functions.
30930 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30931 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30933 * stdio-common/Makefile (tests): Add tst-sprintf3.
30934 * stdio-common/tst-sprintf3.c: New file.
30936 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30937 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30939 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30941 * conform/conformtest.pl: Remove duplicate typed-constant
30944 2012-04-28 David S. Miller <davem@davemloft.net>
30946 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30947 (check-abi-%): Remove AWK script prerequisite and explicit
30949 (check-abi): Rewrite to just diff the symlist with the abilist.
30950 (config-tls, config-abi-config): Delete, no longer used.
30951 (update-abi-%): Remove AWK script and explicit abilist directory.
30952 (update-abi): Rewrite to simply compare and conditionally copy the
30953 symlist and the sysdep abilist file. Remove update-abi-config
30955 * abilist/ld.abilist: Remove.
30956 * abilist/libBrokenLocale.abilist: Remove.
30957 * abilist/libanl.abilist: Remove.
30958 * abilist/libcrypt.abilist: Remove.
30959 * abilist/libdl.abilist: Remove.
30960 * abilist/librt.abilist: Remove.
30961 * abilist/libthread_db.abilist: Remove.
30962 * abilist/libutil.abilist: Remove.
30963 * scripts/extract-abilist.awk: Remove.
30964 * scripts/merge-abilist.awk: Remove.
30965 * sysdeps/generic/libcidn.abilist: New file.
30966 * sysdeps/generic/libnss_compat.abilist: New file.
30967 * sysdeps/generic/libnss_db.abilist: New file.
30968 * sysdeps/generic/libnss_dns.abilist: New file.
30969 * sysdeps/generic/libnss_files.abilist: New file.
30970 * sysdeps/generic/libnss_hesiod.abilist: New file.
30971 * sysdeps/generic/libnss_nis.abilist: New file.
30972 * sysdeps/generic/libnss_nisplus.abilist: New file.
30973 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30974 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30975 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30977 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30978 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30979 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30980 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30981 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30982 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30983 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30984 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30985 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30987 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30988 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30989 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30990 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30992 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30993 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30994 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30995 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30996 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30997 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30999 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31000 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31001 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31003 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31106 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31107 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31108 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31110 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31111 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31112 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31113 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31114 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31115 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31116 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31117 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31118 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31119 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31171 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31173 * conform/conformtest.pl: Fix typo in handling typed-constant from
31176 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31178 * README: Cut down references to pre-2.6 Linux kernels and
31179 Linuxthreads. Update lists of configurations in libc and ports
31180 and sort alphabetically. Say "or newer" with Linux kernel version
31183 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31185 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31188 * math/libm-test.inc (logb_test_downward): New test to expose
31189 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31192 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31195 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31197 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31198 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31200 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31202 * sysdeps/unix/i386/brk.S: Remove file.
31203 * sysdeps/unix/i386/dl-brk.S: Likewise.
31204 * sysdeps/unix/i386/pipe.S: Likewise.
31205 * sysdeps/unix/i386/sigreturn.S: Likewise.
31206 * sysdeps/unix/i386/syscall.S: Likewise.
31207 * sysdeps/unix/i386/vfork.S: Likewise.
31208 * sysdeps/unix/i386/wait.S: Likewise.
31210 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31211 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31213 * configure.in (arm*-none*): Do not allow without
31214 --enable-hacker-mode.
31215 (netbsd*): Remove case setting base_os.
31216 (386bsd*): Likewise.
31217 (freebsd*): Likewise.
31220 (sunos*): Likewise.
31221 (ultrix*): Likewise.
31222 (newsos*): Likewise.
31223 (dynix*): Likewise.
31229 (minix*): Likewise.
31230 (irix4*): Likewise.
31231 (irix6*): Likewise.
31232 (solaris[2-9]*): Likewise.
31234 * configure: Regenerated.
31236 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31239 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31240 overflow or cancellation in calculating denominator.
31241 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31242 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31243 down expression to avoid unexpected rounding in newer GCCs.
31244 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31246 2012-04-26 David S. Miller <davem@davemloft.net>
31248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31249 long-double compat symbols.
31250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31264 2012-04-25 David S. Miller <davem@davemloft.net>
31266 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31267 HWCAP_* values only after the memory barriers have been defined.
31268 (atomic_full_barrier): Define.
31269 (atomic_read_barrier): Define.
31270 (atomic_write_barrier): Define.
31272 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31274 * shlib-versions: Add libgcc_s version information.
31275 * sysdeps/generic/libgcc_s.h: Remove.
31276 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31278 * sysdeps/gnu/unwind-resume.c: Likewise.
31279 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31281 2012-04-25 David S. Miller <davem@davemloft.net>
31283 * sysdeps/unix/sparc/brk.S: Delete.
31284 * sysdeps/unix/sparc/dl-brk.S: Delete.
31285 * sysdeps/unix/sparc/pipe.S: Delete.
31286 * sysdeps/unix/sparc/sysdep.S: Delete.
31287 * sysdeps/unix/sparc/sysdep.h: Delete.
31288 * sysdeps/unix/sparc/vfork.S: Delete.
31289 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31290 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31291 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31292 ret_ERRVAL, r0, r1, MOVE): Define.
31293 (JUMPTARGET): Remove.
31294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31295 sysdeps/unix/sparc/sysdep.h
31296 (ENTRY, END): Remove.
31297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31299 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31301 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31302 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31305 * timezone/README: Update upstream location and email address for
31307 * timezone/zdump.c: Update from tzcode 2012b.
31308 * timezone/zic.c: Likewise.
31310 * configure.in (libc_cv_as_needed): Remove test.
31311 * configure: Regenerated.
31312 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31313 conditional definition.
31314 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31315 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31316 * config.make.in (have-as-needed): Remove variable.
31318 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31319 Paul Pluzhnikov <ppluzhnikov@google.com>
31321 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31324 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31326 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31327 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31328 * sysdeps/sh/strlen.S: Likewise.
31330 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31332 * sysdeps/unix/fork.S: Remove file.
31333 * sysdeps/unix/i386/fork.S: Likewise.
31334 * sysdeps/unix/sparc/fork.S: Likewise.
31336 * sysdeps/unix/system.c: Remove file.
31337 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31339 * sysdeps/unix/getegid.S: Remove file.
31340 * sysdeps/unix/geteuid.S: Likewise.
31342 2012-04-24 Roland McGrath <roland@hack.frob.com>
31344 * scripts/check-localplt.awk: New file.
31345 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31347 * scripts/data/localplt-generic.data: Add a comment.
31349 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31350 NODE when __dir_mkfile failed.
31351 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31352 Reported by Ludovic Courtès <ludo@gnu.org>.
31354 2012-04-24 Andreas Jaeger <aj@suse.de>
31356 * Makerules (common-clean): Also remove gen-as-const-headers
31359 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31361 * Makerules (native-compile): Do not change working directory for
31362 build. Use $(OUTPUT_OPTION) in command.
31363 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31365 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31368 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31369 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31370 * math/libm-test.inc (floor_test): Add more tests.
31371 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31373 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31375 * sysdeps/unix/getdents.c: Remove file.
31376 * sysdeps/unix/sysv/getdents.c: Likewise.
31377 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31379 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31380 sysdeps/unix/mman/syscalls.list.
31382 (mprotect): Likewise.
31384 (munmap): Likewise.
31385 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31386 * sysdeps/unix/mman/syscalls.list: Remove.
31387 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31389 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31390 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31391 * configure: Regenerated.
31392 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31393 $(libgcc_s_suffix).
31394 * config.make.in (libgcc_s_suffix): Remove variable.
31396 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31398 * sysdeps/unix/sysv/gethostname.c: Move to ...
31399 * sysdeps/posix/gethostname.c: ... here.
31401 * sysdeps/unix/execve.S: Remove file.
31403 * sysdeps/unix/_exit.S: Remove file.
31405 2012-04-23 Andreas Jaeger <aj@suse.de>
31408 * manual/Makefile: Remove make dist support, there's no
31409 need for a stand-alone documentation tar ball.
31410 (TEXI2DVI): Define always, it's not in Makeconfig.
31413 (edition): Removed.
31414 (glibc-doc-$(edition).tar): Removed
31418 (ETAGS): Remove, it's in Makeconfig.
31419 (move-if-change): Remove, it's in Makeconfig.
31421 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31424 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31425 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31426 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31427 (strtod_l, strtof_l, strtold_l): Remove __wur.
31428 It is not necessarily an error to ignore strtol's return value.
31429 One can reliably look at the stored endptr to decide whether
31430 the number had valid syntax.
31432 2012-04-21 Andreas Jaeger <aj@suse.de>
31435 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31437 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31439 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31440 * sysdeps/unix/sysv/Versions: Remove file.
31442 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31447 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31450 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31451 version from __vm86.
31453 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31455 * sysdeps/unix/common/lxstat.c: Remove file.
31456 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31458 * sysdeps/unix/sysv/Makefile: Remove file.
31460 * sysdeps/unix/sysv/direct.h: Remove file.
31462 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31463 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31464 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31465 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31466 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31467 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31468 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31470 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31472 * sysdeps/unix/xmknod.c: Remove file.
31473 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31475 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31477 * sysdeps/unix/sysv/i386/time.S: Remove file.
31479 * sysdeps/unix/fxstat.c: Remove file.
31480 * sysdeps/unix/xstat.c: Likewise.
31481 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31483 * sysdeps/unix/sysv/sigaction.c: Remove file.
31485 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31486 (sysdep_headers): Remove variable.
31487 [termio.h not in sysdep_headers] (generated): Likewise.
31488 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31489 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31490 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31491 * sysdeps/unix/sysv/tcflow.c: Likewise.
31492 * sysdeps/unix/sysv/tcflush.c: Likewise.
31493 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31494 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31495 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31496 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31497 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31499 * sysdeps/unix/siglist.c: Remove file.
31501 * sysdeps/unix/getppid.S: Remove file.
31503 * sysdeps/unix/mkdir.c: Remove file.
31504 * sysdeps/unix/rmdir.c: Likewise.
31506 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31508 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31510 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31511 errlist-compat value.
31513 2012-04-18 David S. Miller <davem@davemloft.net>
31515 * sysdeps/generic/memcopy.h (reg_char): Delete.
31516 * debug/strcat_chk.c: Use char, not reg_char.
31517 * debug/strcpy_chk.c: Likewise.
31518 * debug/strncat_chk.c: Likewise.
31519 * debug/strncpy_chk.c: Likewise.
31520 * string/memchr.c: Likewise.
31521 * string/memrchr.c: Likewise.
31522 * string/rawmemchr.c: Likewise.
31523 * string/strcat.c: Likewise.
31524 * string/strchr.c: Likewise.
31525 * string/strchrnul.c: Likewise.
31526 * string/strcmp.c: Likewise.
31527 * string/strcpy.c: Likewise.
31528 * string/strncat.c: Likewise.
31529 * string/strncmp.c: Likewise.
31530 * string/strncpy.c: Likewise.
31532 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31534 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31535 __builtin_memcopy is called when src and dest ranges are known to not
31538 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31540 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31541 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31542 fwd_align_merge macro call.
31543 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31544 bwd_align_merge macro call.
31545 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31547 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31549 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31550 bwd_align_merge macros.
31551 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31552 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31553 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31555 2012-04-18 David S. Miller <davem@davemloft.net>
31557 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31559 2012-04-18 Andreas Jaeger <aj@suse.de>
31562 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31563 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31564 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31566 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31567 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31568 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31570 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31571 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31572 Adjust for changed ldbl-128 files.
31574 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31575 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31576 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31578 2012-04-17 David S. Miller <davem@davemloft.net>
31580 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31582 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31584 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31585 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31586 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31587 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31588 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31589 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31591 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31594 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31595 * math/libm-test.inc: Add ilogb errno and exception tests.
31596 * math/w_ilogb.c: New file: ilogb wrapper.
31597 * math/w_ilogbf.c: New file: ilogbf wrapper.
31598 * math/w_ilogbl.c: New file: ilogbl wrapper.
31599 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31600 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31601 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31602 exception being thrown with 0.0 as argument.
31603 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31604 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31605 exception being thrown with 0.0 as argument.
31606 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31607 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31608 exception being thrown with 0.0 as argument.
31609 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31610 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31611 exception being thrown with 0.0 as argument.
31612 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31613 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31614 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31615 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31616 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31617 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31618 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31619 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31620 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31622 2012-04-17 Petr Baudis <pasky@ucw.cz>
31624 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31627 2012-04-16 Marek Polacek <polacek@redhat.com>
31629 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31631 2012-04-16 Marek Polacek <polacek@redhat.com>
31633 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31634 operands of fdivp instruction.
31636 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31638 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31639 * elf/tst-auditmod3b.c: Likewise.
31640 * elf/tst-auditmod4b.c: Likewise.
31641 * elf/tst-auditmod5b.c: Likewise.
31642 * elf/tst-auditmod6b.c: Likewise.
31643 * elf/tst-auditmod6c.c: Likewise.
31644 * elf/tst-auditmod7b.c: Likewise.
31645 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31646 * sysdeps/x86_64/preconfigure.in: Likewise.
31647 * sysdeps/x86_64/preconfigure: Regenerated.
31649 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31651 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31654 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31656 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31657 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31659 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31662 * locale/iso-639.def: Fix gl language name. Spotted by
31665 2012-04-12 Roland McGrath <roland@hack.frob.com>
31668 * libio/libio.h (__io_write_fn): Update comment.
31670 2012-04-12 Petr Baudis <pasky@ucw.cz>
31673 * stdio.texi (Hook Functions): The user provided writer function
31674 is not allowed to return -1.
31676 2012-04-11 David S. Miller <davem@davemloft.net>
31678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31680 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31682 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31683 Add a leading slash to rtkaio.
31685 2012-04-11 Jim Meyering <meyering@redhat.com>
31688 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31689 It is not necessarily an error to ignore fwrite's return
31690 value. One can reliably use ferror to test for errors after
31693 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31695 * bits/types.h (__snseconds_t): New type.
31696 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31698 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31700 (__SNSECONDS_T_TYPE): Likewise.
31701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31702 (__SNSECONDS_T_TYPE): Likewise.
31703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31704 (__SNSECONDS_T_TYPE): Likewise.
31706 2012-04-10 Andreas Jaeger <aj@suse.de>
31709 * manual/time.texi (Processor Time): Return type of times is
31710 elapsed real time since an arbitrary point in the past.
31711 (CPU Time): Move CLK_TCK from here...
31712 (Processor Time): ...to here. Correct description.
31713 * manual/conf.texi (Constants for Sysconf): Correct description of
31716 2012-04-10 David S. Miller <davem@davemloft.net>
31719 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31720 where the is a gap between DT_REL(A) and DT_JMPREL.
31722 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31724 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31725 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31726 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31728 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31730 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31731 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31732 (dl_main): Handle --inhibit-cache.
31733 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31735 * elf/dl-load.c (_dl_map_object): Use it.
31736 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31738 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31741 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31742 (__ieee754_powl): Saturate large exponents rather than testing for
31743 overflow of y*log2(x).
31744 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31745 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31749 * math/s_ctan.c: Include <float.h>.
31750 (__ctan): Avoid internal overflow or cancellation in calculating
31752 * math/s_ctanf.c: Likewise.
31753 * math/s_ctanl.c: Likewise.
31754 * math/s_ctanh.c: Likewise.
31755 * math/s_ctanhf.c: Likewise.
31756 * math/s_ctanhl.c: Likewise.
31757 * math/libm-test.inc (ctan_test): Add more tests.
31758 (ctanh_test): Likewise.
31759 * sysdeps/i386/fpu/libm-test-ulps: Update.
31760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31762 2012-04-09 Andreas Jaeger <aj@suse.de>
31765 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31766 is an optional BSD extension.
31769 * manual/stdio.texi (Opening Streams): Document additional fopen
31772 2012-04-09 Roland McGrath <roland@hack.frob.com>
31774 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31775 %eax without telling the compiler.
31777 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31780 * manual/install.texi: Use sourceware.org.
31782 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31785 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31786 (__ieee754_pow): Generate overflow and underflow using huge*huge
31787 and tiny*tiny rather than just returning constant infinity or zero
31788 for large exponents.
31789 * math/libm-test.inc (pow_test): Require overflow exceptions for
31790 applicable cases of large exponents.
31793 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31794 (__ieee754_pow): Use iterative multiplication algorithm only for
31795 integer exponents with absolute value below 1024. Check for odd
31796 integer exponents when using algorithm for real exponents.
31797 * math/libm-test.inc (pow_test): Add more tests.
31798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31800 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31803 * math/libm-test.inc (exp_test): Do not allow overflow exception
31806 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31809 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31810 instead of __kernel_standard_f.
31812 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31814 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31815 * sysdeps/x86_64/memset_chk.S: Likewise.
31817 2012-04-08 Andreas Jaeger <aj@suse.de>
31820 * manual/startup.texi (Environment Access): Describe return value
31821 for putenv and setenv.
31824 * manual/filesys.texi (Directory Entries): Add description for
31828 * manual/filesys.texi (Directory Entries): Clarify that it's file
31829 system not operating system in the description of DT_UNKNOWN.
31832 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31834 2012-04-08 Stephen Compall <s11@member.fsf.org>
31837 * manual/llio.texi (Opening and Closing Files): Add cross
31838 reference to explain mode argument.
31840 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31842 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31843 * sysdeps/x86_64/memset_chk.S: Likewise.
31845 2012-04-07 David S. Miller <davem@davemloft.net>
31847 * elf/elf.h (R_SPARC_WDISP10): Define.
31848 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31851 R_SPARC_SIZE64 and R_SPARC_H34.
31853 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31855 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31856 conditions and remove no longer applicable assertion.
31858 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31860 * bits/byteswap.h: Include <features.h>.
31861 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31862 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31864 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31866 * bits/byteswap.h (__bswap_16): Removed.
31867 Include <bits/byteswap-16.h> to get __bswap_16.
31868 * sysdeps/i386/bits/byteswap.h: Likewise.
31869 * sysdeps/s390/bits/byteswap.h: Likewise.
31870 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31871 * bits/byteswap-16.h: New file.
31872 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31873 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31874 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31875 * string/Makefile (headers): Add bits/byteswap-16.h.
31877 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31880 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31882 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31883 * nss/tst-nss-static.c: New.
31885 2012-04-06 Robert Millan <rmh@gnu.org>
31888 * manual/llio.texi (File Position Primitive): lseek
31889 refers to WHENCE when it really means OFFSET.
31891 2012-04-06 Andreas Jaeger <aj@suse.de>
31893 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31894 strncmp declarations.
31896 * abilist/libc.abilist: Add __poll and __ppoll.
31898 2012-04-05 David S. Miller <davem@davemloft.net>
31900 * scripts/check-local-headers.sh: Accept a host triplet in the
31901 path matched by the exclude regexp.
31903 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31905 * sysdeps/powerpc/powerpc32/dl-machine.h
31906 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31907 * sysdeps/s390/s390-32/dl-machine.h
31908 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31909 * sysdeps/sparc/sparc32/dl-machine.h
31910 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31911 * sysdeps/sparc/sparc64/dl-machine.h
31912 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31914 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31916 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31917 undefined symbol errors.
31919 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31922 2012-04-05 Michael Matz <matz@suse.de>
31925 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31927 2012-04-05 Andreas Jaeger <aj@suse.de>
31930 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31933 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31935 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31936 which ROUND is no valid rounding mode.
31938 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31940 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31942 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31944 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31946 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31947 an exception using FPU order intentionally.
31949 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31951 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31952 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31953 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31954 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31956 2012-04-05 Simon Josefsson <simon@josefsson.org>
31959 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31960 EINVAL when BUFLEN is too smal.
31962 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31965 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31966 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31968 2012-04-03 Andreas Jaeger <aj@suse.de>
31971 * manual/setjmp.texi (System V contexts): Fix sentence.
31974 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31975 New macro for this case.
31976 [!__GNUC__] (__bswap_64): New inline function for this case.
31977 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31978 * bits/byteswap.h: Likewise.
31979 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31980 ull, guard with __GLIBC_HAVE_LONG_LONG.
31982 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31983 __GLIBC_HAVE_LONG_LONG.
31985 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31986 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31988 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31991 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31992 inptr and inend, rather than using last_ch.
31994 2012-04-02 David S. Miller <davem@davemloft.net>
31996 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31997 * stdio-common/printf-parse.h (read_int): Change return type to
31998 'int', return -1 on INT_MAX overflow.
31999 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32000 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32001 overflows INT_MAX. Check for overflow of in-format-string precision
32002 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32003 SIZE_MAX not INT_MAX for integer overflow test.
32004 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32005 skip the construct in the format string but do not record anything.
32006 * stdio-common/bug22.c: Adjust to test both width/prevision
32007 INT_MAX overflow as well as total length INT_MAX overflow. Check
32008 explicitly for proper errno values.
32010 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32012 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32014 * string/test-strcmp.c [! WIDE]: Likewise.
32015 * time/tst-mktime2.c: Likewise for INT_MAX.
32016 * string/test-string.h: #include <sys/param.h> for MIN.
32018 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32019 * sysdeps/i386/init-first.c (init): Likewise.
32020 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32021 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32022 * sysdeps/sh/init-first.c (init): Likewise.
32024 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32026 * po/ru.po: Update from translation team.
32027 * po/vi.po: Likewise.
32029 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32031 * resolv/nss_dns/dns-host.c: Merge copyright years.
32033 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32035 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32036 Optimize memcpy with prefetch if
32037 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32038 src, dst pointers have unequal 16 byte alignments.
32040 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32043 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32044 from a CNAME entry and return the minimum ttl for the query.
32045 (gaih_getanswer_slice): Likewise.
32047 2012-03-30 Jeff Law <law@redhat.com>
32049 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32051 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32052 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32054 * resolv/nss_dns/dns-host.c: Update copyright year.
32056 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32058 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32059 requests to save a system call. Fix check that all bytes are sent.
32061 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32062 comments for sendmmsg.
32064 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32067 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32068 with only 1 character between 0x0041 and 0x01b0.
32069 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32070 * wcsmbs/tst-mbsnrtowcs.c: New file.
32072 2012-03-29 David S. Miller <davem@davemloft.net>
32074 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32075 small copies by hand.
32077 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32080 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32081 _nss_compat_initgroups_dyn): Fall back to malloc/free
32082 for large group memberships.
32084 2012-03-28 David S. Miller <davem@davemloft.net>
32086 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32087 that branches into memcpy.
32088 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32091 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32094 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32095 implementation too.
32096 * sysdeps/sparc/mempcpy.S: New file.
32098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32099 the IFUNC routine in the libc case.
32100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32102 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32103 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32104 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32105 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32106 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32107 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32108 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32109 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32111 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32112 loop to 256 bytes instead of 64 bytes and fix test signedness.
32114 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32115 * sysdeps/sparc/sparc32/Makefile: rather than here...
32116 * sysdeps/sparc/sparc64/Makefile: and here.
32118 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32120 * malloc/mallocbug.c: Avoid warnings about unused variables.
32122 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32125 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32126 in the right place. Discard and retry query if response is
32127 larger than input buffer size.
32129 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32134 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32135 x for large integer exponent.
32136 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32137 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32138 sign of result as needed afterwards.
32139 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32140 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32141 result for underflowing pow the same as for overflow.
32142 (__kernel_standard_l): Handle powl overflow and underflow here
32143 rather than calling __kernel_standard.
32144 * math/libm-test.inc (pow_test): Add more tests.
32159 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32160 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32161 (__kernel_standard_l): New function.
32162 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32164 * math/w_acosl.c (__acosl): Likewise.
32165 * math/w_asinl.c (__asinl): Likewise.
32166 * math/w_atan2l.c (__atan2l): Likewise.
32167 * math/w_atanhl.c (__atanhl): Likewise.
32168 * math/w_coshl.c (__coshl): Likewise.
32169 * math/w_exp10l.c (__exp10l): Likewise.
32170 * math/w_exp2l.c (__exp2l): Likewise.
32171 * math/w_fmodl.c (__fmodl): Likewise.
32172 * math/w_hypotl.c (__hypotl): Likewise.
32173 * math/w_j0l.c (__j0l, __y0l): Likewise.
32174 * math/w_j1l.c (__j1l, __y1l): Likewise.
32175 * math/w_jnl.c (__jnl, __ynl): Likewise.
32176 * math/w_lgammal.c (__lgammal): Likewise.
32177 * math/w_log10l.c (__log10l): Likewise.
32178 * math/w_log2l.c (__log2l): Likewise.
32179 * math/w_logl.c (__logl): Likewise.
32180 * math/w_powl.c (__powl): Likewise.
32181 * math/w_remainderl.c (__remainderl): Likewise.
32182 * math/w_scalbl.c (sysv_scalbl): Likewise.
32183 * math/w_sinhl.c (__sinhl): Likewise.
32184 * math/w_sqrtl.c (__sqrtl): Likewise.
32185 * math/w_tgammal.c (__tgammal): Likewise.
32186 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32187 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32188 * math/libm-test.inc (acos_test): Add more tests.
32189 (acosh_test): Likewise.
32190 (asin_test): Likewise.
32191 (atanh_test): Likewise.
32192 (exp_test): Likewise.
32193 (exp10_test): Likewise.
32194 (exp2_test): Likewise.
32195 (expm1_test): Likewise.
32196 (lgamma_test): Likewise.
32197 (log_test): Likewise.
32198 (log10_test): Likewise.
32199 (log1p_test): Likewise.
32200 (log2_test): Likewise.
32201 (pow_test): Do not allow some spurious overflow exceptions.
32202 (sqrt_test): Add more tests.
32203 (tgamma_test): Likewise.
32204 (y0_test): Likewise.
32205 (y1_test): Likewise.
32206 (yn_test): Likewise.
32208 2012-03-27 Anton Blanchard <anton@samba.org>
32210 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32212 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32213 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32214 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32216 2012-03-27 David S. Miller <davem@davemloft.net>
32218 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32220 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32221 have-as-vis3 check.
32223 2012-03-27 Andreas Jaeger <aj@suse.de>
32225 * sysdeps/x86_64/elf/configure.in: Moved to ...
32226 * sysdeps/x86_64/configure.in: ... here.
32227 * sysdeps/x86_64/elf/start.S: Moved to ...
32228 * sysdeps/x86_64/start.S: ... here.
32229 * sysdeps/x86_64/elf/configure: Delete.
32231 * sysdeps/x86_64/configure.in: Merge contents from
32232 sysdeps/i386/configure.in (without i686 check).
32234 * sysdeps/i386/elf/Versions: Merge into ...
32235 * sysdeps/i386/Versions: ... this.
32236 * sysdeps/i386/elf/Versions: Delete file.
32237 * sysdeps/i386/elf/start.S: Moved to ...
32238 * sysdeps/i386/start.S: ...here.
32239 * sysdeps/i386/elf/configure.in: Merge into...
32240 * sysdeps/i386/configure.in: ...here.
32241 * sysdeps/i386/elf/configure.in: Delete file.
32242 * sysdeps/i386/elf/configure: Delete file.
32244 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32245 * debug/backtracesyms.c: ... here.
32246 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32247 * debug/backtracesymsfd.c: ... here.
32248 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32249 * sysdeps/generic/ifunc-sel.h: ... here.
32251 * sysdeps/unix/i386/start.c: Delete file.
32252 * sysdeps/unix/sparc/start.c: Delete file.
32253 * sysdeps/unix/start.c: Delete file.
32255 * sysdeps/sh/elf/configure.in: Moved to ...
32256 * sysdeps/sh/configure.in: ... here.
32257 * sysdeps/sh/elf/start.S: Moved to ...
32258 * sysdeps/sh/start.S: ... here.
32259 * sysdeps/sh/elf/configure: Delete file.
32261 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32262 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32263 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32264 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32265 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32266 * sysdeps/powerpc/powerpc64/start.S: here.
32267 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32268 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32269 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32270 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32271 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32273 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32274 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32275 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32276 * sysdeps/powerpc/powerpc32/start.S: ... here.
32277 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32278 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32279 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32281 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32282 * sysdeps/powerpc/ifunc-sel.h: ... here.
32283 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32284 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32286 * sysdeps/sparc/elf/configure.in: Moved to ...
32287 * sysdeps/sparc/configure.in: ... here.
32288 * sysdeps/sparc/elf/configure: Delete file.
32289 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32290 * sysdeps/sparc/sparc32/start.S: ... here.
32291 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32292 * sysdeps/sparc/sparc64/start.S: ... here.
32293 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32294 * sysdeps/sparc/sparc32/Makefile: ... this.
32295 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32296 * sysdeps/sparc/sparc64/Makefile: ... this.
32298 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32299 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32300 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32301 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32302 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32303 * sysdeps/s390/s390-32/setjmp.S: ... here.
32304 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32305 * sysdeps/s390/s390-32/configure.in: ... here.
32306 * sysdeps/s390/s390-32/elf/configure: Delete file.
32307 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32308 * sysdeps/s390/s390-32/start.S: ... here.
32310 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32311 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32312 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32313 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32314 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32315 * sysdeps/s390/s390-64/setjmp.S: ... here.
32316 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32317 * sysdeps/s390/s390-64/configure.in: ... here
32318 * sysdeps/s390/s390-64/elf/configure: Delete file.
32319 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32320 * sysdeps/s390/s390-64/start.S: ... here.
32321 * sysdeps/s390/s390-64/elf/configure: Delete.
32323 * configure.in: Remove support for elf directories in sysdeps.
32325 * configure: Regenerated.
32326 * sysdeps/i386/configure: Regenerated.
32327 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32328 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32329 * sysdeps/s390/s390-32/configure: Regenerated.
32330 * sysdeps/s390/s390-64/configure: Regenerated.
32331 * sysdeps/sh/configure: Regenerated.
32332 * sysdeps/sparc/configure: Regenerated.
32333 * sysdeps/x86_64/configure: Regenerated.
32335 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32340 denormal result into account.
32342 2012-03-25 Roland McGrath <roland@hack.frob.com>
32344 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32345 Reported by Allan McRae <allan@archlinux.org>.
32347 2012-03-23 Jeff Law <law@redhat.com>
32349 * nss/getnssent.c (__nss_getent): Fix typo.
32351 2012-03-23 David S. Miller <davem@davemloft.net>
32353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32355 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32357 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32358 to pad to uint64_t for each field.
32359 (dl_tls_index): Replace unsigned long with uint64_t.
32361 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32362 Paul Pluzhnikov <ppluzhnikov@google.com>
32365 * grp/Makefile (otherlibs): Don't set it.
32366 * inet/Makefile (otherlibs): Likewise.
32367 * login/Makefile (otherlibs): Likewise.
32368 * nscd/Makefile (otherlibs): Likewise.
32369 * posix/Makefile (otherlibs): Likewise.
32370 * pwd/Makefile (otherlibs): Likewise.
32371 * rt/Makefile (otherlibs): Likewise.
32372 * sunrpc/Makefile (otherlibs): Likewise.
32373 * nss/Makefile (otherlibs): Likewise.
32374 Add libnss_files to routines and static-only-routines.
32375 ($(objpfx)getent): Remove rule.
32376 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32377 static-only-routines.
32379 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32382 * math/s_cexp.c: Include <float.h>.
32383 (__cexp): Handle exp result overflowing not necessarily
32384 overflowing both real and imaginary parts of result.
32385 * math/s_cexpf.c: Likewise.
32386 * math/s_cexpl.c: Likewise.
32387 * math/libm-test.inc (cexp_test): Add more tests.
32388 * sysdeps/i386/fpu/libm-test-ulps: Update.
32389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32391 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32393 * include/link.h (ELFW): New macro.
32394 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32395 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32397 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32399 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32402 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32404 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32406 (struct La_x32_retval): Likewise.
32408 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32410 * sysdeps/x86_64/preconfigure.in: New file.
32411 * sysdeps/x86_64/preconfigure: New generated file.
32413 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32416 * math/e_exp2l.c: Include <float.h>.
32417 (__ieee754_exp2l): Handle overflow and underflow cases
32418 separately. Only pass fractional part of argument to
32420 * math/libm-test.inc (exp2_test): Add more tests.
32422 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32423 negating x to take absolute value.
32424 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32426 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32427 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32429 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32430 computing low part if x was negated.
32431 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32433 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32435 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32436 la_x32_gnu_pltexit.
32437 (pltexit): Cast int_retval to ptrdiff_t.
32438 * elf/tst-auditmod3b.c: Likewise.
32439 * elf/tst-auditmod4b.c: Likewise.
32440 * elf/tst-auditmod5b.c: Likewise.
32441 * elf/tst-auditmod6b.c: Likewise.
32442 * elf/tst-auditmod6c.c: Likewise.
32443 * elf/tst-auditmod7b.c: Likewise.
32445 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32446 and x32_gnu_pltexit.
32448 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32449 __ELF_NATIVE_CLASS.
32450 (La_x32_regs): New macro.
32451 (La_x32_retval): Likewise.
32452 (la_x32_gnu_pltenter): New function prototype.
32453 (la_x32_gnu_pltexit): Likewise.
32455 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32457 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32462 * configure.in (libc_cv_cc_nofma): Check for option to disable
32463 generation of FMA instructions.
32464 * configure: Regenerate.
32465 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32466 * sysdeps/ieee754/dbl-64/Makefile: New file.
32467 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32468 Remove brandred-fma4.
32469 (CFLAGS-brandred-fma4.c): Remove.
32470 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32471 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32473 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32476 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32478 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32479 LLONG_MAX != LONG_MAX.
32480 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32481 (_fitoa_word): Likewise.
32482 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32483 LLONG_MAX != LONG_MAX.
32484 * stdio-common/_itowa.h: Include <_itoa.h>.
32485 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32486 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32487 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32488 only if not defined.
32489 (_ITOA_WORD_TYPE): Likewise.
32490 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32491 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32493 2012-03-21 David S. Miller <davem@davemloft.net>
32495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32497 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32499 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32500 of x86_64 when setting libc_cv_slibdir, libdir and
32502 * sysdeps/unix/sysv/linux/configure: Regenerated.
32504 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32506 * manual/lang.texi (Old Varargs): Remove section.
32507 (How Variadic): Update menu.
32508 (va_start): Do not mention varargs.h.
32510 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32511 Joseph Myers <joseph@codesourcery.com>
32513 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32515 * configure: Regenerated.
32517 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32519 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32520 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32523 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32526 * Makefile (files-for-dist): Remove NOTES.
32527 (NOTES): Remove rule.
32528 * README: Don't refer to NOTES.
32529 * manual/creature.texi: Don't include macros.texi.
32530 * manual/intro.texi (creature.texi): Remove comment referring to
32533 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32534 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32535 * configure: Regenerated.
32536 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32537 LIBC_TRY_CC_OPTION.
32538 (libc_cv_as_i686): Likewise.
32539 (libc_cv_cc_avx): Likewise.
32540 (libc_cv_cc_sse2avx): Likewise.
32541 (libc_cv_cc_fma4): Likewise.
32542 (libc_cv_cc_novzeroupper): Likewise.
32543 * sysdeps/i386/configure: Regenerated.
32546 * sysdeps/i386/fpu/s_cexp.S: Remove.
32547 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32548 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32549 * math/libm-test.inc (cexp_test): Add more tests.
32550 * sysdeps/i386/fpu/libm-test-ulps: Update.
32551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32553 2012-03-21 Allan McRae <allan@archlinux.org>
32555 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32557 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32560 * math/w_exp2.c: Do not include <float.h>.
32561 (o_threshold, u_threshold): Remove.
32562 (__exp2): Calculate result before checking finiteness and calling
32564 * math/w_exp2f.c: Likewise.
32565 * math/w_exp2l.c: Likewise.
32566 * math/libm-test.inc (exp2_test): Require overflow exception for
32570 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32571 range of signed 64-bit integers before using fistpll. Remove
32572 checks for whether integers fit in mantissa bits.
32573 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32574 the range of signed 32-bit integers before using fistpl. Remove
32575 checks for whether integers fit in mantissa bits.
32576 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32577 (__ieee754_powl): Test for y outside the range of signed 64-bit
32578 integers before using fistpll. Reduce 64-bit values to 63-bit
32580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32581 divide-by-zero is raised for zero to large negative powers.
32582 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32583 (__ieee754_powl): Test for y outside the range of signed 64-bit
32584 integers before using fistpll. Reduce 64-bit values to 63-bit
32586 * math/libm-test.inc (pow_test): Add more tests.
32588 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32590 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32591 <stdio-common/_itoa.h>.
32592 * debug/segfault.c: Likewise.
32593 * elf/dl-cache.c: Likewise.
32594 * elf/dl-minimal.c: Likewise.
32595 * elf/dl-misc.c: Likewise.
32596 * elf/dl-sysdep.c: Likewise.
32597 * elf/dl-version.c: Likewise.
32598 * elf/rtld.c: Likewise.
32599 * hurd/hurdsock.c: Likewise.
32600 * hurd/lookup-retry.c: Likewise.
32601 * malloc/malloc.c: Likewise.
32602 * malloc/mtrace.c: Likewise.
32603 * nscd/nscd_getgr_r.c: Likewise.
32604 * nscd/nscd_getpw_r.c: Likewise.
32605 * nscd/nscd_getserv_r.c: Likewise.
32606 * posix/getopt_init.c: Likewise.
32607 * posix/wordexp.c: Likewise.
32608 * stdio-common/_itoa.c: Likewise.
32609 * stdio-common/printf_fphex.c: Likewise.
32610 * stdio-common/vfprintf.c: Likewise.
32611 * string/_strerror.c: Likewise.
32612 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32613 * sysdeps/i386/i686/hp-timing.h: Likewise.
32614 * sysdeps/mach/_strerror.c: Likewise.
32615 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32616 * sysdeps/mach/hurd/sethostid.c: Likewise.
32617 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32618 * sysdeps/mach/xpg-strerror.c: Likewise.
32619 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32620 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32621 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32622 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32623 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32624 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32625 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32626 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32627 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32628 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32629 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32630 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32631 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32632 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32633 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32634 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32635 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32636 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32637 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32638 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32639 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32641 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32643 * stdio-common/_itoa.h: Moved to ...
32644 * sysdeps/generic/_itoa.h: Here.
32646 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32648 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32649 instead of "_itoa.h" and "_itowa.h".
32650 * stdio-common/vfprintf.: Likewise.
32652 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32654 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32656 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32657 (__signbit): Likwise.
32658 (llrintf): Likwise.
32661 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32663 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32666 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32668 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32669 OVERFLOW_EXCEPTION_OK.
32670 * math/libm-test.inc ("Philosophy"): Update comment about
32672 (OVERFLOW_EXCEPTION): Define.
32673 (OVERFLOW_EXCEPTION_OK): Likewise.
32674 (INVALID_EXCEPTION_OK): Renumber.
32675 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32676 (IGNORE_ZERO_INF_SIGN): Likewise.
32677 (test_exceptions): Handle FE_OVERFLOW.
32678 (exp10_test): Expect overflow exceptions.
32679 (exp2_test): Likewise.
32680 (expm1_test): Likewise.
32681 (nextafter_test): Likewise.
32682 (pow_test): Likewise.
32683 (scalbn_test): Likewise.
32684 (scalbln_test): Likewise.
32686 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32688 * sysdeps/x86_64/bits/atomic.h
32689 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32691 (atomic_exchange_acq): Likewise.
32692 (__arch_exchange_and_add_body): Likewise.
32693 (__arch_add_body): Likewise.
32694 (atomic_add_negative): Likewise.
32695 (atomic_add_zero): Likewise.
32697 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32699 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32700 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32702 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32704 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32705 Check __x86_64__ instead of __WORDSIZE.
32707 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32709 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32711 2012-03-19 David S. Miller <davem@davemloft.net>
32713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32715 * sysdeps/sparc/fpu/fenv_private.h: New file.
32716 * sysdeps/sparc/fpu/math_private.h: Use it.
32717 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32719 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32720 (libc_feholdexcept_setroundl): Remove.
32721 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32723 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32724 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32726 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32728 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32729 int64_t instead of long int.
32730 (INSERT_WORDS64): Likwise.
32732 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32734 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32735 _Unwind_GetCFA return to _Unwind_Ptr first.
32737 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32740 * math/s_clog.c: Include <float.h>.
32741 (__clog): Scale large or subnormal inputs.
32742 * math/s_clogf.c: Likewise.
32743 * math/s_clogl.c: Likewise.
32744 * math/s_clog10.c: Include <float.h>.
32745 (M_LOG10_2): Define.
32746 (__clog10): Scale large or subnormal inputs.
32747 * math/s_clog10f.c: Likewise.
32748 * math/s_clog10l.c: Likewise.
32749 * math/libm-test.inc (clog_test): Add more tests.
32750 (clog10_test): Likewise.
32751 * sysdeps/i386/fpu/libm-test-ulps: Update.
32752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32755 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32757 * math/libm-test.inc (atan2_test): Add another test.
32759 * Makerules (common-objdir-compile): Remove.
32760 * sysdeps/unix/Makefile (config-generated): Do not add
32761 $(unix-generated) to variable.
32762 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32763 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32765 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32767 [generic bits/local_lim.h] (before-compile): Do not append to
32769 [generic bits/local_lim.h] (common-generated): Likewise.
32770 [generic sys/param.h] (before-compile): Do not append to variable.
32771 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32772 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32773 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32774 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32776 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32777 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32778 [generic sys/param.h] ($(addprefix
32779 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32780 [generic sys/param.h] (common-generated): Do not append to
32782 [generic sys/param.h] (sysdep_headers): Likewise.
32783 [generic bits/errno.h] (before-compile): Do not append to
32785 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32787 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32788 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32789 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32790 [generic bits/errno.h] (common-generated): Do not append to
32792 [generic bits/ioctls.h] (before-compile): Do not append to
32794 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32796 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32797 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32798 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32800 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32801 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32802 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32803 [generic bits/ioctls.h] (common-generated): Do not append to
32805 [generic sys/syscall.h] (syscall.h): Remove variable.
32806 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32808 [generic sys/syscall.h] (before-compile): Do not append to
32810 [generic sys/syscall.h] (common-generated): Likewise.
32811 * sysdeps/unix/errnos-tmpl.c: Remove file.
32812 * sysdeps/unix/errnos.awk: Likewise.
32813 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32814 * sysdeps/unix/ioctls.awk: Likewise.
32815 * sysdeps/unix/mk-local_lim.c: Likewise.
32816 * sysdeps/unix/snarf-ioctls: Likewise.
32818 2012-03-19 Richard Henderson <rth@twiddle.net>
32820 * sysdeps/i386/fpu/fenv_private.h: New file.
32821 * sysdeps/i386/fpu/math_private.h: Use it.
32822 (math_opt_barrier, math_force_eval): Remove.
32823 (libc_feholdexcept_setround_53bit): Remove.
32824 (libc_feupdateenv_53bit): Remove.
32825 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32826 (math_opt_barrier, math_force_eval): Remove.
32827 (libc_feholdexcept): Remove.
32828 (libc_feholdexcept_setround): Remove.
32829 (libc_fetestexcept, libc_fesetenv): Remove.
32830 (libc_feupdateenv_test): Remove.
32831 (libc_feupdateenv, libc_feholdsetround): Remove.
32832 (libc_feresetround): Remove.
32834 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32835 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32837 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32838 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32839 (libc_feupdateenv_testl): New.
32840 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32841 (libc_feupdateenv_testf): New.
32842 (libc_feupdateenv): Use libc_feupdateenv_test.
32843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32844 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32846 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32847 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32848 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32849 (libc_feresetround_noex): New.
32850 (libc_feresetround_noexf): New.
32851 (libc_feresetround_noexl): New.
32852 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32853 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32854 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32855 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32857 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32860 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32861 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32862 SET_RESTORE_ROUND_NOEX.
32863 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32864 SET_RESTORE_ROUND_NOEXF.
32865 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32866 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32867 (libc_feholdsetroundf): New.
32868 (libc_feresetround, libc_feresetroundf): New.
32870 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32871 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32872 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32874 * sysdeps/generic/math_private.h: Include <fenv.h>.
32875 (default_libc_feholdexcept): New.
32876 (default_libc_feholdexcept_setround): New.
32877 (default_libc_fesetenv, default_libc_feupdateenv): New.
32878 (libc_feholdexcept): Only define if undefined.
32879 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32880 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32881 (libc_feholdexcept_setroundl): Likewise.
32882 (libc_feholdexcept_setround_53bit): Likewise.
32883 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32884 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32885 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32886 (libc_feupdateenv_53bit): Likewise.
32887 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32888 (libc_feholdexcept): Convert from macro to inline function.
32889 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32890 (libc_fesetenv, libc_feupdateenv): Likewise.
32892 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32893 not previously defined.
32894 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32895 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32896 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32897 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32898 * sysdeps/ieee754/flt-32/math_private.h: New file.
32899 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32900 math_private.h below SET_FLOAT_WORD.
32901 (__isnan, __isinf_ns, __finite): Remove.
32902 (__isnanf, __isinf_nsf, __finitef): Remove.
32904 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32908 2012-03-17 David S. Miller <davem@davemloft.net>
32911 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32914 2012-03-16 David S. Miller <davem@davemloft.net>
32916 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32920 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32922 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32923 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32924 sysdep_routines when subdir is sysvipc.
32925 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32926 __getshmlba helper.
32928 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32930 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32932 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32935 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32937 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32938 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32939 (__lround): Renamed to ...
32940 (__llround): This. Replace long int with long long int.
32941 Define lround functions as aliases of llround functions.
32942 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32944 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32946 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32947 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32948 adresses to uintptr_t. Replace "long int" and "unsigned long
32949 int" with "greg_t" on va_arg.
32951 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32953 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32954 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32956 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32957 Move e_machine check before EI_CLASS check. Handle x32
32958 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32959 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32960 SKIP_EM_IA_64 and include
32961 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32963 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32964 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32965 (add_system_dir): New macro.
32967 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32968 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32970 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32981 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32983 * math/w_j0f.c (j0f): Likewise.
32985 * math/w_j0l.c (__j0l): Likewise.
32987 * math/w_j1.c (j1): Likewise.
32989 * math/w_j1f.c (j1f): Likewise.
32991 * math/w_j1l.c (__j1l): Likewise.
32993 * math/w_jn.c (jn): Likewise.
32995 * math/w_jnf.c (jnf): Likewise.
32997 * math/w_jnl.c (__jnl): Likewise.
32999 * math/libm-test.inc (j0_test): Add more tests.
33000 (j1_test): Likewise.
33001 (jn_test): Likewise. Add trailing semicolon to existing test.
33002 (y0_test): Likewise.
33003 (y1_test): Likewise.
33004 * sysdeps/i386/fpu/libm-test-ulps: Update.
33005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33009 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33010 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33011 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33012 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33013 (__tanl): Set errno for infinite argument.
33014 * sysdeps/i386/fpu/mptan.c: Remove.
33015 * sysdeps/i386/fpu/s_tan.S: Likewise.
33016 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33017 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33018 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33019 * math/libm-test.inc (tan_test): Add more tests and enable more
33020 tests for double and long double.
33021 * sysdeps/i386/fpu/libm-test-ulps: Update.
33022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33024 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33026 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33027 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33029 2012-03-16 Roland McGrath <roland@hack.frob.com>
33031 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33032 * configure.in: Use it for both main tree and add-ons.
33033 * configure: Regenerated.
33035 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33037 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33039 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33041 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33045 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33046 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33047 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33048 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33049 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33051 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33052 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33053 != 0 for prec == 2.
33054 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33055 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33056 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33057 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33058 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33059 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33060 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33061 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33062 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33063 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33064 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33065 * math/libm-test.inc (cos_test): Add more tests and enable more
33066 tests for long double.
33067 (sin_test): Likewise.
33068 (sincos_test): Likewise.
33069 * sysdeps/i386/fpu/libm-test-ulps: Update.
33070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33072 2012-03-16 David S. Miller <davem@davemloft.net>
33074 * sysdeps/sparc/fpu/math_private.h: New file.
33076 2012-03-15 David S. Miller <davem@davemloft.net>
33078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33092 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33093 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33095 * sysdeps/sparc/sparc-ifunc.h: New file.
33096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33122 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33134 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33135 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33136 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33137 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33138 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33139 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33141 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33143 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33147 2012-03-15 Andreas Jaeger <aj@suse.de>
33150 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33151 ieee754/flt-32 implementation for sin, cos and sincos.
33152 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33153 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33154 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33155 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33156 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33157 ieee754/flt-32 implementation for tan.
33159 * math/libm-test.inc (cos_test): Enable some large input tests for
33161 (sin_test): Likewise.
33162 (sincos_test): Likewise.
33163 (tan_test): Add tests for large input.
33165 * sysdeps/i386/fpu/libm-test-ulps: Update.
33167 2012-03-15 Andreas Jaeger <aj@suse.de>
33170 * math/libm-test.inc (cos_test): Add more test cases.
33171 (sin_test): Likewise.
33172 (sincos_test): Likewise.
33174 2012-03-15 Andreas Jaeger <aj@suse.de>
33177 * math/libm-test.inc (cos_test): Add a test case for large input
33179 (sin_test): Likewise.
33180 (sincos_test): Likewise.
33182 2012-03-15 Andreas Jaeger <aj@suse.de>,
33183 Joseph Myers <joseph@codesourcery.com>
33186 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33187 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33188 * sysdeps/i386/fpu/branred.c: Likewise.
33189 * sysdeps/i386/fpu/dosincos.c: Likewise.
33190 * sysdeps/i386/fpu/mpa.c: Likewise.
33191 * sysdeps/i386/fpu/s_cos.S: Likewise.
33192 * sysdeps/i386/fpu/s_sin.S: Likewise.
33193 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33194 * sysdeps/i386/fpu/sincos32.c: Likewise.
33196 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33198 (libc_feupdateenv_53bit): Define.
33199 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33201 (libc_feupdateenv_53bit): Define.
33203 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33204 53 bit (without extend i386 double precision).
33206 * math/libm-test.inc (sincos_test): Add tests for large input.
33210 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33212 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33216 2012-03-15 David S. Miller <davem@davemloft.net>
33218 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33219 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33220 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33221 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33246 fmin/fmax sysdep routines.
33247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33249 2012-03-14 David S. Miller <davem@davemloft.net>
33251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33257 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33278 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33323 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33328 * sysdeps/sparc/configure.in: New file.
33329 * sysdeps/sparc/configure: Generate.
33330 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33331 * configure: Regenerate.
33332 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33333 * config.make.in (have-as-vis3): New.
33334 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33335 available use -Av9d instead of -Av9a.
33336 * sysdeps/sparc/sparc64/Makefile: Likewise.
33337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33347 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33349 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33350 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33352 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33353 fzeros/fnegs to load 0x80000000 into a float register instead of
33355 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33357 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33361 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33362 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33363 ($(inst_includedir)/bits/syscall.h): Remove rule.
33364 ($(objpfx)bits/syscall.d): Include instead of
33365 $(objpfx)syscall-list.d.
33366 (generated): Change syscall-list.h and syscall-list.d to
33367 bits/syscall.h and bits/syscall.d.
33369 2012-03-14 Roland McGrath <roland@hack.frob.com>
33372 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33374 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33377 * math/s_csqrt.c: Include <float.h>.
33378 (__csqrt): Scale large or subnormal inputs.
33379 * math/s_csqrtf.c: Likewise.
33380 * math/s_csqrtl.c: Likewise.
33381 * math/libm-test.inc (csqrt_test): Add more tests.
33382 * sysdeps/i386/fpu/libm-test-ulps: Update.
33383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33386 * math/libm-test.inc (hypot_test): Add more tests.
33388 2012-03-13 David S. Miller <davem@davemloft.net>
33391 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33392 double-precision for the calculation instead of scaling.
33394 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33396 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33397 manipulate bits before adding and subtracting TWO52[sx].
33398 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33399 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33401 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33403 2012-03-13 David S. Miller <davem@davemloft.net>
33405 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33406 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33408 rtld-global-offsets.h
33409 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33411 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33414 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33416 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33417 'err' in the ifdef scope in which it is actually used.
33419 * nss/nss_db/db-init.c: Include string.h
33421 2012-03-12 David S. Miller <davem@davemloft.net>
33423 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33424 masking out of the most significant byte of random value used.
33425 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33426 Fix coding style in previous change.
33428 * sysdeps/unix/sysv/linux/kernel-features.h
33429 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33430 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33432 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33435 2012-03-11 David S. Miller <davem@davemloft.net>
33437 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33438 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33439 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33440 for 'resultvar' otherwise things get truncated on 64-bit.
33442 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33443 Fix masking out of the most significant byte of random value used.
33445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33447 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33451 2012-03-09 David S. Miller <davem@davemloft.net>
33453 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33454 variables with appropriate CPP guards.
33455 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33456 frame pointer, not the stack pointer. Correct layout comments. Fix test
33457 on resulting framesize and the management of the outregs buffer for pltexit.
33458 Preserve floating point return values across _dl_call_pltexit call.
33459 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33460 framesize and the management of the outregs buffer for pltexit.
33461 Preserve floating point return values across _dl_call_pltexit
33463 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33464 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33465 (print_exit): Fix format string for return register value.
33467 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33469 * sunrpc/Makefile (others): Add rpcgen.
33470 ($(objpfx)rpcgen): Remove special build rule and dependency on
33472 * sunrpc/rpcgen.c: New file.
33474 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33477 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33478 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33479 * sysdeps/i386/crti.S: Likewise.
33480 * sysdeps/i386/crtn.S: Likewise.
33481 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33482 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33483 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33484 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33485 * sysdeps/sh/crti.S: Likewise.
33486 * sysdeps/sh/crtn.S: Likewise.
33487 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33490 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33492 * locale/programs/locfile-kw.gperf: Likewise.
33493 * locale/programs/charmap-kw.h: Regenerated.
33494 * locale/programs/locfile-kw.h: Likewise.
33497 * intl/plural.y: Replace FSF snail mail address with URL.
33498 * intl/plural.c: Regenerated.
33500 2012-03-09 Richard Henderson <rth@twiddle.net>
33502 * include/math_private.h: Remove file.
33503 * math/math_private.h: Move file ...
33504 * sysdeps/generic/math_private.h: ... here.
33506 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33507 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33508 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33510 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33511 and <math_private.h>.
33512 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33513 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33514 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33515 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33516 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33517 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33518 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33520 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33521 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33523 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33524 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33525 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33526 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33527 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33528 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33529 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33530 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33531 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33532 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33533 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33534 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33536 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33537 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33538 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33539 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33541 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33542 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33544 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33545 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33546 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33547 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33548 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33549 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33550 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33551 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33552 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33553 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33554 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33555 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33556 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33557 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33558 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33559 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33560 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33561 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33562 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33563 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33564 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33565 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33566 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33567 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33568 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33569 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33570 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33571 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33572 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33573 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33575 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33576 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33577 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33578 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33579 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33580 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33581 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33582 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33583 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33584 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33586 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33587 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33589 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33590 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33591 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33592 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33593 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33594 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33595 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33596 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33597 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33598 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33599 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33600 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33601 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33602 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33603 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33604 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33605 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33606 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33607 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33608 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33609 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33610 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33611 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33612 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33613 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33614 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33615 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33616 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33617 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33618 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33619 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33620 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33621 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33622 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33623 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33624 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33625 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33626 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33627 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33628 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33629 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33630 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33631 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33632 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33633 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33634 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33635 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33636 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33637 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33638 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33639 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33640 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33641 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33642 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33643 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33644 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33645 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33646 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33647 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33648 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33649 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33650 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33651 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33652 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33653 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33654 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33655 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33656 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33657 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33658 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33659 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33660 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33661 * sysdeps/ieee754/k_standard.c: Likewise.
33662 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33663 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33664 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33665 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33666 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33667 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33668 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33669 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33670 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33671 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33672 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33673 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33678 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33679 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33680 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33682 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33683 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33684 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33685 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33687 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33689 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33690 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33691 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33692 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33693 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33694 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33695 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33696 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33697 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33698 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33699 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33700 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33701 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33702 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33703 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33704 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33705 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33706 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33707 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33708 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33709 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33710 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33711 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33712 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33713 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33714 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33715 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33716 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33717 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33718 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33719 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33720 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33721 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33722 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33723 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33724 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33725 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33726 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33727 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33728 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33729 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33730 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33731 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33732 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33733 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33734 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33735 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33736 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33737 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33738 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33739 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33740 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33741 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33742 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33743 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33744 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33745 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33746 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33747 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33748 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33749 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33750 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33752 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33753 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33754 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33755 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33758 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33759 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33760 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33761 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33762 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33764 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33765 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33766 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33767 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33768 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33773 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33775 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33776 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33777 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33778 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33779 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33780 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33781 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33782 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33783 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33784 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33785 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33786 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33787 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33788 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33789 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33790 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33791 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33792 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33793 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33794 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33795 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33796 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33797 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33798 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33799 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33800 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33801 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33802 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33803 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33804 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33805 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33806 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33807 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33808 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33809 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33810 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33811 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33812 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33813 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33814 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33815 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33816 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33817 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33818 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33819 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33820 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33821 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33822 * sysdeps/ieee754/s_lib_version.c: Likewise.
33823 * sysdeps/ieee754/s_matherr.c: Likewise.
33824 * sysdeps/ieee754/s_signgam.c: Likewise.
33825 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33826 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33827 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33828 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33829 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33830 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33831 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33832 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33833 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33834 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33835 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33836 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33837 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33838 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33839 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33840 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33841 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33842 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33843 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33844 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33847 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33849 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33850 * sunrpc/rpc_main.c: Likewise.
33851 * sunrpc/rpc_svcout.c: Likewise.
33853 2012-03-09 David S. Miller <davem@davemloft.net>
33855 * include/math_private.h: New file.
33857 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33859 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33860 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33861 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33862 from <bits/socket_type.h>.
33863 (enum __socket_type): Don't define here.
33864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33866 bits/socket_type.h.
33869 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33870 checking __USE_GNU.
33872 * Makerules ($(inst_includedir)/%.h): New rule.
33873 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33874 (install-others): Remove variable setting.
33875 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33877 2012-03-08 Richard Henderson <rth@twiddle.net>
33879 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33880 from macro to inline function; merge with the
33881 !__LIBC_INTERNAL_MATH_INLINES version.
33882 (__ieee754_sqrtf): Likewise.
33884 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33885 to inline function.
33886 (__rintf, __floor, __floorf): Likewise.
33888 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33889 macro to inline function.
33890 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33892 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33893 not <math/math_private.h>.
33895 2012-03-08 David S. Miller <davem@davemloft.net>
33897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33899 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33901 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33903 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33905 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33906 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33908 2012-03-08 Ulrich Drepper <drepper@gmail.com>
33910 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33911 be defined individually, they must be defined as a block. Define
33912 S for printing a string instead of hidint the different by using a
33913 macro for adding the 'l'.
33914 * stdio-common/tst-fphex-wide.c: Adjust.
33916 2012-03-07 Marek Polacek <polacek@redhat.com>
33918 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33920 2012-03-08 Marek Polacek <polacek@redhat.com>
33923 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33924 * stdio-common/tst-fphex.c: Define a few macros to make the
33925 test reusable. Use them.
33926 * stdio-common/tst-fphex-wide.c: New file.
33928 2012-03-08 Joseph Myers <joseph@codesourcery.com>
33931 * manual/macros.texi (gnusystems): New macro.
33932 (nongnusystems): Likewise.
33933 (gnulinuxhurdsystems): Likewise.
33934 (gnuhurdsystems): Likewise..
33935 (gnulinuxsystems): Likewise.
33936 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33937 variants of the GNU system, not "GNU system".
33938 * manual/conf.texi: Likewise.
33939 * manual/errno.texi: Likewise. Update example of errno macro
33941 * manual/filesys.texi: Likewise.
33942 (getumask): Document as specific to GNU/Hurd.
33943 * manual/install.texi: Likewise. Reword some references to
33945 * manual/intro.texi: Likewise.
33946 * manual/io.texi: Likewise.
33947 (File Name Portability): Detail which constraints are inapplicable
33948 to all GNU systems and which are only inapplicable to GNU/Hurd.
33949 * manual/job.texi: Likewise.
33950 * manual/llio.texi: Likewise.
33951 (O_NOCTTY): Document as present on GNU/Linux.
33952 * manual/maint.texi: Likewise.
33953 * manual/memory.texi: Likewise.
33954 * manual/pattern.texi: Likewise.
33955 * manual/pipe.texi: Likewise.
33956 * manual/process.texi: Likewise.
33957 * manual/resource.texi: Likewise.
33958 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33960 * manual/setjmp.texi: Likewise.
33961 * manual/signal.texi: Likewise.
33962 * manual/startup.texi: Likewise.
33963 * manual/stdio.texi: Likewise.
33964 * manual/terminal.texi: Likewise.
33965 (ONLCR): Document as POSIX.
33966 (OXTABS): Document availability on GNU/Linux as XTABS.
33967 (ONOEOT): Document availability separately from other bits.
33968 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33969 * manual/time.texi: Likewise.
33970 * manual/users.texi: Likewise.
33971 * INSTALL: Regenerated.
33972 * sysdeps/gnu/errlist.c: Regenerated.
33974 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33975 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33976 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33978 * configure: Regenerated.
33980 2012-03-07 Joseph Myers <joseph@codesourcery.com>
33982 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33983 default includes instead of AC_HEADER_CHECK.
33984 * sysdeps/i386/configure: Regenerated.
33987 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33988 * math/s_cacoshf.c (__cacoshf): Likewise.
33989 * math/s_cacoshl.c (__cacoshl): Likewise.
33990 * math/s_casinh.c (__casinh): Set signs of result from argument.
33991 * math/s_casinhf.c (__casinhf): Likewise.
33992 * math/s_casinhl.c (__casinhl): Likewise.
33993 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33994 (casinh_test): Add more tests.
33995 * sysdeps/i386/fpu/libm-test-ulps: Update.
33996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33998 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34000 * po/zh_TW.po: Update from translation team.
34002 * login/Makefile (distribute): Remove variable.
34003 * catgets/Makefile: Likewise.
34004 * mach/Makefile: Likewise.
34005 * malloc/Makefile: Likewise.
34006 * misc/Makefile: Likewise.
34007 * iconv/Makefile: Likewise.
34008 * nscd/Makefile: Likewise.
34009 * hurd/Makefile: Likewise.
34010 * manual/Makefile: Likewise.
34011 * locale/Makefile: Likewise.
34012 * intl/Makefile: Likewise.
34013 * conform/Makefile: Likewise.
34014 * nss/Makefile: Likewise.
34015 * time/Makefile: Likewise.
34016 * soft-fp/Makefile: Likewise.
34017 * dirent/Makefile: Likewise.
34018 * gmon/Makefile: Likewise.
34019 * po/Makefile: Likewise.
34020 * rt/Makefile: Likewise.
34021 * socket/Makefile: Likewise.
34022 * math/Makefile: Likewise.
34023 * signal/Makefile: Likewise.
34024 * debug/Makefile: Likewise.
34025 * elf/Makefile: Likewise.
34026 * timezone/Makefile: Likewise.
34027 * stdlib/Makefile: Likewise.
34028 * iconvdata/Makefile: Likewise.
34029 * sunrpc/Makefile: Likewise.
34030 * io/Makefile: Likewise.
34031 * argp/Makefile: Likewise.
34032 * inet/Makefile: Likewise.
34033 * hesiod/Makefile: Likewise.
34034 * grp/Makefile: Likewise.
34035 * csu/Makefile: Likewise.
34036 * wctype/Makefile: Likewise.
34037 * crypt/Makefile: Likewise.
34038 * libio/Makefile: Likewise.
34039 * string/Makefile: Likewise.
34040 * nis/Makefile: Likewise.
34041 * resolv/Makefile: Likewise.
34042 * stdio-common/Makefile: Likewise.
34043 * wcsmbs/Makefile: Likewise.
34044 * dlfcn/Makefile: Likewise.
34045 * posix/Makefile: Likewise.
34048 * timezone/Makefile: Don't install timezone files, just the programs
34051 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34053 * nss/databases.def: Add missing gshadow entry.
34055 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34057 2012-03-06 Marek Polacek <polacek@redhat.com>
34060 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34061 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34062 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34063 * stdio-common/tst-long-dbl-fphex.c: New file.
34065 2012-03-06 David S. Miller <davem@davemloft.net>
34067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34068 (set_obp_int): New function.
34069 (get_obp_int): New function.
34070 (__get_clockfreq_via_dev_openprom): Likewise.
34071 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34072 Avoid unused variable warnings on 'val' and use builtin_expect.
34073 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34075 (INLINE_CLONE_SYSCALL): Likewise.
34077 2012-03-05 David S. Miller <davem@davemloft.net>
34079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34081 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34085 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34086 only for |x| >= 40.
34087 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34089 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34091 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34092 Replace gettimeofday with __vdso_gettimeofday.
34094 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34095 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34096 __vdso_clock_gettime and __vdso_getcpu.
34098 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34099 time with __vdso_time.
34101 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34103 * manual/lang.texi (size_t): Note types to which size_t may be
34104 equivalent with the GNU C Library, but do not describe when
34105 differences between them are significant.
34107 2012-03-05 Andreas Jaeger <aj@suse.de>
34109 * sysdeps/i386/fpu/libm-test-ulps: Update.
34111 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34114 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34115 (__ieee754_pow): Save and restore rounding mode and use
34116 round-to-nearest for main computations.
34117 * math/libm-test.inc (pow_test_tonearest): New function.
34118 (pow_test_towardzero): Likewise.
34119 (pow_test_downward): Likewise.
34120 (pow_test_upward): Likewise.
34121 (main): Call the new functions.
34122 * sysdeps/i386/fpu/libm-test-ulps: Update.
34123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34126 * math/libm-test.inc (cosh_test_tonearest): New function.
34127 (cosh_test_towardzero): Likewise.
34128 (cosh_test_downward): Likewise.
34129 (cosh_test_upward): Likewise.
34130 (sinh_test_tonearest): Likewise.
34131 (sinh_test_towardzero): Likewise.
34132 (sinh_test_downward): Likewise.
34133 (sinh_test_upward): Likewise.
34134 (main): Call the new functions.
34135 * sysdeps/i386/fpu/libm-test-ulps: Update.
34136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34138 2012-03-05 Tom de Vries <tom@codesourcery.com>
34140 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34141 default stack guard is set in last bytes.
34142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34144 2012-03-05 Kees Cook <keescook@chromium.org>
34146 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34149 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34150 possibly allocate from heap instead of stack.
34151 * stdio-common/bug-vfprintf-nargs.c: New file.
34152 * stdio-common/Makefile (tests): Add nargs overflow test.
34154 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34158 2012-03-03 Marek Polacek <polacek@redhat.com>
34160 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34161 * math/math_private.h: Likewise.
34162 * stdlib/tst-strtod.c: Likewise.
34163 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34164 * sysdeps/x86_64/bits/atomic.h: Likewise.
34166 2012-03-02 David S. Miller <davem@davemloft.net>
34168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34172 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34173 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34174 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34175 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34177 2012-03-02 Roland McGrath <roland@hack.frob.com>
34180 * manual/examples/README: New file, says the example source files
34181 can be used under GPL>=2.
34182 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34183 line containing just "*/".
34184 * manual/examples/add.c: Add copyright header (GPL>=2).
34185 * manual/examples/argp-ex1.c: Likewise.
34186 * manual/examples/argp-ex2.c: Likewise.
34187 * manual/examples/argp-ex3.c: Likewise.
34188 * manual/examples/argp-ex4.c: Likewise.
34189 * manual/examples/atexit.c: Likewise.
34190 * manual/examples/db.c: Likewise.
34191 * manual/examples/dir.c: Likewise.
34192 * manual/examples/dir2.c: Likewise.
34193 * manual/examples/execinfo.c: Likewise.
34194 * manual/examples/filecli.c: Likewise.
34195 * manual/examples/filesrv.c: Likewise.
34196 * manual/examples/fmtmsgexpl.c: Likewise.
34197 * manual/examples/genpass.c: Likewise.
34198 * manual/examples/inetcli.c: Likewise.
34199 * manual/examples/inetsrv.c: Likewise.
34200 * manual/examples/isockad.c: Likewise.
34201 * manual/examples/longopt.c: Likewise.
34202 * manual/examples/memopen.c: Likewise.
34203 * manual/examples/memstrm.c: Likewise.
34204 * manual/examples/mkfsock.c: Likewise.
34205 * manual/examples/mkisock.c: Likewise.
34206 * manual/examples/mygetpass.c: Likewise.
34207 * manual/examples/pipe.c: Likewise.
34208 * manual/examples/popen.c: Likewise.
34209 * manual/examples/rprintf.c: Likewise.
34210 * manual/examples/search.c: Likewise.
34211 * manual/examples/select.c: Likewise.
34212 * manual/examples/setjmp.c: Likewise.
34213 * manual/examples/sigh1.c: Likewise.
34214 * manual/examples/sigusr.c: Likewise.
34215 * manual/examples/stpcpy.c: Likewise.
34216 * manual/examples/strdupa.c: Likewise.
34217 * manual/examples/strftim.c: Likewise.
34218 * manual/examples/strncat.c: Likewise.
34219 * manual/examples/subopt.c: Likewise.
34220 * manual/examples/swapcontext.c: Likewise.
34221 * manual/examples/termios.c: Likewise.
34222 * manual/examples/testopt.c: Likewise.
34223 * manual/examples/testpass.c: Likewise.
34224 * manual/examples/timeval_subtract.c: Likewise.
34227 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34229 * manual/timeval_subtract.c.texi: ... here, new file.
34231 2012-03-02 David S. Miller <davem@davemloft.net>
34233 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34235 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34238 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34239 (__sin): Save and restore rounding mode and use round-to-nearest
34240 for all computations.
34241 (__cos): Save and restore rounding mode and use round-to-nearest
34242 for all computations.
34243 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34245 (tan): Save and restore rounding mode and use round-to-nearest for
34247 * math/libm-test.inc (cos_test_tonearest): New function.
34248 (cos_test_towardzero): Likewise.
34249 (cos_test_downward): Likewise.
34250 (cos_test_upward): Likewise.
34251 (sin_test_tonearest): Likewise.
34252 (sin_test_towardzero): Likewise.
34253 (sin_test_downward): Likewise.
34254 (sin_test_upward): Likewise.
34255 (tan_test_tonearest): Likewise.
34256 (tan_test_towardzero): Likewise.
34257 (tan_test_downward): Likewise.
34258 (tan_test_upward): Likewise.
34259 (main): Call the new functions.
34260 * sysdeps/i386/fpu/libm-test-ulps: Update.
34261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34264 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34265 small n, then large n, before computing and testing k+n.
34266 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34269 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34271 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34272 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34273 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34274 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34279 * math/libm-test.inc (scalbn_test): Add more tests.
34280 (scalbln_test): Likewise.
34282 * manual/filesys.texi (mode_t): Describe constraints on size and
34283 signedness, not exact equivalence to a particular type.
34285 (ino64_t): Likewise.
34287 (nlink_t): Likewise.
34288 (blkcnt_t): Likewise.
34289 (blkcnt64_t): Likewise.
34290 * manual/llio.texi (off_t): Likewise.
34293 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34294 (__ieee754_exp): Save and restore rounding mode and use
34295 round-to-nearest for all computations.
34296 * math/libm-test.inc (exp_test_tonearest): New function.
34297 (exp_test_towardzero): Likewise.
34298 (exp_test_downward): Likewise.
34299 (exp_test_upward): Likewise.
34300 (main): Call the new functions.
34301 * sysdeps/i386/fpu/libm-test-ulps: Update.
34302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34304 2012-03-01 Chris Demetriou <cgd@google.com>
34306 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34307 have predictable order.
34309 2012-03-01 David S. Miller <davem@davemloft.net>
34311 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34313 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34314 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34315 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34316 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34318 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34319 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34320 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34322 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34323 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34324 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34325 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34326 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34330 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34331 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34332 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34334 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34335 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34336 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34337 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34338 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34339 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34341 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34342 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34343 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34344 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34347 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34348 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34350 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34351 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34352 * sysdeps/sparc/elf/configure: Regenerated.
34354 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34356 * configure.in (AS, LD): Require binutils 2.20 or later.
34357 * configure: Regenerated.
34358 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34359 as required minimum version.
34360 * INSTALL: Regenerated.
34364 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34365 before squaring exponent.
34366 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34367 bottom long double and 27 bits of top long double before squaring
34369 * math/libm-test.inc (erfc_test): Add more tests.
34370 * sysdeps/i386/fpu/libm-test-ulps: Update.
34371 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34374 2012-03-01 Kai Tietz <ktietz@redhat.com>
34376 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34377 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34378 containing bit-fields.
34379 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34380 * soft-fp/single.h (_FP_UNION_S): Likewise.
34381 * soft-fp/double.h (_FP_UNION_D): Likewise.
34383 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34386 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34387 not include ../strcmp.S.
34388 [USE_AS_STRNCASECMP_L]: Likewise.
34389 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34390 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34391 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34392 (__strncasecmp_l_ia32): Define as alias to
34393 __strncasecmp_l_nonascii.
34396 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34397 * sysdeps/i386/fpu/libm-test-ulps: Update.
34398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34400 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34403 2012-02-29 Jeff Law <law@redhat.com>
34405 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34406 out of bounds read.
34408 2012-02-29 Marek Polacek <polacek@redhat.com>
34411 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34412 * elf/Makefile: Add rules to run tst-unused-dep.out.
34414 2012-02-28 David S. Miller <davem@davemloft.net>
34416 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34417 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34418 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34420 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34421 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34423 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34425 * math/libm-test.inc (llround_test): Move one test from
34426 lround_test. Use TEST_f_L in moved test.
34427 (lround_test): Move misplaced test to llround_test. Add testcase
34430 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34432 * sysdeps/x86_64/fpu/e_expf.S: New file.
34433 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34435 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34438 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34439 of remain_len that may cause incomplete multi-byte character and
34441 * posix/bug-regex33.c: New file.
34442 * posix/Makefile (tests): Add bug-regex33.
34444 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34446 * manual/macros.texi: New file.
34447 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34448 * manual/libc.texinfo: Include macros.texi.
34449 * manual/creatute.texi: Likewise.
34450 * manual/install.texi: Likewise.
34451 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34452 @glibcadj{} in references to the GNU C Library.
34453 * manual/charset.texi: Likewise.
34454 * manual/conf.texi: Likewise.
34455 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34456 when not using those macros.
34457 * manual/creature.texi: Likewise.
34458 * manual/crypt.texi: Likewise.
34459 * manual/errno.texi: Likewise.
34460 * manual/filesys.texi: Likewise.
34461 * manual/header.texi: Likewise.
34462 * manual/install.texi: Likewise.
34463 * manual/intro.texi: Likewise.
34464 * manual/io.texi: Likewise.
34465 * manual/job.texi: Likewise.
34466 * manual/lang.texi: Likewise.
34467 * manual/libc.texiinfo: Likewise.
34468 * manual/llio.texi: Likewise.
34469 * manual/locale.texi: Likewise.
34470 * manual/maint.texi: Likewise.
34471 * manual/math.texi: Likewise.
34472 * manual/memory.texi: Likewise.
34473 * manual/message.texi: Likewise.
34474 * manual/nss.texi: Likewise.
34475 * manual/pattern.texi: Likewise.
34476 * manual/process.texi: Likewise.
34477 * manual/resource.texi: Likewise.
34478 * manual/search.texi: Likewise.
34479 * manual/setjmp.texi: Likewise.
34480 * manual/signal.texi: Likewise.
34481 * manual/socket.texi: Likewise.
34482 * manual/startup.texi: Likewise.
34483 * manual/stdio.texi: Likewise.
34484 * manual/string.texi: Likewise.
34485 * manual/sysinfo.texi: Likewise.
34486 * manual/syslog.texi: Likewise.
34487 * manual/terminal.texi: Likewise.
34488 * manual/time.texi: Likewise.
34489 * manual/users.texi: Likewise.
34490 * INSTALL: Regenerated.
34491 * NOTES: Regenerated.
34492 * sysdeps/gnu/errlist.c: Regenerated.
34494 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34496 * include/dirent.h: Include <dirstream.h> before
34499 2012-02-28 David S. Miller <davem@davemloft.net>
34501 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34502 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34503 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34504 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34506 2012-02-27 David S. Miller <davem@davemloft.net>
34508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34510 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34511 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34514 frame pointer instead of stack pointer relative arg slot.
34515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34516 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34517 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34519 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34522 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34524 2012-02-27 David S. Miller <davem@davemloft.net>
34526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34530 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34531 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34532 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34533 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34535 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34537 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34538 later. Allow versions 5-9.
34539 * configure: Regenerated.
34540 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34541 required minimum version and 4.6 as recommended version. Do not
34542 mention bugs in GCC 2.7 and 2.8.
34543 * INSTALL: Regenerated.
34545 2012-02-27 David S. Miller <davem@davemloft.net>
34547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34551 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34552 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34553 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34554 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34556 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34557 manipulate bits before adding and subtracting TWO112[sx].
34558 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34560 2012-02-27 Roland McGrath <roland@hack.frob.com>
34563 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34564 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34565 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34566 being in POSIX, because they are in 1003.1-2008.
34568 * rt/tst-aio.c: Include <fcntl.h>.
34569 * rt/tst-aio7.c: Likewise.
34570 * rt/tst-aio64.c: Likewise.
34572 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34574 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34576 * manual/install.texi (--with-headers): Describe headers as
34577 interface headers, not private headers.
34578 (Specific advice for GNU/Linux systems): Describe use of headers
34579 from "make headers_install", not private headers from older
34581 * INSTALL: Regenerated.
34582 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34584 * sysdeps/unix/sysv/linux/configure: Regenerated.
34586 * manual/llio.texi (fclean): Remove documentation.
34588 * manual/Makefile (libc-texi-generated): New variable. Include
34590 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34591 $(libc-texi-generated), not duplicated list of files.
34592 (version.texi, stamp-version): New rules.
34593 (realclean): Remove $(libc-texi-generated), not individual files
34594 from that list. Do not remove dir-add.texinfo.
34595 * manual/libc.texinfo: Comment out uses of edition numbers and
34596 references to printed manual. Remove last-updated dates.
34597 (EDITION): Comment out.
34599 (VERSION, UPDATED): Remove.
34600 (version.texi): Include.
34602 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34604 * sysdeps/posix/spawni.c: Include <signal.h>.
34605 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34606 * sysdeps/pthread/aio_fsync.c: Likewise.
34608 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34610 * conform/Makefile (tests): Run only when not cross-compiling and
34611 when fast-check is not defined.
34613 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34614 * conform/data/limits.h-data: Fixes for POSIX2008.
34615 * conform/run-conformtest.sh: Run all tests.
34616 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34618 * include/bits/dlfcn.h: Likewise.
34619 * include/langinfo.h: Likewise.
34620 * include/monetary.h: Likewise.
34621 * include/sys/poll.h: Likewise.
34623 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34625 * posix/spawn.h: Define __need_sigset_t.
34626 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34627 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34628 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34629 to get sigevent_t only.
34630 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34631 only for __USE_GNU.
34632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34633 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34634 process_vm_writev only for __USE_GNU.
34635 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34637 * conform/Makefile: For now ignore errors from run-conformtest.
34638 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34639 POSIX to avoid namespace pollution. Don't prepend headers.
34640 * conform/data/aio.h-data: Fixes for POSIX testing.
34641 * conform/data/fcntl.h-data: Likewise.
34642 * conform/data/glob.h-data: Likewise.
34643 * conform/data/grp.h-data: Likewise.
34644 * conform/data/pthread.h-data: Likewise.
34645 * conform/data/pwd.h-data: Likewise.
34646 * conform/data/signal.h-data: Likewise.
34647 * conform/data/spawn.h-data: Likewise.
34648 * conform/data/stdio.h-data: Likewise.
34649 * conform/data/stdlib.h-data: Likewise.
34650 * conform/data/stropts.h-data: Likewise.
34651 * conform/data/sys/mman.h-data: Likewise.
34652 * conform/data/sys/stat.h-data: Likewise.
34653 * conform/data/sys/types.h-data: Likewise.
34654 * conform/data/sys/wait.h-data: Likewise.
34655 * conform/data/time.h-data: Likewise.
34656 * conform/data/unistd.h-data: Likewise.
34657 * conform/data/utime.h-data: Likewise.
34659 * io/sys/stat.h: fchmod was always in POSIX.
34660 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34661 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34662 * rt/aio.h: Define __need_timespec before including <time.h>.
34663 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34664 struct. Add forward declaration of pthread_attr_t and use it in
34666 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34667 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34668 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34669 always remove CLK_TCK definition.
34671 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34673 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34675 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34677 * conform/run-conformtest.sh: New file.
34678 * conform/Makefile: Run run-conformtest for tests.
34679 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34682 * conform/data/uchar.h-data: New file.
34683 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34684 * conform/data/arpa/inet.h-data: Likewise.
34685 * conform/data/assert.h-data: Likewise.
34686 * conform/data/complex.h-data: Likewise.
34687 * conform/data/cpio.h-data: Likewise.
34688 * conform/data/ctype.h-data: Likewise.
34689 * conform/data/dirent.h-data: Likewise.
34690 * conform/data/dlfcn.h-data: Likewise.
34691 * conform/data/errno.h-data: Likewise.
34692 * conform/data/fcntl.h-data: Likewise.
34693 * conform/data/float.h-data: Likewise.
34694 * conform/data/fmtmsg.h-data: Likewise.
34695 * conform/data/fnmatch.h-data: Likewise.
34696 * conform/data/ftw.h-data: Likewise.
34697 * conform/data/glob.h-data: Likewise.
34698 * conform/data/grp.h-data: Likewise.
34699 * conform/data/iconv.h-data: Likewise.
34700 * conform/data/inttypes.h-data: Likewise.
34701 * conform/data/langinfo.h-data: Likewise.
34702 * conform/data/libgen.h-data: Likewise.
34703 * conform/data/limits.h-data: Likewise.
34704 * conform/data/locale.h-data: Likewise.
34705 * conform/data/math.h-data: Likewise.
34706 * conform/data/monetary.h-data: Likewise.
34707 * conform/data/mqueue.h-data: Likewise.
34708 * conform/data/ndbm.h-data: Likewise.
34709 * conform/data/net/if.h-data: Likewise.
34710 * conform/data/netdb.h-data: Likewise.
34711 * conform/data/netinet/in.h-data: Likewise.
34712 * conform/data/nl_types.h-data: Likewise.
34713 * conform/data/poll.h-data: Likewise.
34714 * conform/data/pthread.h-data: Likewise.
34715 * conform/data/pwd.h-data: Likewise.
34716 * conform/data/regex.h-data: Likewise.
34717 * conform/data/sched.h-data: Likewise.
34718 * conform/data/search.h-data: Likewise.
34719 * conform/data/semaphore.h-data: Likewise.
34720 * conform/data/setjmp.h-data: Likewise.
34721 * conform/data/signal.h-data: Likewise.
34722 * conform/data/spawn.h-data: Likewise.
34723 * conform/data/stdarg.h-data: Likewise.
34724 * conform/data/stdio.h-data: Likewise.
34725 * conform/data/stdlib.h-data: Likewise.
34726 * conform/data/string.h-data: Likewise.
34727 * conform/data/strings.h-data: Likewise.
34728 * conform/data/stropts.h-data: Likewise.
34729 * conform/data/sys/ipc.h-data: Likewise.
34730 * conform/data/sys/mman.h-data: Likewise.
34731 * conform/data/sys/msg.h-data: Likewise.
34732 * conform/data/sys/resource.h-data: Likewise.
34733 * conform/data/sys/select.h-data: Likewise.
34734 * conform/data/sys/sem.h-data: Likewise.
34735 * conform/data/sys/shm.h-data: Likewise.
34736 * conform/data/sys/socket.h-data: Likewise.
34737 * conform/data/sys/stat.h-data: Likewise.
34738 * conform/data/sys/statvfs.h-data: Likewise.
34739 * conform/data/sys/time.h-data: Likewise.
34740 * conform/data/sys/timeb.h-data: Likewise.
34741 * conform/data/sys/times.h-data: Likewise.
34742 * conform/data/sys/types.h-data: Likewise.
34743 * conform/data/sys/uio.h-data: Likewise.
34744 * conform/data/sys/un.h-data: Likewise.
34745 * conform/data/sys/utsname.h-data: Likewise.
34746 * conform/data/sys/wait.h-data: Likewise.
34747 * conform/data/syslog.h-data: Likewise.
34748 * conform/data/tar.h-data: Likewise.
34749 * conform/data/termios.h-data: Likewise.
34750 * conform/data/utime.h-data: Likewise.
34751 * conform/data/utmpx.h-data: Likewise.
34752 * conform/data/varargs.h-data: Likewise.
34753 * conform/data/wchar.h-data: Likewise.
34754 * conform/data/wctype.h-data: Likewise.
34755 * conform/data/wordexp.h-data: Likewise.
34757 * include/stropts.h: New file.
34758 * include/uchar.h: New file.
34759 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34760 * include/assert.h: Likewise.
34761 * include/ctype.h: Likewise.
34762 * include/dirent.h: Likewise.
34763 * include/dlfcn.h: Likewise.
34764 * include/fcntl.h: Likewise.
34765 * include/fnmatch.h: Likewise.
34766 * include/glob.h: Likewise.
34767 * include/grp.h: Likewise.
34768 * include/libio.h: Likewise.
34769 * include/locale.h: Likewise.
34770 * include/math.h: Likewise.
34771 * include/net/if.h: Likewise.
34772 * include/netdb.h: Likewise.
34773 * include/netinet/in.h: Likewise.
34774 * include/pthread.h: Likewise.
34775 * include/pwd.h: Likewise.
34776 * include/regex.h: Likewise.
34777 * include/sched.h: Likewise.
34778 * include/search.h: Likewise.
34779 * include/setjmp.h: Likewise.
34780 * include/signal.h: Likewise.
34781 * include/stdio.h: Likewise.
34782 * include/stdlib.h: Likewise.
34783 * include/string.h: Likewise.
34784 * include/sys/cdefs.h: Likewise.
34785 * include/sys/mman.h: Likewise.
34786 * include/sys/msg.h: Likewise.
34787 * include/sys/resource.h: Likewise.
34788 * include/sys/select.h: Likewise.
34789 * include/sys/socket.h: Likewise.
34790 * include/sys/stat.h: Likewise.
34791 * include/sys/statvfs.h: Likewise.
34792 * include/sys/time.h: Likewise.
34793 * include/sys/times.h: Likewise.
34794 * include/sys/uio.h: Likewise.
34795 * include/sys/utsname.h: Likewise.
34796 * include/sys/wait.h: Likewise.
34797 * include/termios.h: Likewise.
34798 * include/time.h: Likewise.
34799 * include/ulimit.h: Likewise.
34800 * include/unistd.h: Likewise.
34801 * include/utime.h: Likewise.
34802 * include/wchar.h: Likewise.
34803 * include/wctype.h: Likewise.
34804 * include/wordexp.h: Likewise.
34806 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34808 * time/time.h: TIME_UTC must be a macro.
34809 Make timespec_get available for ISO C11 only as well.
34811 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34813 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34814 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34816 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34818 * configure.in: Use -o not -a in test for unsupported multi-arch.
34820 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34822 * manual/texinfo.tex: Update to version 2012-01-19.16.
34824 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34826 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34828 2012-02-24 Roland McGrath <roland@hack.frob.com>
34831 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34832 * manual/fdl-1.3.texi: New file.
34833 * manual/fdl-1.1.texi: File removed.
34836 * manual/libc.texinfo (FDL_VERSION): New @set.
34837 Use it for mention of FDL in cover text.
34838 (Documentation License): Use it in @include file name.
34840 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34841 Roland McGrath <roland@hack.frob.com>
34844 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34845 not LONG_LONG_MAX and LONG_LONG_MIN.
34846 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34847 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34849 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34851 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34855 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34856 manipulate bits before adding and subtracting TWO23[sx].
34857 * math/libm-test.inc (nearbyint_test): Add more tests.
34859 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34862 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34863 bits before adding and subtracting TWO23[sx].
34864 * math/libm-test.inc (rint_test): Add more tests.
34865 (rint_test_tonearest): Likewise.
34866 (rint_test_towardzero): Likewise.
34867 (rint_test_downward): Likewise.
34868 (rint_test_upward: Likewise.
34870 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34873 * include/stdc-predef.h: New file. Extracted from features.h.
34874 * include/features.h: Include stdc-predef.h.
34875 * Makefile (headers): Add stdc-predef.h.
34876 * CONFORMANCE (Compiler limitations): Update.
34878 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34880 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34882 2012-02-21 David S. Miller <davem@davemloft.net>
34884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34885 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34887 2012-02-20 David S. Miller <davem@davemloft.net>
34889 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34890 using a normal save/restore sequence, rather than allocating a
34891 dummy stack frame just to store a frame pointer and restore.
34892 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34894 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34896 * manual/install.texi: Fix stray word in line-wrapped comment.
34898 2012-02-20 David S. Miller <davem@davemloft.net>
34900 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34901 both binutils and gcc support GOTDATA.
34903 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34904 "rd %pc" in the PIC register setup sequences.
34906 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34907 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34908 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34909 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34910 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34912 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34913 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34915 (SYSCALL_ERROR_HANDLER): Likewise.
34916 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34917 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34918 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34919 (SYSCALL_ERROR_HANDLER): Likewise.
34921 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34922 (HAVE_GCC_GOTDATA): New.
34923 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34924 relocation support in both binutils and gcc.
34925 * sysdeps/sparc/elf/configure: Regenerate.
34927 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34928 * sysdeps/sparc/sparc32/elf/configure: Delete.
34929 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34930 * sysdeps/sparc/sparc64/elf/configure: Delete.
34931 * sysdeps/sparc/elf/configure.in: New file.
34932 * sysdeps/sparc/elf/configure: Generate.
34934 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34935 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34936 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34937 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34938 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34940 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34942 * manual/install.texi: Do not mention specific glibc version
34944 * manual/libc.texinfo (VERSION, UPDATED): Update.
34945 (@copying): Use @copyright{} and range of years.
34947 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34950 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34951 [crti.S not in sysdirs] (generated): Do not append.
34952 [crti.S not in sysdirs] (omit-deps): Likewise.
34953 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34954 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34955 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34956 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34957 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34959 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34960 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34961 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34962 * csu/defs.awk: Remove file.
34963 * sysdeps/generic/initfini.c: Likewise.
34964 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34966 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34969 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34971 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34972 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34973 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34974 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34975 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34976 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34978 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34979 (__EPOLL_PACKED): Define to empty if not defined by
34981 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34985 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34987 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34988 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34989 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34990 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34992 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34996 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34998 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35001 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35002 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35005 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35007 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35008 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35010 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35012 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35013 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35015 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35017 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35020 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35022 * math/w_acos.c: Use non-signaling floating-point comparisons.
35023 * math/w_acosf.c: Likewise.
35024 * math/w_acosh.c: Likewise.
35025 * math/w_acoshf.c: Likewise.
35026 * math/w_acoshl.c: Likewise.
35027 * math/w_acosl.c: Likewise.
35028 * math/w_asin.c: Likewise.
35029 * math/w_asinf.c: Likewise.
35030 * math/w_asinl.c: Likewise.
35031 * math/w_atanh.c: Likewise.
35032 * math/w_atanhf.c: Likewise.
35033 * math/w_atanhl.c: Likewise.
35034 * math/w_exp2.c: Likewise.
35035 * math/w_exp2f.c: Likewise.
35036 * math/w_exp2l.c: Likewise.
35037 * math/w_j0.c: Likewise.
35038 * math/w_j0f.c: Likewise.
35039 * math/w_j0l.c: Likewise.
35040 * math/w_j1.c: Likewise.
35041 * math/w_j1f.c: Likewise.
35042 * math/w_j1l.c: Likewise.
35043 * math/w_jn.c: Likewise.
35044 * math/w_jnf.c: Likewise.
35045 * math/w_log.c: Likewise.
35046 * math/w_log10.c: Likewise.
35047 * math/w_log10f.c: Likewise.
35048 * math/w_log10l.c: Likewise.
35049 * math/w_log2.c: Likewise.
35050 * math/w_log2f.c: Likewise.
35051 * math/w_log2l.c: Likewise.
35052 * math/w_logf.c: Likewise.
35053 * math/w_logl.c: Likewise.
35054 * math/w_sqrt.c: Likewise.
35055 * math/w_sqrtf.c: Likewise.
35056 * math/w_sqrtl.c: Likewise.
35057 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35058 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35059 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35060 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35061 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35063 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35066 * manual/string.texi (strnlen): Use correct parameter name in
35067 equivalent expression.
35069 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35072 * manual/users.texi (seteuid): Consistently use neweuid for
35075 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35078 * manual/nss.texi (Services in the NSS configuration): Correct
35079 list of services in example configuration file.
35081 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35084 * manual/arith.texi: Remove statements about negative zero
35085 behaving identically to zero.
35087 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35090 * manual/install.texi: Do not document upgrading from libc5.
35092 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35095 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35097 2012-02-18 David S. Miller <davem@davemloft.net>
35099 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35100 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35101 %o7 across the call.
35102 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35105 SETUP_PIC_REG_LEAF.
35106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35107 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35108 * sysdeps/sparc/crtn.S: Likewise.
35110 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35112 * aout/Makefile: Remove.
35114 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35117 * manual/examples/argp-ex1.c (main): Format definition in GNU
35119 * manual/examples/argp-ex2.c (main): Likewise.
35120 * manual/examples/argp-ex3.c (main): Likewise.
35121 * manual/examples/argp-ex4.c (main): Likewise.
35122 * manual/examples/longopt.c (main): Use new-style prototype
35124 * manual/examples/strncat.c (main): Specify return type and use
35125 (void) for arguments.
35126 * manual/examples/subopt.c (main): Use char **argv argument.
35128 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35131 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35134 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35137 * manual/string.texi (strchr): Change when strchrnul is
35140 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35143 * manual/locale.texi (setlocale): Document LOCPATH.
35145 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35148 * manual/process.texi (execle): Move @dots{} before last argument.
35150 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35153 * manual/charset.texi (Generic Charset Conversion): Fix typo
35154 (LC_TYPE -> LC_CTYPE).
35156 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35159 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35160 (scalbnf): Likewise.
35161 (scalbnl): Likewise.
35162 (scalbln): Likewise.
35163 (scalblnf): Likewise.
35164 (scalblnl): Likewise.
35165 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35166 (vwarnx): Likewise.
35169 * manual/filesys.texi (telldir): Use braces around return type.
35170 * manual/llio.texi (mmap): Add space after comma.
35171 (mmap64): Likewise.
35172 * manual/math.texi (jn): Use @var{} on parameter names.
35178 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35180 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35182 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35183 (sched_get_priority_max): Likewise.
35184 * manual/signal.texi (sigvec): Add space after comma.
35185 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35187 (if_indextoname): Likewise.
35188 (if_freenameindex): Likewise.
35189 (sendto): Use ',' instead of '.' in prototype.
35190 * manual/startup.texi (syscall): Use @dots{} instead of literal
35192 * manual/stdio.texi (__fpending): Separate initial words of
35193 paragraph from @deftypefun line.
35194 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35196 (vsyslog): Use @var{} on parameter names.
35197 * manual/terminal.texi (stty): Use @var{} on parameter names.
35198 * manual/users.texi (getutmp): Use @var{} on parameter names.
35199 (getutmpx): Likewise.
35201 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35204 * manual/stdio.texi (fopen): Fix typos in description of
35207 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35210 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35211 get clock_id definition.
35213 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35216 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35217 (madvise): Cast every argument to void on its own.
35219 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35222 * manual/startup.texi (Exit Status): Fix typo.
35224 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35227 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35228 * manual/examples/argp-ex2.c: Likewise.
35229 * manual/examples/argp-ex3.c: Likewise.
35231 2012-02-16 Richard Henderson <rth@redhat.com>
35233 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35234 * sysdeps/s390/s390-32/initfini.c: Remove.
35235 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35236 * sysdeps/s390/s390-64/initfini.c: Remove.
35238 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35240 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35241 compiler output for sysdeps/generic/initfini.c.
35242 * sysdeps/sh/elf/initfini.c: Remove file.
35244 2012-02-16 David S. Miller <davem@davemloft.net>
35247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35249 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35250 * sysdeps/sparc/crti.S: New file.
35251 * sysdeps/sparc/crtn.S: New file.
35252 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35253 * sysdeps/sparc/sparc64/Makefile: Likewise.
35255 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35258 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35260 2012-02-15 Roland McGrath <roland@hack.frob.com>
35263 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35265 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35266 (write, read, close): Likewise.
35267 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35269 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35271 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35272 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35273 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35274 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35276 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35280 2012-02-14 Marek Polacek <polacek@redhat.com>
35282 * sysdeps/x86_64/crti.S: New file.
35283 * sysdeps/x86_64/crtn.S: New file.
35284 * sysdeps/x86_64/elf/initfini.c: Remove file.
35286 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35288 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35289 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35290 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35291 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35293 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35297 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35299 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35300 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35301 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35302 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35304 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35308 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35310 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35311 __feraiseexcept instead of feraiseexcept.
35313 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35314 nanosleep invocations.
35315 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35316 strings, and add error checking for a nanosleep invocations.
35318 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35320 Replace FSF snail mail address with URLs, as per GNU coding standards.
35321 Most of the snail mail addresses were wrong anyway, and omitting
35322 them makes the source code easier to maintain. Almost all of the
35323 changes are to license notices and to locale LC_IDENTIFICATION
35324 addresses, except for this one:
35325 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35326 not its snail mail address.
35328 2012-02-09 Richard Henderson <rth@twiddle.net>
35330 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35331 of kernel-features.h.
35333 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35335 2012-02-08 Marek Polacek <polacek@redhat.com>
35337 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35338 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35339 * sysdeps/gnu/_G_config.h: Likewise.
35340 * sysdeps/generic/_G_config.h: Likewise.
35342 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35344 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35348 * sysdeps/powerpc/powerpc32/crti.S: New file.
35349 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35350 * sysdeps/powerpc/powerpc64/crti.S: New file.
35351 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35353 * Makeconfig (have-initfini): Don't set.
35354 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35355 * configure.in (nopic_initfini): Don't substitute.
35356 * config.h.in (HAVE_INITFINI): Don't #undef.
35357 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35358 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35360 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35362 Support crti.S and crtn.S provided directly by architectures.
35363 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35364 [crti.S in sysdirs] (omit-deps): Likewise.
35365 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35366 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35367 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35368 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35369 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35370 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35371 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35372 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35373 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35374 compiler output for sysdeps/generic/initfini.c.
35375 * sysdeps/i386/elf/Makefile: Remove file.
35376 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35378 2012-02-07 Marek Polacek <polacek@redhat.com>
35380 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35381 * sysdeps/gnu/_G_config.h: Likewise.
35382 * sysdeps/mach/hurd/_G_config.h: Likewise.
35384 2012-02-07 Marek Polacek <polacek@redhat.com>
35386 * math/Makefile (tests): Add tst-CMPLX2.
35387 * math/tst-CMPLX2.c: New file.
35389 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35391 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35393 * math/libm-test.inc (jn_test): Add missing L suffix.
35395 2012-02-06 Marek Polacek <polacek@redhat.com>
35397 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35398 * sysdeps/i386/fpu/e_powf.S: Likewise.
35399 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35400 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35401 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35402 * sysdeps/i386/fpu/e_pow.S: Likewise.
35403 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35404 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35405 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35406 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35407 * sysdeps/i386/fpu/e_log2.S: Likewise.
35408 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35409 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35410 * sysdeps/i386/fpu/e_powl.S: Likewise.
35411 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35413 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35414 * sysdeps/i386/fpu/e_logl.S: Likewise.
35415 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35416 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35417 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35418 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35419 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35420 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35421 * sysdeps/i386/fpu/e_log.S: Likewise.
35422 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35423 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35424 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35425 * sysdeps/i386/fpu/e_logf.S: Likewise.
35426 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35427 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35428 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35429 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35430 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35431 * sysdeps/i386/fpu/e_log10.S: Likewise.
35432 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35433 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35434 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35435 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35436 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35437 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35438 * sysdeps/i386/asm-syntax.h: Likewise.
35439 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35440 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35441 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35442 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35443 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35444 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35445 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35446 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35447 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35448 * sysdeps/powerpc/sysdep.h: Likewise.
35449 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35450 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35452 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35455 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35457 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35459 * sysdeps/i386/sysdep.h: Include <features.h>.
35460 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35463 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35465 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35467 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35470 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35472 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35473 (SETUP_PIC_REG): Use GET_PC_THUNK.
35474 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35477 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35479 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35480 for non-PIC compilation.
35481 (SETUP_PIC_REG): Add .p2align directive.
35482 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35483 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35484 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35485 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35486 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35487 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35488 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35490 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35491 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35492 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35493 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35494 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35495 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35496 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35497 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35498 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35499 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35500 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35501 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35502 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35503 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35504 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35505 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35506 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35508 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35510 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35511 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35512 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35513 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35514 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35515 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35516 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35517 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35518 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35519 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35520 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35521 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35522 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35524 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35526 * math/tst-CMPLX.c: Include <stdio.h>.
35528 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35530 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35532 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35533 * sysdeps/sparc/bits/mathdef.h: Likewise.
35535 2012-01-31 Marek Polacek <polacek@redhat.com>
35537 * libio/libio.h: Don't define _PARAMS.
35538 * locale/programs/config.h: Don't define PARAMS.
35539 * stdlib/strtol_l.c: Likewise.
35540 (__strtol_l): Remove PARAMS from the prototype.
35542 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35544 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35545 names. Just use the correct names. Remove unnecessary wrapper
35547 * malloc/arena.c: Likewise.
35548 * malloc/hooks.c: Likewise.
35550 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35551 ARENA_TEST says not to. Simplify test for creation of a new arena.
35552 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35554 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35556 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35558 (update_get_addr): New function.
35559 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35560 GET_ADDR_MODULE parameter.
35562 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35564 * crypt/cert.c: Remove __STDC__ conditionals.
35565 * crypt/crypt-entry.c: Likewise.
35566 * crypt/crypt_util.c: Likewise.
35567 * libio/filedoalloc.c: Likewise.
35568 * libio/fileops.c: Likewise.
35569 * libio/genops.c: Likewise.
35570 * libio/iofclose.c: Likewise.
35571 * libio/iofdopen.c: Likewise.
35572 * libio/iofopen.c: Likewise.
35573 * libio/iofopen64.c: Likewise.
35574 * libio/iogetdelim.c: Likewise.
35575 * libio/iopopen.c: Likewise.
35576 * libio/obprintf.c: Likewise.
35577 * libio/oldfileops.c: Likewise.
35578 * libio/oldiofclose.c: Likewise.
35579 * libio/oldiofdopen.c: Likewise.
35580 * libio/oldiofopen.c: Likewise.
35581 * libio/oldiopopen.c: Likewise.
35582 * libio/wfiledoalloc.c: Likewise.
35583 * libio/wgenops.c: Likewise.
35584 * locale/programs/xmalloc.c: Likewise.
35585 * misc/syslog.c: Likewise.
35586 * stdio-common/xbug.c: Likewise.
35587 * string/memchr.c: Likewise.
35588 * string/memcmp.c: Likewise.
35589 * string/memrchr.c: Likewise.
35590 * string/rawmemchr.c: Likewise.
35591 * sysdeps/posix/getcwd.c: Likewise.
35592 * time/strftime_l.c: Likewise.
35594 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35596 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35597 * config.make.in (config-cflags-sse2avx): Define.
35598 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35601 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35603 * scripts/config.guess: Update from upstream config git repository.
35604 * scripts/config.sub: Likewise.
35606 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35608 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35610 (R_TILEPRO_*, R_TILEGX_*): New macros.
35612 * scripts/firstversions.awk: Fix bug in version range handling.
35614 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35616 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35618 * include/sys/epoll.h: New file.
35619 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35622 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35624 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35625 Avoid unnecessary __WORDSIZE == 64 test.
35626 (fmaxf): Use VEX format if possible.
35631 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35632 * math/math_private.h: Remove libc_fegetround* and
35634 * sysdeps/i386/configure.in: Check for -msse2avx.
35635 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35636 also if SSE2AVX is defined.
35637 Remove libc_fegetround* and libc_fesetround*.
35638 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35639 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35643 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35644 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35646 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35648 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35650 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35652 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35654 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35656 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35659 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35661 * Makeconfig (libm): Define.
35662 * elf/Makefile: Add rules to build and run tst-relsort1.
35663 * elf/tst-relsort1.c: New file.
35664 * elf/tst-relsort1mod1.c: New file.
35665 * elf/tst-relsort1mod2.c: New file.
35667 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35669 * math/s_ldexp.c: Remove __STDC__ conditionals.
35670 * math/s_ldexpf.c: Likewise.
35671 * math/s_ldexpl.c: Likewise.
35672 * math/s_nextafter.c: Likewise.
35673 * math/s_nexttowardf.c: Likewise.
35674 * math/s_significand.c: Likewise.
35675 * math/s_significandf.c: Likewise.
35676 * math/s_significandl.c: Likewise.
35677 * math/w_jnl.c: Likewise.
35678 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35679 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35680 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35681 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35682 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35683 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35684 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35685 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35687 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35688 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35689 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35690 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35691 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35692 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35693 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35694 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35695 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35697 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35698 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35699 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35700 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35701 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35702 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35703 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35704 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35705 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35706 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35707 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35708 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35709 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35710 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35711 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35712 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35713 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35714 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35715 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35716 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35717 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35718 * sysdeps/ieee754/k_standard.c: Likewise.
35719 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35721 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35722 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35723 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35724 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35725 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35726 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35738 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35746 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35751 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35758 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35759 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35761 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35762 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35764 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35765 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35766 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35767 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35768 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35769 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35770 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35771 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35772 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35773 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35774 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35775 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35776 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35777 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35779 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35780 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35781 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35782 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35783 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35784 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35785 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35786 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35787 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35788 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35789 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35790 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35791 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35792 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35793 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35794 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35795 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35796 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35797 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35798 * sysdeps/ieee754/s_matherr.c: Likewise.
35799 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35800 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35804 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35806 * crypt/md5.h: Remove __STDC__ conditionals.
35807 * libio/libioP.h: Likewise.
35808 * locale/programs/config.h: Likewise.
35809 * sysdeps/generic/sysdep.h: Likewise.
35810 * sysdeps/i386/asm-syntax.h: Likewise.
35811 * sysdeps/s390/asm-syntax.h: Likewise.
35812 * sysdeps/unix/sysdep.h: Likewise.
35813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35816 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35818 * libio/libio.h: Remove __STDC__ conditionals.
35819 * malloc/obstack.h: Likewise.
35820 * math/complex.h: Likewise.
35821 * math/math.h: Likewise.
35822 * sysdeps/generic/_G_config.h: Likewise.
35823 * sysdeps/gnu/_G_config.h: Likewise.
35824 * sysdeps/mach/hurd/_G_config.h: Likewise.
35825 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35826 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35827 * sysdeps/sparc/bits/mathdef.h: Likewise.
35829 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35832 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35833 Clean up HAS_* macros.
35834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35835 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35837 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35839 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35840 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35841 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35842 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35843 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35845 2012-01-25 Joseph Myers <joseph@codesourcery.com>
35847 * elf/tst-unique3.cc (gets): Remove declaration.
35848 * elf/tst-unique3lib.cc (gets): Likewise.
35849 * elf/tst-unique3lib2.cc (gets): Likewise.
35850 * elf/tst-unique4.cc (gets): Likewise.
35852 2012-01-24 Ulrich Drepper <drepper@gmail.com>
35854 * include/stdio.h: Add C++ protection. Add gets declarations and
35856 * debug/tst-chk1.c: Don't declare gets here.
35857 * stdio-common/tst-gets.c: Likewise.
35859 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35861 * posix/glob: Remove directory.
35863 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35865 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35867 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35869 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35870 of the non-standard EPFNOSUPPORT.
35872 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35874 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35875 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35876 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35878 2012-01-21 Ulrich Drepper <drepper@gmail.com>
35880 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35882 2012-01-20 Ulrich Drepper <drepper@gmail.com>
35884 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35886 * nscd/grpcache.c (cache_addgr): Likewise.
35887 * nscd/hstcache.c (cache_addhst): Likewise.
35888 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35889 * nscd/pwdcache.c (cache_addpw): Likewise.
35890 * nscd/servicescache.c (cache_addserv): Likewise.
35892 2012-01-16 Ulrich Drepper <drepper@gmail.com>
35894 * malloc/malloc.c: Various cleanups.
35895 * malloc/hooks.c: Likewise.
35897 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35898 * stdlib/bug-fmtmsg1.c: New file.
35900 * stdlib/fmtmsg.c (init): Add missing unlock.
35901 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35903 2012-01-12 Marek Polacek <polacek@redhat.com>
35905 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35908 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35910 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35911 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35912 macro to ensure uniqueness of label name.
35913 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35914 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35916 2012-01-11 Ulrich Drepper <drepper@gmail.com>
35918 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35920 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35921 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35922 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35925 2012-01-10 Ulrich Drepper <drepper@gmail.com>
35927 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35929 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35930 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35931 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35933 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35935 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35936 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35937 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35940 * math/bits/math-finite.h: Add ldexp support.
35942 2012-01-10 Marek Polacek <polacek@redhat.com>
35944 * locale/programs/localedef.h (show_archive_content): Add noreturn
35947 2012-01-09 Ulrich Drepper <drepper@gmail.com>
35949 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35951 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35953 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35955 * io/Makefile (headers): Add bits/poll2.h.
35957 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35960 typo #include statement.
35962 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35964 * include/sys/cdefs.h: Define __attribute_alloc_size.
35965 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35966 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35967 * elf/pldd.c: Likewise.
35968 * iconv/iconv_charmap.c: Likewise.
35969 * iconv/iconvconfig.c: Likewise.
35970 * iconv/strtab.c: Likewise.
35971 * locale/programs/locale.c: Likewise.
35972 * locale/programs/localedef.h: Likewise.
35973 * locale/programs/simple-hash.c: Likewise.
35974 * nscd/nscd.h: Likewise.
35975 * nss/makedb.c: Likewise.
35976 * sysdeps/generic/ldconfig.h: Likewise.
35977 * locale/programs/localedef.c: Remove xmalloc prototype.
35978 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35980 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35982 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35985 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35987 * math/Makefile (tests): Add tst-CMPLX.
35988 * math/tst-CMPLX.c: New file.
35990 * math/complex.h (CMPLXL): Fix typo.
35992 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35993 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35995 * debug/tst-chk1.c: Add poll and ppoll tests.
35996 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35997 * include/sys/poll.h: Add hidden proto for ppoll.
35998 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35999 * sysdeps/mach/hurd/ppoll.c: Likewise.
36000 * io/ppoll.c: Likewise.
36001 * debug/poll_chk.c: New file.
36002 * debug/ppoll_chk.c: New file.
36003 * include/bits/poll2.h: New file.
36004 * io/bits/poll2.h: New file.
36007 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36009 * configure.in: static is always set to yes. Remove.
36010 * config.make.in: Don't set build-static.
36011 * Makeconfig: Remove use of build-static.
36012 * dlfcn/Makefile: Likewise.
36013 * elf/Makefile: Likewise.
36014 * math/Makefile: Likewise.
36015 * misc/Makefile: Likewise.
36016 * nptl/Makefile: Likewise.
36017 * sysdeps/mach/hurd/Makefile: Likewise.
36019 * configure.in: PWD_P is not used anymore.
36020 * config.make.in: Remove PWD_P entry.
36022 * configure.in: Remove last remnants of RANLIB.
36023 No need to check for signed size_t anymore.
36024 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36026 Remove __builtin_expect test because we require at least gcc 3.4.
36027 * aclocal.m4: Likewise.
36029 * wcsmbs/mbrtoc16.c: Implement using towc function.
36030 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36031 * wcsmbs/wcsmbsload.c: Likewise.
36032 * iconv/gconv_simple.c: Likewise.
36033 * iconv/gconv_int.h: Likewise.
36034 * iconv/gconv_builtin.h: Likewise.
36035 * iconv/iconv_prog.c: Remove CHAR16 handling.
36037 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36039 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36041 * configure.in: Remove --with-elf and --enable-bounded options.
36042 Dont set base_machine for ia64. More non-ELF conditions removed.
36043 Remove testing and setting of leading underscore information.
36044 * config.make.in (build-bounded): Set to no.
36045 * config.h.in: Remove NO_UNDERSCORES entry.
36046 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36048 * csu/start.c: Remove !NO_UNDERSCORE code.
36049 * locale/localeinfo.h: Likewise.
36050 * sysdeps/generic/machine-gmon.h: Likewise.
36051 * sysdeps/generic/sysdep.h: Likewise.
36052 * sysdeps/i386/sysdep.h: Likewise.
36053 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36054 * sysdeps/mach/sysdep.h: Likewise.
36055 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36056 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36057 * sysdeps/sh/sysdep.h: Likewise.
36058 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36059 * sysdeps/unix/i386/sysdep.S: Likewise.
36060 * sysdeps/unix/sparc/start.c: Likewise.
36061 * sysdeps/unix/sparc/sysdep.S: Likewise.
36062 * sysdeps/unix/sparc/sysdep.h: Likewise.
36063 * sysdeps/unix/start.c: Likewise.
36064 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36065 * sysdeps/x86_64/sysdep.h: Likewise.
36067 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36070 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36072 * argp/argp-fmtstream.h: Use const instead __const.
36073 * argp/argp.h: Likewise.
36074 * assert/assert.h: Likewise.
36075 * bits/fenv.h: Likewise.
36076 * bits/sched.h: Likewise.
36077 * bits/sigset.h: Likewise.
36078 * bits/sigthread.h: Likewise.
36079 * catgets/nl_types.h: Likewise.
36080 * conform/data/pthread.h-data: Likewise.
36081 * crypt/crypt-private.h: Likewise.
36082 * crypt/crypt.h: Likewise.
36083 * crypt/crypt_util.c: Likewise.
36084 * ctype/ctype.h: Likewise.
36085 * debug/execinfo.h: Likewise.
36086 * debug/mbsnrtowcs_chk.c: Likewise.
36087 * debug/mbsrtowcs_chk.c: Likewise.
36088 * debug/wcsnrtombs_chk.c: Likewise.
36089 * debug/wcsrtombs_chk.c: Likewise.
36090 * debug/wcstombs_chk.c: Likewise.
36091 * dirent/dirent.h: Likewise.
36092 * dlfcn/dlfcn.h: Likewise.
36093 * elf/neededtest4.c: Likewise.
36094 * grp/grp.h: Likewise.
36095 * gshadow/gshadow.h: Likewise.
36096 * iconv/gconv.h: Likewise.
36097 * iconv/gconv_int.h: Likewise.
36098 * iconv/gconv_simple.c: Likewise.
36099 * iconv/iconv.h: Likewise.
36100 * iconv/loop.c: Likewise.
36101 * iconv/skeleton.c: Likewise.
36102 * include/aio.h: Likewise.
36103 * include/aliases.h: Likewise.
36104 * include/argz.h: Likewise.
36105 * include/arpa/inet.h: Likewise.
36106 * include/assert.h: Likewise.
36107 * include/dirent.h: Likewise.
36108 * include/dlfcn.h: Likewise.
36109 * include/execinfo.h: Likewise.
36110 * include/fcntl.h: Likewise.
36111 * include/fenv.h: Likewise.
36112 * include/glob.h: Likewise.
36113 * include/grp.h: Likewise.
36114 * include/libintl.h: Likewise.
36115 * include/mntent.h: Likewise.
36116 * include/netdb.h: Likewise.
36117 * include/pwd.h: Likewise.
36118 * include/rpc/netdb.h: Likewise.
36119 * include/sched.h: Likewise.
36120 * include/search.h: Likewise.
36121 * include/shadow.h: Likewise.
36122 * include/signal.h: Likewise.
36123 * include/stdio.h: Likewise.
36124 * include/stdlib.h: Likewise.
36125 * include/string.h: Likewise.
36126 * include/sys/socket.h: Likewise.
36127 * include/sys/stat.h: Likewise.
36128 * include/sys/statfs.h: Likewise.
36129 * include/sys/statvfs.h: Likewise.
36130 * include/sys/syslog.h: Likewise.
36131 * include/sys/time.h: Likewise.
36132 * include/sys/uio.h: Likewise.
36133 * include/time.h: Likewise.
36134 * include/unistd.h: Likewise.
36135 * include/utmp.h: Likewise.
36136 * include/wchar.h: Likewise.
36137 * include/wctype.h: Likewise.
36138 * inet/aliases.h: Likewise.
36139 * inet/arpa/inet.h: Likewise.
36140 * inet/netinet/ether.h: Likewise.
36141 * inet/netinet/in.h: Likewise.
36142 * intl/libintl.h: Likewise.
36143 * io/bits/fcntl2.h: Likewise.
36144 * io/fcntl.h: Likewise.
36145 * io/ftw.h: Likewise.
36146 * io/sys/poll.h: Likewise.
36147 * io/sys/stat.h: Likewise.
36148 * io/sys/statfs.h: Likewise.
36149 * io/sys/statvfs.h: Likewise.
36150 * io/utime.h: Likewise.
36151 * libio/bits/stdio.h: Likewise.
36152 * libio/bits/stdio2.h: Likewise.
36153 * libio/libio.h: Likewise.
36154 * libio/libioP.h: Likewise.
36155 * libio/stdio.h: Likewise.
36156 * locale/lc-ctype.c: Likewise.
36157 * locale/locale.h: Likewise.
36158 * login/utmp.h: Likewise.
36159 * malloc/arena.c: Likewise.
36160 * malloc/malloc.c: Likewise.
36161 * malloc/malloc.h: Likewise.
36162 * malloc/mcheck.c: Likewise.
36163 * malloc/mtrace.c: Likewise.
36164 * math/bits/mathcalls.h: Likewise.
36165 * math/fenv.h: Likewise.
36166 * math/math_private.h: Likewise.
36167 * misc/bits/error.h: Likewise.
36168 * misc/bits/syslog.h: Likewise.
36169 * misc/err.h: Likewise.
36170 * misc/error.h: Likewise.
36171 * misc/fstab.h: Likewise.
36172 * misc/mntent.h: Likewise.
36173 * misc/regexp.h: Likewise.
36174 * misc/search.h: Likewise.
36175 * misc/sgtty.h: Likewise.
36176 * misc/sys/mman.h: Likewise.
36177 * misc/sys/syslog.h: Likewise.
36178 * misc/sys/uio.h: Likewise.
36179 * misc/sys/xattr.h: Likewise.
36180 * misc/ttyent.h: Likewise.
36181 * nis/rpcsvc/ypclnt.h: Likewise.
36182 * nss/nss.h: Likewise.
36183 * posix/bits/unistd.h: Likewise.
36184 * posix/fnmatch.h: Likewise.
36185 * posix/glob.h: Likewise.
36186 * posix/sched.h: Likewise.
36187 * posix/spawn.h: Likewise.
36188 * posix/sys/wait.h: Likewise.
36189 * posix/unistd.h: Likewise.
36190 * posix/wordexp.h: Likewise.
36191 * pwd/pwd.h: Likewise.
36192 * resolv/netdb.h: Likewise.
36193 * resource/sys/resource.h: Likewise.
36194 * rt/aio.h: Likewise.
36195 * rt/bits/mqueue2.h: Likewise.
36196 * rt/mqueue.h: Likewise.
36197 * shadow/shadow.h: Likewise.
36198 * signal/signal.h: Likewise.
36199 * socket/send.c: Likewise.
36200 * socket/sendto.c: Likewise.
36201 * socket/sys/socket.h: Likewise.
36202 * stdio-common/printf.h: Likewise.
36203 * stdlib/bits/stdlib.h: Likewise.
36204 * stdlib/fmtmsg.h: Likewise.
36205 * stdlib/monetary.h: Likewise.
36206 * stdlib/stdlib.h: Likewise.
36207 * stdlib/ucontext.h: Likewise.
36208 * streams/stropts.h: Likewise.
36209 * string/argz.h: Likewise.
36210 * string/bits/string2.h: Likewise.
36211 * string/string.h: Likewise.
36212 * string/strings.h: Likewise.
36213 * sunrpc/rpc/auth.h: Likewise.
36214 * sunrpc/rpc/auth_des.h: Likewise.
36215 * sunrpc/rpc/clnt.h: Likewise.
36216 * sunrpc/rpc/netdb.h: Likewise.
36217 * sunrpc/rpc/pmap_clnt.h: Likewise.
36218 * sunrpc/rpc/xdr.h: Likewise.
36219 * sysdeps/generic/inttypes.h: Likewise.
36220 * sysdeps/generic/net/if.h: Likewise.
36221 * sysdeps/generic/sys/swap.h: Likewise.
36222 * sysdeps/gnu/net/if.h: Likewise.
36223 * sysdeps/gnu/utmpx.h: Likewise.
36224 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36225 * sysdeps/i386/i486/bits/string.h: Likewise.
36226 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36227 * sysdeps/s390/bits/string.h: Likewise.
36228 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36229 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36230 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36231 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36232 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36233 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36234 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36235 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36236 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36237 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36238 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36239 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36240 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36241 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36242 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36243 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36244 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36246 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36247 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36248 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36249 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36250 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36251 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36252 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36253 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36254 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36255 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36256 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36257 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36258 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36259 * sysvipc/sys/ipc.h: Likewise.
36260 * sysvipc/sys/msg.h: Likewise.
36261 * sysvipc/sys/sem.h: Likewise.
36262 * sysvipc/sys/shm.h: Likewise.
36263 * termios/termios.h: Likewise.
36264 * time/sys/time.h: Likewise.
36265 * time/time.h: Likewise.
36266 * wcsmbs/bits/wchar2.h: Likewise.
36267 * wcsmbs/uchar.h: Likewise.
36268 * wcsmbs/wchar.h: Likewise.
36269 * wctype/wctype.h: Likewise.
36272 * Makeconfig: Remove all but ELF support including AIX support.
36273 * Makerules: Likewise.
36274 * config.h.in: Likewise.
36275 * config.make.in: Likewise.
36276 * configure: Likewise.
36277 * configure.in: Likewise.
36278 * csu/Makefile: Likewise.
36279 * csu/version.c: Likewise.
36280 * debug/Makefile: Likewise.
36281 * dlfcn/Makefile: Likewise.
36282 * elf/Makefile: Likewise.
36283 * extra-lib.mk: Likewise.
36284 * iconv/Makefile: Likewise.
36285 * include/libc-symbols.h: Likewise.
36286 * include/shlib-compat.h: Likewise.
36287 * resolv/Makefile: Likewise.
36288 * resolv/res_libc.c: Likewise.
36289 * rt/Makefile: Likewise.
36290 * sysdeps/i386/asm-syntax.h: Likewise.
36291 * sysdeps/i386/sysdep.h: Likewise.
36292 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36293 * sysdeps/mach/sysdep.h: Likewise.
36294 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36295 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36296 * sysdeps/s390/asm-syntax.h: Likewise.
36297 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36298 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36299 * sysdeps/sh/sysdep.h: Likewise.
36300 * sysdeps/unix/sparc/sysdep.h: Likewise.
36301 * sysdeps/wordsize-32/divdi3.c: Likewise.
36302 * sysdeps/x86_64/sysdep.h: Likewise.
36304 * argp/Versions: Remove _argp_unlock_xxx.
36307 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36308 * abilist/libBrokenLocale.abilist: Likewise.
36309 * abilist/libanl.abilist: Likewise.
36310 * abilist/libc.abilist: Likewise.
36311 * abilist/libcrypt.abilist: Likewise.
36312 * abilist/libdl.abilist: Likewise.
36313 * abilist/libm.abilist: Likewise.
36314 * abilist/libnsl.abilist: Likewise.
36315 * abilist/libpthread.abilist: Likewise.
36316 * abilist/libresolv.abilist: Likewise.
36317 * abilist/librt.abilist: Likewise.
36318 * abilist/libthread_db.abilist: Likewise.
36319 * abilist/libutil.abilist: Likewise.
36320 * abilist/libnss_db.abilist: New file.
36322 * scripts/abilist.awk: Add support for indirect functions.
36324 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36326 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36328 * shlib-versions: Remove entries for ports architectures.
36330 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36332 * elf/stackguard-macros.h: Remove support for IA-64.
36333 * elf/tst-auditmod1.c: Likewise.
36334 * sysdeps/generic/ldsodefs.h: Likewise.
36336 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36337 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36341 * configure.in: Remove --enable-omitfp support.
36343 * config.make.in: Likewise.
36344 * Makeconfig: Likewise.
36345 * manual/install.texi: Likewise.
36347 In case anyone cares, the IA-64 architecture could move to ports.
36348 * sysdeps/ia64/*: Removed.
36349 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36350 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36353 * configure.in: Remove entries for unsupported architectures.
36356 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36357 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36359 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36360 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36361 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36362 fall back to using wcrtomb.
36363 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36364 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36366 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36367 * wcsmbs/tst-c16c32-1.c: New file.
36369 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36372 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36374 * elf/tst-unique3.cc: Add explicit declaration of gets.
36375 * elf/tst-unique3lib.cc: Likewise.
36376 * elf/tst-unique3lib2.cc: Likewise.
36377 * elf/tst-unique4.cc: Likewise.
36379 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36381 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36384 * assert/assert.h (static_assert): Don't define for C++.
36385 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36386 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36388 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36390 * iconv/loop.c (single loop): Fix assertion in storing of
36393 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36395 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36397 * posix/getconf.c: Update copyright year.
36398 * nss/getent.c: Likewise.
36399 * nss/makedb.c: Likewise.
36400 * iconv/iconvconfig.c: Likewise.
36401 * iconv/iconv_prog.c: Likewise.
36402 * elf/ldconfig.c: Likewise.
36403 * elf/pldd.c: Likewise.
36404 * elf/sotruss.ksh: Likewise.
36405 * catgets/gencat.c: Likewise.
36406 * csu/version.c: Likewise.
36407 * elf/ldd.bash.in: Likewise.
36408 * elf/sprof.c (print_version): Likewise.
36409 * locale/programs/locale.c: Likewise.
36410 * locale/programs/localedef.c: Likewise.
36411 * login/programs/pt_chown.c: Likewise.
36412 * nscd/nscd.c (print_version): Likewise.
36413 * debug/xtrace.sh: Likewise.
36414 * malloc/memusage.sh: Likewise.
36415 * malloc/mtrace.pl: Likewise.
36416 * debug/catchsegv.sh: Likewise.
36418 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36420 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36423 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36426 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36427 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36429 * iconv/gconv_int.h: Likewise.
36430 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36431 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36432 from libc for GLIBC_2.16.
36433 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36434 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36435 * wcsmbs/uchar.h: Really define mbstate_t.
36436 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36437 * wcsmbs/c16rtomb.c: New file.
36438 * wcsmbs/mbrtoc16.c: New file.
36439 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36440 for C/POSIX locale.
36441 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36442 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36444 * wcsmbs/wchar.h: Add missing __restrict.
36446 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36449 * time/Makefile (routines): Add timespec_get.
36450 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36451 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36452 timespec for ISO C11.
36453 * time/timespec_get.c: New file.
36454 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36455 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36458 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36459 * stdlib/stdlib.h: Declare aligned_alloc.
36460 * Versions.def: Add GLIBC_2.16 for libc.
36461 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36464 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36467 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36471 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36474 * assert/assert.h (static_assert): Define.
36476 * version.h: Update for 2.16 development version.
36479 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36482 * version.h (RELEASE): Bump for 2.15 release.
36483 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36485 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36486 Patch by Marek Polacek <mpolacek@redhat.com>.
36488 * bits/byteswap.h: Protect long long constants with __extension__.
36489 * sysdeps/i386/bits/byteswap.h: Likewise.
36490 * sysdeps/ia64/bits/byteswap.h: Likewise.
36491 * sysdeps/s390/bits/byteswap.h: Likewise.
36492 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36494 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36497 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36498 destination buffer.
36499 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36501 2011-12-23 Marek Polacek <polacek@redhat.com>
36503 * elf/dl-addr.c (determine_info): Add inline keyword.
36504 * elf/tst-auditmod4b.c (check_avx): Likewise.
36505 * elf/tst-auditmod6b.c (check_avx): Likewise.
36506 * elf/tst-auditmod6c.c (check_avx): Likewise.
36507 * elf/tst-auditmod7b.c (check_avx): Likewise.
36509 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36511 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36514 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36517 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36518 processing for last bytes.
36520 2011-08-06 Bruno Haible <bruno@clisp.org>
36523 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36524 U+0385, not to U+1FEE.
36527 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36528 entry for U+00A5 U+0301.
36530 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36533 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36534 buffer for the output is too small.
36536 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36540 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36541 SSE flags if possible.
36543 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36546 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36547 processing for last bytes.
36549 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36551 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36552 (syscall-list-default-options, syscall-list-default-condition)
36553 (syscall-list-includes): Define.
36554 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36555 list of ABIs and options and #if conditions for each ABI. Do not
36556 handle common syscalls between ABIs specially.
36557 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36559 (syscall-list-variants, syscall-list-32bit-options)
36560 (syscall-list-32bit-condition, syscall-list-64bit-options)
36561 (syscall-list-64bit-condition): Define.
36562 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36563 (syscall-list-variants, syscall-list-32bit-options)
36564 (syscall-list-32bit-condition, syscall-list-64bit-options)
36565 (syscall-list-64bit-condition): Define.
36566 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36568 (syscall-list-variants, syscall-list-32bit-options)
36569 (syscall-list-32bit-condition, syscall-list-64bit-options)
36570 (syscall-list-64bit-condition): Define.
36571 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36573 (syscall-list-variants, syscall-list-32bit-options)
36574 (syscall-list-32bit-condition, syscall-list-64bit-options)
36575 (syscall-list-64bit-condition): Define.
36577 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36579 * locale/iso-639.def: Add brx entry.
36582 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36583 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36585 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36586 __feraiseexcept_renamed.
36588 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36591 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36592 EPOLLET with unsigned values.
36593 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36596 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36597 to large cancellation.
36598 * math/s_cacoshf.c: Likewise.
36599 * math/s_cacoshl.c: Likewise.
36601 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36605 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36606 * math/s_cacoshf.c: Likewise.
36607 * math/s_cacoshl.c: Likewise.
36609 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36612 * iconv/gconv.h: Define __GCONV_SWAP.
36613 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36614 * iconvdata/utf-16.c: Likewise.
36615 * iconvdata/utf-32.c: Likewise.
36617 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36620 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36621 numerator after shifting it by one limb.
36623 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36625 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36626 under [__USE_EXTERN_INLINES].
36628 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36631 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36633 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36635 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36636 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36638 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36639 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36640 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36641 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36642 for strncasecmp/strncasecmp_l compilation.
36643 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36644 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36646 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36649 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36652 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36655 * time/tzfile.c (__tzfile_read): Check values from file header.
36657 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36659 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36660 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36661 * powerpc/powerpc32/dl-start.S: Likewise.
36662 * powerpc/powerpc32/elf/start.S: Likewise.
36663 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36664 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36665 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36666 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36667 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36668 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36669 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36670 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36671 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36672 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36673 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36674 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36675 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36676 * powerpc/powerpc32/memset.S: Likewise.
36677 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36678 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36679 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36680 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36681 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36682 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36683 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36684 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36685 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36686 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36687 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36688 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36689 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36691 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36693 * math/libm-test.inc: Added more nearbyint tests.
36694 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36695 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36696 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36697 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36699 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36701 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36704 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36706 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36707 Add wcscpy-ssse3 wcscpy-c.
36708 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36709 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36710 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36711 * sysdeps/x86_64/wcschr.S: New file.
36712 * sysdeps/x86_64/wcsrchr.S: New file.
36713 * string/test-strcmp.c: Remove checking of wcscmp function for
36715 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36716 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36717 wcsrchr-sse2 wcsrchr-c.
36718 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36719 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36720 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36721 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36722 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36723 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36724 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36725 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36726 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36727 * wcsmbc/wcschr.c (WCSCHR): New macro.
36729 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36731 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36732 * wcsmbs/test-wcsrchr.c: New file.
36733 * string/test-strrchr.c: Add wcsrchr support.
36735 * wcsmbs/test-wcscpy.c: New file.
36736 * string/test-strcpy.c: Add wcscpy support.
36739 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36741 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36744 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36747 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36749 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36751 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36752 Minor optimizations.
36754 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36755 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36756 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36758 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36760 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36761 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36762 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36763 for gcc to avoid warnings.
36764 * inet/Makefile (tests): Add tst-checks.
36765 * inet/tst-checks.c: New file.
36767 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36770 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36773 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36774 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36776 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36778 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36780 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36783 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36785 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36787 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36788 conditional on GCC version.
36789 (__arch_compare_and_exchange_val_8_acq)
36790 (__arch_compare_and_exchange_val_16_acq)
36791 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36792 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36793 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36795 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36797 * sysdeps/sh/backtrace.c: New file.
36799 2011-12-02 Andreas Schwab <schwab@redhat.com>
36801 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36804 2011-12-01 Andreas Schwab <schwab@redhat.com>
36806 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36807 falling back to utime.
36809 2011-11-30 Andreas Schwab <schwab@redhat.com>
36811 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36812 expectations for float.
36814 2011-11-29 Andreas Schwab <schwab@redhat.com>
36816 * locale/weight.h (findidx): Add parameter len.
36817 * locale/weightwc.h (findidx): Likewise.
36818 * posix/fnmatch_loop.c (FCT): Adjust caller.
36819 * posix/regcomp.c (build_equiv_class): Likewise.
36820 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36821 * posix/regexec.c (check_node_accept_bytes): Likewise.
36822 * string/strcoll_l.c (STRCOLL): Likewise.
36823 * string/strxfrm_l.c (STRXFRM): Likewise.
36825 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36827 * Makefile.in: Remove CVSOPT handling.
36828 * configure.in: Remove use of AC_REVISION.
36829 * iconvdata/Makefile (distribute): No need to filter out CVS.
36830 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36833 2011-11-16 Andreas Schwab <schwab@redhat.com>
36835 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36836 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36837 [USE_AS_STRNCASECMP_L]: Likewise.
36838 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36839 NO_TLS_DIRECT_SEG_REFS.
36840 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36841 Fix argument offsets for non-PIC.
36842 [USE_AS_STRNCASECMP_L]: Likewise.
36843 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36844 NO_TLS_DIRECT_SEG_REFS.
36846 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36848 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36850 * locale/loadlocale.c (_nl_load_locale): Likewise.
36852 2011-11-15 Andreas Schwab <schwab@redhat.com>
36854 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36855 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36856 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36857 (SYSCALL_GETTIME): Set errno on error.
36859 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36860 count references to noai6ai_cached.
36862 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36864 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36866 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36867 FD_CLOEXEC for /proc/self/maps.
36869 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36870 FD_CLOEXEC for /proc/meminfo.
36872 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36875 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36876 FD_CLOEXEC for given file.
36878 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36880 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36881 FD_CLOEXEC for /etc/hosts.
36882 (_gethtent): Likewise.
36884 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36886 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36887 cancellation and set FD_CLOEXEC for /etc/netgroup.
36889 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36890 reading /etc/publickey.
36892 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36893 allow cancellation when reading /etc/group.
36895 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36897 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36899 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36900 when using data file.
36902 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36904 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36905 (write_nis_obj): Use "c" and "e" in fopen.
36907 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36909 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36911 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36913 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36915 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36918 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36920 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36922 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36924 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36925 file parsing and set FD_CLOEXEC.
36927 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36929 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36931 2011-11-14 Andreas Schwab <schwab@redhat.com>
36933 * malloc/arena.c (arena_get2): Don't call reused_arena when
36934 _int_new_arena failed.
36936 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36938 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36939 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36940 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36941 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36942 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36943 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36944 to compile strcasecmp and strncasecmp.
36945 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36946 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36950 2011-11-13 Ulrich Drepper <drepper@gmail.com>
36952 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36953 locale-defines.sym to gen-as-const-headers.
36954 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36955 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36956 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36957 to compile strcasecmp and strncasecmp.
36958 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36959 strcasecmp_l and strncasecmp_l.
36960 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36961 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36962 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36963 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36964 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36965 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36966 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36967 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36968 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36969 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36970 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36972 2011-11-12 Ulrich Drepper <drepper@gmail.com>
36974 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36975 result of SYSDEP_GETTIME_CPU to retval.
36976 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36977 parameter list to macro. Remove trailing semicolon. Adjust users.
36979 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36982 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36984 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36986 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36987 from unused variable.
36989 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36991 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36994 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36997 * sunrpc/rpc_prot.c (rejected): Fix case value.
36999 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37000 unsigned long long int to avoid warnings in shift.
37002 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37004 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37007 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37008 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37009 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37011 * nis/nis_table.c (nis_list): Use variable of correct type for
37012 result of __follow_path call.
37014 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37016 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37017 of math functions ceil, trunc, floor, round, and sqrt, when
37018 avaliable on the platform.
37019 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37021 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37022 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37023 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37025 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37027 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37028 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37030 2011-11-11 Roland McGrath <roland@hack.frob.com>
37032 * include/unistd.h: Fix __readlink return type.
37033 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37035 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37037 * stdlib/ucontext.h: Undo last change for makecontext.
37039 2011-11-11 Andreas Schwab <schwab@redhat.com>
37041 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37043 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37044 * setjmp/setjmp.h: Mark functions as non-leaf.
37045 * setjmp/bits/setjmp2.h: Likewise.
37046 * stdlib/ucontext.h: Likewise.
37048 2011-11-10 Andreas Schwab <schwab@redhat.com>
37050 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37051 (reused_arena): Don't check arena limit.
37052 (arena_get2): Atomically check arena limit.
37054 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37056 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37057 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37059 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37062 2011-11-07 Andreas Schwab <schwab@redhat.com>
37064 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37065 handler when locking.
37067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37068 Fix size of allocated buffer.
37070 2011-11-04 Andreas Schwab <schwab@redhat.com>
37073 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37074 declarations for long double functions.
37075 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37077 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37079 2011-11-03 Andreas Schwab <schwab@redhat.com>
37081 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37084 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37087 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37089 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37091 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37093 * include/alloca.h (stackinfo_alloca_round): Define.
37094 (extend_alloca): Use it.
37095 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37096 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37099 * scripts/check-local-headers.sh: Ignore libaudit.h.
37101 * nscd/Makefile (extra-objs): Make recursively expanded.
37103 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37105 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37106 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37108 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37109 * posix/tst-rfc3484-2.c: Likewise.
37110 * posix/tst-rfc3484-3.c: Likewise.
37112 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37114 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37116 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37117 process_vm_writev from libc using GLIBC_2.15 version.
37119 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37121 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37123 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37126 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37129 * nss/getent.c (initgroups_keys): Show error message in case no group
37132 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37133 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37134 __bump_nl_timestamp.
37135 * nscd/connections (nscd_init): When host database is served open
37136 netlink socket and request notification about configuration changes.
37137 (main_loop_poll): Track netlink file descriptor and bump timestamp
37138 in case data becomes available.
37139 (main_loop_epoll): Likewise.
37140 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37141 (database_pers_head): Add extra_data fileds.
37142 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37143 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37144 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37147 in6ai data, call __free_in6ai.
37148 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37149 Add -DHAVE_NETLINK.
37150 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37151 interface information. Reuse previous data if netlink timestamp
37153 (__bump_nl_timestamp): New function.
37154 (__free_in6ai): New function.
37156 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37158 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37159 close_not_cancel_no_status here.
37160 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37162 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37165 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37168 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37169 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37170 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37172 2011-07-03 Andreas Jaeger <aj@suse.de>
37175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37176 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37177 * math/libm-test.inc (sin_test): Add test case.
37179 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37182 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37183 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37185 * elf/chroot_canon.c (chroot_canon): Cleanups.
37187 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37190 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37191 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37193 * string/test-strchr.c: Make usable for strchrnul testing.
37194 * string/test-strchrnul.c: New file.
37195 * string/Makefile (strop-tests): Add strchrnul.
37197 * po/it.po: Update from translation team.
37198 * po/es.po: Likewise.
37200 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37202 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37203 the three constants needed as parameters. Drop the others.
37204 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37205 __m128i_strloadu_tolower.
37206 Create and initialize variable zero and use it in all the places
37207 where _mm_setzero_si128 was used.
37209 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37210 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37211 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37212 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37214 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37215 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37216 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37217 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37218 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37219 __mpranred, __mptan.
37220 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37221 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37222 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37223 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37224 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37225 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37226 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37227 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37228 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37230 2011-10-28 Andreas Schwab <schwab@redhat.com>
37232 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37233 redefine if SHARED.
37234 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37237 wide char related routines to wcsmbs subdir.
37239 2011-10-27 Andreas Schwab <schwab@redhat.com>
37242 * misc/sys/cdefs.h (__THROWNL): Define.
37243 * posix/unistd.h: Use __THREADNL instead of __THREAD
37244 for memory synchronization functions.
37246 2011-10-26 Roland McGrath <roland@hack.frob.com>
37249 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37251 * manual/stdio.texi (Obstack Streams): Node removed.
37253 2011-10-26 Andreas Schwab <schwab@redhat.com>
37255 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37256 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37257 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37259 * math/math_private.h (math_force_eval): Allow non-addressable
37261 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37263 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37265 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37266 file is not needed.
37268 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37270 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37271 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37272 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37273 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37274 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37275 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37277 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37278 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37279 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37280 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37281 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37282 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37283 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37284 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37285 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37286 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37287 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37288 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37289 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37290 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37291 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37292 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37293 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37294 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37295 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37297 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37298 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37300 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37301 place. Use VEX encoding when compiling for AVX.
37303 2011-10-25 Andreas Schwab <schwab@redhat.com>
37305 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37306 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37308 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37310 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37312 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37313 useless if() expression.
37314 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37315 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37316 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37318 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37319 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37320 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37321 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37322 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37323 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37324 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37325 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37326 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37327 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37328 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37329 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37330 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37331 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37332 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37334 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37336 2011-10-25 Andreas Schwab <schwab@redhat.com>
37338 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37340 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37342 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37344 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37345 .text section. Avoid duplicate constants.
37346 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37347 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37348 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37354 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37355 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37356 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37357 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37358 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37359 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37360 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37361 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37362 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37363 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37364 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37366 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37367 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37368 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37369 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37370 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37371 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37372 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37373 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37374 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37375 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37376 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37377 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37378 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37379 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37380 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37381 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37382 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37384 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37385 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37386 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37387 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37388 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37389 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37390 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37392 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37394 * sysdeps/x86_64/dla.h: Move to ...
37395 * sysdeps/x86_64/fpu/dla.h: ...here.
37396 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37397 situations. Use __builtin_fma only for gcc 4.6 and up.
37399 * config.make.in: Add have-mfma4 entry.
37400 * configure.in: Substitute libc_cv_cc_fma4.
37401 * math/Makefile (dbl-only-routines): Add sincostab.
37402 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37403 Use __sincostab not sincos.
37404 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37406 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37411 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37412 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37413 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37414 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37416 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37417 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37419 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37420 define aliases when function name is a macro.
37421 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37422 sysdeps/ieee754/dbl-64/sincos.tbl.
37423 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37424 fma4-enabled routines.
37425 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37426 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37427 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37428 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37429 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37430 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37431 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37432 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37433 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37434 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37435 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37436 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37437 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37438 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37439 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37440 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37441 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37442 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37443 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37444 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37445 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37446 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37447 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37448 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37449 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37450 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37452 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37453 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37454 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37456 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37462 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37463 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37464 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37465 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37467 2011-10-24 Andreas Schwab <schwab@redhat.com>
37469 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37471 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37473 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37475 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37477 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37479 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37480 Remove unused variable magic_bits.
37481 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37483 * string/strnlen.c: Define and use STRNLEN macro.
37484 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37485 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37487 * wcsmbs/wcslen.c: Define and use WCSLEN.
37488 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37489 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37490 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37491 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37492 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37493 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37494 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37496 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37499 strnlen-sse2-no-bsf.
37500 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37501 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37502 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37503 Add strnlen support.
37504 (USE_AS_STRNLEN): New macro.
37505 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37506 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37507 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37508 * sysdeps/x86_64/wcslen.S: New file.
37510 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37513 XMM-moves are used for copying on small sizes.
37515 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37517 * wcsmbs/Makefile (strop-tests): Add wcschr.
37518 * wcsmbs/test-wcschr.c: New file.
37519 * string/test-strchr.c: Update.
37520 Add wcschr support.
37523 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37525 * wcsmbs/Makefile (strop-tests): Add wcslen.
37526 * wcsmbs/test-wcslen.c: New file.
37527 * string/test-strlen.c: Update.
37528 Add wcslen support.
37531 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37533 * po/it.po: Update from translation team.
37535 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37537 * sysdeps/x86_64/wcscmp.S: Update.
37538 Fix wrong comparison semantics.
37539 wcscmp shall use signed comparison not unsigned.
37540 Don't use substraction to avoid overflow bug.
37541 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37542 * wcsmbc/wcscmp.c: Likewise.
37543 * string/test-strcmp.c: Likewise.
37544 Add new tests to check cases with negative values.
37546 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37548 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37549 * sysdeps/x86_64/dla.h: ...here. New file.
37550 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37555 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37560 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37563 __ynl_finite aliases.
37565 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37569 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37571 [DLA_FMA] (EMULV): Use DLA_FMA.
37572 [DLA_FMA] (MUL12): Use EMULV.
37573 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37574 that are not needed.
37575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37579 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37580 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37583 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37585 * math/s_nan.c: Undef __nan.
37586 * math/s_nanf.c: Undef __nanf.
37587 * math/s_nanl.c: Undef __nanl.
37588 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37591 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37593 * math/s_catan.c: Add branch predictions.
37594 * math/s_catanf.c: Likewise.
37595 * math/s_catanh.c: Likewise.
37596 * math/s_catanhf.c: Likewise.
37597 * math/s_catanhl.c: Likewise.
37598 * math/s_catanl.c: Likewise.
37599 * math/s_cexp.c: Likewise.
37600 * math/s_cexpf.c: Likewise.
37601 * math/s_cexpl.c: Likewise.
37602 * math/s_clog.c: Likewise.
37603 * math/s_clog10.c: Likewise.
37604 * math/s_clog10f.c: Likewise.
37605 * math/s_clog10l.c: Likewise.
37606 * math/s_clogf.c: Likewise.
37607 * math/s_clogl.c: Likewise.
37608 * math/s_csqrt.c: Likewise.
37609 * math/s_csqrtf.c: Likewise.
37610 * math/s_csqrtl.c: Likewise.
37611 * math/s_ctanf.c: Likewise.
37612 * math/s_ctanh.c: Likewise.
37613 * math/s_ctanhf.c: Likewise.
37614 * math/s_ctanhl.c: Likewise.
37615 * math/s_ctanl.c: Likewise.
37617 * math/math_private.h: Define __nan, __nanf, __nanl.
37618 * math/s_cacosh.c: Include <math_private.h>.
37619 * math/s_cacoshl.c: Likewise.
37620 * math/s_casinh.c: Likewise.
37621 * math/s_casinhf.c: Likewise.
37622 * math/s_casinhl.c: Likewise.
37623 * math/s_ccos.c: Rely entire on ccosh.
37624 * math/s_ccosf.c: Rely entire on ccoshf.
37625 * math/s_ccosl.c: Rely entirely on ccoshl.
37626 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37627 Remove tests for FE_INVALID.
37628 * math/s_ccoshf.c: Likewise.
37629 * math/s_ccoshl.c: Likewise.
37630 * math/s_csin.c: Likewise.
37631 * math/s_csinf.c: Likewise.
37632 * math/s_csinh.c Likewise.
37633 * math/s_csinhf.c: Likewise.
37634 * math/s_csinhl.c: Likewise.
37635 * math/s_csinl.c: Likewise.
37636 * math/s_ctan.c: Likewise.
37637 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37638 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37639 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37641 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37644 compilation problems.
37646 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37649 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37651 * sysdeps/i386/configure.in: Test for -mfma4 option.
37652 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37653 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37654 COMMON_CPUID_INDEX_80000001.
37655 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37656 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37657 use it if FMA3 is not supported.
37658 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37660 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37661 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37663 2011-10-20 Andreas Schwab <schwab@redhat.com>
37666 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37667 it would create a cycle with a link time dependency.
37669 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37671 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37673 * string/Makefile (strop-tests): Add rawmemchr.
37674 * string/test-rawmemchr.c: New file.
37676 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37677 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37678 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37679 when compiling str{,n}casecmp and when AVX is available. Hook up
37680 new optimized code in initializers.
37682 2011-10-19 Andreas Schwab <schwab@redhat.com>
37684 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37685 __feraiseexcept instead of feraiseexcept.
37687 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37689 * math/math_private.h: Define defaults for libc_fetestexcept and
37691 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37692 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37693 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37694 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37695 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37696 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37697 libc_fetestexcept and libc_feupdateenv.
37699 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37700 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37701 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37702 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37703 libc_feholdexcept_setround.
37705 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37706 Add s_nearbyint-c and s_nearbyintf-c.
37707 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37708 nearbyintf inlines.
37709 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37710 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37711 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37712 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37714 * math/math_private.h: Define defaults for libc_fegetround,
37715 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37716 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37717 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37719 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37720 standard functions.
37721 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37722 Remove comments and hacks for old compiler versions.
37723 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37724 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37725 libc_feholdexceptl.
37727 2011-10-18 Andreas Schwab <schwab@redhat.com>
37729 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37730 (__feraiseexcept_renamed): Add __NTH.
37731 (feraiseexcept): Add __NTH. Rename local variables to fix
37732 namespace violations.
37734 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37736 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37738 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37740 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37741 recently added interfaces.
37742 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37744 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37745 about macro parameter expansion.
37747 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37748 __NO_MATH_INLINES is defined. Cleanups.
37750 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37751 and __floorf is target has SSE4.1.
37752 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37753 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37754 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37755 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37757 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37759 (floorf): Likewise.
37761 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37763 2011-10-17 Andreas Schwab <schwab@redhat.com>
37765 * misc/sys/cdefs.h: Fix last change.
37767 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37770 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37772 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37774 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37776 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37777 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37779 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37780 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37781 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37782 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37783 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37784 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37785 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37786 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37787 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37788 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37789 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37790 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37791 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37792 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37793 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37794 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37795 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37797 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37798 ceil, ceilf, floor, floorf.
37800 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37801 Perform IRELATIVE relocations last.
37803 * elf/do-rel.h: Add another parameter nrelative, replacing the
37804 local variable with the same name. Change name of the function
37805 to end in Rel or Rela (uppercase).
37806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37807 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37808 elf_dynamic_do_##reloc function.
37810 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37812 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37813 is sufficient, at least on modern CPUs.
37815 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37817 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37818 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37820 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37822 * math/bits/math-finite.h: Add entries for exp.
37823 * math/e_expl.c: Add __*_finite alias.
37824 * sysdeps/i386/fpu/e_exp.S: Likewise.
37825 * sysdeps/i386/fpu/e_expf.S: Likewise.
37826 * sysdeps/i386/fpu/e_expl.c: Likewise.
37827 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37828 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37829 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37831 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37832 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37833 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37835 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37836 is sufficient, at least on modern CPUs.
37838 * ctype/ctype-info.c (__ctype_init): Define.
37839 * include/ctype.h (__ctype_init): Declare.
37840 (__ctype_b_loc): The variable is always initialized.
37841 (__ctype_toupper_loc): Likewise.
37842 (__ctype_tolower_loc): Likewise.
37843 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37844 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37846 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37848 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37850 * configure.in: Also look in $cxxmachine/include for C++ system
37853 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37855 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37856 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37857 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37858 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37859 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37860 (USE_AS_WMEMCMP): New macro.
37862 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37863 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37864 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37865 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37867 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37868 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37869 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37870 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37871 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37872 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37873 (USE_AS_WMEMCMP): New macro.
37874 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37875 * sysdeps/string/test-memcmp.c: Update.
37876 Fix simple_wmemcmp.
37878 * wcsmbs/wmemcmp.c: Update.
37879 (WMEMCMP): New macro.
37882 2011-10-12 Andreas Jaeger <aj@suse.de>
37885 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37887 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37889 * libio/iofwide.c (do_length): Avoid warning.
37891 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37893 2011-10-14 Ulrich Drepper <drepper@gmail.com>
37895 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37897 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37898 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37899 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37900 * sysdeps/i386/i686/fpu/e_log.S: New file.
37901 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37902 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37904 * ctype/ctype.h: Add support for inlined isXXX functions when
37905 compiling C++ code.
37907 2011-10-14 Andreas Schwab <schwab@redhat.com>
37909 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37911 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37913 2011-10-13 Roland McGrath <roland@hack.frob.com>
37916 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37918 2011-10-13 Andreas Schwab <schwab@redhat.com>
37920 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37921 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37924 * sysdeps/x86_64/memrchr.S: Check for zero size.
37926 * string/stratcliff.c: Add memrchr tests.
37928 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37931 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37932 rawmemchr-sse2 rawmemchr-sse2-bsf.
37933 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37934 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37935 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37936 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37937 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37938 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37939 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37940 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37941 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37942 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37943 * string/memrchr.c (MEMRCHR): New macro.
37945 2011-10-12 Ulrich Drepper <drepper@gmail.com>
37947 Add integration with gcc's -ffinite-math-only and optimize wrapper
37949 * Versions.def: Define GLIBC_2.15 version for libm.
37950 * math/Makefile (headers): Add bits/math-finite.h.
37951 * math/bits/math-finite.h: New file.
37952 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37953 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37954 * math/e_acoshl.c: Add __*_finite alias.
37955 * math/e_acosl.c: Likewise.
37956 * math/e_asinl.c: Likewise.
37957 * math/e_atan2l.c: Likewise.
37958 * math/e_atanhl.c: Likewise.
37959 * math/e_coshl.c: Likewise.
37960 * math/e_exp10.c: Likewise.
37961 * math/e_exp10f.c: Likewise.
37962 * math/e_exp10l.c: Likewise.
37963 * math/e_exp2l.c: Likewise.
37964 * math/e_fmodl.c: Likewise.
37965 * math/e_gammal_r.c: Likewise.
37966 * math/e_hypotl.c: Likewise.
37967 * math/e_j0l.c: Likewise.
37968 * math/e_j1l.c: Likewise.
37969 * math/e_jnl.c: Likewise.
37970 * math/e_lgammal_r.c: Likewise.
37971 * math/e_log10l.c: Likewise.
37972 * math/e_log2l.c: Likewise.
37973 * math/e_logl.c: Likewise.
37974 * math/e_powl.c: Likewise.
37975 * math/e_sinhl.c: Likewise.
37976 * math/e_sqrtl.c: Likewise.
37977 * math/e_scalb.c: Completely rewritten and optimized.
37978 * math/e_scalbf.c: Likewise.
37979 * math/e_scalbl.c: Likewise.
37980 * math/w_acos.c: Likewise.
37981 * math/w_acosf.c: Likewise.
37982 * math/w_acosl.c: Likewise.
37983 * math/w_acosh.c: Likewise.
37984 * math/w_acoshf.c: Likewise.
37985 * math/w_acoshl.c: Likewise.
37986 * math/w_asin.c: Likewise.
37987 * math/w_asinf.c: Likewise.
37988 * math/w_asinl.c: Likewise.
37989 * math/w_atan2.c: Likewise.
37990 * math/w_atan2f.c: Likewise.
37991 * math/w_atan2l.c: Likewise.
37992 * math/w_atanh.c: Likewise.
37993 * math/w_atanhf.c: Likewise.
37994 * math/w_atanhl.c: Likewise.
37995 * math/w_exp10.c: Likewise.
37996 * math/w_exp10f.c: Likewise.
37997 * math/w_exp10l.c: Likewise.
37998 * math/w_fmod.c: Likewise.
37999 * math/w_fmodf.c: Likewise.
38000 * math/w_fmodl.c: Likewise.
38001 * math/w_j0.c: Likewise.
38002 * math/w_j0f.c: Likewise.
38003 * math/w_j0l.c: Likewise.
38004 * math/w_j1.c: Likewise.
38005 * math/w_j1f.c: Likewise.
38006 * math/w_j1l.c: Likewise.
38007 * math/w_jn.c: Likewise.
38008 * math/w_jnf.c: Likewise.
38009 * math/w_log.c: Likewise.
38010 * math/w_logf.c: Likewise.
38011 * math/w_logl.c: Likewise.
38012 * math/w_log10.c: Likewise.
38013 * math/w_log10f.c: Likewise.
38014 * math/w_log10l.c: Likewise.
38015 * math/w_log2.c: Likewise.
38016 * math/w_log2f.c: Likewise.
38017 * math/w_log2l.c: Likewise.
38018 * math/w_pow.c: Likewise.
38019 * math/w_powf.c: Likewise.
38020 * math/w_powl.c: Likewise.
38021 * math/w_remainder.c: Likewise.
38022 * math/w_remainderf.c: Likewise.
38023 * math/w_remainderl.c: Likewise.
38024 * math/w_scalb.c: Likewise.
38025 * math/w_scalbf.c: Likewise.
38026 * math/w_scalbl.c: Likewise.
38027 * math/w_sqrt.c: Likewise.
38028 * math/w_sqrtf.c: Likewise.
38029 * math/w_sqrtl.c: Likewise.
38030 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38031 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38033 * math/math_private.h: Declare __kernel_standard_f.
38034 * math/w_cosh.c: Remove cruft and optimize a bit.
38035 * math/w_coshf.c: Likewise.
38036 * math/w_coshl.c: Likewise.
38037 * math/w_exp2.c: Likewise.
38038 * math/w_exp2f.c: Likewise.
38039 * math/w_exp2l.c: Likewise.
38040 * math/w_hypot.c: Likewise.
38041 * math/w_hypotf.c: Likewise.
38042 * math/w_hypotl.c: Likewise.
38043 * math/w_lgamma.c: Likewise.
38044 * math/w_lgamma_r.c: Likewise.
38045 * math/w_lgammaf.c: Likewise.
38046 * math/w_lgammaf_r.c: Likewise.
38047 * math/w_lgammal.c: Likewise.
38048 * math/w_lgammal_r.c: Likewise.
38049 * math/w_sinh.c: Likewise.
38050 * math/w_sinhf.c: Likewise.
38051 * math/w_sinhl.c: Likewise.
38052 * math/w_tgamma.c: Likewise.
38053 * math/w_tgammaf.c: Likewise.
38054 * math/w_tgammal.c: Likewise.
38055 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38056 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38057 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38058 Minor optimizations. Pretty printing. Remove cruft.
38059 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38060 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38061 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38062 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38063 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38064 * sysdeps/i386/fpu/e_asin.S: Likewise.
38065 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38066 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38067 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38068 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38069 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38070 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38071 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38072 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38073 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38074 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38075 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38076 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38077 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38078 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38079 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38080 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38081 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38082 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38083 * sysdeps/i386/fpu/e_log.S: Likewise.
38084 * sysdeps/i386/fpu/e_log10.S: Likewise.
38085 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38086 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38087 * sysdeps/i386/fpu/e_log2.S: Likewise.
38088 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38089 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38090 * sysdeps/i386/fpu/e_logf.S: Likewise.
38091 * sysdeps/i386/fpu/e_logl.S: Likewise.
38092 * sysdeps/i386/fpu/e_pow.S: Likewise.
38093 * sysdeps/i386/fpu/e_powf.S: Likewise.
38094 * sysdeps/i386/fpu/e_powl.S: Likewise.
38095 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38096 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38097 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38098 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38099 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38100 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38101 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38102 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38103 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38104 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38107 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38108 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38109 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38110 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38114 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38115 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38120 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38121 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38122 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38125 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38126 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38127 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38128 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38129 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38130 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38131 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38132 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38133 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38134 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38135 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38137 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38138 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38139 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38140 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38141 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38142 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38143 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38144 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38145 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38146 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38147 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38148 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38149 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38150 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38151 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38152 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38153 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38154 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38155 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38156 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38157 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38158 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38159 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38160 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38161 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38162 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38163 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38164 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38165 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38168 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38169 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38170 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38172 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38173 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38174 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38175 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38178 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38179 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38180 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38181 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38182 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38183 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38184 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38185 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38187 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38188 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38189 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38190 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38191 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38192 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38193 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38194 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38195 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38196 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38197 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38198 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38199 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38200 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38201 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38202 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38203 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38204 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38205 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38206 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38207 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38208 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38209 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38210 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38211 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38212 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38213 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38214 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38215 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38216 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38217 (__isnanf): Likewise.
38218 (__isinf_ns): Likewise.
38219 (__isinf_nsf): Likewise.
38220 (__finite): Likewise.
38221 (__finitef): Likewise.
38222 (__ieee754_sqrt): Define as macro.
38223 (__ieee754_sqrtf): Define as macro.
38224 (__ieee754_sqrtl): Define as macro.
38225 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38227 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38228 __FINITE_MATH_ONLY__ consistent.
38229 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38231 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38233 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38236 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38238 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38240 * po/ja.po: Update from translation team.
38242 2011-10-08 Roland McGrath <roland@hack.frob.com>
38244 * locale/programs/locarchive.c (prepare_address_space): New function.
38245 (create_archive, enlarge_archive, open_archive): Use it.
38247 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38248 inside [SHARED], where it is used.
38250 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38252 * nss/getent.c (netgroup_keys): Remove unused variable.
38253 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38255 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38257 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38258 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38259 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38260 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38261 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38262 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38263 * math/Makefile (libm-calls): Add s_isinf_ns.
38264 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38265 * math/multc3.c: Likewise.
38266 * math/s_casin.c: Likewise.
38267 * math/s_casinf.c: Likewise.
38268 * math/s_casinl.c: Likewise.
38269 * math/s_ccos.c: Likewise.
38270 * math/s_ccosf.c: Likewise.
38271 * math/s_ccosl.c: Likewise.
38272 * math/s_ctan.c: Likewise.
38273 * math/s_ctanf.c: Likewise.
38274 * math/s_ctanh.c: Likewise.
38275 * math/s_ctanhf.c: Likewise.
38276 * math/s_ctanhl.c: Likewise.
38277 * math/s_ctanl.c: Likewise.
38278 * math/w_fmod.c: Likewise.
38279 * math/w_fmodf.c: Likewise.
38280 * math/w_fmodl.c: Likewise.
38281 * math/w_remainder.c: Likewise.
38282 * math/w_remainderf.c: Likewise.
38283 * math/w_remainderl.c: Likewise.
38284 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38285 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38286 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38288 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38289 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38290 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38291 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38293 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38295 * stdio-common/printf_fphex.c: Likewise.
38296 * stdio-common/printf_size.c: Likewise.
38298 * math/e_exp10.c: Include math_private.h using <...> not "...".
38299 * math/e_exp10f.c: Likewise.
38300 * math/e_exp10l.c: Likewise.
38301 * math/e_exp2l.c: Likewise.
38302 * math/e_j0l.c: Likewise.
38303 * math/e_j1l.c: Likewise.
38304 * math/e_jnl.c: Likewise.
38305 * math/e_lgammal_r.c: Likewise.
38306 * math/e_rem_pio2l.c: Likewise.
38307 * math/e_scalb.c: Likewise.
38308 * math/e_scalbf.c: Likewise.
38309 * math/e_scalbl.c: Likewise.
38310 * math/k_cosl.c: Likewise.
38311 * math/k_sinl.c: Likewise.
38312 * math/k_tanl.c: Likewise.
38313 * math/s_cacoshf.c: Likewise.
38314 * math/s_catan.c: Likewise.
38315 * math/s_catanf.c: Likewise.
38316 * math/s_catanh.c: Likewise.
38317 * math/s_catanhf.c: Likewise.
38318 * math/s_catanhl.c: Likewise.
38319 * math/s_catanl.c: Likewise.
38320 * math/s_ccosh.c: Likewise.
38321 * math/s_ccoshf.c: Likewise.
38322 * math/s_ccoshl.c: Likewise.
38323 * math/s_cexp.c: Likewise.
38324 * math/s_cexpf.c: Likewise.
38325 * math/s_cexpl.c: Likewise.
38326 * math/s_clog.c: Likewise.
38327 * math/s_clog10.c: Likewise.
38328 * math/s_clog10f.c: Likewise.
38329 * math/s_clog10l.c: Likewise.
38330 * math/s_clogf.c: Likewise.
38331 * math/s_clogl.c: Likewise.
38332 * math/s_csin.c: Likewise.
38333 * math/s_csinf.c: Likewise.
38334 * math/s_csinh.c: Likewise.
38335 * math/s_csinhf.c: Likewise.
38336 * math/s_csinhl.c: Likewise.
38337 * math/s_csinl.c: Likewise.
38338 * math/s_csqrt.c: Likewise.
38339 * math/s_csqrtf.c: Likewise.
38340 * math/s_csqrtl.c: Likewise.
38341 * math/s_ctan.c: Likewise.
38342 * math/s_ctanf.c: Likewise.
38343 * math/s_ctanh.c: Likewise.
38344 * math/s_ctanhf.c: Likewise.
38345 * math/s_ctanhl.c: Likewise.
38346 * math/s_ctanl.c: Likewise.
38347 * math/s_ldexp.c: Likewise.
38348 * math/s_ldexpf.c: Likewise.
38349 * math/s_ldexpl.c: Likewise.
38350 * math/s_significand.c: Likewise.
38351 * math/s_significandf.c: Likewise.
38352 * math/s_significandl.c: Likewise.
38353 * math/w_acos.c: Likewise.
38354 * math/w_acosf.c: Likewise.
38355 * math/w_acosh.c: Likewise.
38356 * math/w_acoshf.c: Likewise.
38357 * math/w_acoshl.c: Likewise.
38358 * math/w_acosl.c: Likewise.
38359 * math/w_asin.c: Likewise.
38360 * math/w_asinf.c: Likewise.
38361 * math/w_asinl.c: Likewise.
38362 * math/w_atan2.c: Likewise.
38363 * math/w_atan2f.c: Likewise.
38364 * math/w_atan2l.c: Likewise.
38365 * math/w_atanh.c: Likewise.
38366 * math/w_atanhf.c: Likewise.
38367 * math/w_atanhl.c: Likewise.
38368 * math/w_cosh.c: Likewise.
38369 * math/w_coshf.c: Likewise.
38370 * math/w_coshl.c: Likewise.
38371 * math/w_dremf.c: Likewise.
38372 * math/w_exp10.c: Likewise.
38373 * math/w_exp10f.c: Likewise.
38374 * math/w_exp10l.c: Likewise.
38375 * math/w_exp2.c: Likewise.
38376 * math/w_exp2f.c: Likewise.
38377 * math/w_fmod.c: Likewise.
38378 * math/w_fmodf.c: Likewise.
38379 * math/w_fmodl.c: Likewise.
38380 * math/w_hypot.c: Likewise.
38381 * math/w_hypotf.c: Likewise.
38382 * math/w_hypotl.c: Likewise.
38383 * math/w_j0.c: Likewise.
38384 * math/w_j0f.c: Likewise.
38385 * math/w_j0l.c: Likewise.
38386 * math/w_j1.c: Likewise.
38387 * math/w_j1f.c: Likewise.
38388 * math/w_j1l.c: Likewise.
38389 * math/w_jn.c: Likewise.
38390 * math/w_jnf.c: Likewise.
38391 * math/w_jnl.c: Likewise.
38392 * math/w_lgamma.c: Likewise.
38393 * math/w_lgamma_r.c: Likewise.
38394 * math/w_lgammaf.c: Likewise.
38395 * math/w_lgammaf_r.c: Likewise.
38396 * math/w_lgammal.c: Likewise.
38397 * math/w_lgammal_r.c: Likewise.
38398 * math/w_log.c: Likewise.
38399 * math/w_log10.c: Likewise.
38400 * math/w_log10f.c: Likewise.
38401 * math/w_log10l.c: Likewise.
38402 * math/w_log2.c: Likewise.
38403 * math/w_log2f.c: Likewise.
38404 * math/w_log2l.c: Likewise.
38405 * math/w_logf.c: Likewise.
38406 * math/w_logl.c: Likewise.
38407 * math/w_pow.c: Likewise.
38408 * math/w_powf.c: Likewise.
38409 * math/w_powl.c: Likewise.
38410 * math/w_remainder.c: Likewise.
38411 * math/w_remainderf.c: Likewise.
38412 * math/w_remainderl.c: Likewise.
38413 * math/w_scalb.c: Likewise.
38414 * math/w_scalbf.c: Likewise.
38415 * math/w_scalbl.c: Likewise.
38416 * math/w_sinh.c: Likewise.
38417 * math/w_sinhf.c: Likewise.
38418 * math/w_sinhl.c: Likewise.
38419 * math/w_sqrt.c: Likewise.
38420 * math/w_sqrtf.c: Likewise.
38421 * math/w_sqrtl.c: Likewise.
38422 * math/w_tgamma.c: Likewise.
38423 * math/w_tgammaf.c: Likewise.
38424 * math/w_tgammal.c: Likewise.
38426 * po/ja.po: Update from translation team.
38428 2011-09-29 Andreas Jaeger <aj@suse.de>
38431 * sunrpc/netname.c (netname2host): Fix logic.
38435 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38437 * math/w_remainder.c (__remainder): Likewise.
38438 * math/w_remainderf.c (__remainderf): Likewise.
38439 * math/libm-test.inc (remainder_test): Add test cases.
38441 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38443 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38446 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38448 * string/test-memcmp.c: Avoid unncessary #defines.
38449 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38451 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38453 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38454 Use new sse2 version for core i3 - i7 as it's faster
38455 than sse42 version.
38456 (bit_Prefer_PMINUB_for_stringop): New.
38457 * sysdeps/x86_64/rawmemchr.S: Update.
38458 Replace with faster SSE2 version.
38459 * sysdeps/x86_64/memrchr.S: New file.
38460 * sysdeps/x86_64/memchr.S: Update.
38461 Replace with faster SSE2 version.
38463 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38465 * elf/dl-load.c (lose): Add cast to avoid warning.
38467 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38469 * po/ca.po: Update from translation team.
38471 * inet/getnetgrent_r.c: Hook up nscd.
38472 * nscd/Makefile (routines): Add nscd_netgroup.
38473 (nscd-modules): Add netgroupcache.
38474 (CFLAGS-netgroupcache.c): Define.
38475 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38476 (cache_search): Add const to second parameter.
38477 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38479 (dbs): Add netgrdb entry.
38480 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38481 (verify_persistent_db): Handle netgrdb.
38482 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38483 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38485 (netgroup_response_header): Define.
38486 (innetgroup_response_header): Define.
38487 (datahead): Add netgroup_response_header and innetgroup_response_header
38489 * nscd/nscd.conf: Add entries for netgroup cache.
38490 * nscd/nscd.h (dbtype): Add netgrdb.
38491 (_PATH_NSCD_NETGROUP_DB): Define.
38492 (netgroup_iov_disabled): Declare.
38493 (xmalloc, xcalloc, xrealloc): Move declarations here.
38494 (cache_search): Adjust prototype.
38495 Add netgroup-related prototypes.
38496 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38497 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38498 (__nscd_innetgr): Declare.
38499 * nscd/selinux.c (perms): Use access_vector_t as element type and
38500 add netgroup-related initializers.
38501 * nscd/netgroupcache.c: New file.
38502 * nscd/nscd_netgroup.c: New file.
38503 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38504 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38505 For four parameters use innetgr.
38506 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38507 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38508 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38509 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38511 * nscd/connections.c (register_traced_file): Don't register file
38512 for disabled databases.
38514 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38516 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38518 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38519 from tree and freeing node.
38521 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38523 * nss/nsswitch.c (__nss_database_lookup): Handle
38524 nss_parse_service_list out of memory case.
38526 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38528 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38529 out of memory case.
38531 2011-10-04 Andreas Schwab <schwab@redhat.com>
38533 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38534 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38536 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38537 elf_machine_rela, elf_machine_lazy_rel.
38538 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38539 (ELF_DYNAMIC_DO_REL): Likewise.
38540 (ELF_DYNAMIC_DO_RELA): Likewise.
38541 (ELF_DYNAMIC_RELOCATE): Likewise.
38542 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38543 to ELF_DYNAMIC_DO_REL.
38544 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38545 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38546 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38548 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38549 skip_ifunc, don't call ifunc function if non-zero.
38550 (elf_machine_rela): Likewise.
38551 (elf_machine_lazy_rel): Likewise.
38552 (elf_machine_lazy_rela): Likewise.
38553 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38554 (elf_machine_lazy_rel): Likewise.
38555 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38557 (elf_machine_lazy_rel): Likewise.
38558 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38560 (elf_machine_lazy_rel): Likewise.
38561 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38562 (elf_machine_lazy_rel): Likewise.
38563 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38564 (elf_machine_lazy_rel): Likewise.
38565 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38566 (elf_machine_lazy_rel): Likewise.
38567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38568 (elf_machine_lazy_rel): Likewise.
38569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38570 (elf_machine_lazy_rel): Likewise.
38571 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38572 (elf_machine_lazy_rel): Likewise.
38574 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38576 * nss/nss_files/files-init.c (_nss_files_init): Use static
38577 initialization for all the *_traced_file variables.
38579 2011-09-28 Andreas Schwab <schwab@redhat.com>
38581 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38583 2011-09-27 Roland McGrath <roland@hack.frob.com>
38586 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38588 2011-09-27 Andreas Schwab <schwab@redhat.com>
38590 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38591 Reread the line before reparsing it.
38593 2011-09-26 Andreas Schwab <schwab@redhat.com>
38595 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38597 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38598 Maxim Kuvyrkov <maxim@codesourcery.com>
38599 Joseph Myers <joseph@codesourcery.com>
38601 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38602 if needed for __stack_chk_guard.
38604 2011-09-19 Roland McGrath <roland@hack.frob.com>
38606 * sysdeps/posix/spawni.c (script_execute): Always define it.
38607 It will be optimized away if unused.
38608 (maybe_script_execute): New function.
38609 (__spawni): Call it.
38611 * Makerules: Don't include tls.make.
38612 (config-tls): Always set to thread.
38613 * tls.make.c: File removed.
38615 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38617 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38618 * config.make.in (CPPFLAGS-config): New substituted variable.
38620 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38622 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38625 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38626 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38628 2011-09-15 Roland McGrath <roland@hack.frob.com>
38630 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38631 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38632 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38633 (CALL_FAIL): Likewise.
38634 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38635 (CALL_FAIL): Macro removed.
38636 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38638 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38640 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38641 for __FINITE_MATH_ONLY__ == 1.
38643 2011-09-15 Andreas Schwab <schwab@redhat.com>
38645 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38646 __ieee754_sqrt instead of sqrt.
38647 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38648 __ieee754_sqrtf instead of sqrtf.
38649 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38650 __floorf instead of floorf.
38651 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38652 __floorf, __truncf instead of floorf, truncf.
38654 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38656 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38658 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38659 __extern_always_inline.
38660 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38663 2011-09-14 Andreas Schwab <schwab@redhat.com>
38665 * elf/rtld.c (dl_main): Also relocate in dependency order when
38666 doing symbol dependency testing.
38668 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38670 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38671 Always define `refsym'.
38673 2011-09-13 Andreas Schwab <schwab@redhat.com>
38675 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38676 (__FD_ELT): Renamed from __FDELT.
38677 * misc/bits/select2.h (__FD_ELT): Likewise.
38678 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38679 __FD_MASK instead of __FDELT, __FDMASK.
38680 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38682 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38685 * elf/Makefile (gen-ldd): Fix pattern.
38687 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38688 (init_tls): Likewise.
38690 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38692 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38694 2011-09-12 Andreas Schwab <schwab@redhat.com>
38696 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38697 `struct cmsghdr *' instead of `void *'.
38698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38701 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38703 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38705 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38706 ldd_rewrite_script.
38708 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38710 * configure.in: Remove --with-tls option.
38711 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38712 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38713 out in case it is missing.
38714 * sysdeps/ia64/elf/configure.in: Likewise.
38715 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38716 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38717 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38718 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38719 * sysdeps/sh/elf/configure.in: Likewise.
38720 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38721 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38722 * sysdeps/x86_64/elf/configure.in: Likewise.
38723 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38724 * sysdeps/mach/hurd/tls.h: Likewise.
38727 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38730 * configure.in: Fix use of AC_INIT.
38732 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38734 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38736 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38738 * malloc/hooks.c: Likewise.
38741 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38742 variables statically.
38743 (narenas): Initialize.
38744 (list_lock): Initialize.
38745 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38746 initializtion of main_arena and list_lock. Small cleanups.
38747 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38748 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38749 Add initializers to main_arena and mp_.
38750 (malloc_state): Remove pagesize member. Change all users to use
38753 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38754 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38755 is always initialized.
38757 * malloc/malloc.c: Removed unused configurations and dead code.
38758 * malloc/arena.c: Likewise.
38759 * malloc/hooks.c: Likewise.
38760 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38762 * include/tls.h: Removed. USE___THREAD must always be defined.
38763 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38764 * elf/dl-libc.c: Likewise.
38765 * elf/dl-tsd.c: Likewise.
38766 * include/errno.h: Likewise.
38767 * include/netdb.h: Likewise.
38768 * include/resolv.h: Likewise.
38769 * inet/herrno-loc.c: Likewise.
38770 * inet/herrno.c: Likewise.
38771 * malloc/arena.c: Likewise.
38772 * malloc/hooks.c: Likewise.
38773 * malloc/malloc.c: Likewise.
38774 * resolv/res-state.c: Likewise.
38775 * resolv/res_libc.c: Likewise.
38776 * sysdeps/i386/dl-machine.h: Likewise.
38777 * sysdeps/ia64/dl-machine.h: Likewise.
38778 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38779 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38780 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38781 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38782 * sysdeps/sh/dl-machine.h: Likewise.
38783 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38784 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38785 * sysdeps/unix/i386/sysdep.S: Likewise.
38786 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38787 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38789 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38790 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38792 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38796 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38797 * sysdeps/x86_64/dl-machine.h: Likewise.
38798 * tls.make.c: Likewise.
38800 * configure.in: Remove --with-__thread option. Make tests for
38801 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38802 tls_model attribute fail if no support is available. Remove
38804 * Makeconfig: Adjust for dropped configure option. All features are
38806 * Makerules: Likewise.
38807 * Versions.def: Likewise.
38808 * argp/argp-fmtstream.c: Likewise.
38809 * argp/argp-fmtstream.h: Likewise.
38810 * argp/argp-help.c: Likewise.
38811 * assert/assert.c: Likewise.
38812 * config.h.in: Likewise.
38813 * config.make.in: Likewise.
38814 * configure: Likewise.
38815 * configure.in: Likewise.
38816 * csu/Versions: Likewise.
38817 * csu/init.c: Likewise.
38818 * elf/tst-audit2.c: Likewise.
38819 * elf/tst-tls10.c: Likewise.
38820 * elf/tst-tls10.h: Likewise.
38821 * elf/tst-tls11.c: Likewise.
38822 * elf/tst-tls12.c: Likewise.
38823 * elf/tst-tls14.c: Likewise.
38824 * elf/tst-tlsmod11.c: Likewise.
38825 * elf/tst-tlsmod12.c: Likewise.
38826 * elf/tst-tlsmod13.c: Likewise.
38827 * elf/tst-tlsmod13a.c: Likewise.
38828 * elf/tst-tlsmod14a.c: Likewise.
38829 * elf/tst-tlsmod15b.c: Likewise.
38830 * elf/tst-tlsmod16a.c: Likewise.
38831 * elf/tst-tlsmod16b.c: Likewise.
38832 * elf/tst-tlsmod7.c: Likewise.
38833 * elf/tst-tlsmod8.c: Likewise.
38834 * elf/tst-tlsmod9.c: Likewise.
38835 * gmon/gmon.c: Likewise.
38836 * grp/fgetgrent_r.c: Likewise.
38837 * grp/putgrent.c: Likewise.
38838 * hurd/fopenport.c: Likewise.
38839 * include/libc-symbols.h: Likewise.
38840 * include/tls.h: Likewise.
38841 * intl/gettextP.h: Likewise.
38842 * intl/loadinfo.h: Likewise.
38843 * locale/global-locale.c: Likewise.
38844 * locale/localeinfo.h: Likewise.
38845 * mach/devstream.c: Likewise.
38846 * malloc/arena.c: Likewise.
38847 * malloc/set-freeres.c: Likewise.
38848 * misc/err.c: Likewise.
38849 * misc/getttyent.c: Likewise.
38850 * misc/mntent_r.c: Likewise.
38851 * posix/getopt.c: Likewise.
38852 * posix/wordexp.c: Likewise.
38853 * pwd/fgetpwent_r.c: Likewise.
38854 * resolv/Versions: Likewise.
38855 * resolv/res_hconf.c: Likewise.
38856 * shadow/fgetspent_r.c: Likewise.
38857 * shadow/putspent.c: Likewise.
38858 * stdio-common/printf_fphex.c: Likewise.
38859 * stdio-common/tmpfile.c: Likewise.
38860 * stdlib/abort.c: Likewise.
38861 * stdlib/fmtmsg.c: Likewise.
38862 * sunrpc/auth_unix.c: Likewise.
38863 * sunrpc/clnt_perr.c: Likewise.
38864 * sunrpc/clnt_tcp.c: Likewise.
38865 * sunrpc/clnt_udp.c: Likewise.
38866 * sunrpc/clnt_unix.c: Likewise.
38867 * sunrpc/openchild.c: Likewise.
38868 * sunrpc/svc_simple.c: Likewise.
38869 * sunrpc/svc_tcp.c: Likewise.
38870 * sunrpc/svc_udp.c: Likewise.
38871 * sunrpc/svc_unix.c: Likewise.
38872 * sunrpc/xdr.c: Likewise.
38873 * sunrpc/xdr_array.c: Likewise.
38874 * sunrpc/xdr_rec.c: Likewise.
38875 * sunrpc/xdr_ref.c: Likewise.
38876 * sunrpc/xdr_stdio.c: Likewise.
38878 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38880 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38882 2011-07-03 Andreas Jaeger <aj@suse.de>
38884 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38885 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38886 regenerate with gen-libm-tests.pl.
38888 2010-05-12 Petr Baudis <pasky@suse.cz>
38891 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38892 around j0() zero points by switching to j1().
38893 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38895 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38896 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38898 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38900 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38902 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38905 Patch in part by Pavel Roskin <proski@gnu.org>.
38908 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38910 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38911 Free memory block if necessary.
38914 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38915 be NULL. Don't lock in this case.
38917 2011-09-09 Roland McGrath <roland@hack.frob.com>
38919 * elf/elf.h (ELFOSABI_GNU): New macro.
38920 (ELFOSABI_LINUX): Define to that.
38922 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38924 * string/strncat.c (strncat): Undef the symbol in case it has been
38925 defined in bits/string.h.
38927 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38929 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38931 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38934 2011-08-17 Andreas Jaeger <aj@suse.de>
38936 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38938 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38939 Ian Lance Taylor <iant@google.com>
38941 * math/libm-test.inc (lround_test): New testcase.
38942 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38944 2011-09-08 Ulrich Drepper <drepper@gmail.com>
38946 * Makefile: Remove support for automatic cvs check-ins.
38947 * Makerules: Likewise.
38948 * config.make.in: Likewise.
38949 * configure.in: Likewise.
38950 * intl/Makefile: Likewise.
38951 * locale/Makefile: Likewise.
38952 * po/Makefile: Likewise.
38953 * posix/Makefile: Likewise.
38954 * sysdeps/gnu/Makefile: Likewise.
38955 * sysdeps/mach/hurd/Makefile: Likewise.
38956 * sysdeps/sparc/sparc32/Makefile: Likewise.
38959 * posix/Makefile (bug-regex32-ENV): Define.
38960 Patch by John Stanley <jpsinthemix@verizon.net>.
38962 * misc/Makefile (headers): Add bits/select2.h.
38963 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38964 * misc/bits/select2.h: New file.
38965 * include/bits/select2.h: New file.
38966 * debug/Makefile (routines): Add fdelt_chk.
38967 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38968 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38970 * debug/fdelt_chk.c: New file.
38972 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38973 * wcsmbs/test-wmemcmp.c: Likewise.
38974 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38975 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38977 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38979 * string/Makefile (strop-tests): Add memcmp.
38980 * string/test-wmemcmp.c: New file.
38981 * string/test-memcmp.c: Add wmemcmp support.
38983 2011-09-08 Roland McGrath <roland@hack.frob.com>
38986 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38989 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38990 garbage value in a __mach_port_mod_refs call in the cases of the
38991 task-self and thread-self ports.
38993 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38995 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38997 2011-09-08 Andreas Schwab <schwab@redhat.com>
38999 * elf/dl-load.c (lose): Check for non-null L.
39001 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39003 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39005 * elf/dl-libc.c (dlerror_run): Pass back error code from
39009 * elf/dl-load.c (lose): Free l_origin if it is valid.
39011 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39013 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39014 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39015 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39016 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39017 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39018 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39020 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39022 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39023 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39024 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39025 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39026 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39027 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39028 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39029 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39030 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39031 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39033 2011-08-15 Alan Modra <amodra@gmail.com>
39036 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39037 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39038 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39039 ppc_mcount to static-only-routines.
39040 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39042 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39043 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39045 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39047 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39048 for finite and infinity parameters.
39050 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39053 and add nop instructions for throughput optimization.
39054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39056 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39058 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39059 aligned copy for power7 with vector-scalar instructions.
39060 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39062 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39067 2011-09-07 Andreas Schwab <schwab@redhat.com>
39070 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39073 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39075 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39076 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39077 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39078 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39081 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39083 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39084 Forgot to demangle the pointer.
39086 * sysdeps/i386/sysdep.h: Define atom_text_section.
39087 * sysdeps/x86_64/sysdep.h: Likewise.
39088 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39089 section with atom_text_section.
39090 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39091 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39092 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39094 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39096 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39097 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39098 already be defined. Change to take two parameters and don't assign
39099 result to variable. Adjust all users.
39100 Define INTERNAL_GETTIME if not already defined.
39101 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39104 HAVE_CLOCK_GETTIME_VSYSCALL.
39105 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39108 gettimeofday vsyscall, just use time.
39110 2011-09-06 Andreas Schwab <schwab@redhat.com>
39112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39115 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39117 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39121 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39122 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39123 syscall if possible.
39125 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39127 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39128 e_ident. Don't pass to find_mapsXX.
39129 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39131 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39134 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39135 * sysdeps/x86_64/multiarch/strchr.S: Update.
39136 Check bit_slow_BSF bit.
39137 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39138 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39139 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39141 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39144 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39146 (tryshell): Define.
39147 (__spawni): Change last parameter to be flag. Test
39148 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39149 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39150 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39151 * posix/spawni.c: Likewise.
39152 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39153 * posix/spawnp.c: Likewise. Change normal version to use
39154 SPAWN_XFLAGS_USE_PATH.
39155 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39156 SPAWN_XFLAGS_TRY_SHELL.
39159 * posix/glob.h: Remove gcc 1.x support.
39162 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39164 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39167 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39169 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39170 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39171 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39172 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39173 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39174 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39176 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39178 * sysdeps/x86_64/wcscmp.S: New file.
39180 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39181 wcscmp-c wcscmp-sse2
39182 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39183 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39184 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39185 * wcsmbs/wcscmp.c: Allow renaming.
39187 2011-09-05 David S. Miller <davem@davemloft.net>
39189 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39190 stack slot, rather than the struct return pointer slot.
39191 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39192 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39194 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39196 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39198 * po/ja.po: Update from translation team.
39201 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39202 kernel in 64-bit binaries.
39204 2011-09-01 David S. Miller <davem@davemloft.net>
39206 * elf/elf.h (HWCAP_SPARC_*): Move to..
39207 * sysdeps/sparc/sysdep.h: this new file and add new values.
39208 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39209 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39210 _DL_HWCAP_COUNT to 24.
39211 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39213 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39214 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39215 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39217 instead of magic constants.
39218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39220 2011-08-31 David S. Miller <davem@davemloft.net>
39222 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39224 Reimplement to do errno handling inline.
39225 (SYSCALL_ERROR_HANDLER): New macro.
39226 (__SYSCALL_STRING): Do not do errno handling in asm.
39227 (__CLONE_SYSCALL_STRING): Delete.
39228 (__INTERNAL_SYSCALL_STRING): Delete.
39229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39230 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39231 (PSEUDO): Reimplement to do errno handling inline.
39232 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
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/sysdep.h (INLINE_SYSCALL):
39238 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39240 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39241 (inline_syscall*): Add 'err' argument.
39242 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39243 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39244 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39245 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39247 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39248 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39250 2011-08-30 Andreas Schwab <schwab@redhat.com>
39252 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39254 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39256 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39259 2011-08-24 David S. Miller <davem@davemloft.net>
39261 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39263 2011-08-24 Andreas Schwab <schwab@redhat.com>
39265 * elf/Makefile: Add rules to build and run unload8 test.
39266 * elf/unload8.c: New file.
39267 * elf/unload8mod1.c: New file.
39268 * elf/unload8mod1x.c: New file.
39269 * elf/unload8mod2.c: New file.
39270 * elf/unload8mod3.c: New file.
39272 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39275 2011-08-23 David S. Miller <davem@davemloft.net>
39277 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39278 subtract stack bias.
39279 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39280 %sp not %fp in calculations.
39281 (_JMPBUF_UNWINDS_ADJ): Likewise.
39283 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39284 (aio_suspend): Call it to force an exception region around the
39285 AIO_MISC_WAIT() invocation.
39287 2011-08-23 Andreas Schwab <schwab@redhat.com>
39289 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39292 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39294 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39296 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39297 and <dl-machine.h>.
39298 (Elf64_FuncDesc): Remove.
39300 2011-08-22 David S. Miller <davem@davemloft.net>
39302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39303 sigaltstack check, add missing cfi directives.
39304 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39305 missing cfi directives, and sigaltstack handling.
39307 2011-08-16 Andreas Schwab <schwab@redhat.com>
39310 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39311 object is seen twice.
39312 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39314 * elf/Makefile (distribute): Add tst-initorder2.c.
39315 (tests): Add tst-initorder2.
39316 (modules-names): Add tst-initorder2a tst-initorder2b
39317 tst-initorder2c tst-initorder2d. Add rules to build them.
39318 ($(objpfx)tst-initorder2.out): New rule.
39319 * elf/tst-initorder2.c: New file.
39320 * elf/tst-initorder2.exp: New file.
39322 2011-08-22 Andreas Schwab <schwab@redhat.com>
39324 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39326 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39327 dependencies back to end of function.
39329 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39330 $(elfobjdir)/ld.so.
39332 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39335 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39337 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39338 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39339 of __vdso_gettimeofday.
39340 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39341 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39343 (_libc_vdso_platform_setup): Remove initialization of
39344 __vdso_gettimeofday and __vdso_time.
39346 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39348 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39349 and fgetc_unlocked.
39350 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39353 * elf/dl-open.c (add_to_global): Report additions to the global scope
39354 for LD_DEBUG=scopes.
39355 (dl_open_worker): Also print scope of newly loaded dependencies.
39356 (_dl_show_scope): Indicate if there is no scope.
39359 * stdio-common/Makefile (tests): Add bug24.
39360 * stdio-common/bug24.c: New file.
39362 2011-08-19 Andreas Jaeger <aj@suse.de>
39365 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39366 non-existant file when using close-on-exec mode.
39368 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39370 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39371 the very first instruction.
39373 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39374 the CFI state in the end.
39375 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39376 inclusion of dl-trampoline.h.
39377 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39379 2011-08-19 Andreas Schwab <schwab@redhat.com>
39381 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39382 expectations for long double.
39384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39385 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39387 2011-08-14 David S. Miller <davem@davemloft.net>
39389 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39390 artificual limit depends upon the system page size.
39392 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39394 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39395 * resolv/Makefile: Define CFLAGS-libresolv.
39397 2011-08-17 Andreas Schwab <schwab@redhat.com>
39399 * nss/makedb.c (compute_tables): Make variables used in nested
39402 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39404 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39405 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39406 if buffer was too small.
39408 * elf/pldd.c (main): Attach to all threads in the process.
39409 Rewrite /proc handling to use *at functions.
39411 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39413 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39414 specifies first scope to show.
39415 (dl_open_worker): Update callers. Move printing scope of new
39416 object to before the relocation.
39417 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39418 * sysdeps/generic/ldsodefs.h: Update declaration.
39420 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39421 string for the scope number.
39423 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39425 * nscd/servicescache.c (cache_addserv): Make sure written is always
39428 2011-08-14 Roland McGrath <roland@hack.frob.com>
39430 * sysdeps/i386/i486/bits/atomic.h
39431 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39432 statement expression, so as to suppress "set but not used" warning.
39433 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39435 * string/strncat.c (STRNCAT): Use prototype definition.
39437 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39438 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39440 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39441 (localedef-modules): Add localedef.
39442 (locale-modules): Add locale.
39444 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39445 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39446 to avoid a warning.
39448 2011-08-14 David S. Miller <davem@davemloft.net>
39450 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39451 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39453 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39455 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39456 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39457 * elf/rtld.c (dl_main): Set l_name of vDSO.
39458 Call _dl_show_scope when DL_DEBUG_SCOPES.
39459 (process_dl_debug): Recognize scopes flag and also set it for all.
39460 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39461 Declare _dl_show_scope.
39463 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39464 (do_dlopen): Pass caller_dlopen to dl_open.
39465 (__libc_dlopen_mode): Initialize caller_dlopen.
39467 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39468 of libc. Make tolower call locale-independent. Optimize a bit by
39469 using isdigit instead of isalnum.
39470 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39472 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39474 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39475 was a dependency or dynamically loaded.
39477 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39479 * intl/l10nflist.c: Allow architecture-specific pop function.
39480 * sysdeps/x86_64/l10nflist.c: New file.
39482 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39485 2011-08-10 Andreas Schwab <schwab@redhat.com>
39487 * include/dirent.h: Add libc_hidden_proto for scandirat and
39488 scandirat64. Don't declare __scandirat64.
39489 * dirent/scandirat.c: Add libc_hidden_def.
39490 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39491 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39493 2011-08-10 David S. Miller <davem@davemloft.net>
39495 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39497 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39499 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39501 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39503 * Versions.def [libc]: Add GLIBC_2.15.
39504 * dirent/Makefile (routines): Add scandirat and scandirat64.
39505 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39507 * dirent/dirent.h: Declare scandirat and scandirat64.
39508 * dirent/scandirat.c: New file.
39509 * dirent/scandirat64.c: New file.
39510 * sysdeps/wordsize-64/scandirat.c: New file.
39511 * sysdeps/wordsize-64/scandirat64.c: New file.
39512 * dirent/opendir.c: Define opendirat.
39513 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39515 * dirent/scandir64.c: Adjust for scandir.c change.
39516 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39517 __scandirat64, and __scandir_cancel_handler.
39518 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39519 additional parameter and use openat instead of open (outside of ld.so).
39520 Add new __opendir as wrapper around __opendirat.
39521 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39522 here without requiring old scandirat implementation.
39524 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39526 * dirent/scandir.c (cancel_handler): Renamed to
39527 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39528 defined. Adjust users.
39529 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39530 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39532 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39534 * string/test-string.h (IMPL): Use __STRING to expand name and then
39537 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39540 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39542 * string/Makefile: Update.
39543 (strop-tests): Append strncat.
39544 * string/test-wcscmp.c: New file.
39545 New comprehensive test for wcscmp.
39546 * string/test-strcmp.c: Update.
39547 (WIDE): New define.
39549 2011-07-22 Andreas Schwab <schwab@redhat.com>
39551 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39554 2011-07-26 Andreas Schwab <schwab@redhat.com>
39556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39557 encoding to ACE if AI_IDN.
39559 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39562 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39564 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39567 Fix overflow bug in strncat.
39568 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39570 * string/test-strncat.c: Update.
39571 Add new tests for checking overflow bugs.
39573 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39576 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39577 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39578 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39579 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39580 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39581 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39582 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39583 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39585 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39586 (USE_AS_STRCAT): Define.
39587 Add strcat and strncat support.
39588 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39590 2011-07-25 Andreas Schwab <schwab@redhat.com>
39592 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39593 __n bigger than INT_MAX+1.
39594 (__strncmp_g): Likewise.
39596 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39598 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39599 * libio/stido.h: Likewise.
39601 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39606 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39607 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39608 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39609 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39613 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39618 (_dl_x86_64_save_sse): Likewise.
39620 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39624 (_dl_x86_64_save_sse): Likewise.
39626 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39628 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39630 2011-07-21 Andreas Schwab <schwab@redhat.com>
39632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39634 (_dl_x86_64_save_sse): Use correct AVX check.
39636 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39638 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39639 bug in strncpy/strncat.
39640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39642 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39644 * string/tester.c (test_strcat): Add tests for different alignments
39645 of source and destination.
39646 (test_strncat): Likewise.
39648 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39651 * posix/glob.c (glob): Check passed in values before using them in
39652 expressions to avoid some overflows.
39653 (glob_in_dir): Likewise.
39656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39657 check for AVX enablement so that we don't crash with old kernels and
39659 * elf/tst-audit4.c: Add same checks here.
39660 * elf/tst-audit6.c: Likewise.
39662 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39664 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39666 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39668 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39670 * po/cs.po: Update from translation team.
39671 * po/bg.po: Likewise.
39673 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39675 * misc/sys/cdefs.h: Add support for const attribute.
39676 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39677 to gnu_dev_{major,minor,makedev} functions.
39679 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39681 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39683 2011-07-20 Andreas Schwab <schwab@redhat.com>
39685 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39688 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39691 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39692 register in order to avoid conflicts with the soft frame pointer
39693 being held in r11 when necessary.
39694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39695 (INTERNAL_VSYSCALL_NCS): Likewise.
39697 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39699 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39700 * elf/dl-fini.c (_dl_fini): Adjust caller.
39701 * elf/dl-close.c (_dl_close_worker): Likewise.
39702 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39704 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39706 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39707 "aux_cache->nlibs < 0".
39709 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39710 in the reload-count case.
39712 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39715 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39716 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39717 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39718 * sysdeps/x86_64/multiarch/strcat.S: New file.
39719 * sysdeps/x86_64/multiarch/strncat.S: New file.
39720 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39721 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39722 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39723 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39724 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39725 (USE_AS_STRCAT): Define.
39726 Add strcat and strncat support.
39727 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39728 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39729 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39730 * string/strncat.c: Update.
39731 (USE_AS_STRNCAT): Define.
39732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39733 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39735 * sysdeps/x86_64/multiarch/init-arch.h
39736 (bit_Prefer_PMINUB_for_stringop): New.
39737 (index_Prefer_PMINUB_for_stringop): Likewise.
39738 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39739 bit_Prefer_PMINUB_for_stringop.
39741 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39743 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39745 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39746 of casting of buffer.
39747 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39748 buffer32 and buffer64.
39749 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39750 writes instead of casting of buffer.
39751 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39753 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39756 2011-07-19 Andreas Schwab <schwab@redhat.com>
39758 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39760 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39762 * nscd/nscd.c (termination_handler): Don't do anything for a database
39763 if it has not yet been initialized.
39765 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39767 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39769 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39771 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39773 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39775 * po/nl.po: Update from translation team.
39776 * po/sv.po: Likewise.
39778 2011-07-16 Roland McGrath <roland@hack.frob.com>
39780 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39781 now disallowed by GCC.
39783 * configure.in (use-default-link): Default to yes if a test -shared
39784 link meets our qualifications.
39785 * configure: Regenerated.
39787 * config.make.in (output-format): New variable.
39788 * configure.in: Check for ld --print-output-format support.
39789 * configure: Regenerated.
39790 * Makerules ($(common-objpfx)format.lds)
39791 [$(output-format) != unknown]: Just use $(output-format),
39792 instead of the linker-script munging.
39794 2011-07-14 Roland McGrath <roland@hack.frob.com>
39796 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39797 of $(common-objpfx)shlib.lds.
39798 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39800 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39801 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39803 * configure.in (-z relro check): Adjust test code to add a large
39804 writable data section after it.
39805 * configure: Regenerated.
39807 2011-07-11 Roland McGrath <roland@hack.frob.com>
39809 * configure.in (-z relro check): Fix test code to make the variable
39811 * configure: Regenerated.
39813 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39815 * nscd/nscd.h (struct traced_file): Define.
39816 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39817 elements. Add traced_files.
39818 (inotify_fd): Declare.
39819 (register_traced_file): Declare.
39820 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39821 (inotify_fd): Export.
39822 (resolv_conf_descr): Remove.
39823 (nscd_init): Move inotify descriptor creation to main.
39824 Don't register files for notification here.
39825 (register_traced_file): New function.
39826 (invalidate_cache): Don't use reset_res to determine whether to call
39827 res_init, go through the list of registered files.
39828 (main_loop_poll): The inotify descriptors are now stored in the
39829 structures for the traced files.
39830 (main_loop_epoll): Likewise
39831 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39832 to __nss_disable_nscd.
39833 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39834 for a database anymore. Check the records for all the registered
39836 * nss/Makefile (libnss_files-routines): Add files-init.
39837 (libnss_db-routines): Add db-init.
39838 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39839 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39840 * nss/nss_db/db-init.c: New file.
39841 * nss/nss_files/files-init.c: New file.
39842 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39843 __nss_lookup_function.
39844 (__nss_lookup_function): Call nss_load_library.
39845 (nss_load_all_libraries): New function.
39846 (__nss_disable_nscd): Take parameter with callback function for files
39847 to register. Set is_nscd. Load all the DSOs for the NSS modules
39848 used for the cached services.
39849 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39850 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39851 options for features to all the files in nscd.
39853 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39855 2011-07-10 Roland McGrath <roland@hack.frob.com>
39857 * csu/elf-init.c (__libc_csu_init): Comment typo.
39859 2011-07-09 Ulrich Drepper <drepper@gmail.com>
39861 * po/pl.po: Update from translation team.
39862 * po/ja.po: Likewise.
39863 * po/ru.po: Likewise.
39864 * po/ko.po: Likewise.
39865 * po/fr.po: Likewise.
39867 2011-07-09 Roland McGrath <roland@hack.frob.com>
39869 * configure.in (.ctors/.dtors header and trailer check):
39870 Use an empirical test on a built program.
39871 * configure: Regenerated.
39873 * configure.in (-z relro check): Use an empirical test on a built DSO.
39874 Detect, but do not require, on ia64.
39875 * configure: Regenerated.
39877 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39878 Update tests that use readelf to use $READELF instead.
39879 * configure: Regenerated.
39881 2011-07-08 Ulrich Drepper <drepper@gmail.com>
39883 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39884 if the result is not used.
39886 2011-07-05 Andreas Jaeger <aj@suse.de>
39889 * stdlib/tst-strtod.c: Add testcase.
39891 2011-07-07 Ulrich Drepper <drepper@gmail.com>
39893 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39894 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39895 The latter has a higher limit. Take additional parameter to pass to
39897 (__pathconf): Pass file to __statfs_link_max.
39898 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39900 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39904 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39905 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39907 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39908 (__statfs_filesize_max): Likewise.
39909 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39911 2011-07-05 Andreas Jaeger <aj@suse.de>
39913 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39915 2011-07-06 Marek Polacek <mpolacek@redhat.com>
39917 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39919 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39922 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39924 * Makefile (strop-tests): Add strncat.
39925 * string/test-strncat.c: New file.
39927 2011-06-30 Marek Polacek <mpolacek@redhat.com>
39929 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39931 2011-06-21 Andreas Jaeger <aj@suse.de>
39933 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39934 Copy rule from iconvdata/Makefile.
39936 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39939 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39940 but no long options are defined, just return 'W'.
39942 2011-06-22 Marek Polacek <mpolacek@redhat.com>
39945 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39947 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39949 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39951 (innetgr): Likewise.
39953 2011-07-05 Roland McGrath <roland@hack.frob.com>
39955 * config.make.in (install_root): Default to $(DESTDIR).
39957 2011-07-05 Ulrich Drepper <drepper@gmail.com>
39959 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39961 2011-07-02 Roland McGrath <roland@hack.frob.com>
39963 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39965 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39966 containing directory rather than embedding absolute directory names.
39968 * scripts/check-local-headers.sh: Rewritten using awk.
39969 Match by word, not by line. Print error messages for matches.
39970 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39972 * Makerules [shlib-lds-flags empty]:
39973 ($(common-objpfx)libc_pic.opts): New target.
39974 ($(common-objpfx)libc_pic.os.clean): New target.
39975 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39977 * config.make.in (OBJCOPY): New variable.
39978 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39979 * configure: Regenerated.
39981 * config.make.in (use-default-link): New variable.
39982 * configure.in (use_default_link): Grok --with-default-link to set it.
39983 * configure: Regenerated.
39984 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39985 (shlib-lds, shlib-lds-flags): Define to empty.
39987 * Makerules (shlib-lds): New variable.
39988 (shlib-lds-flags): New variable.
39989 (build-shlib, build-moduile, build-module-asneeded): Use it.
39990 ($(common-objpfx)libc.so): Use $(shlib-lds).
39991 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39992 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39994 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39995 DT_FLAGS/DT_FLAGS_1 with zero flags.
39997 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39998 linker script munging.
40000 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40002 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40004 * crypt/sha512.c (sha512_process_block): Perform total addition using
40005 128-bit if possible.
40006 (__sha512_finish_ctx): Likewise.
40007 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40009 * crypt/sha256.c (SWAP64): Define.
40010 (sha256_process_block): Perform total addition using 64-bit if
40012 (__sha256_finish_ctx): Likewise.
40014 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40016 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40017 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40018 * nscd/hstcache.c (cache_addhst): Likewise.
40019 * nscd/grpcache.c (cache_addgr): Likewise.
40020 * nscd/aicache.c (addhstaiX): Likewise
40021 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40023 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40025 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40026 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40027 * nscd/hstcache.c (cache_addhst): Likewise.
40028 * nscd/grpcache.c (cache_addgr): Likewise.
40029 * nscd/aicache.c (addhstaiX): Likewise
40031 2011-07-01 Andreas Schwab <schwab@redhat.com>
40033 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40034 domain only when needed.
40036 2011-06-30 Andreas Schwab <schwab@redhat.com>
40038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40039 is always restored.
40041 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40043 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40044 are re-adding the entry.
40045 * nscd/servicescache.c (cache_addserv): Likewise.
40047 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40049 * sysdeps/generic/dl-irel.h: fix protection against multiple
40051 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40053 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40056 * malloc/memusage.sh: Fix quoting in message.
40057 * debug/xtrace.sh: Likewise.
40059 * configure.in: Remove support for --experimental-malloc option, make
40061 * config.make.in: Likewise.
40062 * malloc/Makefile: Likewise.
40064 2011-06-27 Andreas Schwab <schwab@redhat.com>
40066 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40067 two-byte characters.
40069 2011-06-27 Roland McGrath <roland@hack.frob.com>
40071 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40072 AC_CACHE_CHECK invocation.
40073 * configure: Regenerated.
40075 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40077 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40080 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40081 bit from old_res_options.
40083 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40085 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40086 value type for setfct.
40088 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40090 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40091 __gettimeofday instead of gettimeofday.
40093 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40095 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40097 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40099 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40101 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40104 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40107 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40108 strcpy-sse2-unaligned strncpy-sse2-unaligned
40109 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40110 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40111 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40112 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40113 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40114 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40115 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40116 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40117 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40118 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40119 (STRCPY): Support SSE2 and SSSE3 versions.
40121 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40124 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40125 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40126 kernels which artificially limit size of requests.
40128 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40131 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40132 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40133 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40134 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40135 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40136 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40137 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40138 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40139 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40140 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40141 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40142 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40143 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40144 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40146 Enable unaligned load optimization for Intel Core i3, i5 and i7
40148 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40150 (index_Fast_Unaligned_Load): Define.
40151 (HAS_FAST_UNALIGNED_LOAD): Define.
40153 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40155 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40157 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40161 until it is clear that the information is realy needed.
40162 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40164 2011-06-22 Andreas Schwab <schwab@redhat.com>
40166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40168 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40171 /sys/devices/system/cpu/online if it is usable.
40173 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40174 reading the information from the /proc filesystem to once a second.
40176 2011-06-21 Andreas Jaeger <aj@suse.de>
40178 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40179 NULL after inclusion of kernel headers.
40181 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40183 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40184 calls to internal_setent.
40187 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40188 addresses using gethostbyname4_r ignore IPv4 addresses.
40190 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40191 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40193 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40195 2011-06-20 David S. Miller <davem@davemloft.net>
40197 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40199 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40201 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40202 (elf_irel): Use it.
40203 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40204 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40205 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40206 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40207 * sysdeps/x86_64/dl-irel.h: Likewise.
40209 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40210 * elf/dl-sym.c: Likewise.
40212 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40214 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40215 need to dereference resplen2.
40217 2011-06-14 Andreas Schwab <schwab@redhat.com>
40219 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40221 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40223 * Makeconfig: Define vardbdir and inst_vardbdir.
40224 * nss/Makefile: Add rules to install db-Makefile.
40226 * nss/nss_db/db-XXX.c: Cleanup.
40228 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40229 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40231 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40232 * nss/makedb.c: Implement -g option to specify that value strings
40233 are generated and should not be added to table iterated over for
40235 * nss/nss_db/db-initgroups.c: New file.
40237 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40240 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40241 (internal_getgrouplist): Adjust to name change.
40242 Update use_initgroups_entry if this is not the first call.
40243 * nss/databases.def: Add initgroups entry.
40245 * nss/makedb.c (compute_tables): Check result of multiple hash table
40246 sizes to minimize maximum chain length.
40248 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40250 * Versions.def: Add entry for libnss_db.
40251 * shlib-versions: Likewise.
40252 * nss/Makefile: Add rules to build libnss_db.
40253 * nss/Versions: Add libnss_db information. Organize libnss_files
40255 * nss/db-Makefile: Add gshadow support. Change rules for the new
40256 makedb progra. Some minor improvements to generate smaller files.
40257 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40259 * nss/makedb.c: ...here.
40260 Improve database format to be smaller and require less memory at
40262 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40264 * nss/nss_db/db-netgrp.c: Likewise.
40265 * nss/nss_db/db-open.c: Likewise.
40266 * nss/nss_files/flies-XXX.x: Adjust comments.
40267 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40268 * nss/nss_files/files-grp.c: Likewise.
40269 * nss/nss_files/files-hosts.c: Likewise.
40270 * nss/nss_files/files-network.c: Likewise.
40271 * nss/nss_files/files-proto.c: Likewise.
40272 * nss/nss_files/files-pwd.c: Likewise.
40273 * nss/nss_files/files-rpc.c: Likewise.
40274 * nss/nss_files/files-service.c: Likewise.
40275 * nss/nss_files/files-sgrp.c: Likewise.
40276 * nss/nss_files/files-spwd.c: Likewise.
40277 * nss/nss_db/db-alias.c: Removed.
40278 * nss/nss_db/dummy-db.h: Removed.
40280 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40282 * nss/makedb.c: Rewritten to not use database library.
40283 * nss/Makefile: Update to build new makedb program.
40285 2011-06-14 Andreas Jaeger <aj@suse.de>
40287 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40288 memset declaration.
40290 2011-06-10 Andreas Schwab <schwab@redhat.com>
40292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40295 2011-06-10 Roland McGrath <roland@hack.frob.com>
40297 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40298 * elf/Makefile ($(objpfx)ld.so): Likewise.
40300 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40301 Don't list ld.so twice in dependencies.
40303 * posix/bug-regex31.c: Include <stdlib.h>.
40305 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40307 * nis/nss_compat/compat-spwd.c
40308 (getspent_next_nss_netgr): Remove unused variable.
40309 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40311 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40312 nonmembers" output to use the right array.
40314 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40316 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40318 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40319 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40320 * catgets/gencat.c (read_input_file): Likewise.
40321 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40323 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40324 variable definition inside #if's controlling its use.
40326 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40328 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40330 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40332 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40335 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40337 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40338 * configure: Regenerated.
40340 * Makerules: Revert last change.
40341 * elf/Makefile: Likewise.
40343 2011-06-09 Roland McGrath <roland@hack.frob.com>
40345 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40346 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40347 (reloc-link): Likewise.
40349 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40351 * elf/Makefile: Add rules to build pldd.
40352 * elf/pldd.c: New file.
40353 * elf/pldd-xx.c: New file.
40355 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40357 * version.h: Update for 2.15 development version.
40359 2011-06-07 David S. Miller <davem@davemloft.net>
40361 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40364 elf_machine_lazy_rel): Likewise.
40365 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40366 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40367 elf_machine_lazy_rel): Likewise.
40368 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40369 dl_hwcap via passed in argument.
40370 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40373 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40375 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40377 2011-06-06 Roland McGrath <roland@hack.frob.com>
40380 * manual/fdl-1.1.texi: New file, verbatim from:
40381 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40382 * manual/lgpl-2.1.texi: New file, verbatim from:
40383 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40384 * manual/Makefile (licenses): New variable, list those new file names.
40386 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40388 * manual/fdl.texi: File removed.
40389 * manual/lesser.texi: File removed.
40390 * manual/libc.texinfo (Copying, Documentation License):
40391 Use new @include file names, put @appendix directive before @include.
40393 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40396 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40397 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40398 (mq_open): Add __NTH.
40400 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40403 Assume Intel Core i3/i5/i7 processor if AVX is available.
40405 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40410 2011-05-31 Andreas Schwab <schwab@redhat.com>
40412 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40413 memory. Use alloca_account. Fix memory leak when retrying.
40415 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40417 * version.h (RELEASE): Bump for 2.14 release.
40418 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40420 * config.make.in (RANLIB): Remove entry.
40422 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40424 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40425 (libc.pot): Work around missing support for .ksh extension in xgettext.
40428 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40429 if both request failed.
40430 (send_dg): In case of server errors clear resplen or *resplen2.
40433 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40434 when there are multiple maps.
40435 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40436 (_dl_fini): Remove test here.
40438 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40440 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40443 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40444 bit from old_res_options.
40445 (gaih_inet): Likewise.
40448 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40451 * resolv/res_init.c (res_setoptions): Make the code more compact.
40454 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40458 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40460 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40463 * malloc/malloc.h: Declare malloc hook variables as volatile.
40465 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40469 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40470 raise in the comment.
40471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40473 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40475 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40478 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40479 grow the buffers more if it already has to be sufficient.
40480 (build_wcs_upper_buffer): Likewise.
40481 * posix/regexec.c (check_matching): Likewise.
40482 (clean_state_log_if_needed): Likewise.
40483 (extend_buffers): Don't enlarge buffers beyond size of the input
40485 Patches mostly by Emil Wojak <emil@wojak.eu>.
40486 * posix/bug-regex32.c: New file.
40487 * posix/Makefile (tests): Add bug-regex32.
40489 * locale/findlocale.c (_nl_find_locale): Return right away if
40490 _nl_explode_name failed.
40491 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40493 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40495 * debug/xtrace.sh: Unify messages.
40496 * malloc/memusage.sh: Likewise.
40499 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40500 time symbol from vDSO. Substitute with vsyscall if not available.
40501 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40504 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40505 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40506 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40507 Add sendmmsg and internal_sendmmsg.
40508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40509 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40512 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40513 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40514 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40516 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40519 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40520 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40522 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40526 * iconvdata/Makefile (tests): Add bug-iconv9.
40527 * iconvdata/bug-iconv9.c: New file.
40529 2011-05-27 Andreas Schwab <schwab@redhat.com>
40532 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40534 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40536 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40537 (struct user_regs_struct): Change intcs field back to cs.
40539 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40541 * po/ja.po: Update from translation team.
40543 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40546 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40547 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40549 2011-05-20 Andreas Schwab <schwab@redhat.com>
40551 * stdlib/longlong.h: Update from GCC.
40553 2011-05-23 Andreas Schwab <schwab@redhat.com>
40555 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40557 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40558 Add parameter name.
40559 (__sysconf): Pass it down.
40561 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40564 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40566 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40567 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40568 add in in __libc_use_alloca calls. Adjust callers.
40569 (glob): Use malloc in some situations.
40571 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40572 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40575 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40577 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40578 and CLOCK_BOOTTIME_ALARM.
40581 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40584 * string/_strerror.c (__strerror_r): Print negative errors as signed
40588 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40589 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40590 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40592 * configure.in: Fix typo in redirection and correct removal of test
40593 files in two cases.
40596 * locale/setlocale.c (new_composite_name): Fix test to check for
40597 identical name of all categories.
40600 * libio/filedoalloc.c (local_isatty): New function.
40601 (_IO_file_doallocate): Use local_isatty.
40602 * stdio-common/perror.c (perror): In case a new stream is used
40603 forward the stream error.
40604 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40607 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40612 * include/alloca.h (extend_alloca_account): Define.
40615 * posix/regex.h: Fix comments with documentation of user-accessible
40616 fields after compilation and describe correct free'ing of pattern
40617 after re_compile_pattern.
40618 Patch by Reuben Thomas <rrt@sc3d.org>.
40620 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40622 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40623 and -mno-altivec to prevent the compiler from using Altivec and/or
40624 VSX instructions when the corresponding registers are not available.
40626 2011-05-19 Andreas Schwab <schwab@redhat.com>
40628 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40630 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40632 * libio/freopen.c (freopen): Use __dup2, not dup2.
40633 * libio/freopen64.c (freopen64): Likewise.
40635 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40638 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40639 * math/Makefile (tests): Add test-powl.
40640 (CFLAGS-test-powl.c): Define.
40641 * math/test-powl.c: New file.
40643 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40645 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40647 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40650 * iconvdata/gb18030.c: Update to GB18020-2005.
40652 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40654 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40655 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40656 Patch by Aharon Robbins <arnold@skeeve.com>.
40659 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40663 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40664 through underflows.
40667 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40668 point to strings before performing equality test for error_one_per_line
40672 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40675 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40676 (struct user_fpregs_struct): Avoid __uint*_t types.
40679 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40680 symbol info. Use it instead of calling _dl_addr locally.
40681 (lock_and_info): New function.
40682 (tr_freehook): Call lock_and_info and pass symbol info as additional
40683 parameter to tr_where.
40684 (tr_mallochook): Likewise.
40685 (tr_reallochook): Likewise.
40686 (tr_memalignhook): Likewise.
40688 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40689 used and couldn't be at all thread-safe.
40691 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40693 * libio/freopen.c (freopen): Don't close old file descriptor
40694 before the new one is opened. Instead dup the new file descriptor
40695 to the old one after the new stream is created.
40696 * libio/freopen64.c (freopen64): Likewise.
40697 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40698 * libio/fileops.c (_IO_new_file_close_it): Handle new
40699 _IO_FLAGS2_NOCLOSE flag.
40700 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40701 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40702 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40703 _IO_FLAGS2_NOCLOSE flag.
40704 * include/unistd.h: Add hidden_proto for dup3.
40705 Define __have_dup3.
40706 * io/dup3.c: Define hidden symbol.
40707 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40710 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40711 when an incomplete long option is used.
40712 * posix/tst-getopt_long1.c: New file.
40713 * posix/Makefile (tests): Add tst-getopt_long1.
40716 * scripts/config.guess: Update from autoconf-2.68.
40717 * scripts/config.sub: Likewise.
40720 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40722 (has_cpuclock): ...this. New function.
40723 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40724 macro here based on has_cpuclock code.
40727 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40728 First byte (not low byte) is now always NUL.
40729 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40732 Use non-cancelable interfaces.
40735 * locale/iso-639.def: Add entry for Sorani.
40738 * include/stdlib.h: Move include protection to the right place.
40739 Define abort_msg_s. Declare __abort_msg with it.
40740 * stdlib/abort.c (__abort_msg): Adjust type.
40741 * assert/assert.c (__assert_fail_base): New function. Majority
40742 of code from __assert_fail. Allocate memory for __abort_msg with
40744 (__assert_fail): Now call __assert_fail_base.
40745 * assert/assert-perr.c: Remove bulk of implementation. Use
40746 __assert_fail_base.
40747 * include/assert.hL Declare __assert_fail_base.
40748 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40750 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40752 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40756 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40757 until all modules are registered in the DTV.
40758 * elf/Makefile: Add rules to build and run tst-tls19.
40759 * elf/tst-tls19.c: New file.
40760 * elf/tst-tls19mod1.c: New file.
40761 * elf/tst-tls19mod2.c: New file.
40762 * elf/tst-tls19mod3.c: New file.
40763 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40766 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40770 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40771 two-byte sequence errors.
40772 * iconvdata/Makefile (tests): Add bug-iconv8.
40773 * iconvdata/bug-iconv8.c: New file.
40776 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40779 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40782 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40783 (dummy_getcfa): New function.
40784 (init): Get _Unwind_GetCFA address, use dummy if not found.
40785 (backtrace_helper): In recursion check, also check whether CFA changes.
40786 (__backtrace): Completely initialize arg.
40788 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40789 storing incomplete byte sequence in state object. Avoid testing for
40790 guaranteed too small input if we know there is enough data available.
40792 2011-05-11 Andreas Schwab <schwab@redhat.com>
40794 * Makeconfig (+link-pie): Indent.
40795 * Rules (binaries-pie): Define if $(have-fpie) and
40797 (binaries-shared): Also filter out $(binaries-pie).
40798 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40799 * nscd/Makefile (others-pie): Add nscd.
40800 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40801 ($(objpfx)nscd): Remove command override.
40802 * login/Makefile (others-pie): Add pt_chown.
40803 ($(objpfx)pt_chown): Remove command override.
40804 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40805 remove command overrides.
40807 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40809 * libio/tst_putwc.c: Fix error messages.
40812 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40813 currently writing and seek to current position when not.
40814 * libio/Makefile (tests): Add bug-fclose1.
40815 * libio/bug-fclose1.c: New file.
40817 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40820 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40821 don't set DF_1_NODELETE here.
40822 (do_lookup_x): When entering new entry test for copy relocation
40823 and if necessary set DF_1_NODELETE flag.
40824 * elf/tst-unique4.cc: New file.
40825 * elf/tst-unique4.h: New file.
40826 * elf/tst-unique4lib.cc: New file.
40827 * elf/Makefile: Add rules to build and run tst-unique4.
40828 Patch by Piotr Bury <pbury@goahead.com>.
40830 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40833 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40836 * misc/mntent_r.c (addmntent): Flush the stream after the output
40839 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40840 (is_trusted_path_normalize): Skip initial colon. Append slash
40841 to empty buffer. Duplicate is_trusted_path code but allow
40842 constructed patch to be prefix.
40843 (is_dst): Allow $ORIGIN followed by /.
40844 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40845 Correct testing of result of is_trusted_path_normalize
40846 (decompose_rpath): Fix warning.
40848 2011-05-10 Ulrich Drepper <drepper@gmail.com>
40851 * grp/initgroups.c (internal_getgrouplist): When we found the service
40852 list through the initgroups entry in nsswitch.conf do not always
40853 continue on a successful lookup. Don't always use the
40854 __nss_group_database value if it is set.
40855 * nss/nsswitch.conf (initgroups): Change action for successful db
40856 lookup to continue for compatibility.
40858 2011-05-09 Ulrich Drepper <drepper@gmail.com>
40861 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40863 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40865 * iconvdata/tst-tables.sh: Likewise.
40866 * iconvdata/cp770.c: New file.
40867 * iconvdata/cp771.c: New file.
40868 * iconvdata/cp772.c: New file.
40869 * iconvdata/cp773.c: New file.
40870 * iconvdata/cp774.c: New file.
40871 * iconvdata/testdata/CP770: New file.
40872 * iconvdata/testdata/CP770..UTF8: New file.
40873 * iconvdata/testdata/CP771: New file.
40874 * iconvdata/testdata/CP771..UTF8: New file.
40875 * iconvdata/testdata/CP772: New file.
40876 * iconvdata/testdata/CP772..UTF8: New file.
40877 * iconvdata/testdata/CP773: New file.
40878 * iconvdata/testdata/CP773..UTF8: New file.
40879 * iconvdata/testdata/CP774: New file.
40880 * iconvdata/testdata/CP774..UTF8: New file.
40882 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40884 * iconvdata/gen-8bit-gap.sh: Likewise.
40885 * iconvdata/gen-8bit.sh: Likewise.
40887 * locale/iso-639.def: Add ary entry.
40890 * locale/C-translit.h.in: Add U20A1 transliteration.
40893 * locale/iso-639.def: Add wae entry.
40894 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40897 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40901 * locale/C-translit.h.in: Add entry for U20B9.
40902 Patch by pravin.d.s@gmail.com.
40904 2011-05-08 Ulrich Drepper <drepper@gmail.com>
40907 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40908 ENAMETOOLONG use generic getcwd.
40909 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40910 in rtld. Use *stat64.
40911 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40912 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40913 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40914 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40915 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40916 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40917 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40918 __fstatat64 macros.
40919 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40920 * dirent/rewinddir.c: Add libc_hidden_def.
40921 * sysdeps/mach/hurd/rewinddir.c: Likewise.
40922 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
40924 * include/dirent.h (__alloc_dir): Add flags parameter.
40925 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40926 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40928 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40929 from fdopendir if O_CLOEXEC is already set.
40931 2011-03-15 Alan Modra <amodra@gmail.com>
40933 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40934 l_tls_firstbyte_offset non-zero. Save padding offset in
40935 l_tls_firstbyte_offset for later use.
40936 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40937 freeing static tls block.
40939 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40941 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40942 where #ifdef was intended. The intent is to prevent ARG_MAX from
40943 being defined by the kernel headers.
40945 2011-05-07 Ulrich Drepper <drepper@gmail.com>
40948 * resolv/resolv.h: Define RES_NOTLDQUERY.
40949 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40950 no-tld-query and set RES_NOTLDQUERY.
40951 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40952 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40953 modern BIND to search name as TLD unless forbidden.
40955 2011-05-07 Petr Baudis <pasky@suse.cz>
40956 Ulrich Drepper <drepper@gmail.com>
40959 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40960 (is_trusted_path): ...to here.
40961 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40962 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40963 using is_trusted_path_normalize() in setuid scripts.
40965 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40967 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40968 __BEGIN/__END_DECLS.
40970 2011-05-06 Ulrich Drepper <drepper@gmail.com>
40972 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40973 NSS_STATUS_NOTFOUND if no record was found.
40975 2011-05-05 Andreas Schwab <schwab@redhat.com>
40977 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40978 (headers-not-in-tirpc): Remove rpc/netdb.h
40979 * resolv/netdb.h: Revert last change.
40981 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40983 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40984 circular dependency between libgcc.a and libc.a.
40986 2011-05-05 Andreas Schwab <schwab@redhat.com>
40988 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40989 * nis/Makefile: Don't install rpcsvc/*.
40990 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40991 instead of <rpc/types.h>.
40992 (MAXHOSTNAMELEN): Define.
40994 2011-05-03 Andreas Schwab <schwab@redhat.com>
40996 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40998 2011-04-28 Maciej Babinski <mbabinski@google.com>
41001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41002 gethostbyname4_r when IPv6 results are possible.
41004 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41007 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41008 _PC_PIPE_BUF handling.
41010 2011-04-30 Bruno Haible <bruno@clisp.org>
41013 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41014 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41016 * inet/getnameinfo.c (getnameinfo): Likewise.
41018 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41020 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41021 to groups setting in database lookup.
41022 * nss/nsswitch.conf: Add initgroups entry.
41024 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41027 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41029 Patch by Eric Blake <eblake@redhat.com>.
41031 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41033 * sunrpc/Makefile (need-export-routines): Add svc_run.
41034 (routines): Remove svc_run.
41035 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41036 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41037 * sunrpc/svc_run.c (svc_run): Likewise.
41038 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41040 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41042 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41043 problem in reallocation in last patch.
41045 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41047 * sunrpc/Makefile: Move inclusion of Rules.
41049 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41051 * nss/nss_files/files-initgroups.c: New file.
41052 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41053 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41054 _nss_files_initgroups_dyn.
41056 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41058 * elf/elf.h (R_ARM_IRELATIVE): Define.
41060 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41062 * po/ru.po: Update from translation team.
41064 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41066 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41069 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41072 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41073 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41074 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41075 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41076 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41078 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41080 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41082 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41086 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41089 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41091 * stdlib/bug-getcontext.c: New file.
41092 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41094 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41096 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41097 instructions into .machine "z9-109".
41098 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41099 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41101 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41103 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41104 between environment variables and auxiliary vector.
41106 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41108 * Makefile: Add rules to build linkobj/libc.so.
41109 * include/libc-symbols.h: Define libc_hidden_nolink.
41110 * include/rpc/auth.h: Mark functions which are to be hidden.
41111 * include/rpc/auth_des.h: Likewise.
41112 * include/rpc/auth_unix.h: Likewise.
41113 * include/rpc/clnt.h: Likewise.
41114 * include/rpc/des_crypt.h: Likewise.
41115 * include/rpc/key_prot.h: Likewise.
41116 * include/rpc/pmap_clnt.h: Likewise.
41117 * include/rpc/pmap_prot.h: Likewise.
41118 * include/rpc/pmap_rmt.h: Likewise.
41119 * include/rpc/rpc_msg.h: Likewise.
41120 * include/rpc/svc.h: Likewise.
41121 * include/rpc/svc_auth.h: Likewise.
41122 * include/rpc/xdr.h: Likewise.
41123 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41124 * nss/Makefile: Likewise.
41125 * sunrpc/Makefile: Don't install headers. Build library with normal
41126 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41127 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41128 for the compat linking library. Remove use of INTDEF/INTUSE.
41129 * sunrpc/auth_none.c: Likewise.
41130 * sunrpc/auth_unix.c: Likewise.
41131 * sunrpc/authdes_prot.c: Likewise.
41132 * sunrpc/authuxprot.c: Likewise.
41133 * sunrpc/clnt_gen.c: Likewise.
41134 * sunrpc/clnt_perr.c: Likewise.
41135 * sunrpc/clnt_raw.c: Likewise.
41136 * sunrpc/clnt_simp.c: Likewise.
41137 * sunrpc/clnt_tcp.c: Likewise.
41138 * sunrpc/clnt_udp.c: Likewise.
41139 * sunrpc/clnt_unix.c: Likewise.
41140 * sunrpc/des_crypt.c: Likewise.
41141 * sunrpc/des_soft.c: Likewise.
41142 * sunrpc/get_myaddr.c: Likewise.
41143 * sunrpc/key_call.c: Likewise.
41144 * sunrpc/key_prot.c: Likewise.
41145 * sunrpc/netname.c: Likewise.
41146 * sunrpc/pm_getmaps.c: Likewise.
41147 * sunrpc/pm_getport.c: Likewise.
41148 * sunrpc/pmap_clnt.c: Likewise.
41149 * sunrpc/pmap_prot.c: Likewise.
41150 * sunrpc/pmap_prot2.c: Likewise.
41151 * sunrpc/pmap_rmt.c: Likewise.
41152 * sunrpc/publickey.c: Likewise.
41153 * sunrpc/rpc_cmsg.c: Likewise.
41154 * sunrpc/rpc_common.c: Likewise.
41155 * sunrpc/rpc_dtable.c: Likewise.
41156 * sunrpc/rpc_prot.c: Likewise.
41157 * sunrpc/rpc_thread.c: Likewise.
41158 * sunrpc/rtime.c: Likewise.
41159 * sunrpc/svc.c: Likewise.
41160 * sunrpc/svc_auth.c: Likewise.
41161 * sunrpc/svc_authux.c: Likewise.
41162 * sunrpc/svc_raw.c: Likewise.
41163 * sunrpc/svc_run.c: Likewise.
41164 * sunrpc/svc_simple.c: Likewise.
41165 * sunrpc/svc_tcp.c: Likewise.
41166 * sunrpc/svc_udp.c: Likewise.
41167 * sunrpc/svc_unix.c: Likewise.
41168 * sunrpc/svcauth_des.c: Likewise.
41169 * sunrpc/xcrypt.c: Likewise.
41170 * sunrpc/xdr.c: Likewise.
41171 * sunrpc/xdr_array.c: Likewise.
41172 * sunrpc/xdr_float.c: Likewise.
41173 * sunrpc/xdr_intXX_t.c: Likewise.
41174 * sunrpc/xdr_mem.c: Likewise.
41175 * sunrpc/xdr_rec.c: Likewise.
41176 * sunrpc/xdr_ref.c: Likewise.
41177 * sunrpc/xdr_sizeof.c: Likewise.
41178 * sunrpc/xdr_stdio.c: Likewise.
41180 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41183 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41184 * sysdeps/ia64/dl-tls.h: Likewise.
41185 * sysdeps/powerpc/dl-tls.h: Likewise.
41186 * sysdeps/s390/dl-tls.h: Likewise.
41187 * sysdeps/sh/dl-tls.h: Likewise.
41188 * sysdeps/sparc/dl-tls.h: Likewise.
41189 * sysdeps/x86_64/dl-tls.h: Likewise.
41190 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41192 2011-03-14 Andreas Schwab <schwab@redhat.com>
41194 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41195 rpath element also skip the following colon.
41196 (expand_dynamic_string_token): Add is_path parameter and pass
41197 down to DL_DST_REQUIRED and _dl_dst_substitute.
41198 (decompose_rpath): Call expand_dynamic_string_token with
41199 non-zero is_path. Ignore empty rpaths.
41200 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41203 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41208 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41211 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41212 Patch by Filipe David Manana <fdmanana@apache.org>.
41214 2011-04-07 Andreas Schwab <schwab@redhat.com>
41216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41217 Maintain aligned stack.
41218 (CHECK_RSP): Remove unused macro.
41220 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41222 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41223 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41225 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41227 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41229 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41231 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41234 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41235 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41236 * sysdeps/x86_64/memmove.c: New file.
41237 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41238 (memcpy): Renamed to ...
41239 (__new_memcpy): This.
41240 (memcpy): Provide GLIBC_2_14 memcpy.
41241 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41242 (memcpy): Provide GLIBC_2_2_5 memcpy.
41244 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41247 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41249 2011-03-30 Andreas Schwab <schwab@redhat.com>
41251 * misc/syncfs.c: New file.
41252 * misc/Makefile (routines): Add syncfs.
41253 * posix/unistd.h: Declare syncfs.
41254 * sysdeps/unix/syscalls.list: Add syncfs.
41256 2011-04-01 Andreas Schwab <schwab@redhat.com>
41258 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41260 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41261 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41263 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41265 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41266 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41268 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41271 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41272 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41274 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41278 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41279 sync_file_range.c with -fexceptions.
41280 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41281 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41282 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41283 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41284 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41285 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41287 sync_file_range as cancellation point
41288 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41289 now a wrapper around __call_sync_file_range with cancellation handling.
41290 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41291 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41292 function name to __call_sync_file_range.
41293 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41294 Add call_sync_file_range.
41296 2011-04-01 Andreas Schwab <schwab@redhat.com>
41298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41301 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41303 * iconv/iconv.h: Fix typo in comment.
41304 * io/fcntl.h: Likewise.
41305 * libio/stdio.h: Likewise.
41306 * posix/spawn.h: Likewise.
41307 * posix/unistd.h: Likewise.
41308 * stdlib/stdlib.h: Likewise.
41309 * time/time.h: Likewise.
41310 * wcsmbs/wchar.h: Likewise.
41312 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41313 open_by_handle): Add.
41314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41315 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41316 Augment a few comments.
41317 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41319 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41321 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41322 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41325 * io/fcntl.h (AT_EMPTY_PATH): Define.
41327 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41329 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41330 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41331 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41333 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41334 * Versions.def: Add GLIBC_2.14.
41335 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41338 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41340 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41342 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41344 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41347 * string/test-strncmp.c (do_page_test): New function.
41348 (check2): Likewise.
41349 (test_main): Call check2.
41350 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41352 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41355 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41356 Handle cache information in CPU leaf 4.
41357 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41359 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41362 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41363 character representation.
41364 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41366 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41368 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41369 END(__isnan) to END(__isnanf) to match function entry point/label
41370 EALIGN(__isnanf,...).
41372 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41374 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41376 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41379 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41380 copy from the symbol referenced in the relocation to initialize the
41382 Patch by Piotr Bury <pbury@goahead.com>.
41383 * elf/Makefile: Add rules to build and tst-unique3.
41384 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41385 * elf/tst-unique3.cc: New file.
41386 * elf/tst-unique3.h: New file.
41387 * elf/tst-unique3lib.cc: New file.
41388 * elf/tst-unique3lib2.cc: New file.
41390 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41392 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41394 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41395 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41398 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41400 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41401 to-be-loaded object along a path to loader is ld.so.
41403 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41404 Ulrich Drepper <drepper@gmail.com>
41406 * sysdeps/x86_64/memset.S: After aligning destination, code
41407 branches to different locations depending on the value of
41408 misalignment, when multiarch is enabled. Fix this.
41410 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41412 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41413 Set _x86_64_preferred_memory_instruction for AMD processsors.
41414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41415 Set bit_Prefer_SSE_for_memop for AMD processors.
41417 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41419 * libio/fmemopen.c (fmemopen): Optimize a bit.
41421 2011-03-03 Andreas Schwab <schwab@redhat.com>
41423 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41425 2011-03-03 Roland McGrath <roland@redhat.com>
41427 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41429 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41431 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41432 __bzero_ultra1 instead of __memset_ultra1.
41434 2011-02-23 Andreas Schwab <schwab@redhat.com>
41435 Ulrich Drepper <drepper@gmail.com>
41438 * include/link.h (struct link_map): Add l_orig_initfini.
41439 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41440 returning unsuccessfully.
41441 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41442 close of a file loaded at startup, restore the original l_initfini
41444 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41445 list, store the pointer.
41446 * elf/Makefile ($(objpfx)noload-mem): New rule.
41447 (noload-ENV): Define.
41448 (tests): Add $(objpfx)noload-mem.
41449 * elf/noload.c: Include <memcheck.h>.
41450 (main): Call mtrace. Close all opened handles.
41452 2011-02-17 Andreas Schwab <schwab@redhat.com>
41455 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41456 dependencies are missing.
41458 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41460 Fix __if_freereq crash: Unlike the generic version which uses free,
41462 * sysdeps/mach/hurd/ifreq.h: New file.
41464 2011-01-27 Petr Baudis <pasky@suse.cz>
41465 Ulrich Drepper <drepper@gmail.com>
41468 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41469 to extend_alloca().
41470 * stdio-common/bug23.c: New file.
41471 * stdio-common/Makefile (tests): Add bug23.
41473 2010-09-28 Andreas Schwab <schwab@redhat.com>
41474 Ulrich Drepper <drepper@gmail.com>
41477 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41478 before performing relro protection. At old place add assertion
41479 to make sure nothing changed.
41481 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41482 Glauber de Oliveira Costa <glommer@gmail.com>
41484 * elf/elf.h: Add new ARM TLS relocs.
41486 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41489 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41491 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41493 * sysdeps/wordsize-64/tst-writev.c: New file.
41495 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41497 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41498 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41499 insns in _dl_start to prevent a TOC reference before relocs are
41502 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41505 * Makeconfig: Remove RANLIB definition.
41506 * Makerules: Don't use RANLIB.
41507 * aclocal.m4: Remove ranlib test.
41508 * configure.in: No need to check for ranlib.
41509 * elf/rtld-Rules: Don't use RANLIB.
41511 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41513 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41515 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41516 inclusion protection macro.
41518 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41519 SIGRTMIN and SIGRTMAX and print information in that case only when
41520 SIGRTMIN is defined.
41522 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41524 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41525 arginfo fn returning -1.
41527 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41528 and thousands string is zero terminated.
41530 2011-02-03 Andreas Schwab <schwab@redhat.com>
41532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41533 sysdeps/unix/sysv/linux/bits/socket.h.
41535 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41537 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41538 (__CPU_COUNT): Remove old macros.
41539 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41540 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41541 (__CPU_ALLOC, __CPU_FREE): Add macros.
41542 (__sched_cpualloc, __sched_cpufree): Add declarations.
41544 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41546 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41547 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41548 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41549 (readdhstai): Return value of addhstaiX call.
41550 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41551 (addgrbyX): Return value returned by cache_addgr.
41552 (readdgrbyname): Return value returned by addgrbyX.
41553 (readdgrbygid): Likewise.
41554 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41555 (addpwbyX): Return value returned by cache_addpw.
41556 (readdpwbyname): Return value returned by addhstbyX.
41557 (readdpwbyuid): Likewise.
41558 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41559 (addservbyX): Return value returned by cache_addserv.
41560 (readdservbyname): Return value returned by addservbyX:
41561 (readdservbyport): Likewise.
41562 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41563 (addhstbyX): Return value returned by cache_addhst.
41564 (readdhstbyname): Return value returned by addhstbyX.
41565 (readdhstbyaddr): Likewise.
41566 (readdhstbynamev6): Likewise.
41567 (readdhstbyaddrv6): Likewise.
41568 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41569 (readdinitgroups): Return value returned by addinitgroupsX.
41570 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41571 (prune_cache): Keep track of timeout value of re-added entries.
41572 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41573 * nscd/nscd.h: Adjust prototypes of readd* functions.
41575 2011-02-04 Roland McGrath <roland@redhat.com>
41577 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41578 (nis_stats): Likewise.
41579 * nis/nis_modify.c (nis_modify): Likewise.
41580 * nis/nis_remove.c (nis_remove): Likewise.
41581 * nis/nis_add.c (nis_add): Likewise.
41583 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41585 * posix/fnmatch_loop.c: Add some consts.
41587 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41589 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41592 * config.make.in (config-cflags-novzeroupper): Define.
41593 * configure.in: Substitute libc_cv_cc_novzeroupper.
41594 * elf/Makefile (AVX-CFLAGS): Define.
41595 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41596 (CFLAGS-tst-auditmod4a.c): Likewise.
41597 (CFLAGS-tst-auditmod4b.c): Likewise.
41598 (CFLAGS-tst-auditmod6b.c): Likewise.
41599 (CFLAGS-tst-auditmod6c.c): Likewise.
41600 (CFLAGS-tst-auditmod7b.c): Likewise.
41601 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41603 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41605 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41606 function to the callback.
41607 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41609 2011-02-02 Andreas Schwab <schwab@redhat.com>
41611 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41614 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41617 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41619 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41621 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41624 * elf/Makefile: Add rules to build and run new test.
41625 * elf/tst-initorder.c: New file.
41626 * elf/tst-initorder.exp: New file.
41627 * elf/tst-initordera1.c: New file.
41628 * elf/tst-initordera2.c: New file.
41629 * elf/tst-initordera3.c: New file.
41630 * elf/tst-initordera4.c: New file.
41631 * elf/tst-initorderb1.c: New file.
41632 * elf/tst-initorderb2.c: New file.
41633 * elf/tst-order-a1.c: New file.
41634 * elf/tst-order-a2.c: New file.
41635 * elf/tst-order-a3.c: New file.
41636 * elf/tst-order-a4.c: New file.
41637 * elf/tst-order-b1.c: New file.
41638 * elf/tst-order-b2.c: New file.
41639 * elf/tst-order-main.c: New file.
41640 New test case by George Gensure <werkt0@gmail.com>.
41642 2010-10-01 Andreas Schwab <schwab@redhat.com>
41644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41645 decoding ACE if AI_CANONIDN.
41647 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41649 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41651 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41653 * version.h (RELEASE): Bump for 2.13 release.
41654 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41656 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41658 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41660 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41662 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41663 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41664 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41665 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41667 * posix/getconf.c: Update copyright year.
41668 * catgets/gencat.c: Likewise.
41669 * csu/version.c: Likewise.
41670 * debug/catchsegv.sh: Likewise.
41671 * debug/xtrace.sh: Likewise.
41672 * elf/ldconfig.c: Likewise.
41673 * elf/ldd.bash.in: Likewise.
41674 * elf/sprof.c (print_version): Likewise.
41675 * iconv/iconv_prog.c: Likewise.
41676 * iconv/iconvconfig.c: Likewise.
41677 * locale/programs/locale.c: Likewise.
41678 * locale/programs/localedef.c: Likewise.
41679 * malloc/memusage.sh: Likewise.
41680 * malloc/mtrace.pl: Likewise.
41681 * nscd/nscd.c (print_version): Likewise.
41682 * nss/getent.c: Likewise.
41684 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41685 PF_CAIF, and PF_ALG.
41686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41688 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41690 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41691 (modules-names): Use them.
41692 (ifunc-test-modules, ifunc-pie-tests): Define.
41693 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41694 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41695 (test-extras): Likewise.
41696 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41697 $(compile-command.c).
41698 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41699 (all-built-dso): Define.
41700 (check-textrel.out, check-execstack.out): Depend on it.
41702 * configure.in: Don't override --enable-multi-arch.
41704 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41707 * nscd/hstcache.c (tryagain): Define.
41708 (cache_addhst): Return tryagain not notfound for temporary errors.
41709 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41712 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41715 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41716 to make the syscall.
41717 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41720 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41721 and fall back to matching as normal character if the string ends before
41722 the matching ']' is found. This is what POSIX requires.
41723 * posix/testfnm.c: Adjust test result.
41724 * posix/globtest.sh: Adjust test result. Add new test.
41725 * posix/tst-fnmatch.input: Likewise.
41726 * posix/tst-fnmatch2.c: Add new test.
41728 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41730 * elf/Makefile (check-execstack): Revert last change. Depend on
41732 (check-execstack.h): New target.
41733 (generated): Add check-execstack.h.
41734 * elf/check-execstack.c: Include "check-execstack.h".
41735 (main): Revert last change.
41736 (handle_file): Return zero if GNU_STACK is absent and
41737 DEFAULT_STACK_PERMS doesn't include PF_X.
41739 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41741 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41742 in child fails because the descriptor is already closed.
41743 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41744 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41745 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41748 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41752 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41753 temporary buffer used to handle multi lookups locally.
41754 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41756 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41758 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41761 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41763 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41764 alignment for SSE2.
41766 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41769 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41770 characters. When rounding increased number of integer digits recompute
41772 * stdio-common/tst-grouping.c: New file.
41773 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41775 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41777 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41778 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41780 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41782 * bits/select.h: Likewise.
41784 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41786 * po/ja.po: Update from translation team.
41788 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41791 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41792 implementation just like for lxstat, fxstatat, et al.
41794 2010-12-27 Jim Meyering <meyering@redhat.com>
41797 * posix/regexec.c (build_trtable): Return failure indication upon
41798 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41800 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41803 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41804 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41805 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41806 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41809 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41812 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41813 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41815 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41817 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41818 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41819 script has SORT_BY_INIT_PRIORITY.
41820 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41821 NO_CTORS_DTORS_SECTIONS is defined.
41822 * elf/soinit.c: Likewise.
41823 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41824 NO_CTORS_DTORS_SECTIONS is defined.
41825 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41826 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41827 * sysdeps/sh/init-first.c: Likewise.
41828 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41830 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41832 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41833 always use the slow path.
41835 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41837 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41838 similar rule which adds the sysdep directories to the header search in
41839 order to pick up the correct platform stackinfo.h.
41840 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41841 perform test if it is, otherwise return successfully without testing.
41842 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41843 DEFAULT_STACK_PERMS define in stackinfo.h.
41844 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41845 defined in stackinfo.h.
41846 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41847 DEFAULT_STACK_PERMS defined in stackinfo.h.
41848 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41849 * sysdeps/ia64/stackinfo.h: Likewise.
41850 * sysdeps/s390/stackinfo.h: Likewise.
41851 * sysdeps/sh/stackinfo.h: Likewise.
41852 * sysdeps/sparc/stackinfo.h: Likewise.
41853 * sysdeps/x86_64/stackinfo.h: Likewise.
41854 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41855 PF_X for powerpc64. Retain PF_X for powerpc32.
41857 2010-12-19 Ulrich Drepper <drepper@gmail.com>
41859 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41861 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41862 GETDENTS_64BIT_ALIGNED.
41864 2010-12-14 Ulrich Drepper <dreper@gmail.com>
41866 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41868 2010-12-10 Andreas Schwab <schwab@redhat.com>
41870 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41873 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41874 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41876 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41877 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41879 2010-12-09 Ulrich Drepper <drepper@gmail.com>
41882 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41885 2010-12-09 Jakub Jelinek <jakub@redhat.com>
41887 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41889 2010-12-03 Ulrich Drepper <drepper@gmail.com>
41891 * po/it.po: Update from translation team.
41893 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41898 2010-11-30 Ulrich Drepper <drepper@gmail.com>
41900 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41902 2010-11-24 Andreas Schwab <schwab@redhat.com>
41904 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41906 (gaih_getanswer_slice): Likewise.
41908 2010-10-20 Jakub Jelinek <jakub@redhat.com>
41910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41912 2010-05-31 Petr Baudis <pasky@suse.cz>
41915 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41916 silently even in the chroot mode.
41918 2010-11-22 Ulrich Drepper <drepper@gmail.com>
41920 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41921 last patch a bit. Pretty printing
41923 2010-05-31 Petr Baudis <pasky@suse.cz>
41926 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41927 initialization of skip_initgroups_dyn.
41929 2010-11-19 Ulrich Drepper <drepper@gmail.com>
41931 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41932 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41934 2010-11-16 Ulrich Drepper <drepper@gmail.com>
41936 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41938 2010-11-11 Andreas Schwab <schwab@redhat.com>
41940 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41941 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41942 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41943 ($(objpfx)tst-fnmatch-mem): New rule.
41944 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41945 * posix/tst-fnmatch.c (main): Call mtrace.
41947 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41950 Support Intel processor model 6 and model 0x2c.
41952 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
41954 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41957 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41960 * string/test-strncasecmp.c (check_result): New function.
41961 (do_one_test): Use it.
41962 (check1): New function.
41963 (test_main): Use it.
41964 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41965 Support strcasecmp and strncasecmp.
41967 2010-11-08 Ulrich Drepper <drepper@gmail.com>
41970 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41971 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41973 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41975 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41979 * sysdeps/x86_64/multiarch/bzero.S: New file.
41980 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41981 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41982 * sysdeps/x86_64/multiarch/memset.S: New file.
41983 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41985 Set bit_Prefer_SSE_for_memop for Intel processors.
41986 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41988 (index_Prefer_SSE_for_memop): Define.
41989 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41991 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
41993 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41994 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41996 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41999 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42000 (__x86_64_raw_data_cache_size_half): Likewise.
42001 (__x86_64_raw_shared_cache_size): Likewise.
42002 (__x86_64_raw_shared_cache_size_half): Likewise.
42004 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42005 (__x86_64_raw_data_cache_size_half): Likewise.
42006 (__x86_64_raw_shared_cache_size): Likewise.
42007 (__x86_64_raw_shared_cache_size_half): Likewise.
42008 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42009 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42010 and __x86_64_raw_shared_cache_size_half. Round
42011 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42012 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42013 to multiple of 256 bytes.
42015 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42018 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42019 of inacessible symlinks. Verify result of symlink before returning it.
42020 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42021 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42023 2010-10-28 Erich Ritz <erichritz@gmail.com>
42025 * math/math.h (isinf): Fix typo in comment.
42027 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42029 * po/da.po: Update from translation team.
42031 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42033 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42034 is added to the list.
42036 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42037 Ulrich Drepper <drepper@gmail.com>
42039 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42040 the global list here. Move code to...
42041 (_dl_add_to_namespace_list): ...here. New function.
42042 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42043 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42044 * elf/dl-load.c (lose): Don't remove the element from the list.
42045 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42046 (_dl_map_object): Likewise.
42048 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42051 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42052 into all bytes of SSE register.
42053 Patch by Richard Li <richardpku@gmail.com>.
42055 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42058 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42061 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42063 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42064 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42065 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42066 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42071 2010-10-22 Andreas Schwab <schwab@redhat.com>
42073 * include/dlfcn.h (__RTLD_SECURE): Define.
42074 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42075 mode & __RTLD_SECURE instead.
42076 (open_path): Rename preloaded parameter to secure.
42077 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42078 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42079 * elf/dl-deps.c (openaux): Likewise.
42080 * elf/rtld.c (struct map_args): Remove is_preloaded.
42081 (map_doit): Don't use it.
42082 (dl_main): Likewise.
42083 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42084 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42086 2010-09-09 Andreas Schwab <schwab@redhat.com>
42088 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42089 (sysd-rules-targets): Remove duplicates.
42090 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42091 rtld-%.$o dependency.
42093 2010-10-18 Andreas Schwab <schwab@redhat.com>
42095 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42096 _dl_map_object do it.
42098 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42100 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42101 fast fma builtins, define the macros in the C99 standard.
42102 (FP_FAST_FMAF): Likewise.
42103 (FP_FAST_FMAL): Likewise.
42104 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42106 * bits/mathdef.h: Update copyright year.
42107 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42109 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42111 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42112 builtins, define the macros in the C99 standard.
42113 (FP_FAST_FMAF): Likewise.
42114 (FP_FAST_FMAL): Likewise.
42115 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42117 (FP_FAST_FMAF): Likewise.
42119 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42122 * math/libm-test.inc (fma_test): Some new testcases.
42123 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42124 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42125 y and infinite z. Do multiplication by C already in long double.
42126 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42128 y and infinite z. Do bitwise or of inexact bit into u.d.
42129 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42130 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42131 * sysdeps/i386/fpu/s_fma.S: Removed.
42132 * sysdeps/i386/fpu/s_fmal.S: Removed.
42134 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42137 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42139 computation is not scheduled after fetestexcept. Fix value
42140 of minimum denormal long double.
42142 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42145 * math/libm-test.inc (fma_test): Add some more tests.
42146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42149 2010-10-15 Andreas Schwab <schwab@redhat.com>
42151 * scripts/data/localplt-s390-linux-gnu.data: New file.
42152 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42154 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42157 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42158 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42160 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42162 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42164 if one of x and y is very large and the other is subnormal.
42165 * sysdeps/s390/fpu/s_fmaf.c: New file.
42166 * sysdeps/s390/fpu/s_fma.c: New file.
42167 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42168 * sysdeps/powerpc/fpu/s_fma.S: New file.
42169 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42170 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42171 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42173 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42176 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42178 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42179 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42180 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42181 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42182 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42183 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42184 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42186 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42189 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42190 * posix/bug-regex31.input: Add test case.
42192 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42194 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42195 * posix/bug-regex31.input: New file.
42198 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42199 (parse_sub_exp): Fix last change, use postorder.
42201 * posix/bug-regex31.c: New file.
42202 * posix/Makefile: Add rules to build and run bug-regex31.
42204 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42207 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42210 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42211 to have entries in sys_siglist.
42214 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42217 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42220 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42221 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42222 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42223 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42224 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42225 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42226 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42227 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42228 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42229 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42230 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42231 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42232 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42233 * math/ftestexcept.c (fetestexcept): Likewise.
42234 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42235 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42236 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42237 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42238 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42239 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42240 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42242 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42245 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42248 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42250 * string/bug-strstr1.c: New file.
42251 * string/Makefile: Add rules to build and run bug-strstr1.
42253 2010-10-05 Eric Blake <eblake@redhat.com>
42256 * string/str-two-way.h (two_way_long_needle): Always clear memory
42257 when skipping input due to the shift table.
42259 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42262 * malloc/mcheck.c: Handle large requests.
42265 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42266 for strncmp and strncasecmp.
42267 * string/stratcliff.c: Add tests for strcmp and strncmp.
42268 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42270 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42272 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42275 2010-09-30 Andreas Jaeger <aj@suse.de>
42277 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42278 (CGROUP_SUPER_MAGIC): Define.
42279 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42280 Handle btrfs and cgroup file systems.
42281 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42284 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42286 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42287 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42289 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42292 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42293 trying to locate the ELF header.
42295 2010-09-27 Andreas Schwab <schwab@redhat.com>
42298 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42299 Mask out sign-bit copies when constructing f_fsid.
42301 2010-09-24 Petr Baudis <pasky@suse.cz>
42303 * debug/stack_chk_fail_local.c: Add missing licence exception.
42304 * debug/warning-nop.c: Likewise.
42306 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42308 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42309 implementing getdents64 using getdents syscall, set d_type if
42310 __ASSUME_GETDENTS32_D_TYPE.
42312 2010-09-16 Andreas Schwab <schwab@redhat.com>
42314 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42315 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42317 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42320 * posix/unistd.h: Undo change of feature selection for ftruncate from
42323 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42325 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42328 2010-09-20 Andreas Schwab <schwab@redhat.com>
42330 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42332 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42334 2010-09-14 Andreas Schwab <schwab@redhat.com>
42336 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42337 variables after CHECK_SP call.
42338 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42340 2010-09-13 Andreas Schwab <schwab@redhat.com>
42341 Ulrich Drepper <drepper@redhat.com>
42343 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42344 re-relocationg ld.so.
42345 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42346 _dl_init_paths call.
42347 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42350 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42352 * resolv/res_init.c (__res_vinit): Count the default server we added.
42354 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42355 Ulrich Drepper <drepper@redhat.com>
42358 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42359 (____longjmp_chk): Use %ebx for saving value across system call.
42362 2010-09-06 Andreas Schwab <schwab@redhat.com>
42364 * manual/Makefile: Don't mix pattern rules with normal rules.
42366 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42368 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42370 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42371 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42372 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42373 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42377 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42380 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42381 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42383 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42385 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42386 * sysdeps/x86_64/addmul_1.S: Likewise.
42387 * sysdeps/x86_64/lshift.S: Likewise.
42388 * sysdeps/x86_64/mul_1.S: Likewise.
42389 * sysdeps/x86_64/rshift.S: Likewise.
42390 * sysdeps/x86_64/sub_n.S: Likewise.
42391 * sysdeps/x86_64/submul_1.S: Likewise.
42393 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42395 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42396 Define __sched_param instead of SCHED_* and sched_param when
42397 <bits/sched.h> is included with __need_schedparam defined.
42398 * bits/sched.h [__need_schedparam]
42399 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42400 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42401 (__defined_schedparam): Define to 1.
42402 (__sched_param): New structure, identical to sched_param.
42403 (__need_schedparam): Undefine.
42405 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42407 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42408 (epoll_create1): Declare.
42410 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42412 2010-08-31 Andreas Schwab <schwab@redhat.com>
42415 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42416 shifting retval into place.
42418 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42420 * nis/rpcsvc/nis.h: Update copyright notice.
42421 * nis/rpcsvc/nis.x: Likewise.
42422 * nis/rpcsvc/nis_callback.h: Likewise.
42423 * nis/rpcsvc/nis_callback.x: Likewise.
42424 * nis/rpcsvc/nis_object.x: Likewise.
42425 * nis/rpcsvc/nis_tags.h: Likewise.
42426 * nis/rpcsvc/yp.h: Likewise.
42427 * nis/rpcsvc/yp.x: Likewise.
42428 * nis/rpcsvc/ypupd.h: Likewise.
42429 * nis/yp_xdr.c: Likewise.
42430 * nis/ypupdate_xdr.c: Likewise.
42432 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42433 mainly the body of pmap_getport. Add parameters to specify timeouts.
42434 (pmap_getport): Use __libc_rpc_getport.
42435 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42436 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42437 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42439 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42444 2010-08-27 Roland McGrath <roland@redhat.com>
42446 * sysdeps/i386/i686/multiarch/Makefile
42447 (CFLAGS-varshift.c): New variable.
42449 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42451 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42452 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42456 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42458 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42460 * sysdeps/x86_64/strlen.S: Unroll the loop.
42461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42462 strlen-sse2 strlen-sse2-bsf.
42463 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42464 __strlen_no_bsf if bit_Slow_BSF is set.
42465 (__strlen_sse42): Removed.
42466 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42467 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42469 2010-08-25 Roland McGrath <roland@redhat.com>
42471 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42472 * sysdeps/x86_64/multiarch/varshift.c: New file.
42473 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42474 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42475 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42476 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42478 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42481 strlen-sse2 strlen-sse2-bsf.
42482 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42483 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42484 (__strlen_sse2): Removed.
42485 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42488 bit_Slow_BSF for Atom.
42489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42490 (index_Slow_BSF): Define.
42491 (HAS_SLOW_BSF): Define.
42493 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42496 * resolv/res_init.c (__res_vinit): When no server address at all
42497 is given default to loopback.
42499 2010-08-24 Roland McGrath <roland@redhat.com>
42501 * configure.in: Remove config-name.h generation.
42502 * configure: Regenerated.
42503 * config-name.in: File removed.
42504 * scripts/config-uname.sh: New file.
42505 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42506 ($(objdir)config-name.h): New target.
42508 * sunrpc/rpc_parse.h: Avoid nested comment.
42510 2010-08-24 Richard Henderson <rth@redhat.com>
42511 Ulrich Drepper <drepper@redhat.com>
42512 H.J. Lu <hongjiu.lu@intel.com>
42514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42516 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42517 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42518 _mm_alignr_epi8 with _mm_loadu_si128.
42519 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42520 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42521 (__m128i_shift_right): Removed.
42522 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42523 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42524 * sysdeps/x86_64/multiarch/varshift.h: New file.
42525 * sysdeps/x86_64/multiarch/varshift.S: New file.
42527 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42529 * configure.in: Move assembler checks to before sysdep dir checking.
42531 2010-08-20 Petr Baudis <pasky@suse.cz>
42533 * LICENSES: Sync the sunrpc license.
42535 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42537 * sunrpc/auth_des.c: Update copyright notice once again.
42538 * sunrpc/auth_none.c: Likewise.
42539 * sunrpc/auth_unix.c: Likewise.
42540 * sunrpc/authdes_prot.c: Likewise.
42541 * sunrpc/authuxprot.c: Likewise.
42542 * sunrpc/bindrsvprt.c: Likewise.
42543 * sunrpc/clnt_gen.c: Likewise.
42544 * sunrpc/clnt_perr.c: Likewise.
42545 * sunrpc/clnt_raw.c: Likewise.
42546 * sunrpc/clnt_simp.c: Likewise.
42547 * sunrpc/clnt_tcp.c: Likewise.
42548 * sunrpc/clnt_udp.c: Likewise.
42549 * sunrpc/clnt_unix.c: Likewise.
42550 * sunrpc/des_crypt.c: Likewise.
42551 * sunrpc/des_soft.c: Likewise.
42552 * sunrpc/get_myaddr.c: Likewise.
42553 * sunrpc/getrpcport.c: Likewise.
42554 * sunrpc/key_call.c: Likewise.
42555 * sunrpc/key_prot.c: Likewise.
42556 * sunrpc/openchild.c: Likewise.
42557 * sunrpc/pm_getmaps.c: Likewise.
42558 * sunrpc/pm_getport.c: Likewise.
42559 * sunrpc/pmap_clnt.c: Likewise.
42560 * sunrpc/pmap_prot.c: Likewise.
42561 * sunrpc/pmap_prot2.c: Likewise.
42562 * sunrpc/pmap_rmt.c: Likewise.
42563 * sunrpc/rpc/auth.h: Likewise.
42564 * sunrpc/rpc/auth_unix.h: Likewise.
42565 * sunrpc/rpc/clnt.h: Likewise.
42566 * sunrpc/rpc/des_crypt.h: Likewise.
42567 * sunrpc/rpc/key_prot.h: Likewise.
42568 * sunrpc/rpc/netdb.h: Likewise.
42569 * sunrpc/rpc/pmap_clnt.h: Likewise.
42570 * sunrpc/rpc/pmap_prot.h: Likewise.
42571 * sunrpc/rpc/pmap_rmt.h: Likewise.
42572 * sunrpc/rpc/rpc.h: Likewise.
42573 * sunrpc/rpc/rpc_des.h: Likewise.
42574 * sunrpc/rpc/rpc_msg.h: Likewise.
42575 * sunrpc/rpc/svc.h: Likewise.
42576 * sunrpc/rpc/svc_auth.h: Likewise.
42577 * sunrpc/rpc/types.h: Likewise.
42578 * sunrpc/rpc/xdr.h: Likewise.
42579 * sunrpc/rpc_clntout.c: Likewise.
42580 * sunrpc/rpc_cmsg.c: Likewise.
42581 * sunrpc/rpc_common.c: Likewise.
42582 * sunrpc/rpc_cout.c: Likewise.
42583 * sunrpc/rpc_dtable.c: Likewise.
42584 * sunrpc/rpc_hout.c: Likewise.
42585 * sunrpc/rpc_main.c: Likewise.
42586 * sunrpc/rpc_parse.c: Likewise.
42587 * sunrpc/rpc_parse.h: Likewise.
42588 * sunrpc/rpc_prot.c: Likewise.
42589 * sunrpc/rpc_sample.c: Likewise.
42590 * sunrpc/rpc_scan.c: Likewise.
42591 * sunrpc/rpc_scan.h: Likewise.
42592 * sunrpc/rpc_svcout.c: Likewise.
42593 * sunrpc/rpc_tblout.c: Likewise.
42594 * sunrpc/rpc_util.c: Likewise.
42595 * sunrpc/rpc_util.h: Likewise.
42596 * sunrpc/rpcinfo.c: Likewise.
42597 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42598 * sunrpc/rpcsvc/key_prot.x: Likewise.
42599 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42600 * sunrpc/rpcsvc/mount.x: Likewise.
42601 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42602 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42603 * sunrpc/rpcsvc/rex.x: Likewise.
42604 * sunrpc/rpcsvc/rstat.x: Likewise.
42605 * sunrpc/rpcsvc/rusers.x: Likewise.
42606 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42607 * sunrpc/rpcsvc/spray.x: Likewise.
42608 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42609 * sunrpc/rtime.c: Likewise.
42610 * sunrpc/svc.c: Likewise.
42611 * sunrpc/svc_auth.c: Likewise.
42612 * sunrpc/svc_authux.c: Likewise.
42613 * sunrpc/svc_raw.c: Likewise.
42614 * sunrpc/svc_run.c: Likewise.
42615 * sunrpc/svc_simple.c: Likewise.
42616 * sunrpc/svc_tcp.c: Likewise.
42617 * sunrpc/svc_udp.c: Likewise.
42618 * sunrpc/svc_unix.c: Likewise.
42619 * sunrpc/svcauth_des.c: Likewise.
42620 * sunrpc/xcrypt.c: Likewise.
42621 * sunrpc/xdr.c: Likewise.
42622 * sunrpc/xdr_array.c: Likewise.
42623 * sunrpc/xdr_float.c: Likewise.
42624 * sunrpc/xdr_mem.c: Likewise.
42625 * sunrpc/xdr_rec.c: Likewise.
42626 * sunrpc/xdr_ref.c: Likewise.
42627 * sunrpc/xdr_sizeof.c: Likewise.
42628 * sunrpc/xdr_stdio.c: Likewise.
42630 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42633 2010-08-19 Andreas Schwab <schwab@redhat.com>
42635 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42637 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42639 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42640 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42641 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42642 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42643 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42644 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42645 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42646 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42647 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42648 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42649 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42650 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42651 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42652 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42654 2010-07-26 Anton Blanchard <anton@samba.org>
42656 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42657 * malloc/arena.c (heap_trim): Likewise.
42659 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42661 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42664 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42666 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42668 * sysdeps/i386/elf/Makefile: New file.
42670 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42672 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42673 from fanotify_init.
42674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42677 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42679 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42681 * sysdeps/multiarch/strcmp.S: Likewise.
42683 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42685 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42686 strncase_l-nonascii.
42687 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42688 Add strncase_l-ssse3.
42689 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42690 * sysdeps/x86_64/strcmp.S: Likewise.
42691 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42692 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42693 * sysdeps/x86_64/strncase.S: New file.
42694 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42695 * sysdeps/x86_64/strncase_l.S: New file.
42696 * string/Makefile (strop-tests): Add strncasecmp.
42697 * string/test-strncasecmp.c: New file.
42699 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42702 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42703 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42705 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42707 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42709 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42711 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42712 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42713 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42715 2010-05-01 Alan Modra <amodra@gmail.com>
42717 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42718 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42719 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42720 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42721 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42722 tidying. Don't tail-call __sigjmp_save for static lib.
42723 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42725 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42726 (CALL_MCOUNT): Add eh info, and nop after bl.
42727 (TAIL_CALL_SYSCALL_ERROR): New macro.
42728 (PSEUDO_RET): Use it.
42729 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42730 Correct save location of integer regs and cr.
42731 (_dl_profile_resolve): Correct cr save location. Delete nops
42732 after bl when SHARED. Reduce cfi size a little by better
42733 placement of cfi directives.
42734 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42735 make a stack frame. Instead use parm save area as a temp.
42736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42737 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42739 Don't make a stack frame for parent, use parm save area.
42740 Increase child stack frame to 112 bytes. Don't save unused reg,
42741 and adjust reg usage. Set up cfi on error recovery and
42742 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42744 (__makecontext): Add dummy nop after jump to exit.
42745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42746 Use correct parm save area and cr save, reduce stack frame.
42747 Correct cfi for possible PSEUDO_RET frame setup.
42748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42749 Branch to local label emitted by PSEUDO_RET rather than
42752 2010-08-12 Andreas Schwab <schwab@redhat.com>
42755 * locale/programs/locale.c (print_assignment): New function.
42756 (show_locale_vars): Use it.
42758 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42760 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42762 (struct statfs64): Likewise.
42763 (_STATFS_F_FLAGS): Define.
42764 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42765 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42766 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42767 (ST_VALID): Define locally.
42768 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42769 __statvfs_getflags, use the provided value.
42770 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42771 __ASSUME_STATFS_F_FLAGS.
42773 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42775 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42776 Add sys/fanotify.h.
42777 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42778 fanotify_mask for GLIBC_2.13.
42779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42780 fanotify_init and fanotify_mark.
42781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42782 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42784 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42786 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42787 prlimit64 for GLIBC_2.13.
42788 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42790 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42793 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42794 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42795 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42796 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42798 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42801 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42802 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42804 * nss/Makefile: Add rules to build and run tst-nss-test1.
42805 * shlib-versions: Add entry for libnss_test1.
42806 * nss/nss_test1.c: New file.
42807 * nss/tst-nss-test1.c: New file.
42809 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42810 (__nss_configure_lookup): Set appropriate entry in
42811 __nss_configure_lookup to true.
42812 * nss/nsswitch.h: Define enum with indeces of databases in
42813 databases and __nss_database_custom arrays. Declare
42814 __nss_database_custom.
42815 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42816 to avoid using nscd when custom rules are installed.
42817 * nss/getXXbyYY_r.c: Likewise.
42818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42820 * nss/nss_files/files-parse.c: Whitespace fixes.
42822 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42825 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42826 * posix/fnmatch_loop.c: Likewise.
42828 2010-07-17 Andi Kleen <ak@linux.intel.com>
42830 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42831 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42832 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42833 * Versions.def [GLIBC_2.13]: Add.
42835 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42837 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42838 Also fail if tpwd after pwuid call is NULL.
42840 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42842 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42843 when converting to ms.
42845 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42847 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42848 EOPNOTSUPP errors with ENOTTY.
42849 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42850 EOPNOTSUPP errors with ENOTTY.
42852 2010-07-31 Ulrich Drepper <drepper@redhat.com>
42854 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42855 Add strcasecmp_l-ssse3.
42856 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42858 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42859 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42860 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42862 2010-07-30 Ulrich Drepper <drepper@redhat.com>
42864 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42866 * string/Makefile (strop-tests): Add strcasecmp.
42867 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42868 strcasecmp_l-nonascii.
42869 (gen-as-const-headers): Add locale-defines.sym.
42870 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42871 * sysdeps/x86_64/strcasecmp.S: New file.
42872 * sysdeps/x86_64/strcasecmp_l.S: New file.
42873 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42874 * sysdeps/x86_64/locale-defines.sym: New file.
42875 * string/test-strcasecmp.c: New file.
42877 * string/test-strcasestr.c: Test both ends of the range of characters.
42878 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42880 2010-07-29 Roland McGrath <roland@redhat.com>
42883 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42885 2010-07-27 Ulrich Drepper <drepper@redhat.com>
42887 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42890 2010-07-27 Andreas Schwab <schwab@redhat.com>
42892 * manual/memory.texi (Malloc Tunable Parameters): Document
42895 2010-07-26 Roland McGrath <roland@redhat.com>
42898 * configure.in (-fgnu89-inline check): Set and substitute
42899 gnu89_inline, not libc_cv_gnu89_inline.
42900 * configure: Regenerated.
42901 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42903 2010-07-26 Ulrich Drepper <drepper@redhat.com>
42905 * string/test-strnlen.c: New file.
42906 * string/Makefile (strop-tests): Add strnlen.
42907 * string/tester.c (test_strnlen): Add a few more test cases.
42908 * string/tst-strlen.c: Better error reporting.
42910 * sysdeps/x86_64/strnlen.S: New file.
42912 2010-07-24 Ulrich Drepper <drepper@redhat.com>
42914 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42915 lower-latency instructions.
42917 2010-07-23 Ulrich Drepper <drepper@redhat.com>
42919 * string/test-strcasestr.c: New file.
42920 * string/test-strstr.c: New file.
42921 * string/Makefile (strop-tests): Add strstr and strcasestr.
42922 * string/str-two-way.h: Don't undefine MAX.
42923 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42925 2010-07-21 Andreas Schwab <schwab@redhat.com>
42927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42928 strcasestr-nonascii.
42929 (CFLAGS-strcasestr-nonascii.c): Define.
42930 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42931 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42932 Remove unused attribute.
42934 2010-07-20 Roland McGrath <roland@redhat.com>
42936 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42937 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42938 ld.so.cache was broken. With it, there is no way to disable dsocaps
42939 like LD_HWCAP_MASK can disable hwcaps.
42941 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42943 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42945 2010-07-16 Ulrich Drepper <drepper@redhat.com>
42947 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42948 call in strcasestr.
42949 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42950 __strcasestr_sse42_nonascii.
42951 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42952 strcasestr-nonascii.c.
42953 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42955 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
42957 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42958 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42959 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42960 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42962 2010-07-09 Ulrich Drepper <drepper@redhat.com>
42964 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42967 2010-07-06 Andreas Schwab <schwab@redhat.com>
42970 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42973 2010-07-06 Ulrich Drepper <drepper@redhat.com>
42975 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42976 _PC_PIPE_BUF using F_GETPIPE_SZ.
42978 2010-07-05 Roland McGrath <roland@redhat.com>
42980 * manual/arith.texi (Rounding Functions): Fix rint description
42981 implicit in round description.
42983 2010-07-02 Ulrich Drepper <drepper@redhat.com>
42985 * elf/Makefile: Fix linking for a few tests to make recent linker
42988 2010-06-30 Andreas Schwab <schwab@redhat.com>
42990 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42991 $(common-objpfx)libc_nonshared.a.
42993 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
42995 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42996 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42997 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42998 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42999 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43000 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43001 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43002 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43017 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43018 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43019 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43020 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43021 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43022 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43023 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43024 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43025 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43026 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43027 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43028 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43044 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43046 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43047 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43048 * string/memmove.c (memmove): Renamed to ...
43049 (MEMMOVE): ...this. Default to memmove.
43050 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43051 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43054 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43055 mempcpy-ssse3-back memmove-ssse3-back.
43056 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43057 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43058 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43059 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43060 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43061 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43062 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43063 * sysdeps/x86_64/multiarch/memmove.c: New file.
43064 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43065 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43066 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43067 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43068 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43069 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43071 (index_Fast_Copy_Backward): Define.
43072 (HAS_ARCH_FEATURE): Define.
43073 (HAS_FAST_REP_STRING): Define.
43074 (HAS_FAST_COPY_BACKWARD): Define.
43076 2010-06-21 Andreas Schwab <schwab@redhat.com>
43078 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43079 Restore proper fallback handling.
43081 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43084 * posix/group_member.c (__group_member): Correct checking loop.
43086 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43087 OOM in getpwuid_r correctly. Return error number when the caller
43088 should return, otherwise -1.
43089 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43090 call returning > 0 value.
43091 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43093 2010-06-07 Andreas Schwab <schwab@redhat.com>
43095 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43096 libc_nonshared.a from targets in modules-names.
43098 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43100 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43103 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43105 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43106 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43108 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43110 2010-06-02 Andreas Schwab <schwab@redhat.com>
43112 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43114 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43116 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43118 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43122 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43123 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43125 2010-06-14 Roland McGrath <roland@redhat.com>
43127 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43129 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43131 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43132 __REDIRECT followed by __THROW.
43133 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43134 * posix/getopt.h (getopt): Likewise.
43136 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43138 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43139 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43140 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43142 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43143 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43145 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43147 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43149 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43153 Properly check family and model.
43155 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43157 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43159 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43161 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43163 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43165 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43168 2010-05-19 Andreas Schwab <schwab@redhat.com>
43170 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43173 2010-05-21 Andreas Schwab <schwab@redhat.com>
43175 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43176 and internal_recvmmsg.
43177 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43178 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43179 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43180 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43182 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43183 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43184 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43186 2010-05-20 Andreas Schwab <schwab@redhat.com>
43188 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43190 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43192 POWER7 optimizations.
43193 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43194 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43196 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43198 * version.h: Update for 2.13 development version.
43200 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43202 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43203 exceptions. Return 0.
43205 2010-05-07 Roland McGrath <roland@redhat.com>
43207 * elf/ldconfig.c (main): Add a const.
43209 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43211 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43212 (args_options): Add no-idn option.
43213 (ahosts_keys_int): Add idn_flags to ai_flags.
43214 (parse_option): Handle 'i' option to clear idn_flags.
43216 * malloc/malloc.c (_int_free): Possible race in the most recently
43217 added check. Only act on the data if no current modification
43220 See ChangeLog.17 for earlier changes.