1 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4 Make the test a no-op if there are no exceptions defined.
6 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8 * elf/Makefile (tests): make tst-dlopen-aout conditional on
9 enable-hardcoded-path-in-tests
11 2014-04-11 Will Newton <will.newton@linaro.org>
13 * benchtests/Makefile (extra-objs): Add json-lib.o.
14 (bench-func): Tidy up JSON output.
15 * benchtests/bench-skeleton.c: Include json-lib.h.
16 (main): Use JSON library functions to do output of
18 * benchtests/bench-timing-type.c (main): Output the
19 timing type simply, leaving formatting to the user.
20 * benchtests/json-lib.c: New file.
21 * benchtests/json-lib.h: Likewise.
23 2014-04-11 Torvald Riegel <triegel@redhat.com>
26 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
27 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
28 memory barriers. Add comments.
29 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
30 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
31 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
32 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
33 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
36 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
38 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
39 * sysdeps/s390/s390-64/configure.ac: ... this ...
40 * sysdeps/s390/configure.ac: ... to here.
41 * sysdeps/s390/s390-32/configure: Delete file.
42 * sysdeps/s390/s390-64/configure: Delete file.
43 * sysdeps/s390/configure: Regenerate.
45 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
47 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
49 2014-04-11 Will Newton <will.newton@linaro.org>
51 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
52 to zero if it is not defined elsewhere. (mtrim): Test
53 the value of MALLOC_DEBUG with #if rather than #ifdef.
55 2014-04-10 Torvald Riegel <triegel@redhat.com>
57 * benchtests/pthread_once-inputs: New file.
58 * benchtests/pthread_once-source.c: New file.
59 * benchtests/README: Update documentation.
61 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
62 H.J. Lu <hongjiu.lu@intel.com>
64 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
65 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
66 * sysdeps/x86_64/configure: Regenerated.
67 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
69 (REGISTER_SAVE_RAX): Likewise.
70 (REGISTER_SAVE_RCX): Likewise.
71 (REGISTER_SAVE_RDX): Likewise.
72 (REGISTER_SAVE_RSI): Likewise.
73 (REGISTER_SAVE_RDI): Likewise.
74 (REGISTER_SAVE_R8): Likewise.
75 (REGISTER_SAVE_R9): Likewise.
76 (REGISTER_SAVE_BND0): Likewise.
77 (REGISTER_SAVE_BND1): Likewise.
78 (REGISTER_SAVE_BND2): Likewise.
79 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
80 bound registers when calling _dl_fixup.
82 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
85 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
87 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
88 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
89 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
90 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
91 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
92 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
93 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
95 2014-04-09 Peter Brett <peter@peter-b.co.uk>
98 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
99 pathconf(_PC_NAME_MAX).
101 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
103 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
105 (__PTHREAD_SPINS): Move definition to ...
106 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
107 (__PTHREAD_SPINS): ... here.
108 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
109 (__PTHREAD_SPIN): Likewise.
110 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
111 (__PTHREAD_SPIN): Likewise.
112 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
113 (__PTHREAD_SPIN): Likewise.
114 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
115 (__PTHREAD_SPIN): Likewise.
116 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
117 (__PTHREAD_SPIN): Likewise.
118 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
119 (__PTHREAD_SPIN): Likewise.
120 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
121 (__PTHREAD_SPIN): Likewise.
122 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
123 (__PTHREAD_SPIN): Likewise.
124 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
125 (__PTHREAD_SPIN): Likewise.
126 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
127 (__PTHREAD_SPIN): Likewise.
128 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
129 (__PTHREAD_SPIN): Likewise.
130 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
131 (__PTHREAD_SPIN): Likewise.
133 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
135 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
136 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
137 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
138 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
140 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
141 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
142 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
143 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
145 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
146 strlen symbol for non multi-arch builds.
147 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
148 missing hidden_def and weak_alias.
150 2014-04-08 Carlos O'Donell <carlos@redhat.com>
152 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
154 2014-04-07 Will Newton <will.newton@linaro.org>
156 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
157 and contents. [!_LIBC] Remove #ifndef and contents.
158 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
159 * string/memccpy.c (__memccpy): Use ANSI prototype.
160 * string/memfrob.c (memfrob): Likewise.
161 * string/strcoll.c (STRCOLL): Likewise.
162 * string/strlen.c (strlen): Likewise.
163 * string/strtok.c (STRTOK): Likewise.
164 * string/strcat.c: Remove unused #include of memcopy.h.
165 (strcat): Use ANSI prototype.
166 * string/strchr.c: Remove unused #include of memcopy.h.
167 (strchr): Use ANSI prototype.
168 * string/strcmp.c: Remove unused #include of memcopy.h.
169 (strcmp): Use ANSI prototype.
170 * string/strcpy.c: Remove unused #include of memcopy.h.
171 (strcpy): Use ANSI prototype.
173 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
175 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
176 * config.make.in (config-extra-cppflags): Set it from
178 * configure.ac (libc_extra_cflags): Make it accumulate over
180 (libc_extra_cppflags): New flag.
181 * configure. Regenerate.
182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
183 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
184 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
187 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
190 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
191 result for FE_DOWNWARD rounding mode.
192 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
196 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
198 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
199 in function argument name.
201 2014-04-03 David Svoboda <svoboda@cert.org>
204 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
207 2014-04-03 Roland McGrath <roland@hack.frob.com>
209 * elf/dl-unmap-segments.h: New file.
210 * sysdeps/generic/ldsodefs.h
211 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
212 * elf/dl-close.c: Include <dl-unmap-segments.h>.
213 * elf/dl-fptr.c: Likewise.
214 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
215 * sysdeps/aarch64/tlsdesc.c: Likewise.
216 * sysdeps/arm/tlsdesc.c: Likewise.
217 * sysdeps/i386/tlsdesc.c: Likewise.
218 * sysdeps/tile/dl-runtime.c: Likewise.
219 * sysdeps/x86_64/tlsdesc.c: Likewise.
220 * elf/dl-load.h: New file.
221 * elf/dl-load.c: Include it.
222 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
223 Macros moved to dl-load.h.
224 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
225 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
226 Use _dl_unmap_segments in place of __munmap.
227 Break out segment-mapping loop into ...
228 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
230 2014-04-03 Will Newton <will.newton@linaro.org>
232 * elf/dl-lookup.c (do_lookup_x): Remove comment
233 referring to nested function and move variable
234 declarations down to before first use.
236 2014-04-02 Joseph Myers <joseph@codesourcery.com>
240 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
242 * math/s_catanf.c (__catanf): Likewise.
243 * math/s_catanh.c (__catanh): Likewise.
244 * math/s_catanhf.c (__catanhf): Likewise.
245 * math/s_catanhl.c (__catanhl): Likewise.
246 * math/s_catanl.c (__catanl): Likewise.
247 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
248 by positive zero when computing -Inf result.
249 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
250 (catanh_test): Likewise.
251 * sysdeps/i386/fpu/libm-test-ulps: Update.
252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
255 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
256 instead of using underflowing value in computing result.
257 * math/s_clog10.c (__clog10): Likewise.
258 * math/s_clog10f.c (__clog10f): Likewise.
259 * math/s_clog10l.c (__clog10l): Likewise.
260 * math/s_clogf.c (__clogf): Likewise.
261 * math/s_clogl.c (__clogl): Likewise.
262 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
263 (clog10_test): Likewise.
264 * sysdeps/i386/fpu/libm-test-ulps: Update.
265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
267 2014-04-02 Alan Modra <amodra@gmail.com>
270 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
271 output when value is near a power of two. Use int64_t for lx and
272 remove casts. Use decimal rather than hex exponent constants.
273 Don't use long double multiplication when double will suffice.
274 * math/libm-test.inc (nextafter_test_data): Add tests.
275 * NEWS: Add 16739 and 16786 to bug list.
277 2014-04-02 Alan Modra <amodra@gmail.com>
279 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
281 2014-04-02 Alan Modra <amodra@gmail.com>
283 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
285 2014-04-01 Will Newton <will.newton@linaro.org>
287 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
288 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
290 2014-04-01 Florian Weimer <fweimer@redhat.com>
293 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
294 * nptl/tst-setuid2.c: New file.
295 * nptl/Makefile (xtests): Add tst-setuid2.
297 2014-04-01 Alan Modra <amodra@gmail.com>
300 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
302 2014-03-31 Joseph Myers <joseph@codesourcery.com>
306 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
307 set errno as appropriate.
308 * math/w_scalbf.c (__scalbf): Likewise.
309 * math/w_scalbl.c (__scalbl): Likewise.
310 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
311 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
312 * math/libm-test.inc (scalb_test_data): Add errno expectations.
316 * math/w_atan2.c: Include <errno.h>.
317 (__atan2): Set errno for result underflowing to zero.
318 * math/w_atan2f.c: Include <errno.h>.
319 (__atan2f): Set errno for result underflowing to zero.
320 * math/w_atan2l.c: Include <errno.h>.
321 (__atan2l): Set errno for result underflowing to zero.
322 * math/auto-libm-test-in: Don't allow missing errno for some atan2
324 * math/auto-libm-test-out: Regenerated.
326 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
328 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
329 Encode instruction correctly in little endian.
330 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
332 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
334 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
336 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
339 2014-03-31 Joseph Myers <joseph@codesourcery.com>
342 * sysdeps/unix/sysv/linux/kernel-features.h
343 [__sparc__ && !__arch64__ && !__sparc_v9__]
344 (__ASSUME_SET_ROBUST_LIST): Do not define.
345 [__sparc__ && !__arch64__ && !__sparc_v9__]
346 (__ASSUME_FUTEX_LOCK_PI): Likewise.
347 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
349 * sysdeps/unix/sysv/linux/arm/kernel-features.h
350 (__ASSUME_FUTEX_LOCK_PI): Undefine.
351 (__ASSUME_REQUEUE_PI): Likewise.
352 (__ASSUME_SET_ROBUST_LIST): Likewise.
353 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
354 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
356 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
357 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
359 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
361 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
363 * sysdeps/unix/sysv/linux/mips/kernel-features.h
364 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
366 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
367 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
371 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
372 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
373 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
375 2014-03-31 Will Newton <will.newton@linaro.org>
377 * benchtests/Makefile (bench): Add ffs and ffsll to list
379 * benchtests/ffs-inputs: New file.
380 * benchtests/ffsll-inputs: Likewise.
382 2014-03-29 Joseph Myers <joseph@codesourcery.com>
385 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
386 too large before casting to int.
387 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
388 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
389 * math/libm-test.inc (scalb_test_data): Add more tests.
391 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
393 * benchtests/Makefile (DETAILED_OPT): New make option.
394 (bench-func): Run benchmark program with -d if DETAILED_OPT is
396 * benchtests/bench-skeleton.c: Include stdbool.h.
397 (main): Store and print timings per input.
398 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
399 member to each argument value.
400 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
401 (_print_arg_data): Initialize per-input timing to 0.
403 * benchtests/Makefile (timing-type): New binary.
404 (bench-clean): Also remove bench-timing-type.
405 (bench): New target for timing-type.
406 (bench-func): Print output in JSON format.
407 * benchtests/bench-skeleton.c (main): Print output in JSON
409 * benchtests/bench-timing-type.c: New file.
410 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
411 (TIMING_PRINT_STATS): Remove.
412 * benchtests/scripts/bench.py (_print_arg_data): Store variant
415 * benchtests/bench-modf.c: Remove.
416 * benchtests/modf-inputs: New inputs file.
418 2014-03-28 Joseph Myers <joseph@codesourcery.com>
421 * math/s_clog10.c (M_PI_LOG10E): New macro.
422 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
423 imaginary parts are 0.
424 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
425 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
426 imaginary parts are 0.
427 * math/s_clog10l.c (M_PI_LOG10El): New macro.
428 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
429 imaginary parts are 0.
430 * math/libm-test.inc (clog10_test_data): Update expected results
431 for when real and imaginary parts are 0.
433 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
435 * elf/dl-load.c: Finish conversion of __builtin_expect into
438 2014-03-27 Joseph Myers <joseph@codesourcery.com>
441 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
442 1+x for argument with exponent below -67.
443 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
445 * math/auto-libm-test-in: Add more tests of exp.
446 * math/auto-libm-test-out: Regenerated.
448 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
451 * inet/getnetgrent_r.c (get_nonempty_val): New function.
452 (nscd_getnetgrent): Use it.
455 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
458 2014-03-27 Andi Kleen <ak@linux.intel.com>
460 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
461 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
462 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
463 Remove out of line section. Use cfi intrinsics.
464 (LLL_STUB_UNWIND_INFO*): Remove.
465 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
466 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
467 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
468 Remove out of line section. Use cfi intrinsics.
469 (LLL_STUB_UNWIND_INFO*): Remove.
471 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
474 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
477 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
479 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
481 2014-03-26 Joseph Myers <joseph@codesourcery.com>
484 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
486 * math/test-fenv-preserve.c: New file.
487 * math/Makefile (tests): Add test-fenv-preserve.
489 2014-03-26 Will Newton <will.newton@linaro.org>
491 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
493 2014-03-25 Roland McGrath <roland@hack.frob.com>
495 * scripts/versionlist.awk: Partition the version sets and emit all
496 GLIBC_* (sorted) before all others (sorted).
498 2014-03-25 Joseph Myers <joseph@codesourcery.com>
500 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
503 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
505 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
508 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
510 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
513 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
517 2014-03-25 Andreas Schwab <schwab@suse.de>
519 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
520 label to be used after in6ailist is initialized.
522 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
524 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
525 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
527 2014-03-25 Joseph Myers <joseph@codesourcery.com>
531 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
533 (fp_formats): Update initializers.
534 (init_fp_formats): Initialize new field.
535 (output_for_one_input_case): Allow underflow for results up to
537 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
538 * math/auto-libm-test-in: Don't mark some underflows from asin and
540 * math/auto-libm-test-out: Regenerated.
541 * sysdeps/i386/fpu/libm-test-ulps: Update.
542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
544 2014-03-25 Andreas Schwab <schwab@suse.de>
546 * libio/Makefile (tst-ftell-partial-wide-ENV)
547 (tst-ftell-active-handler-ENV): Define.
549 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
551 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
553 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
555 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
557 2014-03-24 Joseph Myers <joseph@codesourcery.com>
559 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
560 * sysdeps/x86_64/fpu/multiarch/e_exp.c
561 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
563 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
566 * elf/dl-load.c (open_verify): Add mode parameter.
567 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
568 (open_path): Change from boolean 'secure' to complete flag 'mode'
569 (_dl_map_object): Adjust.
570 * elf/Makefile (tests): Add tst-dlopen-aout.
571 * elf/tst-dlopen-aout.c: New test.
573 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
576 * sysdeps/unix/sysv/linux/s390/bits/stat.h
577 (struct stat): Rename member pad0 to __glibc_reserved0.
579 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
582 * sysdeps/s390/s390-32/bits/wordsize.h
583 (__WORDSIZE32_SIZE_ULONG): New define.
584 * sysdeps/s390/s390-64/bits/wordsize.h
585 (__WORDSIZE32_SIZE_ULONG): Likewise.
586 * sysdeps/generic/stdint.h (SIZE_MAX):
587 Define as UL if __WORDSIZE32_SIZE_ULONG.
589 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
592 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
593 (__glibc_reserved0): New variable.
594 (sa_flags): Change type to int.
596 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
598 * posix/Makefile (before-compile): Use += before-compile instead
601 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
603 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
604 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
606 2014-03-20 Andreas Schwab <schwab@suse.de>
609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
610 non-matching result from nscd.
612 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
614 * scripts/bench.py: Moved to ...
615 * benchtests/scripts/bench.py: ... here.
616 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
618 2014-03-24 Andreas Schwab <schwab@suse.de>
621 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
622 alloca_account and account alloca use for struct in6ailist.
624 2014-03-24 Joseph Myers <joseph@codesourcery.com>
627 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
628 rounding mode to recompute results that overflow to infinity or
630 * math/auto-libm-test-in: Don't mark tests as expected to fail for
632 * math/auto-libm-test-out: Regenerated.
633 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
634 (ccosh_test): Likewise.
635 (csin_test_data): Use plus_oflow.
636 (csin_test): Use ALL_RM_TEST.
637 (csinh_test_data): Use plus_oflow.
638 (csinh_test): Use ALL_RM_TEST.
639 * sysdeps/i386/fpu/libm-test-ulps: Update.
640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
642 2014-03-21 Joseph Myers <joseph@codesourcery.com>
644 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
645 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
646 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
649 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
651 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
652 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
653 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
654 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
656 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
657 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
659 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
660 * sysdeps/i386/fpu/libm-test-ulps: Update.
661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
663 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
665 * scripts/bench.pl: Remove file.
666 * scripts/bench.py: New benchmark script.
667 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
668 * benchtests/README: Mention python dependency.
669 * scripts/pylintrc: New file.
670 * scripts/pylint: New file.
672 * bits/mathdef.h: Use #ifdef instead of #if.
673 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
674 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
675 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
676 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
677 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
678 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
680 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
681 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
683 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
685 and strpbrk-ppc64 objects.
686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
687 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
688 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
689 multiarch strpbrk for POWER7.
690 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
691 multiarch strpbrk for PPC64.
692 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
694 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
697 2014-03-20 Joseph Myers <joseph@codesourcery.com>
699 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
700 (atan_test): Likewise.
701 (atanh_test_data): Use NO_TEST_INLINE for two tests.
702 (atanh_test): Use ALL_RM_TEST.
703 (atan2_test_data): Likewise.
704 (cabs_test): Likewise.
705 (cacosh_test): Likewise.
706 (carg_test): Likewise.
707 (casin_test): Likewise.
708 (casinh_test): Likewise.
709 (cbrt_test): Likewise.
710 (csqrt_test): Likewise.
711 (erf_test): Likewise.
712 (erfc_test): Likewise.
713 (pow10_test): Likewise.
714 (exp2_test): Likewise.
715 (hypot_test): Likewise.
718 (lgamma_test): Likewise.
719 (gamma_test): Likewise.
720 (sincos_test): Likewise.
721 (tanh_test): Likewise.
724 * sysdeps/i386/fpu/libm-test-ulps: Update.
725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
727 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
729 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
731 and strcspn-ppc64 objects.
732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
733 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
734 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
735 multiarch strcspn for POWER7.
736 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
737 multiarch strcspn for PPC64.
738 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
740 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
743 2014-03-20 Joseph Myers <joseph@codesourcery.com>
745 * math/gen-libm-test.pl (generate_testfile): Expect only function
746 name as argument to AUTO_TESTS_* and pass results for all rounding
748 (parse_auto_input): Separate inputs of automatic tests from
749 outputs before storing in %auto_tests.
750 * math/libm-test.inc (acos_test_data): Update call to
752 (acos_test): Use ALL_RM_TEST.
753 (acos_tonearest_test_data): Remove.
754 (acos_test_tonearest): Likewise.
755 (acos_towardzero_test_data): Likewise.
756 (acos_test_towardzero): Likewise.
757 (acos_downward_test_data): Likewise.
758 (acos_test_downward): Likewise.
759 (acos_upward_test_data): Likewise.
760 (acos_test_upward): Likewise.
761 (acosh_test_data): Update call to AUTO_TESTS_f_f.
762 (asin_test_data): Likewise.
763 (asin_test): Use ALL_RM_TEST.
764 (asin_tonearest_test_data): Remove.
765 (asin_test_tonearest): Likewise.
766 (asin_towardzero_test_data): Likewise.
767 (asin_test_towardzero): Likewise.
768 (asin_downward_test_data): Likewise.
769 (asin_test_downward): Likewise.
770 (asin_upward_test_data): Likewise.
771 (asin_test_upward): Likewise.
772 (asinh_test_data): Update call to AUTO_TESTS_f_f.
773 (atan_test_data): Likewise.
774 (atanh_test_data): Likewise.
775 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
776 (cabs_test_data): Update call to AUTO_TESTS_c_f.
777 (carg_test_data): Likewise.
778 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
779 (ccos_test_data): Update call to AUTO_TESTS_c_c.
780 (ccosh_test_data): Likewise.
781 (cexp_test_data): Likewise.
782 (clog_test_data): Likewise.
783 (clog10_test_data): Likewise.
784 (cos_test_data): Update call to AUTO_TESTS_f_f.
785 (cos_test): Use ALL_RM_TEST.
786 (cos_tonearest_test_data): Remove.
787 (cos_test_tonearest): Likewise.
788 (cos_towardzero_test_data): Likewise.
789 (cos_test_towardzero): Likewise.
790 (cos_downward_test_data): Likewise.
791 (cos_test_downward): Likewise.
792 (cos_upward_test_data): Likewise.
793 (cos_test_upward): Likewise.
794 (cosh_test_data): Update call to AUTO_TESTS_f_f.
795 (cosh_test): Use ALL_RM_TEST.
796 (cosh_tonearest_test_data): Remove.
797 (cosh_test_tonearest): Likewise.
798 (cosh_towardzero_test_data): Likewise.
799 (cosh_test_towardzero): Likewise.
800 (cosh_downward_test_data): Likewise.
801 (cosh_test_downward): Likewise.
802 (cosh_upward_test_data): Likewise.
803 (cosh_test_upward): Likewise.
804 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
805 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
806 (ctan_test_data): Likewise.
807 (ctan_test): Use ALL_RM_TEST.
808 (ctan_tonearest_test_data): Remove.
809 (ctan_test_tonearest): Likewise.
810 (ctan_towardzero_test_data): Likewise.
811 (ctan_test_towardzero): Likewise.
812 (ctan_downward_test_data): Likewise.
813 (ctan_test_downward): Likewise.
814 (ctan_upward_test_data): Likewise.
815 (ctan_test_upward): Likewise.
816 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
817 (ctanh_test): Use ALL_RM_TEST.
818 (ctanh_tonearest_test_data): Remove.
819 (ctanh_test_tonearest): Likewise.
820 (ctanh_towardzero_test_data): Likewise.
821 (ctanh_test_towardzero): Likewise.
822 (ctanh_downward_test_data): Likewise.
823 (ctanh_test_downward): Likewise.
824 (ctanh_upward_test_data): Likewise.
825 (ctanh_test_upward): Likewise.
826 (erf_test_data): Update call to AUTO_TESTS_f_f.
827 (erfc_test_data): Likewise.
828 (exp_test_data): Likewise.
829 (exp_test): Use ALL_RM_TEST.
830 (exp_tonearest_test_data): Remove.
831 (exp_test_tonearest): Likewise.
832 (exp_towardzero_test_data): Likewise.
833 (exp_test_towardzero): Likewise.
834 (exp_downward_test_data): Likewise.
835 (exp_test_downward): Likewise.
836 (exp_upward_test_data): Likewise.
837 (exp_test_upward): Likewise.
838 (exp10_test_data): Update call to AUTO_TESTS_f_f.
839 (exp10_test): Use ALL_RM_TEST.
840 (exp10_tonearest_test_data): Remove.
841 (exp10_test_tonearest): Likewise.
842 (exp10_towardzero_test_data): Likewise.
843 (exp10_test_towardzero): Likewise.
844 (exp10_downward_test_data): Likewise.
845 (exp10_test_downward): Likewise.
846 (exp10_upward_test_data): Likewise.
847 (exp10_test_upward): Likewise.
848 (exp2_test_data): Update call to AUTO_TESTS_f_f.
849 (expm1_test_data): Likewise.
850 (expm1_test): Use ALL_RM_TEST.
851 (expm1_tonearest_test_data): Remove.
852 (expm1_test_tonearest): Likewise.
853 (expm1_towardzero_test_data): Likewise.
854 (expm1_test_towardzero): Likewise.
855 (expm1_downward_test_data): Likewise.
856 (expm1_test_downward): Likewise.
857 (expm1_upward_test_data): Likewise.
858 (expm1_test_upward): Likewise.
859 (fma_test_data): Update call to AUTO_TESTS_fff_f.
860 (fma_test): Use ALL_RM_TEST.
861 (fma_towardzero_test_data): Remove.
862 (fma_test_towardzero): Likewise.
863 (fma_downward_test_data): Likewise.
864 (fma_test_downward): Likewise.
865 (fma_upward_test_data): Likewise.
866 (fma_test_upward): Likewise.
867 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
868 (j0_test_data): Update call to AUTO_TESTS_f_f.
869 (j1_test_data): Likewise.
870 (jn_test_data): Update call to AUTO_TESTS_if_f.
871 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
872 (log_test_data): Update call to AUTO_TESTS_f_f.
873 (log10_test_data): Likewise.
874 (log1p_test_data): Likewise.
875 (log2_test_data): Likewise.
876 (pow_test_data): Update call to AUTO_TESTS_ff_f.
877 (pow_tonearest_test_data): Likewise.
878 (sin_test_data): Update call to AUTO_TESTS_f_f.
879 (sin_test): Use ALL_RM_TEST.
880 (sin_tonearest_test_data): Remove.
881 (sin_test_tonearest): Likewise.
882 (sin_towardzero_test_data): Likewise.
883 (sin_test_towardzero): Likewise.
884 (sin_downward_test_data): Likewise.
885 (sin_test_downward): Likewise.
886 (sin_upward_test_data): Likewise.
887 (sin_test_upward): Likewise.
888 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
889 (sinh_test_data): Update call to AUTO_TESTS_f_f.
890 (sinh_test): Use ALL_RM_TEST.
891 (sinh_tonearest_test_data): Remove.
892 (sinh_test_tonearest): Likewise.
893 (sinh_towardzero_test_data): Likewise.
894 (sinh_test_towardzero): Likewise.
895 (sinh_downward_test_data): Likewise.
896 (sinh_test_downward): Likewise.
897 (sinh_upward_test_data): Likewise.
898 (sinh_test_upward): Likewise.
899 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
900 (sqrt_test): Use ALL_RM_TEST.
901 (sqrt_tonearest_test_data): Remove.
902 (sqrt_test_tonearest): Likewise.
903 (sqrt_towardzero_test_data): Likewise.
904 (sqrt_test_towardzero): Likewise.
905 (sqrt_downward_test_data): Likewise.
906 (sqrt_test_downward): Likewise.
907 (sqrt_upward_test_data): Likewise.
908 (sqrt_test_upward): Likewise.
909 (tan_test_data): Update call to AUTO_TESTS_f_f.
910 (tan_test): Use ALL_RM_TEST.
911 (tan_tonearest_test_data): Remove.
912 (tan_test_tonearest): Likewise.
913 (tan_towardzero_test_data): Likewise.
914 (tan_test_towardzero): Likewise.
915 (tan_downward_test_data): Likewise.
916 (tan_test_downward): Likewise.
917 (tan_upward_test_data): Likewise.
918 (tan_test_upward): Likewise.
919 (tanh_test_data): Update call to AUTO_TESTS_f_f.
920 (tgamma_test_data): Likewise.
921 (y0_test_data): Likewise.
922 (y1_test_data): Likewise.
923 (yn_test_data): Update call to AUTO_TESTS_if_f.
924 (main): Do not call removed functions.
926 2014-03-19 Joseph Myers <joseph@codesourcery.com>
928 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
929 (ldexp_test_data): Remove.
930 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
932 (scalb_test): Use ALL_RM_TEST.
934 2014-03-19 Andreas Schwab <schwab@suse.de>
936 * nscd/nscd.service: Also invalidate netgroup cache on reload.
938 2014-03-19 Joseph Myers <joseph@codesourcery.com>
941 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
942 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
943 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
944 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
945 (__ASSUME_PREADV): Undefine.
946 (__ASSUME_PWRITEV): Likewise.
948 2014-03-18 Roland McGrath <roland@hack.frob.com>
950 * bits/mman-linux.h: Add comment about non-Linux use.
951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
952 bits/mman-linux.h resting place.
954 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
955 * bits/mman-linux.h: ... here.
957 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
959 * conform/conformtest.pl: Add standard definition when calling C
960 preprocessor on data files.
961 (checknamespace): Remove unused variable.
963 2014-03-18 Joseph Myers <joseph@codesourcery.com>
965 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
966 minus_oflow, plus_uflow and minus_uflow in expected results.
967 * math/libm-test.inc (scalbn_test_data): Add more tests of
968 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
970 (scalbn_test): Use ALL_RM_TEST.
971 (scalbln_test_data): Add more tests of negative arguments. Use
972 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
973 (scalbln_test): Use ALL_RM_TEST.
975 2014-03-18 Roland McGrath <roland@hack.frob.com>
977 * scripts/abilist.awk: Ignore symbols marked with .hidden.
979 2014-03-18 Will Newton <will.newton@linaro.org>
981 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
984 2014-03-18 Joseph Myers <joseph@codesourcery.com>
986 * Makerules [!subdir] (check-abi): Exit with error status if a
989 2014-03-17 Joseph Myers <joseph@codesourcery.com>
991 * math/libm-test.inc (nearbyint_test_data): Include all tests used
992 for rint. Include results for all rounding modes.
993 (nearbyint_test): Use ALL_RM_TEST.
994 (rint_test_data): Include all tests used for nearbyint.
996 2014-03-17 Will Newton <will.newton@linaro.org>
998 * nptl/sysdeps/pthread/pthread.h: Revert previous
1001 * sysdeps/generic/ldsodefs.h: Revert previous
1004 * libio/genops.c: Revert previous change.
1005 * libio/libioP.h: Likewise.
1006 * stdio-common/vfprintf.c: Likewise.
1008 * sysdeps/generic/math_private.h: Revert previous
1011 * sysdeps/generic/math_private.h: Check whether
1012 HAVE_RM_CTX is defined with #ifdef rather
1015 * argp/argp-fmtstream.h: Check whether
1016 __STRICT_ANSI__ is defined with #ifdef rather
1018 * argp/argp.h: Likewise.
1020 * libio/genops.c: Check whether
1021 _IO_JUMPS_OFFSET is defined with #ifdef rather
1023 * libio/libioP.h: Likewise.
1024 * stdio-common/vfprintf.c: Likewise.
1026 * sysdeps/generic/ldsodefs.h: Check whether
1027 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1030 * nptl/sysdeps/pthread/pthread.h: Check
1031 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1034 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1036 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1038 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1042 * libio/fileops.c (_IO_file_open): Seek to end of file but
1043 don't cache the offset.
1044 (get_file_offset): Remove function.
1045 (do_ftell): Use cached offset when available.
1046 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1047 don't cache the offset.
1048 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1050 (do_one_test): Call it.
1051 (do_ftell_test): Fix up expected old offset for a+ mode.
1052 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1055 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1056 up test status with function return status.
1057 (do_write_test): Likewise.
1058 (do_append_test): Likewise.
1060 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1061 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1064 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1066 * math/gen-libm-test.pl (parse_args): Handle results specified for
1067 each rounding mode separately.
1068 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1069 tests and results from lrint_tonearest_test_data,
1070 lrint_towardzero_test_data, lrint_downward_test_data and
1071 lrint_upward_test_data.
1072 (lrint_test): Use ALL_RM_TEST.
1073 (lrint_tonearest_test_data): Remove.
1074 (lrint_test_tonearest): Likewise.
1075 (lrint_towardzero_test_data): Likewise.
1076 (lrint_test_towardzero): Likewise.
1077 (lrint_downward_test_data): Likewise.
1078 (lrint_test_downward): Likewise.
1079 (lrint_upward_test_data): Likewise.
1080 (lrint_test_upward): Likewise.
1081 (llrint_test_data): Merge in per-rounding-mode tests and results
1082 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1083 llrint_downward_test_data and llrint_upward_test_data.
1084 (llrint_test): Use ALL_RM_TEST.
1085 (llrint_tonearest_test_data): Remove.
1086 (llrint_test_tonearest): Likewise.
1087 (llrint_towardzero_test_data): Likewise.
1088 (llrint_test_towardzero): Likewise.
1089 (llrint_downward_test_data): Likewise.
1090 (llrint_test_downward): Likewise.
1091 (llrint_upward_test_data): Likewise.
1092 (llrint_test_upward): Likewise.
1093 (rint_test_data): Merge in per-rounding-mode tests and results
1094 from rint_tonearest_test_data, rint_towardzero_test_data,
1095 rint_downward_test_data and rint_upward_test_data. Add
1096 per-rounding-mode results for tests not in those arrays.
1097 (rint_test): Use ALL_RM_TEST.
1098 (rint_tonearest_test_data): Remove.
1099 (rint_test_tonearest): Likewise.
1100 (rint_towardzero_test_data): Likewise.
1101 (rint_test_towardzero): Likewise.
1102 (rint_downward_test_data): Likewise.
1103 (rint_test_downward): Likewise.
1104 (rint_upward_test_data): Likewise.
1105 (rint_test_upward): Likewise.
1106 (main): Don't call removed functions.
1108 2014-03-14 Roland McGrath <roland@hack.frob.com>
1110 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1111 "Compiled on ..." crapola. It is anti-useful.
1113 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1115 * scripts/evaluate-test.sh: Handle fourth argument to determine
1116 whether test run should stop on failure.
1117 * Makeconfig (stop-on-test-failure): New variable.
1118 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1119 $(stop-on-test-failure).
1120 * Makefile (tests): Give a summary of results from testing and
1121 exit with failure status if they include an ERROR or FAIL.
1123 * manual/install.texi (Configuring and compiling): Mention
1124 stop-on-test-failure=y.
1125 * INSTALL: Regenerated.
1127 2014-03-14 Roland McGrath <roland@hack.frob.com>
1129 * scripts/versionlist.awk: New file.
1130 * Makerules [$(build-shared) = yes]
1131 (postclean-generated): Add Versions.def, not Versions.def.v and
1133 ($(common-objpfx)Versions.def.v.i): Target removed.
1134 ($(common-objpfx)Versions.def): New target.
1135 ($(common-objpfx)Versions.all): Depend on that rather that
1136 $(common-objpfx)Versions.def.v.
1137 * Versions.def: File removed.
1139 * Makeconfig (+gccwarn): Add -Wundef.
1140 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1141 a dl-sysdep.h breaking its contract.
1142 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1143 * include/stackinfo.h: New file.
1144 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1145 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1146 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1147 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1148 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1149 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1150 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1151 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1152 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1153 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1154 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1155 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1156 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1157 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1158 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1160 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1163 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1165 * math/libm-test.inc (round_test_data): Add more tests.
1167 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1170 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1172 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1174 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1177 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1179 * math/libm-test.inc (ceil_test_data): Add more tests.
1181 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1183 * math/libm-test.inc (trunc_test_data): Add more tests related to
1186 2014-03-14 Roland McGrath <roland@hack.frob.com>
1188 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1189 with #if rather than #ifdef.
1190 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1192 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1194 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1195 first. Disable AVX-512 GCC support if assembler doesn't support
1197 * sysdeps/x86_64/configure: Regenerated.
1199 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1201 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1202 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1203 (__old_pthread_attr_setstack): Likewise.
1204 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1205 [!_STACK_GROWS_DOWN]: Likewise.
1207 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1209 * config.make.in (have-bash2): Delete.
1210 * configure.ac (libc_cv_have_bash2): Delete.
1211 * configure: Regenerate.
1212 * elf/Makefile (common-ldd-rewrite): Rename to ...
1213 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1214 (sh-ldd-rewrite): Delete.
1215 (bash-ldd-rewrite): Delete.
1216 (have-bash2): Delete checks.
1217 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1219 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1221 * config.make.in (have-ksh): Delete.
1223 * configure.ac (libc_cv_have_ksh): Delete.
1224 * configure: Regenerate.
1226 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1228 * elf/Makefile: Delete $(have-ksh) check.
1229 ($(objpfx)sotruss): Change KSH to BASH.
1230 * elf/sotruss.ksh: Rename to ...
1231 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1232 function style to match POSIX. Drop ksh vim mode setting.
1234 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1236 * manual/time.texi (Specifying the Time Zone with TZ): Change
1237 Tuesday to Thursday.
1239 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1241 * debug/tst-longjmp_chk2.c: Update header comment.
1242 (stackoverflow_handler): Add comment. Call assert on pass value.
1244 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1246 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1247 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1248 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1249 (La_x86_64_vector): Add zmm.
1250 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1251 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1252 ($(objpfx)tst-audit10): New target.
1253 ($(objpfx)tst-audit10.out): Likewise.
1254 (tst-audit10-ENV): New.
1255 (AVX512-CFLAGS): Likewise.
1256 (CFLAGS-tst-audit10.c): Likewise.
1257 (CFLAGS-tst-auditmod10a.c): Likewise.
1258 (CFLAGS-tst-auditmod10b.c): Likewise.
1259 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1260 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1261 * sysdeps/x86_64/configure: Regenerated.
1262 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1263 AVX-512 zmm register support.
1264 (_dl_x86_64_save_sse): Likewise.
1265 (_dl_x86_64_restore_sse): Likewise.
1266 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1267 size vector registers.
1268 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1269 (ZMM_SIZE): Likewise.
1270 * sysdeps/x86_64/tst-audit10.c: New file.
1271 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1272 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1274 2014-03-13 Roland McGrath <roland@hack.frob.com>
1276 * configure.ac (HAVE_EHDR_START): New check.
1277 * configure: Regenerated.
1278 * config.h.in (HAVE_EHDR_START): New #undef.
1279 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1280 assuming the lowest-addressed segment maps the start of the file.
1282 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1284 * INSTALL: Regenerated.
1286 2014-03-13 Will Newton <will.newton@linaro.org>
1288 * manual/setjmp.texi (System V contexts): Improve
1289 clarity and grammar of documentation.
1291 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1294 * elf/Makefile (tests): Add tst-pie2.
1295 (tests-pie): Add tst-pie2.
1296 * elf/tst-pie2.c: New file.
1297 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1299 * elf/rtld.c (map_doit): Load executable as lt_executable.
1300 (dl_main): Likewise.
1302 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1305 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1306 (__ASSUME_PSELECT): Undefine.
1308 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1311 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1312 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1314 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1315 selector for static builds.
1317 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1320 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1323 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1325 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1326 selector for static builds.
1328 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1330 * sysdeps/mips/math_private.h [__mips_hard_float]
1331 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1332 libc_feresetround_mips_ctx.
1333 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1334 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1335 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1338 * math/s_nextafter.c (__nextafter): Do not return value from
1339 overflowing computation.
1340 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1341 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1342 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1344 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1346 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1347 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1349 2014-03-11 Roland McGrath <roland@hack.frob.com>
1351 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1352 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1353 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1354 the new mov targetting sp.
1356 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1359 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1360 Define it for static builds as well.
1361 (NO_BZERO_IMPL): Likewise.
1363 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1365 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1366 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1367 multiarch strspn for PPC64.
1368 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1369 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1371 (__libc_ifunc_impl_list): Likewise.
1372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1373 multiarch optimizations
1374 * string/strspn.c (strspn): Using macro to redefine symbol name.
1376 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1377 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1379 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1380 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1381 multiarch strncat for PPC64.
1382 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1383 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1385 (__libc_ifunc_impl_list): Likewise.
1386 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1387 multiarch optimizations
1389 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1392 * nscd/nscd.service: Make service type forking.
1394 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1396 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1397 sign in non default rounding modes.
1398 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1400 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1402 * math/libm-test.inc (ALL_RM_TEST): New macro.
1403 (ceil_test): Use ALL_RM_TEST.
1404 (cimag_test): Likewise.
1405 (conj_test): Likewise.
1406 (copysign_test): Likewise.
1407 (cproj_test): Likewise.
1408 (creal_test): Likewise.
1409 (fabs_test): Likewise.
1410 (floor_test): Likewise.
1411 (fmax_test): Likewise.
1412 (fmin_test): Likewise.
1413 (fmod_test): Likewise.
1414 (fpclassify_test): Likewise.
1415 (frexp_test): Likewise.
1416 (ilogb_test): Likewise.
1417 (isfinite_test): Likewise.
1418 (finite_test): Likewise.
1419 (isgreater_test): Likewise.
1420 (isgreaterequal_test): Likewise.
1421 (isinf_test): Likewise.
1422 (isless_test): Likewise.
1423 (islessequal_test): Likewise.
1424 (islessgreater_test): Likewise.
1425 (isnan_test): Likewise.
1426 (isnormal_test): Likewise.
1427 (issignaling_test): Likewise.
1428 (isunordered_test): Likewise.
1429 (logb_test): Likewise.
1430 (logb_downward_test_data): Remove.
1431 (logb_test_downward): Likewise.
1432 (lround_test): Use ALL_RM_TEST.
1433 (llround_test): Likewise.
1434 (modf_test): Likewise.
1435 (nexttoward_test): Likewise.
1436 (remainder_test): Likewise.
1437 (drem_test): Likewise.
1438 (remainder_tonearest_test_data): Likewise.
1439 (remainder_test_tonearest): Likewise.
1440 (drem_test_tonearest): Likewise.
1441 (remainder_towardzero_test_data): Likewise.
1442 (remainder_test_towardzero): Likewise.
1443 (drem_test_towardzero): Likewise.
1444 (remainder_downward_test_data): Likewise.
1445 (remainder_test_downward): Likewise.
1446 (drem_test_downward): Likewise.
1447 (remainder_upward_test_data): Likewise.
1448 (remainder_test_upward): Likewise.
1449 (drem_test_upward): Likewise.
1450 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1451 (round_test): Use ALL_RM_TEST.
1452 (signbit_test): Likewise.
1453 (trunc_test): Likewise.
1454 (significand_test): Likewise.
1455 (main): Don't call removed functions.
1457 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1460 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1462 (ILL_ILLOPN): Likewise.
1463 (ILL_ILLADR): Likewise.
1464 (ILL_ILLTRP): Likewise.
1465 (ILL_PRVOPC): Likewise.
1466 (ILL_PRVREG): Likewise.
1467 (ILL_COPROC): Likewise.
1468 (ILL_BADSTK): Likewise.
1469 (FPE_INTDIV): Likewise.
1470 (FPE_INTOVF): Likewise.
1471 (FPE_FLTDIV): Likewise.
1472 (FPE_FLTOVF): Likewise.
1473 (FPE_FLTUND): Likewise.
1474 (FPE_FLTRES): Likewise.
1475 (FPE_FLTINV): Likewise.
1476 (FPE_FLTSUB): Likewise.
1477 (SEGV_MAPERR): Likewise.
1478 (SEGV_ACCERR): Likewise.
1479 (BUS_ADRALN): Likewise.
1480 (BUS_ADRERR): Likewise.
1481 (BUS_OBJERR): Likewise.
1482 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1483 (TRAP_TRACE): Likewise.
1484 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1486 (CLD_KILLED): Likewise.
1487 (CLD_DUMPED): Likewise.
1488 (CLD_TRAPPED): Likewise.
1489 (CLD_STOPPED): Likewise.
1490 (CLD_CONTINUED): Likewise.
1491 (POLL_IN): Likewise.
1492 (POLL_OUT): Likewise.
1493 (POLL_MSG): Likewise.
1494 (POLL_ERR): Likewise.
1495 (POLL_PRI): Likewise.
1496 (POLL_HUP): Likewise.
1497 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1499 (ILL_ILLOPN): Likewise.
1500 (ILL_ILLADR): Likewise.
1501 (ILL_ILLTRP): Likewise.
1502 (ILL_PRVOPC): Likewise.
1503 (ILL_PRVREG): Likewise.
1504 (ILL_COPROC): Likewise.
1505 (ILL_BADSTK): Likewise.
1506 (FPE_INTDIV): Likewise.
1507 (FPE_INTOVF): Likewise.
1508 (FPE_FLTDIV): Likewise.
1509 (FPE_FLTOVF): Likewise.
1510 (FPE_FLTUND): Likewise.
1511 (FPE_FLTRES): Likewise.
1512 (FPE_FLTINV): Likewise.
1513 (FPE_FLTSUB): Likewise.
1514 (SEGV_MAPERR): Likewise.
1515 (SEGV_ACCERR): Likewise.
1516 (BUS_ADRALN): Likewise.
1517 (BUS_ADRERR): Likewise.
1518 (BUS_OBJERR): Likewise.
1519 (BUS_MCEERR_AR): Likewise.
1520 (BUS_MCEERR_AO): Likewise.
1521 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1522 (TRAP_TRACE): Likewise.
1523 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1525 (CLD_KILLED): Likewise.
1526 (CLD_DUMPED): Likewise.
1527 (CLD_TRAPPED): Likewise.
1528 (CLD_STOPPED): Likewise.
1529 (CLD_CONTINUED): Likewise.
1530 (POLL_IN): Likewise.
1531 (POLL_OUT): Likewise.
1532 (POLL_MSG): Likewise.
1533 (POLL_ERR): Likewise.
1534 (POLL_PRI): Likewise.
1535 (POLL_HUP): Likewise.
1536 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1537 (ILL_ILLOPN): Likewise.
1538 (ILL_ILLADR): Likewise.
1539 (ILL_ILLTRP): Likewise.
1540 (ILL_PRVOPC): Likewise.
1541 (ILL_PRVREG): Likewise.
1542 (ILL_COPROC): Likewise.
1543 (ILL_BADSTK): Likewise.
1544 (FPE_INTDIV): Likewise.
1545 (FPE_INTOVF): Likewise.
1546 (FPE_FLTDIV): Likewise.
1547 (FPE_FLTOVF): Likewise.
1548 (FPE_FLTUND): Likewise.
1549 (FPE_FLTRES): Likewise.
1550 (FPE_FLTINV): Likewise.
1551 (FPE_FLTSUB): Likewise.
1552 (SEGV_MAPERR): Likewise.
1553 (SEGV_ACCERR): Likewise.
1554 (BUS_ADRALN): Likewise.
1555 (BUS_ADRERR): Likewise.
1556 (BUS_OBJERR): Likewise.
1557 (BUS_MCEERR_AR): Likewise.
1558 (BUS_MCEERR_AO): Likewise.
1559 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1560 (TRAP_TRACE): Likewise.
1561 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1563 (CLD_KILLED): Likewise.
1564 (CLD_DUMPED): Likewise.
1565 (CLD_TRAPPED): Likewise.
1566 (CLD_STOPPED): Likewise.
1567 (CLD_CONTINUED): Likewise.
1568 (POLL_IN): Likewise.
1569 (POLL_OUT): Likewise.
1570 (POLL_MSG): Likewise.
1571 (POLL_ERR): Likewise.
1572 (POLL_PRI): Likewise.
1573 (POLL_HUP): Likewise.
1574 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1576 (ILL_ILLOPN): Likewise.
1577 (ILL_ILLADR): Likewise.
1578 (ILL_ILLTRP): Likewise.
1579 (ILL_PRVOPC): Likewise.
1580 (ILL_PRVREG): Likewise.
1581 (ILL_COPROC): Likewise.
1582 (ILL_BADSTK): Likewise.
1583 (ILL_BADIADDR): Likewise.
1584 (ILL_BREAK): Likewise.
1585 (FPE_INTDIV): Likewise.
1586 (FPE_INTOVF): Likewise.
1587 (FPE_FLTDIV): Likewise.
1588 (FPE_FLTOVF): Likewise.
1589 (FPE_FLTUND): Likewise.
1590 (FPE_FLTRES): Likewise.
1591 (FPE_FLTINV): Likewise.
1592 (FPE_FLTSUB): Likewise.
1593 (FPE_DECOVF): Likewise.
1594 (FPE_DECDIV): Likewise.
1595 (FPE_DECERR): Likewise.
1596 (FPE_INVASC): Likewise.
1597 (FPE_INVDEC): Likewise.
1598 (SEGV_MAPERR): Likewise.
1599 (SEGV_ACCERR): Likewise.
1600 (SEGV_PSTKOVF): Likewise.
1601 (BUS_ADRALN): Likewise.
1602 (BUS_ADRERR): Likewise.
1603 (BUS_OBJERR): Likewise.
1604 (BUS_MCEERR_AR): Likewise.
1605 (BUS_MCEERR_AO): Likewise.
1606 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1607 (TRAP_TRACE): Likewise.
1608 (TRAP_BRANCH): Likewise.
1609 (TRAP_HWBKPT): Likewise.
1610 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1612 (CLD_KILLED): Likewise.
1613 (CLD_DUMPED): Likewise.
1614 (CLD_TRAPPED): Likewise.
1615 (CLD_STOPPED): Likewise.
1616 (CLD_CONTINUED): Likewise.
1617 (POLL_IN): Likewise.
1618 (POLL_OUT): Likewise.
1619 (POLL_MSG): Likewise.
1620 (POLL_ERR): Likewise.
1621 (POLL_PRI): Likewise.
1622 (POLL_HUP): Likewise.
1623 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1624 (ILL_ILLOPN): Likewise.
1625 (ILL_ILLADR): Likewise.
1626 (ILL_ILLTRP): Likewise.
1627 (ILL_PRVOPC): Likewise.
1628 (ILL_PRVREG): Likewise.
1629 (ILL_COPROC): Likewise.
1630 (ILL_BADSTK): Likewise.
1631 (FPE_INTDIV): Likewise.
1632 (FPE_INTOVF): Likewise.
1633 (FPE_FLTDIV): Likewise.
1634 (FPE_FLTOVF): Likewise.
1635 (FPE_FLTUND): Likewise.
1636 (FPE_FLTRES): Likewise.
1637 (FPE_FLTINV): Likewise.
1638 (FPE_FLTSUB): Likewise.
1639 (SEGV_MAPERR): Likewise.
1640 (SEGV_ACCERR): Likewise.
1641 (BUS_ADRALN): Likewise.
1642 (BUS_ADRERR): Likewise.
1643 (BUS_OBJERR): Likewise.
1644 (BUS_MCEERR_AR): Likewise.
1645 (BUS_MCEERR_AO): Likewise.
1646 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1647 (TRAP_TRACE): Likewise.
1648 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1650 (CLD_KILLED): Likewise.
1651 (CLD_DUMPED): Likewise.
1652 (CLD_TRAPPED): Likewise.
1653 (CLD_STOPPED): Likewise.
1654 (CLD_CONTINUED): Likewise.
1655 (POLL_IN): Likewise.
1656 (POLL_OUT): Likewise.
1657 (POLL_MSG): Likewise.
1658 (POLL_ERR): Likewise.
1659 (POLL_PRI): Likewise.
1660 (POLL_HUP): Likewise.
1661 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1662 (ILL_ILLOPN): Likewise.
1663 (ILL_ILLADR): Likewise.
1664 (ILL_ILLTRP): Likewise.
1665 (ILL_PRVOPC): Likewise.
1666 (ILL_PRVREG): Likewise.
1667 (ILL_COPROC): Likewise.
1668 (ILL_BADSTK): Likewise.
1669 (FPE_INTDIV): Likewise.
1670 (FPE_INTOVF): Likewise.
1671 (FPE_FLTDIV): Likewise.
1672 (FPE_FLTOVF): Likewise.
1673 (FPE_FLTUND): Likewise.
1674 (FPE_FLTRES): Likewise.
1675 (FPE_FLTINV): Likewise.
1676 (FPE_FLTSUB): Likewise.
1677 (SEGV_MAPERR): Likewise.
1678 (SEGV_ACCERR): Likewise.
1679 (BUS_ADRALN): Likewise.
1680 (BUS_ADRERR): Likewise.
1681 (BUS_OBJERR): Likewise.
1682 (BUS_MCEERR_AR): Likewise.
1683 (BUS_MCEERR_AO): Likewise.
1684 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1685 (TRAP_TRACE): Likewise.
1686 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1688 (CLD_KILLED): Likewise.
1689 (CLD_DUMPED): Likewise.
1690 (CLD_TRAPPED): Likewise.
1691 (CLD_STOPPED): Likewise.
1692 (CLD_CONTINUED): Likewise.
1693 (POLL_IN): Likewise.
1694 (POLL_OUT): Likewise.
1695 (POLL_MSG): Likewise.
1696 (POLL_ERR): Likewise.
1697 (POLL_PRI): Likewise.
1698 (POLL_HUP): Likewise.
1699 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1700 (ILL_ILLOPN): Likewise.
1701 (ILL_ILLADR): Likewise.
1702 (ILL_ILLTRP): Likewise.
1703 (ILL_PRVOPC): Likewise.
1704 (ILL_PRVREG): Likewise.
1705 (ILL_COPROC): Likewise.
1706 (ILL_BADSTK): Likewise.
1707 (FPE_INTDIV): Likewise.
1708 (FPE_INTOVF): Likewise.
1709 (FPE_FLTDIV): Likewise.
1710 (FPE_FLTOVF): Likewise.
1711 (FPE_FLTUND): Likewise.
1712 (FPE_FLTRES): Likewise.
1713 (FPE_FLTINV): Likewise.
1714 (FPE_FLTSUB): Likewise.
1715 (SEGV_MAPERR): Likewise.
1716 (SEGV_ACCERR): Likewise.
1717 (BUS_ADRALN): Likewise.
1718 (BUS_ADRERR): Likewise.
1719 (BUS_OBJERR): Likewise.
1720 (BUS_MCEERR_AR): Likewise.
1721 (BUS_MCEERR_AO): Likewise.
1722 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1723 (TRAP_TRACE): Likewise.
1724 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1726 (CLD_KILLED): Likewise.
1727 (CLD_DUMPED): Likewise.
1728 (CLD_TRAPPED): Likewise.
1729 (CLD_STOPPED): Likewise.
1730 (CLD_CONTINUED): Likewise.
1731 (POLL_IN): Likewise.
1732 (POLL_OUT): Likewise.
1733 (POLL_MSG): Likewise.
1734 (POLL_ERR): Likewise.
1735 (POLL_PRI): Likewise.
1736 (POLL_HUP): Likewise.
1737 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1738 (ILL_ILLOPN): Likewise.
1739 (ILL_ILLADR): Likewise.
1740 (ILL_ILLTRP): Likewise.
1741 (ILL_PRVOPC): Likewise.
1742 (ILL_PRVREG): Likewise.
1743 (ILL_COPROC): Likewise.
1744 (ILL_BADSTK): Likewise.
1745 (ILL_DBLFLT): Likewise.
1746 (ILL_HARDWALL): Likewise.
1747 (FPE_INTDIV): Likewise.
1748 (FPE_INTOVF): Likewise.
1749 (FPE_FLTDIV): Likewise.
1750 (FPE_FLTOVF): Likewise.
1751 (FPE_FLTUND): Likewise.
1752 (FPE_FLTRES): Likewise.
1753 (FPE_FLTINV): Likewise.
1754 (FPE_FLTSUB): Likewise.
1755 (SEGV_MAPERR): Likewise.
1756 (SEGV_ACCERR): Likewise.
1757 (BUS_ADRALN): Likewise.
1758 (BUS_ADRERR): Likewise.
1759 (BUS_OBJERR): Likewise.
1760 (BUS_MCEERR_AR): Likewise.
1761 (BUS_MCEERR_AO): Likewise.
1762 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1763 (TRAP_TRACE): Likewise.
1764 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1766 (CLD_KILLED): Likewise.
1767 (CLD_DUMPED): Likewise.
1768 (CLD_TRAPPED): Likewise.
1769 (CLD_STOPPED): Likewise.
1770 (CLD_CONTINUED): Likewise.
1771 (POLL_IN): Likewise.
1772 (POLL_OUT): Likewise.
1773 (POLL_MSG): Likewise.
1774 (POLL_ERR): Likewise.
1775 (POLL_PRI): Likewise.
1776 (POLL_HUP): Likewise.
1777 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1778 (ILL_ILLOPN): Likewise.
1779 (ILL_ILLADR): Likewise.
1780 (ILL_ILLTRP): Likewise.
1781 (ILL_PRVOPC): Likewise.
1782 (ILL_PRVREG): Likewise.
1783 (ILL_COPROC): Likewise.
1784 (ILL_BADSTK): Likewise.
1785 (FPE_INTDIV): Likewise.
1786 (FPE_INTOVF): Likewise.
1787 (FPE_FLTDIV): Likewise.
1788 (FPE_FLTOVF): Likewise.
1789 (FPE_FLTUND): Likewise.
1790 (FPE_FLTRES): Likewise.
1791 (FPE_FLTINV): Likewise.
1792 (FPE_FLTSUB): Likewise.
1793 (SEGV_MAPERR): Likewise.
1794 (SEGV_ACCERR): Likewise.
1795 (BUS_ADRALN): Likewise.
1796 (BUS_ADRERR): Likewise.
1797 (BUS_OBJERR): Likewise.
1798 (BUS_MCEERR_AR): Likewise.
1799 (BUS_MCEERR_AO): Likewise.
1800 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1801 (TRAP_TRACE): Likewise.
1802 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1804 (CLD_KILLED): Likewise.
1805 (CLD_DUMPED): Likewise.
1806 (CLD_TRAPPED): Likewise.
1807 (CLD_STOPPED): Likewise.
1808 (CLD_CONTINUED): Likewise.
1809 (POLL_IN): Likewise.
1810 (POLL_OUT): Likewise.
1811 (POLL_MSG): Likewise.
1812 (POLL_ERR): Likewise.
1813 (POLL_PRI): Likewise.
1814 (POLL_HUP): Likewise.
1815 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1816 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1819 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1820 before #include of <time.h>.
1821 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1822 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1823 (test-xfail-UNIX98/sched.h/conform): Likewise.
1825 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1827 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1828 error absence of trapping exception support.
1829 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1831 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1833 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1834 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1835 * timezone/Makefile (testdata): Move definition above include of
1837 (test-zones): New variable.
1838 (tests-special): Add zone files.
1839 (build-testdata): Use $(evaluate-test).
1841 * elf/Makefile (tests-special): Rename tests to end with .out.
1842 ($(objpfx)noload-mem): Likewise.
1843 ($(objpfx)tst-leaks1-mem): Likewise.
1844 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1845 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1846 $(objpfx)test-iconvconfig.out.
1847 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1848 set -e inside subshell and redirect output to file.
1849 * iconvdata/Makefile (generated): Rename tests to end with .out.
1851 (tests-special): Rename tests to end with .out.
1852 ($(objpfx)mtrace-tst-loading): Likewise.
1853 * intl/Makefile (generated): Likewise.
1854 (tests-special): Likewise.
1855 ($(objpfx)mtrace-tst-gettext): Likewise.
1856 * misc/Makefile (generated): Likewise.
1857 (tests-special): Likewise.
1858 ($(objpfx)tst-error1-mem): Likewise.
1859 * nptl/Makefile (tests-special): Likewise.
1860 ($(objpfx)tst-stack3-mem): Likewise.
1861 (generated): Likewise.
1862 * posix/Makefile (generated): Likewise.
1863 (tests-special): Likewise.
1864 (xtests-special): Likewise.
1865 ($(objpfx)tst-fnmatch-mem): Likewise.
1866 ($(objpfx)bug-regex2-mem): Likewise.
1867 ($(objpfx)bug-regex14-mem): Likewise.
1868 ($(objpfx)bug-regex21-mem): Likewise.
1869 ($(objpfx)bug-regex31-mem): Likewise.
1870 ($(objpfx)tst-vfork3-mem): Likewise.
1871 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1872 ($(objpfx)tst-pcre-mem): Likewise.
1873 ($(objpfx)tst-boost-mem): Likewise.
1874 ($(objpfx)bug-ga2-mem): Likewise.
1875 ($(objpfx)bug-glob2-mem): Likewise.
1876 * resolv/Makefile (generate): Likewise.
1877 (tests-special): Likewise.
1878 (xtests-special): Likewise.
1879 (generated): Likewise.
1880 ($(objpfx)mtrace-tst-leaks): Likewise.
1881 ($(objpfx)mtrace-tst-leaks2): Likewise.
1883 * scripts/merge-test-results.sh: New file.
1884 * Makefile (tests-special-notdir): New variable.
1885 (tests): Run merge-test-results.sh.
1887 * Rules (tests-special-notdir): New variable.
1888 (xtests-special-notdir): Likewise.
1889 (tests): Run merge-test-results.sh
1892 * Makeconfig (test-xfail-name): New variable.
1893 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1894 compute variable name for expected failures.
1895 * conform/Makefile (conformtest-headers-data): New variable.
1896 (conformtest-standards): Likewise.
1897 (conformtest-headers-ISO): Likewise.
1898 (conformtest-headers-ISO99): Likewise.
1899 (conformtest-headers-ISO11): Likewise.
1900 (conformtest-headers-POSIX): Likewise.
1901 (conformtest-headers-XPG3): Likewise.
1902 (conformtest-headers-XPG4): Likewise.
1903 (conformtest-headers-UNIX98): Likewise.
1904 (conformtest-headers-XOPEN2K): Likewise.
1905 (conformtest-headers-POSIX2008): Likewise.
1906 (conformtest-headers-XOPEN2K8): Likewise.
1907 (conformtest-header-list-base): Likewise.
1908 (conformtest-header-list-tests): Likewise.
1909 (conformtest-header-base): Likewise.
1910 (conformtest-header-tests): Likewise.
1911 (tests-special): Add $(conformtest-header-list-tests). If
1912 [$(fast-check) && !$(cross-compiling)], add
1913 $(conformtest-header-tests) instead of
1914 $(objpfx)run-conformtest.out.
1915 (generated): Add $(conformtest-header-list-base). If
1916 [$(fast-check) && !$(cross-compiling)], add
1917 $(conformtest-header-base). Remove previous setting.
1918 ($(conformtest-header-list-tests)): New target.
1919 (test-xfail-run-conformtest): Remove variable.
1920 ($(objpfx)run-conformtest.out): Remove target.
1921 (test-xfail-ISO11/complex.h/conform): New variable.
1922 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1923 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1924 (test-xfail-XPG3/varargs.h/conform): Likewise.
1925 (test-xfail-XPG4/varargs.h/conform): Likewise.
1926 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1927 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1928 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1929 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1930 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1931 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1932 (test-xfail-XPG3/ftw.h/conform): Likewise.
1933 (test-xfail-XPG3/grp.h/conform): Likewise.
1934 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1935 (test-xfail-XPG3/limits.h/conform): Likewise.
1936 (test-xfail-XPG3/pwd.h/conform): Likewise.
1937 (test-xfail-XPG3/search.h/conform): Likewise.
1938 (test-xfail-XPG3/signal.h/conform): Likewise.
1939 (test-xfail-XPG3/stdio.h/conform): Likewise.
1940 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1941 (test-xfail-XPG3/string.h/conform): Likewise.
1942 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1943 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1944 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1945 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1946 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1947 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1948 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1949 (test-xfail-XPG3/termios.h/conform): Likewise.
1950 (test-xfail-XPG3/time.h/conform): Likewise.
1951 (test-xfail-XPG3/unistd.h/conform): Likewise.
1952 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1953 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1954 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1955 (test-xfail-XPG4/netdb.h/conform): Likewise.
1956 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1957 (test-xfail-XPG4/signal.h/conform): Likewise.
1958 (test-xfail-XPG4/stdio.h/conform): Likewise.
1959 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1960 (test-xfail-XPG4/stropts.h/conform): Likewise.
1961 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1962 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1963 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1964 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1965 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1966 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1967 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1968 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1969 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1970 (test-xfail-XPG4/termios.h/conform): Likewise.
1971 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1972 (test-xfail-XPG4/unistd.h/conform): Likewise.
1973 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1974 (test-xfail-POSIX/sched.h/conform): Likewise.
1975 (test-xfail-POSIX/signal.h/conform): Likewise.
1976 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1977 (test-xfail-POSIX/tar.h/conform): Likewise.
1978 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1979 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1980 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1981 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1982 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1983 (test-xfail-UNIX98/sched.h/conform): Likewise.
1984 (test-xfail-UNIX98/signal.h/conform): Likewise.
1985 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1986 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1987 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1988 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1989 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1990 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1991 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1992 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1993 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1994 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1995 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1996 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1997 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1998 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1999 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2000 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2001 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2002 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2003 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2004 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2005 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2006 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2007 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2008 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2009 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2010 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2011 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2012 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2013 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2014 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2015 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2016 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2017 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2018 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2019 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2020 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2021 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2022 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2023 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2024 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2025 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2026 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2027 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2028 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2029 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2030 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2031 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2032 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2033 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2034 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2035 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2036 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2037 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2038 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2039 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2040 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2041 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2042 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2043 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2044 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2045 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2046 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2047 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2048 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2049 (conformtest-cc-flags): Likewise.
2050 ($(conformtest-header-tests): New target.
2051 * conform/check-header-lists.sh: New file.
2052 * conform/run-conformtest.sh: Remove.
2054 * conform/conformtest.pl: Allow ' and \ in values given for
2056 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2058 [POSIX] (sys/types.h): Likewise.
2059 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2061 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2063 * conform/data/signal.h-data (SIGIO): Remove expectation.
2064 [XPG3] (SIGBUS): Do not expect.
2065 [POSIX || XPG3] (SIGPOLL): Likewise.
2066 [POSIX || XPG3] (SIGPROF): Likewise.
2067 [POSIX || XPG3] (SIGSYS): Likewise.
2068 [XPG3] (SIGTRAP): Likewise.
2069 [POSIX || XPG3] (SIGURG): Likewise.
2070 [POSIX || XPG3] (SIGVTALRM): Likewise.
2071 [POSIX || XPG3] (SIGXCPU): Likewise.
2072 [POSIX || XPG3] (SIGXFSZ): Likewise.
2073 [POSIX] (SA_SIGINFO): Expect.
2074 [XPG3] (siginfo_t): Do not expect type or contents.
2075 [POSIX] (si_pid): Do not expect element.
2076 [POSIX] (si_uid): Likewise.
2077 [POSIX] (si_addr): Likewise.
2078 [POSIX] (si_status): Likewise.
2079 [POSIX] (si_band): Likewise.
2080 [XPG4] (si_value): Likewise.
2081 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2082 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2083 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2084 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2085 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2086 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2087 [POSIX || XPG3] (ILL_COPROC): Likewise.
2088 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2089 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2090 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2091 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2092 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2093 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2094 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2095 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2096 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2097 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2098 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2099 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2100 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2101 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2102 [POSIX || XPG3] (CLD_EXITED): Likewise.
2103 [POSIX || XPG3] (CLD_KILLED): Likewise.
2104 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2105 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2106 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2107 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2108 [POSIX || XPG3] (POLL_IN): Likewise.
2109 [POSIX || XPG3] (POLL_OUT): Likewise.
2110 [POSIX || XPG3] (POLL_MSG): Likewise.
2111 [POSIX || XPG3] (POLL_ERR): Likewise.
2112 [POSIX || XPG3] (POLL_PRI): Likewise.
2113 [POSIX || XPG3] (POLL_HUP): Likewise.
2114 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2115 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2116 (SIG*): Do not allow.
2117 [XPG3] (si_*): Likewise.
2118 [XPG3] (SI_*): Likewise.
2119 [XPG3 || XPG4] (sigev_*): Likewise.
2120 [XPG3 || XPG4] (SIGEV_*): Likewise.
2121 [XPG3 || XPG4] (sival_*): Likewise.
2122 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2123 [POSIX || XPG3] (BUS_*): Likewise.
2124 [POSIX || XPG3] (CLD_*): Likewise.
2125 [POSIX || XPG3] (FPE_*): Likewise.
2126 [POSIX || XPG3] (ILL_*): Likewise.
2127 [POSIX || XPG3] (POLL_*): Likewise.
2128 [POSIX || XPG3] (SEGV_*): Likewise.
2129 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2130 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2131 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2132 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2133 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2134 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2135 Specify type and value.
2136 (TVERSLEN): Likewise.
2137 (REGTYPE): Likewise.
2138 (AREGTYPE): Likewise.
2139 (LNKTYPE): Likewise.
2140 (SYMTYPE): Likewise.
2141 (CHRTYPE): Likewise.
2142 (BLKTYPE): Likewise.
2143 (DIRTYPE): Likewise.
2144 (FIFOTYPE): Likewise.
2145 (CONTTYPE): Likewise.
2150 (TUWRITE): Likewise.
2153 (TGWRITE): Likewise.
2156 (TOWRITE): Likewise.
2158 [POSIX] (TSVTX): Expect constant.
2160 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2162 * Makefile (tests): Change dependencies to ....
2163 (tests-special): ... additions to this variable.
2164 (tests): Depend on $(tests-special).
2165 * Makerules (check-abi-list): New variable.
2166 (check-abi): Depend on $(check-abi-list).
2167 [$(subdir) = elf] (tests-special): Add
2168 $(objpfx)check-abi-libc.out.
2169 [$(build-shared) = yes && subdir] (tests-special): Add
2171 [$(build-shared) = yes && subdir] (tests): Do not depend on
2173 * Rules (tests): Depend on $(tests-special).
2174 (xtests): Depend on $(xtests-special).
2175 * catgets/Makefile (tests): Change dependencies to ....
2176 (tests-special): ... additions to this variable.
2177 * conform/Makefile (tests): Change dependencies to ....
2178 (tests-special): ... additions to this variable.
2179 * elf/Makefile (tests): Change dependencies to ....
2180 (tests-special): ... additions to this variable.
2181 * grp/Makefile (tests): Change dependencies to ....
2182 (tests-special): ... additions to this variable.
2183 * iconv/Makefile (xtests): Change dependencies to ....
2184 (xtests-special): ... additions to this variable.
2185 * iconvdata/Makefile (tests): Change dependencies to ....
2186 (tests-special): ... additions to this variable.
2187 * intl/Makefile (tests): Change dependencies to ....
2188 (tests-special): ... additions to this variable. Also add
2189 $(objpfx)tst-gettext.out.
2190 * io/Makefile (tests): Change dependencies to ....
2191 (tests-special): ... additions to this variable.
2192 * libio/Makefile (tests): Change dependencies to ....
2193 (tests-special): ... additions to this variable.
2194 * malloc/Makefile (tests): Change dependencies to ....
2195 (tests-special): ... additions to this variable.
2196 * misc/Makefile (tests): Change dependencies to ....
2197 (tests-special): ... additions to this variable.
2198 * nptl/Makefile (tests): Change dependencies to ....
2199 (tests-special): ... additions to this variable.
2200 * nptl_db/Makefile (tests): Change dependencies to ....
2201 (tests-special): ... additions to this variable.
2202 * posix/Makefile (tests): Change dependencies to ....
2203 (tests-special): ... additions to this variable.
2204 (xtests): Change dependencies to ....
2205 (xtests-special): ... additions to this variable.
2206 * resolv/Makefile (tests): Change dependencies to ....
2207 (tests-special): ... additions to this variable.
2208 (xtests): Change dependencies to ....
2209 (xtests-special): ... additions to this variable.
2210 * stdio-common/Makefile (tests): Change dependencies to ....
2211 (tests-special): ... additions to this variable.
2212 (do-tst-unbputc): Remove target.
2213 (do-tst-printf): Likewise.
2214 * stdlib/Makefile (tests): Change dependencies to ....
2215 (tests-special): ... additions to this variable.
2216 * string/Makefile (tests): Change dependencies to ....
2217 (tests-special): ... additions to this variable.
2218 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2219 (tests-special): ... additions to this variable.
2221 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2223 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2225 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2226 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2228 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2229 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2230 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2231 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2232 * conform/data/libgen.h-data [XPG3]: Likewise.
2233 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2234 * conform/data/ndbm.h-data [XPG3]: Likewise.
2235 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2236 * conform/data/netdb.h-data [XPG3]: Likewise.
2237 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2238 * conform/data/poll.h-data [XPG3]: Likewise.
2239 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2240 * conform/data/strings.h-data [XPG3]: Likewise.
2241 * conform/data/stropts.h-data [XPG3]: Likewise.
2242 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2243 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2244 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2246 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2247 * conform/data/sys/time.h-data [XPG3]: Likewise.
2248 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2249 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2250 * conform/data/sys/un.h-data [XPG3]: Likewise.
2251 * conform/data/syslog.h-data [XPG3]: Likewise.
2252 * conform/data/ucontext.h-data [XPG3]: Likewise.
2253 * conform/data/utmpx.h-data [XPG3]: Likewise.
2254 * conform/data/varargs.h-data [UNIX98]: Enable file.
2256 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2258 * math/libm-test.inc (struct test_f_f_data): Move expected results
2259 into structure for each rounding mode.
2260 (struct test_ff_f_data): Likewise.
2261 (struct test_ff_f_data_nexttoward): Likewise.
2262 (struct test_fi_f_data): Likewise.
2263 (struct test_fl_f_data): Likewise.
2264 (struct test_if_f_data): Likewise.
2265 (struct test_fff_f_data): Likewise.
2266 (struct test_c_f_data): Likewise.
2267 (struct test_f_f1_data): Likewise.
2268 (struct test_fF_f1_data): Likewise.
2269 (struct test_ffI_f1_data): Likewise.
2270 (struct test_c_c_data): Likewise.
2271 (struct test_cc_c_data): Likewise.
2272 (struct test_f_i_data): Likewise.
2273 (struct test_ff_i_data): Likewise.
2274 (struct test_f_l_data): Likewise.
2275 (struct test_f_L_data): Likewise.
2276 (struct test_fFF_11_data): Likewise.
2278 (RM_FE_DOWNWARD): Likewise.
2279 (RM_FE_TONEAREST): Likewise.
2280 (RM_FE_TOWARDZERO): Likewise.
2281 (RM_FE_UPWARD): Likewise.
2282 (RUN_TEST_LOOP_f_f): Update references to expected results.
2283 (RUN_TEST_LOOP_2_f): Likewise.
2284 (RUN_TEST_LOOP_fff_f): Likewise.
2285 (RUN_TEST_LOOP_c_f): Likewise.
2286 (RUN_TEST_LOOP_f_f1): Likewise.
2287 (RUN_TEST_LOOP_fF_f1): Likewise.
2288 (RUN_TEST_LOOP_fI_f1): Likewise.
2289 (RUN_TEST_LOOP_ffI_f1): Likewise.
2290 (RUN_TEST_LOOP_c_c): Likewise.
2291 (RUN_TEST_LOOP_cc_c): Likewise.
2292 (RUN_TEST_LOOP_f_i): Likewise.
2293 (RUN_TEST_LOOP_f_i_tg): Likewise.
2294 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2295 (RUN_TEST_LOOP_f_b): Likewise.
2296 (RUN_TEST_LOOP_f_b_tg): Likewise.
2297 (RUN_TEST_LOOP_f_l): Likewise.
2298 (RUN_TEST_LOOP_f_L): Likewise.
2299 (RUN_TEST_LOOP_fFF_11): Likewise.
2300 * math/gen-libm-test.pl (parse_args): Output four copies of
2301 expected results for each test.
2303 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2304 (__ASSUME_UTIMES): Remove.
2305 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2306 (__ASSUME_UTIMES): Likewise.
2308 * math/gen-auto-libm-tests.c: Update comment on output format.
2309 (output_for_one_input_case): Generate before-rounding and
2310 after-rounding information as conditions on output flags not
2311 floating-point format.
2312 * math/auto-libm-test-out: Regenerated.
2313 * math/gen-libm-test.pl (cond_value): New function.
2314 (or_cond_value): Use cond_value.
2315 (generate_testfile): Handle conditional exceptions.
2317 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2319 * math/libm-test.inc (max_valid_error): New variable.
2320 (init_max_error): Take new argument specifying whether function
2321 results are exactly determined. Set max_valid_error and bound
2322 other variables for errors based on this argument.
2323 (set_max_error): Do not record results above max_valid_error.
2324 (check_float_internal): Only accept errors of up to 0.5ulps if
2325 also at most max_valid_error.
2326 (START): Take new argument EXACT and pass it to init_max_error.
2327 (acos_test): Update call to START.
2328 (acos_test_tonearest): Likewise.
2329 (acos_test_towardzero): Likewise.
2330 (acos_test_downward): Likewise.
2331 (acos_test_upward): Likewise.
2332 (acosh_test): Likewise.
2333 (asin_test): Likewise.
2334 (asin_test_tonearest): Likewise.
2335 (asin_test_towardzero): Likewise.
2336 (asin_test_downward): Likewise.
2337 (asin_test_upward): Likewise.
2338 (asinh_test): Likewise.
2339 (atan_test): Likewise.
2340 (atanh_test): Likewise.
2341 (atan2_test): Likewise.
2342 (cabs_test): Likewise.
2343 (cacos_test): Likewise.
2344 (cacosh_test): Likewise.
2345 (carg_test): Likewise.
2346 (casin_test): Likewise.
2347 (casinh_test): Likewise.
2348 (catan_test): Likewise.
2349 (catanh_test): Likewise.
2350 (cbrt_test): Likewise.
2351 (ccos_test): Likewise.
2352 (ccosh_test): Likewise.
2353 (ceil_test): Likewise.
2354 (cexp_test): Likewise.
2355 (cimag_test): Likewise.
2356 (clog_test): Likewise.
2357 (clog10_test): Likewise.
2358 (conj_test): Likewise.
2359 (copysign_test): Likewise.
2360 (cos_test): Likewise.
2361 (cos_test_tonearest): Likewise.
2362 (cos_test_towardzero): Likewise.
2363 (cos_test_downward): Likewise.
2364 (cos_test_upward): Likewise.
2365 (cosh_test): Likewise.
2366 (cosh_test_tonearest): Likewise.
2367 (cosh_test_towardzero): Likewise.
2368 (cosh_test_downward): Likewise.
2369 (cosh_test_upward): Likewise.
2370 (cpow_test): Likewise.
2371 (cproj_test): Likewise.
2372 (creal_test): Likewise.
2373 (csin_test): Likewise.
2374 (csinh_test): Likewise.
2375 (csqrt_test): Likewise.
2376 (ctan_test): Likewise.
2377 (ctan_test_tonearest): Likewise.
2378 (ctan_test_towardzero): Likewise.
2379 (ctan_test_downward): Likewise.
2380 (ctan_test_upward): Likewise.
2381 (ctanh_test): Likewise.
2382 (ctanh_test_tonearest): Likewise.
2383 (ctanh_test_towardzero): Likewise.
2384 (ctanh_test_downward): Likewise.
2385 (ctanh_test_upward): Likewise.
2386 (erf_test): Likewise.
2387 (erfc_test): Likewise.
2388 (exp_test): Likewise.
2389 (exp_test_tonearest): Likewise.
2390 (exp_test_towardzero): Likewise.
2391 (exp_test_downward): Likewise.
2392 (exp_test_upward): Likewise.
2393 (exp10_test): Likewise.
2394 (exp10_test_tonearest): Likewise.
2395 (exp10_test_towardzero): Likewise.
2396 (exp10_test_downward): Likewise.
2397 (exp10_test_upward): Likewise.
2398 (pow10_test): Likewise.
2399 (exp2_test): Likewise.
2400 (expm1_test): Likewise.
2401 (expm1_test_tonearest): Likewise.
2402 (expm1_test_towardzero): Likewise.
2403 (expm1_test_downward): Likewise.
2404 (expm1_test_upward): Likewise.
2405 (fabs_test): Likewise.
2406 (fdim_test): Likewise.
2407 (floor_test): Likewise.
2408 (fma_test): Likewise.
2409 (fma_test_towardzero): Likewise.
2410 (fma_test_downward): Likewise.
2411 (fma_test_upward): Likewise.
2412 (fmax_test): Likewise.
2413 (fmin_test): Likewise.
2414 (fmod_test): Likewise.
2415 (fpclassify_test): Likewise.
2416 (frexp_test): Likewise.
2417 (hypot_test): Likewise.
2418 (ilogb_test): Likewise.
2419 (isfinite_test): Likewise.
2420 (finite_test): Likewise.
2421 (isgreater_test): Likewise.
2422 (isgreaterequal_test): Likewise.
2423 (isinf_test): Likewise.
2424 (isless_test): Likewise.
2425 (islessequal_test): Likewise.
2426 (islessgreater_test): Likewise.
2427 (isnan_test): Likewise.
2428 (isnormal_test): Likewise.
2429 (issignaling_test): Likewise.
2430 (isunordered_test): Likewise.
2431 (j0_test): Likewise.
2432 (j1_test): Likewise.
2433 (jn_test): Likewise.
2434 (ldexp_test): Likewise.
2435 (lgamma_test): Likewise.
2436 (gamma_test): Likewise.
2437 (lrint_test): Likewise.
2438 (lrint_test_tonearest): Likewise.
2439 (lrint_test_towardzero): Likewise.
2440 (lrint_test_downward): Likewise.
2441 (lrint_test_upward): Likewise.
2442 (llrint_test): Likewise.
2443 (llrint_test_tonearest): Likewise.
2444 (llrint_test_towardzero): Likewise.
2445 (llrint_test_downward): Likewise.
2446 (llrint_test_upward): Likewise.
2447 (log_test): Likewise.
2448 (log10_test): Likewise.
2449 (log1p_test): Likewise.
2450 (log2_test): Likewise.
2451 (logb_test): Likewise.
2452 (logb_test_downward): Likewise.
2453 (lround_test): Likewise.
2454 (llround_test): Likewise.
2455 (modf_test): Likewise.
2456 (nearbyint_test): Likewise.
2457 (nextafter_test): Likewise.
2458 (nexttoward_test): Likewise.
2459 (pow_test): Likewise.
2460 (pow_test_tonearest): Likewise.
2461 (pow_test_towardzero): Likewise.
2462 (pow_test_downward): Likewise.
2463 (pow_test_upward): Likewise.
2464 (remainder_test): Likewise.
2465 (drem_test): Likewise.
2466 (remainder_test_tonearest): Likewise.
2467 (drem_test_tonearest): Likewise.
2468 (remainder_test_towardzero): Likewise.
2469 (drem_test_towardzero): Likewise.
2470 (remainder_test_downward): Likewise.
2471 (drem_test_downward): Likewise.
2472 (remainder_test_upward): Likewise.
2473 (drem_test_upward): Likewise.
2474 (remquo_test): Likewise.
2475 (rint_test): Likewise.
2476 (rint_test_tonearest): Likewise.
2477 (rint_test_towardzero): Likewise.
2478 (rint_test_downward): Likewise.
2479 (rint_test_upward): Likewise.
2480 (round_test): Likewise.
2481 (scalb_test): Likewise.
2482 (scalbn_test): Likewise.
2483 (scalbln_test): Likewise.
2484 (signbit_test): Likewise.
2485 (sin_test): Likewise.
2486 (sin_test_tonearest): Likewise.
2487 (sin_test_towardzero): Likewise.
2488 (sin_test_downward): Likewise.
2489 (sin_test_upward): Likewise.
2490 (sincos_test): Likewise.
2491 (sinh_test): Likewise.
2492 (sinh_test_tonearest): Likewise.
2493 (sinh_test_towardzero): Likewise.
2494 (sinh_test_downward): Likewise.
2495 (sinh_test_upward): Likewise.
2496 (sqrt_test): Likewise.
2497 (sqrt_test_tonearest): Likewise.
2498 (sqrt_test_towardzero): Likewise.
2499 (sqrt_test_downward): Likewise.
2500 (sqrt_test_upward): Likewise.
2501 (tan_test): Likewise.
2502 (tan_test_tonearest): Likewise.
2503 (tan_test_towardzero): Likewise.
2504 (tan_test_downward): Likewise.
2505 (tan_test_upward): Likewise.
2506 (tanh_test): Likewise.
2507 (tgamma_test): Likewise.
2508 (trunc_test): Likewise.
2509 (y0_test): Likewise.
2510 (y1_test): Likewise.
2511 (yn_test): Likewise.
2512 (significand_test): Likewise.
2514 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2515 individual tests in comment.
2516 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2517 (prev_max_error): New variable.
2518 (prev_real_max_error): Likewise.
2519 (prev_imag_max_error): Likewise.
2520 (compare_ulp_data): Don't refer to test names in comment.
2521 (find_test_ulps): Remove function.
2522 (find_function_ulps): Likewise.
2523 (find_complex_function_ulps): Likewise.
2524 (init_max_error): Take function name as argument. Look up ulps
2526 (print_ulps): Remove function.
2527 (print_max_error): Use prev_max_error instead of calling
2529 (print_complex_max_error): Use prev_real_max_error and
2530 prev_imag_max_error instead of calling find_complex_function_ulps.
2531 (check_float_internal): Take max_ulp parameter instead of calling
2532 find_test_ulps. Don't call print_ulps.
2533 (check_float): Update call to check_float_internal.
2534 (check_complex): Update calls to check_float_internal.
2535 (START): Pass argument to init_max_error.
2536 * math/gen-libm-test.pl (%results): Don't include "kind"
2538 (parse_ulps): Don't handle ulps of individual tests.
2539 (print_ulps_file): Likewise.
2540 (output_ulps): Likewise.
2541 * math/README.libm-test: Update.
2542 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2544 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2545 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2546 * sysdeps/arm/libm-test-ulps: Likewise.
2547 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2548 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2549 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2550 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2551 * sysdeps/microblaze/libm-test-ulps: Likewise.
2552 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2553 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2554 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2555 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2556 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2557 * sysdeps/sh/libm-test-ulps: Likewise.
2558 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2559 * sysdeps/tile/libm-test-ulps: Likewise.
2560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2562 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2564 * math/libm-test.inc (print_complex_max_error): Check separately
2565 whether real and imaginary errors are within allowed range and
2566 pass 0 to print_complex_function_ulps instead of value within
2569 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2571 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2573 (get_handles_fopen): Likewise.
2574 (do_write_test): Likewise.
2576 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2578 * libio/fileops.c (do_ftell): Use cached offset when
2580 * libio/iofwide.c (do_ftell_wide): Likewise.
2581 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2583 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2586 * libio/libioP.h (get_file_offset): New function.
2587 * libio/fileops.c (get_file_offset): Likewise.
2588 (do_ftell): Likewise.
2589 (_IO_new_file_seekoff): Split out ftell logic.
2590 * libio/wfileops.c (do_ftell_wide): Likewise.
2591 (_IO_wfile_seekoff): Split out ftell logic.
2592 * libio/tst-ftell-active-handler.c: New test case.
2593 * libio/Makefile (tests): Add it.
2595 2014-03-03 Roland McGrath <roland@hack.frob.com>
2597 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2598 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2600 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2603 * nscd/connections.c (nscd_init): Call do_exit.
2604 (start_threads): Call do_exit and notify_parent.
2605 (begin_drop_privileges): Call do_exit.
2606 (finish_drop_privileges): Likewise.
2607 * nscd/selinux.c (preserve_capabilities): Likewise.
2608 (install_real_capabilities): Likewise.
2609 (nscd_selinux_enabled): Likewise.
2610 (avc_create_thread): Likewise.
2611 (avc_alloc_lock): Likewise.
2612 (nscd_avc_init): Likewise.
2613 * nscd/nscd.c (parent_fd): New static variable.
2614 (main): Create a pipe between parent and child processes.
2615 Skip closing parent_fd.
2616 (monitor_child): New function.
2617 (do_exit): Likewise.
2618 (notify_parent): Likewise.
2619 * nscd/nscd.h (notify_parent): Likewise.
2620 (do_exit): Likewise.
2622 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2624 * malloc/malloc.c (__libc_calloc): Revert last change.
2626 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2630 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2632 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2636 (__libc_ifunc_impl_list): Likewise.
2637 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2638 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2639 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2640 * string/strrchr.c: Define STRRCHR.
2642 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2644 * benchtest/bench-strtok.c (simple_strtok): Delete.
2645 (strtok_string): Use as benchmark.
2646 * string/strtok (STRTOK): New macro.
2648 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2650 * manual/threads.texi: Add header and standard comments to all
2653 * elf/dl-lookup.c (check_match): New function.
2654 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2655 (do_lookup_x): Remove nested function check_match. Use non-nested
2656 function check_match.
2658 2014-02-28 Roland McGrath <roland@hack.frob.com>
2660 * csu/Makefile (generated, before-compile): Use += rather than =.
2661 * catgets/Makefile (generated, generated-dirs): Likewise.
2662 * debug/Makefile (generated): Likewise.
2663 * dlfcn/Makefile (generated): Likewise.
2664 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2665 * iconvdata/Makefile (before-compile, generated): Likewise.
2666 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2667 * libio/Makefile (generated): Likewise.
2668 * malloc/Makefile (generated): Likewise.
2669 * manual/Makefile (generated, generated-dirs): Likewise.
2670 * misc/Makefile (generated): Likewise.
2671 * posix/Makefile (generated): Likewise.
2672 * resolv/Makefile (generated): Likewise.
2673 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2674 * timezone/Makefile (generated, generated-dirs): Likewise.
2676 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2678 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2683 POWER8 llround ifunc implementation.
2684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2685 POWER8 implementation.
2686 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2687 POWER8 llround implementation.
2689 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2694 POWER8 llrint ifunc implementation.
2695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2696 POWER8 implementation.
2697 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2698 POWER8 llrint implementation.
2700 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2705 POWER8 finite ifunc implementation.
2706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2707 POWER8 implementation.
2708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2710 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2711 POWER8 finite implementation.
2712 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2714 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2716 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2719 POWER8 isinf ifunc implementation.
2720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2721 POWER8 implementation.
2722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2724 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2725 POWER8 isinf implementation.
2726 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2728 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2730 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2731 Add hwcap2 initialization.
2732 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2735 POWER8 isnan ifunc implementation.
2736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2737 POWER8 implementation.
2738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2740 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2741 POWER8 isnan implementation.
2742 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2744 2014-02-27 Joey Ye <joey.ye@arm.com>
2746 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2747 (_FP_NANFRAC_Q): Set to zero.
2749 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2752 * math/auto-libm-test-in: New test inputs.
2753 * math/auto-libm-test-out: Regenerate.
2754 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2757 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2759 2014-02-27 Joseph Myers <joseph@codesourcery.com>
2761 * scripts/evaluate-test.sh: Take new argument indicating whether
2762 failure is expected.
2763 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2764 indicating whether failure is expected.
2765 * conform/Makefile (test-xfail-run-conformtest): New variable.
2766 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2768 * posix/Makefile (test-xfail-annexc): New variable.
2769 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2771 2014-02-26 Joseph Myers <joseph@codesourcery.com>
2773 * argp/Makefile: Include Makeconfig immediately after defining
2775 * assert/Makefile: Likewise.
2776 * benchtests/Makefile: Likewise.
2777 * catgets/Makefile: Likewise.
2778 * conform/Makefile: Likewise.
2779 * crypt/Makefile: Likewise.
2780 * csu/Makefile: Likewise.
2781 (all): Remove target.
2782 * ctype/Makefile: Include Makeconfig immediately after defining
2784 * debug/Makefile: Likewise.
2785 * dirent/Makefile: Likewise.
2786 * dlfcn/Makefile: Likewise.
2787 * gmon/Makefile: Likewise.
2788 * gnulib/Makefile: Likewise.
2789 * grp/Makefile: Likewise.
2790 * gshadow/Makefile: Likewise.
2791 * hesiod/Makefile: Likewise.
2792 * hurd/Makefile: Likewise.
2793 (all): Remove target.
2794 * iconvdata/Makefile: Include Makeconfig immediately after
2796 * inet/Makefile: Likewise.
2797 * intl/Makefile: Likewise.
2798 * io/Makefile: Likewise.
2799 * libio/Makefile: Likewise.
2800 (all): Remove target.
2801 * locale/Makefile: Include Makeconfig immediately after defining
2803 * login/Makefile: Likewise.
2804 * mach/Makefile: Likewise.
2805 (all): Remove target.
2806 * malloc/Makefile: Include Makeconfig immediately after defining
2808 (all): Remove target.
2809 * manual/Makefile: Include Makeconfig immediately after defining
2811 * math/Makefile: Likewise.
2812 * misc/Makefile: Likewise.
2813 * nis/Makefile: Likewise.
2814 * nss/Makefile: Likewise.
2815 * po/Makefile: Likewise.
2816 (all): Remove target.
2817 * posix/Makefile: Include Makeconfig immediately after defining
2819 * pwd/Makefile: Likewise.
2820 * resolv/Makefile: Likewise.
2821 * resource/Makefile: Likewise.
2822 * rt/Makefile: Likewise.
2823 * setjmp/Makefile: Likewise.
2824 * shadow/Makefile: Likewise.
2825 * signal/Makefile: Likewise.
2826 * socket/Makefile: Likewise.
2827 * soft-fp/Makefile: Likewise.
2828 * stdio-common/Makefile: Likewise.
2829 * stdlib/Makefile: Likewise.
2830 * streams/Makefile: Likewise.
2831 * string/Makefile: Likewise.
2832 * sunrpc/Makefile: Likewise.
2833 (all): Remove target.
2834 * sysvipc/Makefile: Include Makeconfig immediately after defining
2836 * termios/Makefile: Likewise.
2837 * time/Makefile: Likewise.
2838 * timezone/Makefile: Likewise.
2839 (all): Remove target.
2840 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2842 * wctype/Makefile: Likewise.
2844 2014-02-26 Steve Ellcey <sellcey@mips.com>
2846 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2847 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2848 (libc_feholdexcept_setround_mips): Ditto.
2849 (libc_feholdsetround): New.
2850 (libc_feholdsetroundf): New.
2851 (libc_feholdsetroundl): New.
2852 (libc_feupdateenv_test_mips): New.
2853 (libc_feupdateenv_test): New.
2854 (libc_feupdateenv_testf): New.
2855 (libc_feupdateenv_testl): New.
2856 (libc_feresetround): New.
2857 (libc_feresetroundf): New.
2858 (libc_feresetroundl): New.
2859 (libc_fetestexcept_mips): New.
2860 (libc_fetestexcept): New.
2861 (libc_fetestexceptf): New.
2862 (libc_fetestexceptl): New.
2864 (libc_feholdexcept_setround_mips_ctx): New.
2865 (libc_feholdexcept_setround_ctx): New.
2866 (libc_feholdexcept_setroundf_ctx): New.
2867 (libc_feholdexcept_setroundl_ctx): New.
2868 (libc_fesetenv_mips_ctx): New.
2869 (libc_fesetenv_ctx): New.
2870 (libc_fesetenv_ctxf): New.
2871 (libc_fesetenv_ctxl): New.
2872 (libc_feupdateenv_mips_ctx): New.
2873 (libc_feupdateenv_ctx): New.
2874 (libc_feupdateenvf_ctx): New.
2875 (libc_feupdateenvl_ctx): New.
2876 (libc_feholdsetround_mips_ctx): New.
2877 (libc_feholdsetround_ctx): New.
2878 (libc_feholdsetroundf_ctx): New.
2879 (libc_feholdsetroundl_ctx): New.
2880 (libc_feresetround_mips_ctx): New.
2881 (libc_feresetround_ctx): New.
2882 (libc_feresetroundf_ctx): New.
2883 (libc_feresetroundl_ctx): New.
2885 2014-02-26 Carlos O'Donell <carlos@redhat.com>
2887 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2889 * manual/ipc.texi: New file.
2890 * manual/Makefile (chapters): Add ipc.
2891 * manual/job.texi: Add "Inter-Process Communication" to next.
2892 * manual/process.texi: Add "Inter-Process Communication" to prev.
2894 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2898 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
2900 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2902 * manual/arith.texi: Fix spaces after sentences.
2903 * manual/charset.texi: Likewise.
2904 * manual/errno.texi: Likewise.
2905 * manual/install.texi: Likewise.
2906 * manual/llio.texi: Likewise.
2907 * manual/locale.texi: Likewise.
2908 * manual/maint.texi: Likewise.
2909 * manual/math.texi: Likewise.
2910 * manual/memory.texi: Likewise.
2911 * manual/message.texi: Likewise.
2912 * manual/probes.texi: Likewise.
2913 * manual/resource.texi: Likewise.
2914 * manual/signal.texi: Likewise.
2915 * manual/socket.texi: Likewise.
2916 * manual/stdio.texi: Likewise.
2917 * manual/string.texi: Likewise.
2918 * manual/time.texi: Likewise.
2919 * manual/users.texi: Likewise.
2921 2014-02-25 Carlos O'Donell <carlos@redhat.com>
2924 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2925 _DEFAULT_SOURCE is defined.
2927 2014-02-25 Ulrich Drepper <drepper@gmail.com>
2928 Carlos O'Donell <carlos@redhat.com>
2931 * elf/dl-tls.c (_dl_count_modids): New function.
2932 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2933 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2934 audit library and increment generation counter.
2935 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2936 * elf/tst-audit9.c: New file.
2937 * elf/tst-auditmod9a.c: New file.
2938 * elf/tst-auditmod9b.c: New file.
2939 * elf/Makefile: Add rules to build and run tst-audit9.
2941 2014-02-25 Florian Weimer <fweimer@redhat.com>
2944 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2946 2014-02-25 Will Newton <will.newton@linaro.org>
2948 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2949 (__longjmp): Restore sp and lr before restoring callee
2950 saved registers. Add longjmp and longjmp_target
2951 SystemTap probe point.
2952 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2953 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2954 Define to zero to match jmpbuf layout.
2955 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2956 (__sigsetjmp): Save sp and lr before saving callee
2957 saved registers. Add setjmp SystemTap probe point.
2959 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2961 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2963 2014-02-24 Andreas Schwab <schwab@suse.de>
2966 * elf/pldd.c (wait_for_ptrace_stop): New function.
2967 (main): Call it after attaching.
2969 2014-02-22 Roland McGrath <roland@hack.frob.com>
2971 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2972 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2973 Versions files is now verboten.
2974 * hurd/Versions (libc: GLIBC_2.0):
2975 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2976 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2977 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2978 * mach/Versions: Likewise.
2980 * csu/Versions: Remove unused %include.
2981 * resolv/Versions: Likewise.
2983 2014-02-21 Joseph Myers <joseph@codesourcery.com>
2985 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2986 ($(objpfx)check-local-headers.out): Likewise.
2987 ($(objpfx)begin-end-check.out): Likewise.
2988 * Makerules (check-abi-%.out): Likewise.
2989 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2990 ($(objpfx)test2.cat): Likewise.
2991 ($(objpfx)de/libc.cat): Likewise.
2992 ($(objpfx)test-gencat.out): Likewise.
2993 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2994 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2995 ($(objpfx)noload-mem): Likewise.
2996 ($(objpfx)tst-pathopt.out): Likewise.
2997 ($(objpfx)tst-rtld-load-self.out): Likewise.
2998 ($(objpfx)tst-array1-cmp.out): Likewise.
2999 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3000 ($(objpfx)tst-array2-cmp.out): Likewise.
3001 ($(objpfx)tst-array3-cmp.out): Likewise.
3002 ($(objpfx)tst-array4-cmp.out): Likewise.
3003 ($(objpfx)tst-array5-cmp.out): Likewise.
3004 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3005 ($(objpfx)check-textrel.out): Likewise.
3006 ($(objpfx)check-execstack.out): Likewise.
3007 ($(objpfx)check-localplt.out): Likewise.
3008 ($(objpfx)order2-cmp.out): Likewise.
3009 ($(objpfx)tst-leaks1-mem): Likewise.
3010 ($(objpfx)tst-leaks1-static-mem): Likewise.
3011 ($(objpfx)tst-initorder-cmp.out): Likewise.
3012 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3013 ($(objpfx)tst-unused-dep.out): Likewise.
3014 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3015 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3016 * iconv/Makefile (test-iconvconfig): Likewise.
3017 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3018 ($(objpfx)iconv-test.out): Likewise.
3019 ($(objpfx)tst-tables.out): Likewise.
3020 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3021 ($(objpfx)tst-gettext.out): Likewise.
3022 ($(objpfx)tst-translit.out): Likewise.
3023 ($(objpfx)tst-gettext2.out): Likewise.
3024 ($(objpfx)tst-gettext4.out): Likewise.
3025 ($(objpfx)tst-gettext6.out): Likewise.
3026 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3027 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3028 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3029 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3030 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3031 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3032 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3033 ($(objpfx)wordexp-tst.out): Likewise.
3034 ($(objpfx)annexc.out): Likewise.
3035 ($(objpfx)tst-fnmatch-mem): Likewise.
3036 ($(objpfx)bug-regex2-mem): Likewise.
3037 ($(objpfx)bug-regex14-mem): Likewise.
3038 ($(objpfx)bug-regex21-mem): Likewise.
3039 ($(objpfx)bug-regex31-mem): Likewise.
3040 ($(objpfx)tst-vfork3-mem): Likewise.
3041 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3042 ($(objpfx)tst-pcre-mem): Likewise.
3043 ($(objpfx)tst-boost-mem): Likewise.
3044 ($(objpfx)tst-getconf.out): Likewise.
3045 ($(objpfx)bug-ga2-mem): Likewise.
3046 ($(objpfx)bug-glob2-mem): Likewise.
3047 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3048 ($(objpfx)mtrace-tst-leaks2): Likewise.
3049 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3050 ($(objpfx)tst-printf.out): Likewise.
3051 ($(objpfx)tst-setvbuf1.out): Likewise.
3052 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3053 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3054 ($(objpfx)tst-fmtmsg.out): Likewise.
3055 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3056 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3058 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3059 * bits/sigaction.h [__USE_MISC]: Likewise.
3060 * bits/waitstatus.h: Update #endif comments.
3061 * ctype/ctype.h: Likewise.
3062 * dirent/dirent.h: Likewise.
3063 [__USE_MISC]: Remove redundant conditionals.
3064 * grp/grp.h: Update #endif comments.
3065 [__USE_GNU]: Remove redundant conditionals.
3066 [__USE_MISC]: Likewise.
3067 * inet/netinet/in.h [__USE_GNU]: Likewise.
3068 * io/sys/stat.h [__USE_MISC]: Likewise.
3069 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3070 * libio/bits/stdio.h: Update #endif comments.
3071 [__USE_MISC]: Remove redundant conditionals.
3072 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3073 * libio/stdio.h: Update #endif comments.
3074 [__USE_MISC]: Remove redundant conditionals.
3075 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3076 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3077 * math/math.h: Update #else and #endif comments.
3078 [__USE_MISC]: Remove redundant conditionals.
3079 * misc/sys/uio.h: Update #endif comments.
3080 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3081 * posix/glob.h [__USE_MISC]: Likewise.
3082 * posix/sys/types.h: Update #endif comments.
3083 [__USE_MISC]: Remove redundant conditionals.
3084 * posix/sys/wait.h: Update #endif comments.
3085 [__USE_MISC]: Remove redundant conditionals.
3086 * posix/unistd.h: Update #endif comments.
3087 [__USE_MISC]: Remove redundant conditionals.
3088 * pwd/pwd.h [__USE_GNU]: Likewise.
3089 [__USE_MISC]: Likewise.
3090 * resolv/netdb.h [__USE_GNU]: Likewise.
3091 * signal/signal.h: Update #endif comments.
3092 [__USE_MISC]: Remove redundant conditionals.
3093 * stdlib/stdlib.h: Update #else and #endif comments.
3094 [__USE_MISC]: Remove redundant conditionals.
3095 [__USE_GNU]: Likewise.
3096 * string/bits/string2.h [__USE_MISC]: Likewise.
3097 * string/string.h: Update #endif comments.
3098 [__USE_MISC]: Remove redundant conditionals.
3099 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3101 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3102 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3103 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3105 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3107 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3109 [__USE_MISC]: Remove redundant conditionals.
3110 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3111 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3112 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3113 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3114 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3116 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3117 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3119 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3120 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3122 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3124 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3125 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3127 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3129 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3130 * sysdeps/x86/bits/string.h: Update #endif comments.
3131 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3133 * time/sys/time.h: Update #endif comments.
3134 * time/time.h: Likewise.
3135 [__USE_MISC]: Remove redundant conditionals.
3137 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3140 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3142 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3144 * Versions.def (librt): Add GLIBC_2.17.
3146 2014-02-21 Adam Conrad <adconrad@0c3.net>
3148 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3149 synonym for _SYS_AUXV_H to allow direct inclusion.
3150 * sysdeps/sparc/bits/hwcap.h: Likewise.
3151 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3152 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3153 * sysdeps/sparc/sysdep.h: Likewise.
3155 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3157 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3159 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3161 * benchtests/bench-strrchr.c: Print length instead of position.
3163 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3166 * sysdeps/unix/sysv/linux/kernel-features.h
3167 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3168 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3169 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3170 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3172 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3173 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3174 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3175 (__ASSUME_SENDMMSG): Define instead of using previous
3176 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3177 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3178 (__ASSUME_SENDMMSG_SYSCALL): Define.
3179 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3180 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3182 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3183 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3185 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3186 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3188 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3189 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3190 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3191 [__ASSUME_SENDMMSG]: Change conditionals to
3192 [__ASSUME_SENDMMSG_SOCKETCALL].
3193 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3194 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3196 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3197 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3199 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3200 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3201 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3202 [!__ASSUME_SENDMMSG]: Change conditional to
3203 [!__ASSUME_SENDMMSG_SOCKETCALL].
3204 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3205 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3209 * sysdeps/unix/sysv/linux/kernel-features.h
3210 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3211 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3212 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3213 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3214 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3215 [__i386__ || __sparc__]
3216 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3217 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3218 (__ASSUME_RECVMMSG): Define instead of using previous
3219 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3220 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3221 (__ASSUME_RECVMMSG_SYSCALL): Define.
3222 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3223 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3225 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3226 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3228 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3229 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3231 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3232 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3233 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3234 [__ASSUME_RECVMMSG]: Change condition to
3235 [__ASSUME_RECVMMSG_SOCKETCALL].
3236 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3237 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3239 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3240 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3241 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3243 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3244 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3245 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3246 [!__ASSUME_RECVMMSG]: Change condition to
3247 [!__ASSUME_RECVMMSG_SOCKETCALL].
3248 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3249 (__ASSUME_RECVMMSG_SYSCALL): Define.
3252 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3253 __powerpc__ || __s390__ || __sh__ || __sparc__]
3254 (__ASSUME_SOCKETCALL): Define.
3255 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3256 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3257 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3258 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3259 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3260 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3261 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3262 (__ASSUME_ACCEPT4): Define instead of using previous
3263 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3264 __powerpc__ || __sparc__ || __s390__)] condition.
3265 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3266 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3267 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3268 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3269 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3270 [!__ASSUME_ACCEPT4]: Change condition to
3271 [!__ASSUME_ACCEPT4_SOCKETCALL].
3272 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3273 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3274 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3275 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3276 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3277 __ASSUME_ACCEPT4_SYSCALL.
3278 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3279 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3280 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3281 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3282 __ASSUME_ACCEPT4_SYSCALL.
3283 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3284 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3285 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3286 [__ASSUME_ACCEPT4]: Change condition to
3287 [__ASSUME_ACCEPT4_SOCKETCALL].
3288 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3289 (__ASSUME_SOCKETCALL): Define.
3290 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3291 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3292 (__ASSUME_SOCKETCALL): Define.
3293 (__ASSUME_ACCEPT4): Remove.
3294 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3296 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3297 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3299 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3300 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3302 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3304 (HWCAP_ARM_LPAE): Likewise.
3305 (HWCAP_ARM_EVTSTRM): Likewise.
3306 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3307 Add vpfd32, lpae and evtstrm.
3308 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3311 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3313 * math/auto-libm-test-in: Add tests of clog10.
3314 * math/auto-libm-test-out: Regenerated.
3315 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3316 * sysdeps/i386/fpu/libm-test-ulps: Update.
3317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3319 2014-02-18 Andreas Schwab <schwab@suse.de>
3322 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3323 Store non-zero if the second buffer was newly allocated.
3324 (send_dg): Likewise.
3325 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3326 to send_vc and send_dg.
3327 (res_nsend): Pass NULL for ansp2_malloced.
3328 * resolv/res_query.c (__libc_res_nquery): Add parameter
3329 answerp2_malloced and pass it down to __libc_res_nsend.
3330 (res_nquery): Pass additional NULL to __libc_res_nquery.
3331 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3332 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3333 second answer buffer if answerp2_malloced was set.
3334 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3335 (__libc_res_nquerydomain): Add parameter
3336 answerp2_malloced and pass it down to __libc_res_nquery.
3337 (res_nquerydomain): Pass additional NULL to
3338 __libc_res_nquerydomain.
3339 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3340 additional NULL to __libc_res_nsend and __libc_res_nquery.
3341 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3342 additional NULL to __libc_res_nsearch.
3343 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3344 parameter of __libc_res_nsearch to check for separately allocated
3346 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3348 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3349 additional NULL to __libc_res_nquery.
3350 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3352 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3353 * include/resolv.h: Update prototypes of __libc_res_nquery,
3354 __libc_res_nsearch, __libc_res_nsend.
3356 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3358 * math/auto-libm-test-in: Add tests of fma.
3359 * math/auto-libm-test-out: Regenerated.
3360 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3361 (fma_towardzero_test_data): Likewise.
3362 (fma_downward_test_data): Likewise.
3363 (fma_upward_test_data): Likewise.
3364 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3366 (rounding_modes): Add values for new field.
3367 (func_calc_method): Add value mpfr_fff_f.
3368 (func_calc_desc): Add mpfr_fff_f union field.
3369 (test_function): Add field exact_args.
3370 (FUNC): Add macro argument EXACT_ARGS.
3371 (FUNC_mpfr_f_f): Update call to FUNC.
3372 (FUNC_mpfr_f_f): Likewise.
3373 (FUNC_mpfr_ff_f): Likewise.
3374 (FUNC_mpfr_if_f): Likewise.
3375 (FUNC_mpc_c_f): Likewise.
3376 (FUNC_mpc_c_c): Likewise.
3377 (test_functions): Add fma. Update calls to FUNC.
3378 (handle_input_arg): Add argument exact_args.
3379 (add_test): Update call to handle_input_arg.
3380 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3381 (output_for_one_input_case): Update call to calc_generic_results.
3382 Recalculate exact zero results in each rounding mode.
3384 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3385 non-negative before setting low bit.
3386 * math/auto-libm-test-in: Mark one asin test possibly having
3388 * math/auto-libm-test-out: Regenerated.
3389 * sysdeps/i386/fpu/libm-test-ulps: Update.
3390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3392 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3394 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3395 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3396 ports/sysdeps/unix/sysv/linux/microblaze.
3397 * README: Add missing listing for microblaze*-*-linux-gnu.
3399 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3401 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3402 * sysdeps/unix/sysv/linux/ia64: Move directory from
3403 ports/sysdeps/unix/sysv/linux/ia64.
3404 * README: Update listing for ia64-*-linux-gnu.
3406 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3407 Joseph Myers <joseph@codesourcery.com>
3409 * Makeconfig (test-name): New variable.
3410 (evaluate-test): Likewise.
3411 * Makerules (do-test-clean): Remove .test-result files.
3412 (common-mostlyclean): Likewise.
3413 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3414 * scripts/evaluate-test.sh: New file.
3416 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3418 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3419 separate $(objpfx)tst-fopenloc-cmp.out and
3420 $(objpfx)tst-fopenloc-mem.out targets.
3421 (tests): Update dependencies.
3422 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3423 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3424 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3425 (tst-rxspencer-no-utf8-ARGS): New variable.
3426 (tst-rxspencer-no-utf8-ENV): Likewise.
3427 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3428 instead of $(objpfx)tst-rxspencer-mem.
3429 ($(objpfx)tst-rxspencer-mem): Change target to
3430 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3431 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3432 * posix/tst-rxspencer-no-utf8.c: New file.
3434 * elf/Makefile ($(objpfx)order.out): Remove rule.
3435 [$(run-built-tests) = yes] (tests): Depend on
3436 $(objpfx)order-cmp.out.
3437 ($(objpfx)order-cmp.out): New rule.
3438 [$(run-built-tests) = yes] (tests): Depend on
3439 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3440 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3441 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3442 $(objpfx)tst-array5-static-cmp.out.
3443 ($(objpfx)tst-array1.out): Remove rule.
3444 ($(objpfx)tst-array1-cmp.out): New rule.
3445 ($(objpfx)tst-array1-static.out): Remove rule.
3446 ($(objpfx)tst-array1-static-cmp.out): New rule.
3447 ($(objpfx)tst-array2.out): Remove rule.
3448 ($(objpfx)tst-array2-cmp.out): New rule.
3449 ($(objpfx)tst-array3.out): Remove rule.
3450 ($(objpfx)tst-array3-cmp.out): New rule.
3451 ($(objpfx)tst-array4.out): Remove rule.
3452 ($(objpfx)tst-array4-cmp.out): New rule.
3453 ($(objpfx)tst-array5.out): Remove rule.
3454 ($(objpfx)tst-array5-cmp.out): New rule.
3455 ($(objpfx)tst-array5-static.out): Remove rule.
3456 ($(objpfx)tst-array5-static-cmp.out): New rule.
3457 [$(run-built-tests) = yes] (tests): Depend on
3458 $(objpfx)order2-cmp.out.
3459 ($(objpfx)order2.out): Remove rule.
3460 ($(objpfx)order2-cmp.out): New rule.
3461 ($(objpfx)tst-initorder.out): Remove rule.
3462 [$(run-built-tests) = yes] (tests): Depend on
3463 $(objpfx)tst-initorder-cmp.out.
3464 ($(objpfx)tst-initorder-cmp.out): New rule.
3465 ($(objpfx)tst-initorder2.out): Remove rule.
3466 [$(run-built-tests) = yes] (tests): Depend on
3467 $(objpfx)tst-initorder2-cmp.out.
3468 ($(objpfx)tst-initorder2-cmp.out): New rule.
3469 [$(run-built-tests) = yes] (tests): Depend on
3470 $(objpfx)tst-unused-dep-cmp.out.
3471 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3472 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3473 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3474 on $(objpfx)tst-setvbuf1-cmp.out.
3475 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3476 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3477 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3478 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3479 ($(objpfx)tst-svc.out): Remove rule.
3480 ($(objpfx)tst-svc-cmp.out): New rule.
3482 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3484 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3485 * ctype/ctype.h [__USE_MISC]: Likewise.
3486 * dirent/dirent.h [__USE_MISC]: Likewise.
3487 * grp/grp.h [__USE_MISC]: Likewise.
3488 * io/fcntl.h [__USE_MISC]: Likewise.
3489 * io/sys/stat.h [__USE_MISC]: Likewise.
3490 * libio/stdio.h [__USE_MISC]: Likewise.
3491 * posix/unistd.h [__USE_MISC]: Likewise.
3492 * pwd/pwd.h [__USE_MISC]: Likewise.
3493 * stdlib.h [__USE_MISC]: Likewise.
3494 * string/bits/string2.h [__USE_MISC]: Likewise.
3495 * string/string.h [__USE_MISC]: Likewise.
3496 * time/time.h [__USE_MISC]: Likewise.
3498 2014-02-13 Andreas Schwab <schwab@suse.de>
3501 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3502 second answer buffer if it was separately allocated.
3504 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3506 * sysdeps/mips/math-tests.h: Include <features.h>.
3507 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3508 (ROUNDING_TESTS_long_double): Do not define.
3509 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3510 (EXCEPTION_TESTS_long_double): Likewise.
3511 * sysdeps/mips/mips64/libm-test-ulps: Update.
3513 * include/features.h (__USE_BSD): Remove macro definitions.
3514 (__USE_SVID): Likewise.
3515 (_BSD_SOURCE): Likewise.
3516 (_SVID_SOURCE): Likewise.
3517 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3518 from definition of _DEFAULT_SOURCE.
3519 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3521 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3522 * bits/mman.h [__USE_BSD]: Likewise.
3523 * bits/termios.h [__USE_BSD]: Likewise.
3524 * bits/waitstatus.h [__USE_BSD]: Likewise.
3525 * ctype/ctype.h [__USE_SVID]: Likewise.
3526 * dirent/dirent.h [__USE_BSD]: Likewise.
3527 * grp/grp.h [__USE_SVID]: Likewise.
3528 [__USE_BSD]: Likewise.
3529 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3530 * io/fcntl.h [__USE_BSD]: Likewise.
3531 * io/ftw.h [__USE_BSD]: Likewise.
3532 * io/sys/stat.h [__USE_BSD]: Likewise.
3533 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3534 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3535 * libio/stdio.h [__USE_SVID]: Likewise.
3536 [__USE_BSD]: Likewise.
3537 * math/math.h [__USE_SVID]: Likewise.
3538 [__USE_BSD]: Likewise.
3539 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3540 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3541 * misc/search.h [__USE_SVID]: Likewise.
3542 * misc/sys/mman.h [__USE_BSD]: Likewise.
3543 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3544 * misc/sys/uio.h [__USE_BSD]: Likewise.
3545 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3546 * posix/glob.h [__USE_BSD]: Likewise.
3547 * posix/regex.h [__USE_BSD]: Likewise.
3548 * posix/sys/types.h [__USE_BSD]: Likewise.
3549 [__USE_SVID]: Likewise.
3550 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3551 * posix/sys/wait.h [__USE_BSD]: Likewise.
3552 [__USE_SVID]: Likewise.
3553 * posix/unistd.h [__USE_BSD]: Likewise.
3554 [__USE_SVID]: Likewise.
3555 * pwd/pwd.h [__USE_SVID]: Likewise.
3556 * resolv/netdb.h [__USE_BSD]: Likewise.
3557 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3558 * signal/signal.h [__USE_BSD]: Likewise.
3559 [__USE_SVID]: Likewise.
3560 * socket/sys/socket.h [__USE_BSD]: Likewise.
3561 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3562 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3563 [__USE_SVID]: Likewise.
3564 * string/bits/string2.h [__USE_BSD]: Likewise.
3565 [__USE_SVID]: Likewise.
3566 * string/bits/string3.h [__USE_BSD]: Likewise.
3567 * string/endian.h [__USE_BSD]: Likewise.
3568 * string/string.h [__USE_SVID]: Likewise.
3569 [__USE_BSD]: Likewise.
3570 * string/strings.h [__USE_BSD]: Likewise.
3571 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3572 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3573 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3574 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3575 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3576 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3578 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3580 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3581 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3583 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3584 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3586 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3588 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3589 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3590 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3592 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3594 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3595 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3596 * termios/termios.h [__USE_BSD]: Likewise.
3597 * time/sys/time.h [__USE_BSD]: Likewise.
3598 * time/time.h [__USE_BSD]: Likewise.
3599 [__USE_SVID]: Likewise.
3601 * Makefile (subdir_targets): Remove subdir_lint.out.
3603 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3604 (do-tst-printf): Likewise.
3605 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3606 $(objpfx)tst-printf.out.
3608 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3610 * Makerules (check-abi-%): Change target to
3611 $(objpfx)check-abi-%.out.
3612 (check-abi target): Update dependencies.
3613 (check-abi-pattern variable): Redirect output of diff to $@.
3614 (check-abi variable): Likewise.
3615 * elf/Makefile (check-abi): Update dependencies.
3617 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3619 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3620 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3622 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3623 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3624 value has largest subnormal exponent.
3625 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3626 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3627 * sysdeps/aarch64/soft-fp/sfp-machine.h
3628 (_FP_TININESS_AFTER_ROUNDING): New macro.
3629 * sysdeps/alpha/soft-fp/sfp-machine.h
3630 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3631 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3633 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3634 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3635 * sysdeps/mips/soft-fp/sfp-machine.h
3636 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3637 * sysdeps/powerpc/soft-fp/sfp-machine.h
3638 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3639 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3641 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3642 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3643 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3644 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3645 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3648 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3651 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3654 2014-02-12 Richard Henderson <rth@redhat.com>
3656 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3657 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3658 * sysdeps/unix/sysv/linux/alpha: Move directory from
3659 ports/sysdeps/unix/sysv/linux/alpha.
3660 * README: Update listing for alpha-*-linux-gnu.
3662 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3664 * include/features.h: Update comment documenting feature test
3666 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3668 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3669 (_SVID_SOURCE): Likewise.
3670 (_DEFAULT_SOURCE): Update description of default features.
3671 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3673 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3674 (S_ISVTX): Likewise.
3675 * manual/math.texi (Mathematical Constants): Likewise.
3676 * manual/signal.texi (Interrupted Primitives): Likewise.
3677 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3678 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3679 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3680 Don't refer to _SVID_SOURCE in warning text.
3682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3684 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3686 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3687 * sysdeps/mips/dl-lookup.c: Remove.
3688 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3690 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3693 * math/auto-libm-test-in: Add testcase for expl.
3694 * math/auto-libm-test-out: Regenerate.
3695 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3696 calculation of unsafe.
3697 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3699 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3701 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3702 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3703 ports/sysdeps/unix/sysv/linux/aarch64.
3704 * README: Update listing for aarch64*-*-linux-gnu.
3706 2014-02-11 Will Newton <will.newton@linaro.org>
3708 * manual/probes.texi (Mathematical Function Probes): Use
3709 "triggered" instead of "hit".
3711 2014-02-11 Will Newton <will.newton@linaro.org>
3713 * manual/probes.texi (Internal Probes): Add documentation
3714 of setjmp, longjmp and longjmp_target probes.
3716 2014-02-11 Will Newton <will.newton@linaro.org>
3718 * include/stap-probe.h: Add comment about probe argument
3721 2014-02-11 Will Newton <will.newton@linaro.org>
3723 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3724 definition. (tr_where, tr_freehook, tr_mallochook,
3725 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3727 2014-02-11 David S. Miller <davem@davemloft.net>
3729 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3730 processing int_tests.
3732 2014-02-10 Joseph Myers <joseph@codesourcery.com>
3734 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3735 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3736 * sysdeps/unix/sysv/linux/mips: Move directory from
3737 ports/sysdeps/unix/sysv/linux/mips.
3738 * README: Update listing for mips-*-linux-gnu and
3741 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3743 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3744 * sysdeps/unix/sysv/linux/m68k: Move directory from
3745 ports/sysdeps/unix/sysv/linux/m68k.
3746 * README: Update listing for m68k-*-linux-gnu.
3748 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3750 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3751 * sysdeps/unix/sysv/linux/generic: Move directory from
3752 ports/sysdeps/unix/sysv/linux/generic.
3753 * sysdeps/unix/sysv/linux/tile: Move directory from
3754 ports/sysdeps/unix/sysv/linux/tile.
3755 * README: Update listing for tile*-*-linux-gnu.
3757 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3759 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3760 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3761 * catgets/open_catalog.c (__open_catalog): Likewise.
3762 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3763 * debug/confstr_chk.c: Likewise.
3764 * debug/fread_chk.c (__fread_chk): Likewise.
3765 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3766 * debug/getgroups_chk.c: Likewise.
3767 * debug/mbsnrtowcs_chk.c: Likewise.
3768 * debug/mbsrtowcs_chk.c: Likewise.
3769 * debug/mbstowcs_chk.c: Likewise.
3770 * debug/memcpy_chk.c: Likewise.
3771 * debug/memmove_chk.c: Likewise.
3772 * debug/mempcpy_chk.c: Likewise.
3773 * debug/memset_chk.c: Likewise.
3774 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3775 * debug/strcat_chk.c (__strcat_chk): Likewise.
3776 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3777 * debug/strncat_chk.c (__strncat_chk): Likewise.
3778 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3779 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3780 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3781 * debug/wcpncpy_chk.c: Likewise.
3782 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3783 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3784 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3785 * debug/wcsncpy_chk.c: Likewise.
3786 * debug/wcsnrtombs_chk.c: Likewise.
3787 * debug/wcsrtombs_chk.c: Likewise.
3788 * debug/wcstombs_chk.c: Likewise.
3789 * debug/wmemcpy_chk.c: Likewise.
3790 * debug/wmemmove_chk.c: Likewise.
3791 * debug/wmempcpy_chk.c: Likewise.
3792 * debug/wmemset_chk.c: Likewise.
3793 * dirent/scandirat.c (SCANDIRAT): Likewise.
3794 * dlfcn/dladdr1.c (dladdr1): Likewise.
3795 * dlfcn/dladdr.c (dladdr): Likewise.
3796 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3797 * dlfcn/dlerror.c (__dlerror): Likewise.
3798 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3799 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3800 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3801 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3802 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3803 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3804 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3805 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3807 * elf/dl-conflict.c: Likewise.
3808 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3809 * elf/dl-dst.h: Likewise.
3810 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3811 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3812 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3813 * elf/dl-init.c (call_init, _dl_init): Likewise.
3814 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3815 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3816 _dl_map_object_from_fd, open_verify, open_path,
3817 _dl_map_object): Likewise.
3818 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3820 * elf/dl-minimal.c (__libc_memalign): Likewise.
3821 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3822 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3823 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3824 * elf/dl-sym.c (do_sym): Likewise.
3825 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3826 _dl_tls_get_addr_soft): Likewise.
3827 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3828 * elf/dl-writev.h (_dl_writev): Likewise.
3829 * elf/ldconfig.c (search_dir): Likewise.
3830 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3832 * elf/setup-vdso.h (setup_vdso): Likewise.
3833 * grp/compat-initgroups.c (compat_call): Likewise.
3834 * grp/fgetgrent.c (fgetgrent): Likewise.
3835 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3836 * grp/putgrent.c (putgrent): Likewise.
3837 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3839 * hurd/hurdinit.c: Likewise.
3840 * iconvdata/8bit-gap.c (struct): Likewise.
3841 * iconvdata/ansi_x3.110.c : Likewise.
3842 * iconvdata/big5.c : Likewise.
3843 * iconvdata/big5hkscs.c : Likewise.
3844 * iconvdata/cp1255.c: Likewise.
3845 * iconvdata/cp1258.c : Likewise.
3846 * iconvdata/cp932.c : Likewise.
3847 * iconvdata/euc-cn.c: Likewise.
3848 * iconvdata/euc-jisx0213.c : Likewise.
3849 * iconvdata/euc-jp.c: Likewise.
3850 * iconvdata/euc-jp-ms.c : Likewise.
3851 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3852 * iconvdata/gb18030.c : Likewise.
3853 * iconvdata/gbbig5.c (const): Likewise.
3854 * iconvdata/gbgbk.c: Likewise.
3855 * iconvdata/gbk.c : Likewise.
3856 * iconvdata/ibm1364.c : Likewise.
3857 * iconvdata/ibm930.c : Likewise.
3858 * iconvdata/ibm932.c: Likewise.
3859 * iconvdata/ibm933.c : Likewise.
3860 * iconvdata/ibm935.c : Likewise.
3861 * iconvdata/ibm937.c : Likewise.
3862 * iconvdata/ibm939.c : Likewise.
3863 * iconvdata/ibm943.c: Likewise.
3864 * iconvdata/iso_11548-1.c: Likewise.
3865 * iconvdata/iso-2022-cn.c : Likewise.
3866 * iconvdata/iso-2022-cn-ext.c : Likewise.
3867 * iconvdata/iso-2022-jp-3.c: Likewise.
3868 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3869 * iconvdata/iso-2022-kr.c : Likewise.
3870 * iconvdata/iso646.c (gconv_end): Likewise.
3871 * iconvdata/iso_6937-2.c : Likewise.
3872 * iconvdata/iso_6937.c : Likewise.
3873 * iconvdata/iso8859-1.c: Likewise.
3874 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3875 * iconvdata/shift_jisx0213.c : Likewise.
3876 * iconvdata/sjis.c : Likewise.
3877 * iconvdata/t.61.c : Likewise.
3878 * iconvdata/tcvn5712-1.c : Likewise.
3879 * iconvdata/tscii.c: Likewise.
3880 * iconvdata/uhc.c : Likewise.
3881 * iconvdata/unicode.c (gconv_end): Likewise.
3882 * iconvdata/utf-16.c (gconv_end): Likewise.
3883 * iconvdata/utf-32.c (gconv_end): Likewise.
3884 * iconvdata/utf-7.c (base64): Likewise.
3885 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3886 * iconv/gconv_close.c (__gconv_close): Likewise.
3887 * iconv/gconv_open.c (__gconv_open): Likewise.
3888 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3889 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3890 internal_ucs4le_loop_single, ucs4le_internal_loop,
3891 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3892 * iconv/iconv.c (iconv): Likewise.
3893 * iconv/iconv_close.c: Likewise.
3894 * iconv/loop.c (SINGLE): Likewise.
3895 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3896 * include/atomic.h: Likewise.
3897 * inet/inet6_option.c (option_alloc): Likewise.
3898 * intl/bindtextdom.c (set_binding_values): Likewise.
3899 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3900 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3901 * intl/localealias.c (read_alias_file): Likewise.
3902 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3903 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3904 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3905 * libio/fmemopen.c (fmemopen): Likewise.
3906 * libio/iofgets.c (_IO_fgets): Likewise.
3907 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3908 * libio/iofgetws.c (fgetws): Likewise.
3909 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3910 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3911 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3912 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3913 * locale/findlocale.c (_nl_find_locale): Likewise.
3914 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3915 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3917 * locale/setlocale.c (setlocale): Likewise.
3918 * login/programs/pt_chown.c (main): Likewise.
3919 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3920 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3921 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3922 mmap, mmap64, mremap, munmap): Likewise.
3923 * math/e_exp2l.c: Likewise.
3924 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3925 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3926 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3927 * math/s_catan.c (__catan): Likewise.
3928 * math/s_catanf.c (__catanf): Likewise.
3929 * math/s_catanh.c (__catanh): Likewise.
3930 * math/s_catanhf.c (__catanhf): Likewise.
3931 * math/s_catanhl.c (__catanhl): Likewise.
3932 * math/s_catanl.c (__catanl): Likewise.
3933 * math/s_ccosh.c (__ccosh): Likewise.
3934 * math/s_ccoshf.c (__ccoshf): Likewise.
3935 * math/s_ccoshl.c (__ccoshl): Likewise.
3936 * math/s_cexp.c (__cexp): Likewise.
3937 * math/s_cexpf.c (__cexpf): Likewise.
3938 * math/s_cexpl.c (__cexpl): Likewise.
3939 * math/s_clog10.c (__clog10): Likewise.
3940 * math/s_clog10f.c (__clog10f): Likewise.
3941 * math/s_clog10l.c (__clog10l): Likewise.
3942 * math/s_clog.c (__clog): Likewise.
3943 * math/s_clogf.c (__clogf): Likewise.
3944 * math/s_clogl.c (__clogl): Likewise.
3945 * math/s_csin.c (__csin): Likewise.
3946 * math/s_csinf.c (__csinf): Likewise.
3947 * math/s_csinh.c (__csinh): Likewise.
3948 * math/s_csinhf.c (__csinhf): Likewise.
3949 * math/s_csinhl.c (__csinhl): Likewise.
3950 * math/s_csinl.c (__csinl): Likewise.
3951 * math/s_csqrt.c (__csqrt): Likewise.
3952 * math/s_csqrtf.c (__csqrtf): Likewise.
3953 * math/s_csqrtl.c (__csqrtl): Likewise.
3954 * math/s_ctan.c (__ctan): Likewise.
3955 * math/s_ctanf.c (__ctanf): Likewise.
3956 * math/s_ctanh.c (__ctanh): Likewise.
3957 * math/s_ctanhf.c (__ctanhf): Likewise.
3958 * math/s_ctanhl.c (__ctanhl): Likewise.
3959 * math/s_ctanl.c (__ctanl): Likewise.
3960 * math/w_pow.c: Likewise.
3961 * math/w_powf.c: Likewise.
3962 * math/w_powl.c: Likewise.
3963 * math/w_scalb.c (sysv_scalb): Likewise.
3964 * math/w_scalbf.c (sysv_scalbf): Likewise.
3965 * math/w_scalbl.c (sysv_scalbl): Likewise.
3966 * misc/error.c (error_tail): Likewise.
3967 * misc/pselect.c (__pselect): Likewise.
3968 * nis/nis_callback.c (__nis_create_callback): Likewise.
3969 * nis/nis_call.c (__nisfind_server): Likewise.
3970 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3971 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3972 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3973 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3974 * nis/nis_lookup.c (nis_lookup): Likewise.
3975 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3976 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3977 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3978 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3979 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3980 internal_getgrgid_r): Likewise.
3981 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3983 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3984 internal_getpwuid_r): Likewise.
3985 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3986 internal_getspnam_r): Likewise.
3987 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3988 _nss_nis_getaliasbyname_r): Likewise.
3989 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3990 _nss_nis_getntohost_r): Likewise.
3991 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3992 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3994 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3995 internal_nis_gethostent_r, internal_gethostbyname2_r,
3996 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3997 _nss_nis_gethostbyname4_r): Likewise.
3998 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3999 initgroups_netid): Likewise.
4000 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4001 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4002 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4003 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4004 _nss_nis_getprotobynumber_r): Likewise.
4005 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4006 _nss_nis_getsecretkey): Likewise.
4007 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4008 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4010 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4011 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4012 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4013 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4014 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4015 _nss_nis_getspnam_r): Likewise.
4016 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4018 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4019 _nss_nisplus_getntohost_r): Likewise.
4020 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4021 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4022 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4023 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4024 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4026 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4027 _nss_nisplus_getnetbyaddr_r): Likewise.
4028 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4029 _nss_nisplus_getprotobynumber_r): Likewise.
4030 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4031 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4032 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4034 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4035 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4036 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4037 _nss_nisplus_getspnam_r): Likewise.
4038 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4039 * nscd/aicache.c (addhstaiX): Likewise.
4040 * nscd/cache.c (cache_search, prune_cache): Likewise.
4041 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4042 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4043 * nscd/grpcache.c (addgrbyX): Likewise.
4044 * nscd/hstcache.c (addhstbyX): Likewise.
4045 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4046 * nscd/mem.c (gc, mempool_alloc): Likewise.
4047 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4049 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4051 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4052 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4053 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4055 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4056 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4057 * nscd/nscd_helper.c (__readvall, open_socket,
4058 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4059 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4060 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4061 * nscd/pwdcache.c (addpwbyX): Likewise.
4062 * nscd/selinux.c (preserve_capabilities): Likewise.
4063 * nscd/servicescache.c (addservbyX): Likewise.
4064 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4065 * posix/fnmatch.c (fnmatch): Likewise.
4066 * posix/getopt.c (_getopt_internal_r): Likewise.
4067 * posix/glob.c (glob, glob_in_dir): Likewise.
4068 * posix/wordexp.c (exec_comm_child): Likewise.
4069 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4070 gaih_getanswer_slice): Likewise.
4071 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4072 * resolv/res_init.c: Likewise.
4073 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4074 * resolv/res_query.c (__libc_res_nquery): Likewise.
4075 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4077 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4078 * stdio-common/perror.c (perror): Likewise.
4079 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4080 * stdio-common/tmpnam.c (tmpnam): Likewise.
4081 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4082 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4083 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4084 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4085 * stdlib/putenv.c (putenv): Likewise.
4086 * stdlib/setenv.c (__add_to_environ): Likewise.
4087 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4088 * stdlib/strtol_l.c (INTERNAL): Likewise.
4089 * string/memmem.c (memmem): Likewise.
4090 * string/strerror.c (strerror): Likewise.
4091 * string/strnlen.c (__strnlen): Likewise.
4092 * string/test-memmem.c (simple_memmem): Likewise.
4093 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4094 * sunrpc/pm_getport.c (__get_socket): Likewise.
4095 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4096 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4097 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4098 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4100 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4101 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4102 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4103 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4104 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4105 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4106 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4107 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4108 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4109 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4110 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4111 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4113 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4114 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4115 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4116 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4117 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4118 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4120 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4122 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4124 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4125 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4126 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4127 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4128 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4129 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4130 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4131 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4132 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4133 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4134 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4135 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4136 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4137 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4139 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4140 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4142 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4144 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4146 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4147 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4148 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4150 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4151 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4152 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4153 * sysdeps/posix/sleep.c: Likewise.
4154 * sysdeps/posix/tempname.c: Likewise.
4155 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4156 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4158 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4159 elf_machine_rela): Likewise.
4160 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4161 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4162 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4163 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4165 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4166 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4167 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4168 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4169 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4170 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4171 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4172 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4173 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4174 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4175 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4176 elf_machine_lazy_rel): Likewise.
4177 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4178 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4179 elf_machine_lazy_rel): Likewise.
4180 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4181 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4182 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4183 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4184 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4185 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4186 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4187 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4189 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4190 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4191 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4192 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4193 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4194 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4195 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4196 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4197 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4198 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4199 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4201 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4202 (__posix_fallocate64_l64): Likewise.
4203 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4204 (posix_fallocate): Likewise.
4205 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4206 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4207 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4208 getifaddrs_internal): Likewise.
4209 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4210 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4211 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4212 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4213 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4214 (__posix_fallocate64_l64): Likewise.
4215 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4217 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4218 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4220 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4221 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4222 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4223 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4224 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4225 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4226 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4227 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4229 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4230 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4231 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4232 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4233 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4234 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4235 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4237 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4238 (posix_fallocate): Likewise.
4239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4240 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4241 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4242 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4243 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4245 * time/asctime.c (asctime_internal): Likewise.
4246 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4247 * time/tzset.c (__tzset_parse_tz): Likewise.
4248 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4249 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4250 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4251 * wcsmbs/wcsmbsload.h: Likewise.
4253 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4256 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4258 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4260 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4261 arena_get2): Remove THREAD_STATS conditionals.
4262 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4263 __malloc_stats, int): Likewise.
4265 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4267 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4268 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4270 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4272 * manual/setjmp.texi: Fix typos/grammar errors.
4274 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4276 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4277 Only return early when n is <= 0. Delete unused return statement.
4279 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4281 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4282 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4283 * debug/tst-longjmp_chk3.c: New file.
4285 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4287 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4288 (test_main): Replace code with set_fortify_handler call.
4289 * debug/test-strcpy_chk.c: Likewise.
4290 * debug/tst-chk1.c: Likewise.
4291 * debug/tst-longjmp_chk.c: Likewise.
4292 * test-skeleton.c: Include fcntl.h & paths.h
4293 (set_fortify_handler): Define.
4295 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4297 * debug/tst-longjmp_chk.c: Add header comment and include
4299 (do_test): Mark static.
4300 (TEST_FUNCTION): Define.
4302 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4304 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4305 (IP_PMTUDISC_INTERFACE): Likewise.
4306 (IP_MULTICAST_IF): Likewise.
4307 (IP_MULTICAST_TTL): Likewise.
4308 (IP_MULTICAST_LOOP): Likewise.
4309 (IP_ADD_MEMBERSHIP): Likewise.
4310 (IP_DROP_MEMBERSHIP): Likewise.
4311 (IP_UNBLOCK_SOURCE): Likewise.
4312 (IP_BLOCK_SOURCE): Likewise.
4313 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4314 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4315 (IP_MSFILTER): Likewise.
4316 (MCAST_JOIN_GROUP): Likewise.
4317 (MCAST_BLOCK_SOURCE): Likewise.
4318 (MCAST_UNBLOCK_SOURCE): Likewise.
4319 (MCAST_LEAVE_GROUP): Likewise.
4320 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4321 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4322 (MCAST_MSFILTER): Likewise.
4323 (IP_MULTICAST_ALL): Likewise.
4324 (IP_UNICAST_IF): Likewise.
4326 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4328 * timezone/Makefile: Delete $(have-ksh) check.
4329 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4330 * timezone/tzselect.ksh: Add +x mode bits.
4332 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4334 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4335 (ANON_INODE_FS_MAGIC): Likewise.
4336 (BDEVFS_MAGIC): Likewise.
4337 (BINFMTFS_MAGIC): Likewise.
4338 (BTRFS_TEST_MAGIC): Likewise.
4339 (CRAMFS_MAGIC_WEND): Likewise.
4340 (DEBUGFS_MAGIC): Likewise.
4341 (ECRYPTFS_SUPER_MAGIC): Likewise.
4342 (EXT3_SUPER_MAGIC): Likewise.
4343 (EXT4_SUPER_MAGIC): Likewise.
4344 (FUTEXFS_SUPER_MAGIC): Likewise.
4345 (HOSTFS_SUPER_MAGIC): Likewise.
4346 (HUGETLBFS_MAGIC): Likewise.
4347 (MINIX3_SUPER_MAGIC): Likewise.
4348 (MTD_INODE_FS_MAGIC): Likewise.
4349 (NILFS_SUPER_MAGIC): Likewise.
4350 (OPENPROM_SUPER_MAGIC): Likewise.
4351 (PIPEFS_MAGIC): Likewise.
4352 (PSTOREFS_MAGIC): Likewise.
4353 (QNX6_SUPER_MAGIC): Likewise.
4354 (RAMFS_MAGIC): Likewise.
4355 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4356 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4357 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4358 (SECURITYFS_MAGIC): Likewise.
4359 (SELINUX_MAGIC): Likewise.
4360 (SMACK_MAGIC): Likewise.
4361 (SOCKFS_MAGIC): Likewise.
4362 (SQUASHFS_MAGIC): Likewise.
4363 (STACK_END_MAGIC): Likewise.
4364 (TMPFS_MAGIC): Likewise.
4365 (USBDEVICE_SUPER_MAGIC): Likewise.
4366 (V9FS_MAGIC): Likewise.
4367 (XENFS_SUPER_MAGIC): Likewise.
4368 (CRAMFS_MAGIC): Fix typo in comment.
4369 (EXT2_SUPER_MAGIC): Update comment.
4370 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4372 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4374 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4375 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4376 * sysdeps/unix/sysv/linux/arm: Move directory from
4377 ports/sysdeps/unix/sysv/linux/arm.
4378 * README: Update listing for arm-*-linux-gnueabi.
4380 * README: Remove mention of am33.
4382 2014-02-07 Roland McGrath <roland@hack.frob.com>
4384 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4385 than the comma operator, to avoid "rhs of comma has no effect"
4387 (__sigfillset, __sigandset, __sigorset): Likewise.
4388 * include/signal.h (__sigemptyset): Likewise.
4389 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4391 2014-02-07 Allan McRae <allan@archlinux.org>
4393 * version.h (RELEASE): Set to "development".
4394 (VERSION): Set to "2.19.90"
4395 * NEWS: Add 2.20 section.
4397 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4400 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4402 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4404 * manual/contrib.texi: Update entry for Carlos O'Donell,
4405 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4407 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4409 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4411 * sysdeps/unix/sysv/linux/kernel-features.h
4412 [__LINUX_KERNEL_VERSION >= 0x020621]
4413 (__ASSUME_PROC_PID_TASK_COMM): Define.
4415 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4418 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4419 conversion when destination buffer does not have enough space.
4420 * libio/tst-ftell-partial-wide.c: New test case.
4421 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4423 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4424 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4425 Leonard and Allan McRae.
4427 2014-02-04 David S. Miller <davem@davemloft.net>
4429 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4432 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4461 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4463 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4464 * shlib-versions: Likewise.
4466 2014-02-04 Roland McGrath <roland@hack.frob.com>
4467 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4469 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4470 (abilist-pattern): New variable, set to %-le.abilist.
4472 * Makerules (abilist-pattern): New variable.
4473 (vpath): Use $(abilist-pattern) in place of %.abilist.
4474 (check-abi-% pattern rule): Likewise.
4475 (check-abi, update-abi): Likewise.
4477 2014-02-04 Eric Wong <normalperson@yhbt.net>
4479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4481 2014-02-04 Eric Wong <normalperson@yhbt.net>
4483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4485 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4487 * manual/startup.texi: Add next, previous, and top entries for
4488 the `Program Arguments' and `Environment Variables' nodes.
4490 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4492 * manual/macros.texi: Add comments before MTASC-safety macros.
4494 * manual/users.texi: Document MTASC-safety properties.
4496 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4497 pthread_getspecific, pthread_setspecific): Format with
4498 @deftypefun, and add @safety note.
4499 * manual/signal.texi: Move comments that analyze the above
4500 functions to their home place.
4502 2014-02-03 Allan McRae <allan@archlinux.org>
4504 * po/sl.po: Update Slovenian translation from translation project.
4506 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4508 * manual/time.texi (timegm): Add missing blank after @c.
4509 Reported by Joseph Myers <joseph@codesourcery.com>.
4511 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4513 * manual/check-safety.sh: New.
4514 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4516 * manual/terminal.texi: Document MTASC-safety properties.
4518 * manual/filesys.texi: Document MTASC-safety properties.
4520 * manual/errno.texi: Document MTASC-safety properties.
4522 * manual/intro.texi: Document safety identifiers and
4525 * manual/string.texi (wcstok): Fix prototype.
4526 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4528 * manual/time.texi: Document MTASC-safety properties.
4530 * manual/string.texi: Document MTASC-safety properties.
4532 * manual/threads.texi: Document MTASC-safety properties.
4534 * manual/stdio.texi: Document MTASC-safety properties.
4536 * manual/syslog.texi: Document MTASC-safety properties.
4538 * manual/sysinfo.texi: Document MTASC-safety properties.
4540 * manual/startup.texi: Document MTASC-safety properties.
4542 * manual/socket.texi: Document MTASC-safety properties.
4544 * manual/signal.texi: Document MTASC-safety properties.
4546 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4548 * manual/setjmp.texi: Document MTASC-safety properties.
4550 * manual/search.texi: Document MTASC-safety properties.
4552 * manual/resource.texi: Document MTASC-safety properties.
4554 * manual/process.texi: Document MTASC-safety properties.
4556 * manual/platform.texi: Document MTASC-safety properties.
4558 * manual/pipe.texi: Document MTASC-safety properties.
4560 * manual/pattern.texi: Document MTASC-safety properties.
4562 * manual/message.texi: Document MTASC-safety properties.
4565 * manual/memory.texi: Document MTASC-safety properties.
4567 * manual/math.texi: Document MTASC-safety properties.
4569 * manual/locale.texi: Document MTASC-safety properties.
4571 * manual/llio.texi: Document MTASC-safety properties.
4573 * manual/libdl.texi: New.
4575 * manual/lang.texi: Document MTASC-safety properties.
4577 * manual/job.texi: Document MTASC-safety properties.
4579 * manual/getopt.texi: Document MTASC-safety properties.
4581 * manual/ctype.texi: Document MTASC-safety properties.
4583 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4586 * csu/libc-tls.c (static_map): Remove variable.
4587 (__libc_setup_tls): Use main executable's link map for TLS data.
4588 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4589 casing for LM_ID_BASE and GL(dl_nns).
4590 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4591 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4592 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4593 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4594 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4596 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4599 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4601 * manual/debug.texi: Document MTASC-safety properties.
4603 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4606 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4607 of __x86_64__ when disabling x87 inline functions.
4609 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4611 * manual/charset.texi: Document MTASC-safety properties.
4613 * manual/crypt.texi: Document MTASC-safety properties.
4615 * manual/conf.texi: Document MTASC-safety properties.
4617 * manual/arith.texi: Document MTASC-safety properties.
4619 * manual/argp.texi: Document MTASC-safety properties.
4621 * manual/macros.texi: Introduce macros to document multi
4622 thread, asynchronous signal and asynchronous cancellation
4624 * manual/intro.texi: Introduce the properties themselves.
4626 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4628 * sysdeps/sh/sh4/Makefile: New file.
4630 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4632 * math/gen-libm-test.pl ($srcdir): New variable.
4633 ($auto_input): Use it.
4635 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4638 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4639 access beyond array bounds when parsing netgroups file.
4641 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4642 the old buffer before realloc.
4644 2014-01-27 Allan McRae <allan@archlinux.org>
4646 * po/fr.po: Update French translation from translation project.
4648 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4650 * sysdeps/sh/libm-test-ulps: Regenerate.
4652 2014-01-24 David S. Miller <davem@davemloft.net>
4654 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4656 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4658 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4659 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4661 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4664 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4665 string pointers after reallocation.
4667 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4669 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4670 __SH4A__ instead of __SH_FPU_ANY__.
4672 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4674 * sysdeps/sh/fpu_control.h: New file.
4675 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4676 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4677 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4678 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4679 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4680 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4681 * sysdeps/sh/sys/ucontext.h: Remove.
4682 * sysdeps/sh/sys: Remove directory.
4684 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4686 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4687 s390/sys/ucontext.h.
4688 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4689 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4691 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4694 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4696 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4699 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4700 Adjust the vDSO correctly for internal calls.
4701 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4703 2014-01-20 Allan McRae <allan@archlinux.org>
4705 * po/ca.po: Update Catalan translation from translation project.
4707 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4709 * sysdeps/s390/sotruss-lib.c: New file.
4711 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4714 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4715 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4716 local calls issues by not having a PLT stub required for IFUNC calls.
4717 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4719 2014-01-16 Joseph Myers <joseph@codesourcery.com>
4721 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4722 * math/test-fpucw-static.c: Likewise.
4724 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4727 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4729 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4731 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4732 implementation for powerpc.
4734 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
4737 * sysdeps/posix/system.c (__libc_system): Do not enable
4738 asynchronous cancellation.
4740 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4743 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4744 handling only for numbers special also in the IEEE case.
4746 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4748 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4750 2014-01-11 Allan McRae <allan@archlinux.org>
4752 * po/bg.po: Update Bulgarian translation from translation project.
4754 * po/de.po: Update German translation from translation project.
4756 2014-01-10 Roland McGrath <roland@hack.frob.com>
4758 * sysdeps/generic/gcc-compat.h: New file.
4760 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4762 * benchtests/asin-inputs: Correct slow inputs.
4763 * benchtests/acos-inputs: Likewise.
4765 2014-01-10 Allan McRae <allan@archlinux.org>
4767 * po:sv.po: Update Swedish translation from translation project.
4769 * po/vi.po: Update Vietnamese translation from translation project.
4771 * po/eo.po: Update Esperanto translation from translation project.
4773 * po/cs.po: Update Czech translation from translation project.
4775 * po/nl.po: Update Dutch translation from translation project.
4777 * po/pl.po: Update Polish translation from translation project.
4779 * po/ru.po: Update Russian translation from translation project.
4781 * po/uk.po: Update Ukrainian translation from translation project.
4783 2014-01-08 Brooks Moses <bmoses@google.com>
4785 * elf/dl-load.c: Fix comment typo.
4787 2014-01-08 Carlos O'Donell <carlos@redhat.com>
4789 * po/header.pot: Rename to...
4790 * po/pot.header: ... this.
4791 * po/Makefile: Use pot.header.
4793 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4794 Maxim Kuvyrkov <maxim@kugelworks.com>
4797 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4798 SRC and DEST against LEN.
4800 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4803 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4805 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4807 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4811 2014-01-08 Joseph Myers <joseph@codesourcery.com>
4814 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4815 for large positive arguments.
4817 2014-01-07 Joseph Myers <joseph@codesourcery.com>
4819 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4821 * math/auto-libm-test-in: Mark various tests with
4822 xfail-rounding:ldbl-128ibm.
4823 * math/auto-libm-test-out: Regenerated.
4826 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4827 Increase overflow threshold.
4829 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
4832 * stdio-common/vfprintf.c: Check for integer overflow.
4834 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4836 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4837 the first argument and return value of __tls_get_addr_internal.
4839 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4841 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4842 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4844 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4846 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4847 * sysdeps/s390/rtld-global-offsets.sym: New file.
4848 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4850 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4851 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4852 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4854 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4855 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4861 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4862 halfs of GPRs for high_gprs contexts.
4863 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4864 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4866 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4868 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4870 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4871 for high GPRs (uc_high_gprs) and for future extensions
4873 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4874 for future extensions (__reserved).
4875 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4877 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4878 SC_HIGHGPRS offset definition.
4879 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4880 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4882 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4884 * Versions.def: Add GLIBC_2.19 for libpthread.
4885 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4886 siglongjmp for libpthread with GLIBC_2.19 symver.
4887 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4888 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4889 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4890 * sysdeps/s390/__longjmp.c: New file.
4891 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4892 * sysdeps/s390/longjmp.c: New file.
4893 * sysdeps/s390/setjmp.S: New file.
4894 * sysdeps/s390/sigjmp.S: New file.
4895 * sysdeps/s390/v1-longjmp.c: New file.
4896 * sysdeps/s390/v1-setjmp.h: New file.
4897 * sysdeps/s390/v1-sigjmp.c: New file.
4898 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4899 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4901 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4902 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4903 versioned symbols for ____longjmp_chk.
4904 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4914 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4915 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4916 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4917 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4918 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4919 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4920 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4921 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4922 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4923 * sysdeps/s390/rtld-__longjmp.c: New file.
4924 * sysdeps/s390/rtld-setjmp.S: New file.
4926 2014-01-06 Joseph Myers <joseph@codesourcery.com>
4929 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4930 Return -__logl (x) for small positive arguments without evaluating
4933 2014-01-06 Mike Frysinger <vapier@gentoo.org>
4935 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4937 (__ptrace_peeksiginfo_args): ... this.
4938 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4939 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4940 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4942 2014-01-06 Allan McRae <allan@archlinux.org>
4944 * inet/netinet/in.h: Fix typo in comment.
4946 2014-01-05 Andreas Jaeger <aj@suse.de>
4948 * sysdeps/i386/fpu/libm-test-ulps: Update.
4950 2014-01-05 Allan McRae <allan@archlinux.org>
4952 * po/libc.pot: Regenerated.
4954 * malloc/memusagestat.c: Fix gettext call formatting.
4956 2014-01-04 Sami Kerola <kerolasa@iki.fi>
4958 * nscd/nscd.c: Improve usage() output.
4960 2014-01-04 Mike Frysinger <vapier@gentoo.org>
4962 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4963 * sysdeps/unix/sysv/linux/configure: Regenerated.
4964 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4965 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4967 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4970 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4971 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4973 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4975 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4976 extra tokens at end of #undef directive.
4977 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4978 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4979 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4981 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4983 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4985 * math/auto-libm-test-in: Mark various tests with
4986 xfail-rounding:ldbl-128ibm.
4987 * math/auto-libm-test-out: Regenerated.
4989 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4992 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4993 numbers with subnormal high part when calculating exponent.
4996 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5000 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5002 (__ieee754_acoshl): Use __log1pl not __log1p.
5004 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5006 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5007 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5008 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5009 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5010 Convert to GNU style.
5011 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5012 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5013 memalign_check, __malloc_set_state): Likewise.
5014 * malloc/mallocbug.c (main): Likewise.
5015 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5016 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5017 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5018 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5019 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5020 * malloc/malloc.h: Likewise.
5021 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5022 memalignhook, reallochook, mabort): Likewise.
5023 * malloc/mcheck.h: Likewise.
5024 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5025 mmap64, mremap, munmap, dest): Likewise.
5026 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5027 * malloc/morecore.c (__default_morecore): Likewise.
5028 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5029 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5030 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5031 print_and_abort): Likewise.
5032 * malloc/obstack.h: Likewise.
5033 * malloc/set-freeres.c (__libc_freeres): Likewise.
5034 * malloc/tst-mallocstate.c (main): Likewise.
5035 * malloc/tst-mtrace.c (main): Likewise.
5036 * malloc/tst-realloc.c (do_test): Likewise.
5038 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5041 * nscd/netgroupcache.c (do_notfound): New function.
5042 (addgetnetgrentX): Use it.
5045 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5046 NSS_STATUS_NOTFOUND.
5048 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5050 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5053 2014-01-01 Allan McRae <allan@archlinux.org>
5055 * scripts/update-copyrights: Update configure input file suffix.
5057 * NEWS: Update copyright year.
5058 * catgets/gencat.c: Likewise.
5059 * csu/version.c: Likewise.
5060 * debug/catchsegv.sh: Likewise.
5061 * debug/pcprofiledump.c: Likewise.
5062 * debug/xtrace.sh: Likewise.
5063 * elf/ldconfig.c: Likewise.
5064 * elf/ldd.bash.in: Likewise.
5065 * elf/pldd.c: Likewise.
5066 * elf/sotruss.ksh: Likewise.
5067 * elf/sprof.c: Likewise.
5068 * iconv/iconv_prog.c: Likewise.
5069 * iconv/iconvconfig.c: Likewise.
5070 * locale/programs/locale.c: Likewise.
5071 * locale/programs/localedef.c: Likewise.
5072 * login/programs/pt_chown.c: Likewise.
5073 * malloc/memusage.sh: Likewise.
5074 * malloc/memusagestat.c: Likewise.
5075 * malloc/mtrace.pl: Likewise.
5076 * manual/libc.texinfo: Likewise.
5077 * nscd/nscd.c: Likewise.
5078 * nss/getent.c: Likewise.
5079 * nss/makedb.c: Likewise.
5080 * posix/getconf.c: Likewise.
5081 * scripts/test-installation.pl: Likewise.
5083 * All files with FSF copyright notices: Update copyright dates
5084 using scripts/update-copyrights.
5085 * intl/plural.c: Regenerated.
5086 * locale/programs/charmap-kw.h: Likewise.
5087 * locale/programs/locfile-kw.h: Likewise.
5089 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5091 * sysdeps/unix/sysv/linux/configure: Regenerated.
5092 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5093 the linux/fanotify.h header.
5094 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5095 HAVE_LINUX_FANOTIFY_H is defined.
5097 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5099 * benchtests/cos-inputs: New inputs.
5100 * benchtests/sin-inputs: Likewise.
5102 * benchtests/atan-inputs: New inputs. Fix name of multiple
5103 precision fallback inputs.
5105 * benchtests/atanh-inputs: New inputs.
5106 * benchtests/tanh-inputs: Likewise.
5108 * benchtests/acosh-inputs: New inputs.
5109 * benchtests/asinh-inputs: Likewise.
5111 * benchtests/cosh-inputs: New inputs.
5112 * benchtests/sinh-inputs: Likewise.
5114 * benchtests/acos-inputs: Add more inputs.
5115 * benchtests/asin-inputs: Likewise.
5117 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5120 * manual/arith.texi: Fix spelling.
5121 * manual/charset.texi: Likewise.
5122 * manual/errno.texi: Likewise.
5123 * manual/filesys.texi: Likewise.
5124 * manual/lang.texi: Likewise.
5125 * manual/llio.texi: Likewise.
5126 * manual/locale.texi: Likewise.
5127 * manual/message.texi: Likewise.
5128 * manual/resource.texi: Likewise.
5129 * manual/search.texi: Likewise.
5130 * manual/setjmp.texi: Likewise.
5131 * manual/stdio.texi: Likewise.
5132 * manual/string.texi: Likewise.
5133 * manual/sysinfo.texi: Likewise.
5134 * manual/time.texi: Likewise.
5136 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5138 * po/sl.po: New file.
5140 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5142 * .gitignore: Add core/.gdbinit/.gdb_history.
5144 2013-12-27 Allan McRae <allan@archlinux.org>
5147 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5148 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5150 2013-12-24 Brooks Moses <bmoses@google.com>
5152 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5153 all compilers that claim C++98 compliance, not just GCC.
5154 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5157 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5159 * NEWS: Restore accidentally deleted bug-fix entries.
5161 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5162 Ondřej Bílka <neleai@seznam.cz>
5165 * malloc/malloc.c (_int_free): Perform sanity check only if we
5168 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5171 * manual/stdio.texi (String Input Conversions): Clarify that character
5172 classes are not supported.
5174 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5178 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5181 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5182 Calculate results for small negative arguments directly rather
5183 than using reflection formula with special underflow handling.
5185 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5186 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5187 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5188 (fchflags): Likewise.
5190 (setlogin): Likewise.
5191 (sigaltstack): Likewise.
5194 (sigsetmask): Likewise.
5196 (waitpid): Likewise.
5197 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5198 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5200 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5201 * sysdeps/unix/bsd/Makefile: ... here.
5202 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5203 * sysdeps/unix/bsd/Versions: ... here.
5204 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5205 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5206 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5207 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5208 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5209 * sysdeps/unix/bsd/sigblock.c: ... here.
5210 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5211 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5212 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5213 * sysdeps/unix/bsd/sigvec.c: ... here.
5214 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5215 * sysdeps/unix/bsd/tcdrain.c: ... here.
5216 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5217 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5218 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5219 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5220 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5221 * sysdeps/unix/bsd/wait.c: ... here.
5222 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5223 * sysdeps/unix/bsd/wait3.c: ... here.
5224 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5225 * sysdeps/unix/bsd/waitpid.c: ... here.
5227 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5230 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5231 round-to-nearest for [!USE_AS_EXPM1L].
5232 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5233 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5234 more tests of exp and exp10. Expect some exp10 tests to miss
5235 exceptions or fail in directed rounding modes.
5236 * math/auto-libm-test-out: Regenerated.
5237 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5238 (exp10_test_tonearest): New function.
5239 (exp10_towardzero_test_data): New array.
5240 (exp10_test_towardzero): New function.
5241 (exp10_downward_test_data): New array.
5242 (exp10_test_downward): New function.
5243 (exp10_upward_test_data): New array.
5244 (exp10_test_upward): New function.
5245 (main): Call the new functions.
5246 * sysdeps/i386/fpu/libm-test-ulps: Update.
5247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5249 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5251 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5252 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5253 * math/auto-libm-test-out: Regenerated.
5254 * math/libm-test.inc (acosh_test_data): Add more tests.
5255 (atanh_test_data): Likewise.
5256 (ceil_test_data): Likewise.
5257 (copysign_test_data): Likewise.
5258 * sysdeps/i386/fpu/libm-test-ulps: Update.
5259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5261 * timezone/checktab.awk: Update from tzcode 2013i.
5262 * timezone/private.h: Likewise.
5263 * timezone/scheck.c: Likewise.
5264 * timezone/tzfile.h: Likewise.
5265 * timezone/tzselect.ksh: Likewise.
5266 * timezone/zdump.c: Likewise.
5267 * timezone/zic.c: Likewise.
5269 * math/auto-libm-test-in: Add tests of cpow.
5270 * math/auto-libm-test-out: Regenerated.
5271 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5272 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5274 (func_calc_desc): Add mpc_cc_c union field.
5275 (test_functions): Add cpow.
5276 (special_fill_2pi): New function.
5277 (special_real_inputs): Add 2pi.
5278 (calc_generic_results): Handle mpc_cc_c.
5279 * sysdeps/i386/fpu/libm-test-ulps: Update.
5280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5282 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5283 csqrt, ctan and ctanh.
5284 * math/auto-libm-test-out: Regenerated.
5285 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5286 (TEST_COND_x86): Likewise.
5287 (ccos_test_data): Use AUTO_TESTS_c_c.
5288 (ccosh_test_data): Likewise.
5289 (cexp_test_data): Likewise.
5290 (clog_test_data): Likewise.
5291 (csqrt_test_data): Likewise.
5292 (ctan_test_data): Likewise.
5293 (ctan_tonearest_test_data): Likewise.
5294 (ctan_towardzero_test_data): Likewise.
5295 (ctan_downward_test_data): Likewise.
5296 (ctan_upward_test_data): Likewise.
5297 (ctanh_test_data): Likewise.
5298 (ctanh_tonearest_test_data): Likewise.
5299 (ctanh_towardzero_test_data): Likewise.
5300 (ctanh_downward_test_data): Likewise.
5301 (ctanh_upward_test_data): Likewise.
5302 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5304 (func_calc_desc): Add mpc_c_c union field.
5305 (FUNC_mpc_c_c): New macro.
5306 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5307 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5309 (special_fill_min_subnorm_p120): New function.
5310 (special_real_inputs): Add min_subnorm_p120.
5311 (calc_generic_results): Handle mpc_c_c.
5312 * sysdeps/i386/fpu/libm-test-ulps: Update.
5313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5315 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5317 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5318 do_sin_slow): New functions.
5319 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5320 cslow2, csloww1, csloww2): Use the new functions.
5322 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5323 Use M to change sign of result instead of X. Assume X is
5325 (csloww1): Likewise.
5329 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5334 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5336 (sloww1): Don't adjust sign of DX.
5337 (csloww1): Likewise.
5338 (sloww2): Use X directly and don't adjust sign of DX.
5339 (csloww2): Likewise.
5341 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5343 * math/auto-libm-test-in: Add tests of cabs and carg.
5344 * math/auto-libm-test-out: Regenerated.
5345 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5346 (carg_test_data): Likewise.
5347 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5349 (func_calc_desc): Add mpc_c_f union field.
5350 (test_functions): Add cabs and carg.
5351 (calc_generic_results): Handle mpc_c_f.
5353 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5354 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5355 as a macro and a compat symbol.
5356 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5357 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5358 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5359 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5360 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5361 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5363 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5365 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5367 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5369 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5371 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5373 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5374 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5377 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5381 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5383 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5384 trailing whitespace removed.
5385 * scripts/config.guess: Update to version 2013-11-29.
5386 * scripts/config.sub: Update to version 2013-10-01.
5388 * math/auto-libm-test-in: Add tests of sincos.
5389 * math/auto-libm-test-out: Regenerated.
5390 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5391 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5393 (func_calc_desc): Add mpfr_f_11 union field.
5394 (test_functions): Add sincos.
5395 (calc_generic_results): Handle mpfr_f_11.
5396 * sysdeps/i386/fpu/libm-test-ulps: Update.
5397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5399 2013-12-19 Andreas Schwab <schwab@suse.de>
5401 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5403 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5404 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5405 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5407 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5409 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5410 * sysdeps/i386/fpu/libm-test-ulps: Update.
5411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5414 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5415 round-to-nearest mode when using frndint.
5416 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5417 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5418 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5420 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5422 * math/auto-libm-test-out: Regenerated.
5423 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5424 (TEST_COND_x86): Likewise.
5425 (expm1_tonearest_test_data): New array.
5426 (expm1_test_tonearest): New function.
5427 (expm1_towardzero_test_data): New array.
5428 (expm1_test_towardzero): New function.
5429 (expm1_downward_test_data): New array.
5430 (expm1_test_downward): New function.
5431 (expm1_upward_test_data): New array.
5432 (expm1_test_upward): New function.
5433 (main): Run the new test functions.
5434 * sysdeps/i386/fpu/libm-test-ulps: Update.
5435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5437 * include/features.h: Update comment documenting feature test
5438 macros. Mention _DEFAULT_SOURCE in comment.
5439 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5440 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5441 _BSD_SOURCE and _SVID_SOURCE.
5442 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5443 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5444 !_SVID_SOURCE]: Likewise.
5445 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5446 (__USE_POSIX_IMPLICITLY): Define.
5447 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5448 (_POSIX_SOURCE): Undefine and redefine.
5449 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5450 (_POSIX_C_SOURCE): Likewise.
5451 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5452 (Feature Test Macros): Update documentation of default features.
5454 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5456 * benchtests/Makefile: Add bench-strtok.
5457 * benchtests/bench-strtok.c: New file: strtok benchtest.
5459 2013-12-19 Allan McRae <allan@archlinux.org>
5461 * manual/install.texi: Suppress menu for plain text output.
5462 * INSTALL: Regenerated.
5464 2013-12-18 Brooks Moses <bmoses@google.com>
5467 * misc/getauxval.c: Include errno.h.
5468 (__getauxval): Set errno to ENOENT if the requested type is not
5470 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5471 don't declare with __attribute_const__.
5472 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5473 * manual/startup.texi: Document that getauxval sets errno.
5475 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5477 * math/auto-libm-test-in: Add tests of jn and yn.
5478 * math/auto-libm-test-out: Regenerated.
5479 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5480 (yn_test_data): Likewise.
5481 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5483 (func_calc_desc): Add mpfr_if_f union field.
5484 (FUNC_mpfr_if_f): New macro.
5485 (test_functions): Add jn and yn.
5486 (calc_generic_results): Assert type of second input for
5487 mpfr_ff_f. Handle mpfr_if_f.
5488 (output_for_one_input_case): Disable all checking for arguments
5489 fitting floating-point types in case of an integer argument.
5490 * sysdeps/i386/fpu/libm-test-ulps: Update.
5491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5494 Don't expect fegetround reference in libm.so.
5496 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5498 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5499 $(config-cflags-nofma).
5501 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5503 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5504 * math/auto-libm-test-out: Regenerated.
5507 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5508 to determine exponent and adjust argument to have exponent of -1.
5509 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5511 * math/auto-libm-test-out: Regenerated.
5512 * sysdeps/i386/fpu/libm-test-ulps: Update.
5513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5515 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5517 * manual/probes.texi: Remove cases when per-thread arenas are
5520 2013-12-18 Andreas Schwab <schwab@suse.de>
5522 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5523 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5524 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5525 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5526 * sysdeps/i386/i686/multiarch/Makefile: Update.
5527 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5529 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5531 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5532 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5534 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5537 Support TZ transition times < 00:00:00.
5538 This is needed for version-3 tz-format files; it supports time
5539 stamps past 2037 for America/Godthab (the only entry in the tz
5540 database for which this change is relevant).
5541 * manual/time.texi (TZ Variable): Document transition times
5542 from -167:59:59 through -00:00:01.
5543 * time/tzset.c (tz_rule): Time of day is now signed.
5544 (__tzset_parse_tz): Parse negative time of day.
5546 Document TZ transition times >= 25:00:00.
5547 * manual/time.texi (TZ Variable): Document transition times from
5548 25:00:00 through 167:59:59. These are already supported, and this
5549 support will help with version-3 tz-format files.
5551 * manual/time.texi (TZ Variable): Modernize North America example
5552 to reflect current (i.e., 2007-and-later) daylight saving rules.
5554 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5556 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5558 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5559 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5560 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5561 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5562 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5563 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5564 * sysdeps/unix/bsd/clock.c: Likewise.
5565 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5566 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5567 * sysdeps/unix/bsd/init-posix.c: Likewise.
5568 * sysdeps/unix/bsd/poll.c: Likewise.
5569 * sysdeps/unix/bsd/ptsname.c: Likewise.
5570 * sysdeps/unix/bsd/seekdir.c: Likewise.
5571 * sysdeps/unix/bsd/setegid.c: Likewise.
5572 * sysdeps/unix/bsd/seteuid.c: Likewise.
5573 * sysdeps/unix/bsd/setgid.c: Likewise.
5574 * sysdeps/unix/bsd/setrgid.c: Likewise.
5575 * sysdeps/unix/bsd/setruid.c: Likewise.
5576 * sysdeps/unix/bsd/setsid.c: Likewise.
5577 * sysdeps/unix/bsd/setuid.c: Likewise.
5578 * sysdeps/unix/bsd/sigaction.c: Likewise.
5579 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5580 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5581 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5582 * sysdeps/unix/bsd/telldir.c: Likewise.
5583 * sysdeps/unix/bsd/times.c: Likewise.
5584 * sysdeps/unix/bsd/usleep.c: Likewise.
5586 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5587 ($(objpfx)libbsd-compat.a): Remove rule.
5589 * include/features.h (__FAVOR_BSD): Do not define.
5590 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5591 features conflicting with POSIX.
5592 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5593 (_BSD_SOURCE): Remove description of not being a subset of other
5594 feature test macros.
5595 * manual/job.texi (getpgrp): Do not document BSD version.
5596 (getpgid): Do not document by reference to BSD getpgrp.
5597 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5598 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5599 * signal/signal.h [__FAVOR_BSD]: Likewise.
5600 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5601 instead of making contents conditional on [__FAVOR_BSD].
5602 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5604 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5608 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5611 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5612 values below 2**-450, not 2**-500.
5613 * math/auto-libm-test-in: Don't allow spurious underflow from
5615 * math/auto-libm-test-out: Regenerated.
5619 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5620 values of ha and hb and sort them after adjusting subnormal
5622 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5624 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5625 values of ea and eb and sort them after adjusting subnormal
5627 * math/auto-libm-test-in: Do not expect some hypot tests of
5628 subnormals to fail. Add more hypot tests.
5629 * math/auto-libm-test-out: Regenerated.
5631 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5634 * sysdeps/sh/s_fma.c: New file.
5635 * sysdeps/sh/s_fmaf.c: New file.
5636 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5638 * sysdeps/sh/Implies: Add sh/soft-fp.
5640 2013-12-16 Roland McGrath <roland@hack.frob.com>
5642 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5643 level of indirection to members `objname', `errstring', `malloced'.
5644 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5645 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5646 it as the __longjmp argument (just pass 1 instead).
5647 (_dl_catch_error): Initialize C with argument pointers and address of
5648 volatile local ERRCODE rather than copying values out of C at return.
5650 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5652 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5653 * math/auto-libm-test-out: Regenerated.
5654 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5655 (hypot_test_data): Likewise.
5656 (pow_test_data): Likewise.
5657 (pow_tonearest_test_data): Likewise.
5658 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5660 (func_calc_desc): Add mpfr_ff_f union field.
5661 (FUNC_mpfr_ff_f): New macro.
5662 (test_functions): Add atan2, hypot and pow.
5663 (special_fill_min): New function.
5664 (special_fill_minus_min): Likewise.
5665 (special_fill_min_subnorm): Likewise.
5666 (special_fill_minus_min_subnorm): Likewise.
5667 (special_real_inputs): Add min, -min, min_subnorm and
5669 (calc_generic_results): Handle mpfr_ff_f.
5670 * sysdeps/i386/fpu/libm-test-ulps: Update.
5671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5673 2013-12-16 Will Newton <will.newton@linaro.org>
5675 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5676 (Aligned Memory Blocks): Add documentation for aligned_alloc
5677 and suggest it as an alternative to posix_memalign.
5678 (Hooks for Malloc): Document __memalign_hook is also called
5679 for aligned_alloc. (Summary of Malloc): Add summary for
5680 aligned alloc. Document __memalign_hook is also called
5683 2013-12-16 Will Newton <will.newton@linaro.org>
5685 * manual/memory.texi (Malloc Examples): Clarify default
5686 alignment documentation. Suggest posix_memalign rather
5687 than memalign or valloc.
5688 (Aligned Memory Blocks): Remove suggestion to use memalign
5689 or valloc. Remove obsolete comment about BSD.
5690 Document memalign errno values and mark the function obsolete.
5691 Document posix_memalign returned error codes. Mark valloc
5692 as obsolete. (Hooks for Malloc): __memalign_hook is also
5693 called for posix_memalign and valloc.
5694 (Summary of Malloc): Add posix_memalign to function summary.
5695 __memalign_hook is also called for posix_memalign and valloc.
5697 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5699 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5703 (sloww): Use mynumber union. Expand ternary operator into
5705 (cslow): use mynumber union.
5707 2013-12-16 Allan McRae <allan@archlinux.org>
5709 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5710 * configure: Regenerated.
5712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5715 * configure.ac: Added --enable-maintainer-mode. Check for
5716 autoconf when enabled.
5717 * configure: Regenerated.
5719 * nscd/nscd.service: New file.
5720 * nscd/nscd.tmpfiles: New file.
5722 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
5725 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5726 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5727 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5728 (strstr): Add __strstr_sse2_unaligned ifunc.
5729 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5730 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5731 (strcasestr): Remove __strcasestr_sse42 ifunc.
5732 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5733 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5736 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5738 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5739 * sysdeps/sh/bits/fenv.h: ... here.
5740 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5742 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5744 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5746 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5748 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5749 hypotf multiarch implementations.
5750 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5751 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5752 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5753 multiarch hypot for PPC64.
5754 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5755 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5756 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5757 multiarch hypotf for PPC64.
5759 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5761 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5762 modff multiarch implementations.
5763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5766 multiarch modf for PPC64.
5767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5770 multiarch modff for PPC64.
5772 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5775 and logl multiarch implementations.
5776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5779 multiarch logb for PPC64.
5780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5783 multiarch logb for PPC64.
5784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5787 multiarch logb for PPC64.
5789 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5791 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5792 isinff multiarch implementation.
5793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5797 multiarch isinf for PPC64.
5798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5801 multiarch isinff for PPC64.
5803 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5805 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5806 finitef multiarch implementation.
5807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5811 multiarch finite for PPC64.
5812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5815 multiarch finitef for PPC64.
5817 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5819 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5820 lrint multiarch implementation.
5821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5825 multiarch llrint for PPC64.
5826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5827 multiarch lrint for PPC64.
5829 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5831 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5832 copysignf multiarch implementation.
5833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5838 multiarch copysign for PPC64.
5839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5840 multiarch copysignf for PPC64.
5842 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5844 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5845 multiarch implementation.
5846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5854 multiarch llround for PPC64.
5855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5856 multiarch trunc for PPC64.
5857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5858 multiarch truncf for PPC64.
5860 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5862 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5863 multiarch implementation.
5864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5872 multiarch llround for PPC64.
5873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5874 multiarch round for PPC64.
5875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5876 multiarch roundf for PPC64.
5878 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5881 multiarch implementation.
5882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5890 multiarch llround for PPC64.
5891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5892 multiarch floor for PPC64.
5893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5894 multiarch floorf for PPC64.
5896 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5899 multiarch implementation.
5900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5908 multiarch llround for PPC64.
5909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5910 multiarch ceil for PPC64.
5911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5912 multiarch ceilf for PPC64.
5914 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5916 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5917 multiarch implementation.
5918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5925 multiarch llround for PPC64.
5926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5927 multiarch lround for PPC64.
5929 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5931 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5932 multiarch implementation.
5933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5940 multiarch isnan for PPC64.
5941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5942 multiarch isnanf for PPC64.
5944 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5946 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5947 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5948 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5949 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5950 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5953 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5955 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5956 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5957 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5958 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5960 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5963 multiarch implementations.
5964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5965 (__libc_ifunc_impl_list): Likewise.
5966 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5967 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5968 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5969 multiarch stpcpy for PPC64.
5971 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5974 multiarch implementations.
5975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5976 (__libc_ifunc_impl_list): Likewise.
5977 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5978 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5979 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5980 multiarch strcpy for PPC64.
5982 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5984 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5985 redefine function name.
5986 (_wordcopy_fwd_dest_aligned): Likewise.
5987 (_wordcopy_bwd_aligned): Likewise.
5988 (_wordcopy_bwd_dest_aligned): Likewise.
5989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5990 multiarch implementations.
5991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5992 (__libc_ifunc_impl_list): Likewise.
5993 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5994 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5995 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5996 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5997 multiarch wcscpy for PPC64.
5999 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6002 multiarch implementations.
6003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6004 (__libc_ifunc_impl_list): Likewise.
6005 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6006 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6007 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6008 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6009 multiarch wcscpy for PPC64.
6011 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6014 multiarch implementations.
6015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6016 (__libc_ifunc_impl_list): Likewise.
6017 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6018 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6019 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6020 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6021 multiarch wcsrchr for PPC64.
6023 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6026 multiarch implementations.
6027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6028 (__libc_ifunc_impl_list): Likewise.
6029 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6030 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6031 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6032 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6033 multiarch wcschr for PPC64.
6035 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6038 multiarch implementations.
6039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6040 (__libc_ifunc_impl_list): Likewise.
6041 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6042 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6043 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6044 multiarch strchrnul for PPC64.
6046 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6048 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6050 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6051 (__libc_ifunc_impl_list): Likewise.
6052 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6053 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6054 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6055 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6058 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6063 (__libc_ifunc_impl_list): Likewise.
6064 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6065 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6066 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6067 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6070 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6073 multiarch implementations.
6074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6075 (__libc_ifunc_impl_list): Likewise.
6076 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6077 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6078 strncasecmp for PPC64.
6079 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6080 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6081 multiarch strncasecmp_l for PPC64.
6083 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6086 multiarch implementations.
6087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6088 (__libc_ifunc_impl_list): Likewise.
6089 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6090 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6091 multiarch strcasecmp for PPC64.
6092 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6094 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6095 multiarch strcasecmp_l for PPC64.
6097 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6102 (__libc_ifunc_impl_list): Likewise.
6103 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6104 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6105 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6108 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6110 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6112 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6113 (__libc_ifunc_impl_list): Likewise.
6114 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6115 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6116 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6119 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6124 (__libc_ifunc_impl_list): Likewise.
6125 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6126 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6127 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6128 rawmemrchr for PPC64.
6130 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6135 (__libc_ifunc_impl_list): Likewise.
6136 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6137 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6138 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6141 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6146 (__libc_ifunc_impl_list): Likewise.
6147 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6148 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6149 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6152 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6157 (__libc_ifunc_impl_list): Likewise.
6158 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6159 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6160 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6163 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6165 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6166 avoid cretion of __bzero symbol.
6167 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6169 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6171 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6174 multiarch implementations.
6175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6176 (__libc_ifunc_impl_list): Likewise.
6177 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6178 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6179 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6180 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6182 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6183 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6184 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6185 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6186 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6188 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6190 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6192 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6196 (__libc_ifunc_impl_list): Likewise.
6197 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6198 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6199 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6200 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6203 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6206 multiarch for POWER/PPC64.
6207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6208 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6209 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6210 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6211 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6212 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6213 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6214 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6215 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6218 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6220 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6221 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6222 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6223 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6224 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6225 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6226 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6227 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6228 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6229 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6230 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6231 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6232 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6233 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6234 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6243 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6245 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6247 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6249 * benchtests/Makefile (bench): Add exp2 and log2.
6250 (LDLIBS-bench-exp2): Add -lm.
6251 (LDLIBS-bench-log2): Likewise.
6252 * benchtests/exp2-inputs: New inputs file.
6253 * benchtests/log2-inputs: New inputs file.
6254 * benchtests/log-inputs: Add new inputs.
6255 * benchtests/tan-inputs: Likewise.
6257 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6259 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6261 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6262 csloww1, csloww2): ... from here.
6264 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6265 instead of structures.
6266 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6267 (POLYNOMIAL): Likewise.
6268 (TAYLOR_SLOW): Likewise.
6276 (bsloww1): Likewise.
6277 (bsloww2): Likewise.
6280 (csloww1): Likewise.
6281 (csloww2): Likewise.
6283 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6285 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6286 (__malloc_assert, __libc_realloc, __libc_calloc,
6287 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6289 * malloc/hooks.c (realloc_check): Likewise.
6291 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6293 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6294 * malloc/arena.c: Remove PER_THREAD conditional.
6295 [!PER_THREAD]: Remove code.
6296 (ptmalloc_unlock_all2): Likewise.
6297 (ptmalloc_init): Likewise.
6298 (_int_new_arena): Likewise.
6299 (arena_get2): Likewise.
6300 * malloc/hooks.c (__malloc_get_state): Likewise.
6301 (__malloc_set_state): Likewise.
6302 * malloc/malloc.c: Likewise.
6303 (struct malloc_state): Likewise.
6304 (struct malloc_par): Likewise.
6305 (__libc_realloc): Likewise.
6306 (__libc_mallopt): Likewise.
6308 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6310 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6312 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6314 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6315 macro to a function. Check for zero perturb_byte.
6316 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6318 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6320 * malloc/malloc.c: (force_reg): Remove.
6321 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6322 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6323 force_reg by atomic_forced_read.
6324 * malloc/arena.c (ptmalloc_init): Likewise.
6325 * malloc/hooks.c (top_check): Likewise.
6327 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6331 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6335 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6337 * math/auto-libm-test-in: Add tests of lgamma.
6338 * math/auto-libm-test-out: Regenerated.
6339 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6340 (M_LOG_2_SQRT_PIl): Likewise.
6341 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6342 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6344 (func_calc_desc): Add mpfr_f_f1 union field.
6353 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6354 (test_functions): Add lgamma.
6355 (calc_generic_results): Handle mpfr_f_f1.
6356 * sysdeps/i386/fpu/libm-test-ulps: Update.
6357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6359 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6361 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6362 __mpn_add_n for PowerPC64/POWER7.
6363 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6364 __mpn_sub_n for PowerPC64/POWER7.
6366 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6368 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6369 __mpn_addmul_1 for PowerPC64.
6370 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6371 __mpn_submul_1 for PowerPC64.
6372 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6374 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6377 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6380 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6382 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6384 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6386 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6388 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6389 add multiarch folders.
6390 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6391 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6392 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6393 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6394 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6395 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6396 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6397 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6398 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6399 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6400 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6408 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6411 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6417 multiarch __ieee754_hypot for PowerPC32.
6418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6423 multiarch __ieee754_hypotf for PowerPC32.
6425 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6427 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6428 long_double_symbol only if __logbl is defined.
6429 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6430 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6431 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6432 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6433 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6434 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6435 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6436 path for implementation.
6437 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6438 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6440 logb, and logbl multiarch implementations for PowerPC32.
6441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6446 multiarch logb for PowerPC32.
6447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6452 multiarch logbf for PowerPC32.
6453 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6457 multiarch logbl implementation for PowerPC32.
6459 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6462 and modff multiarch implementations.
6463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6468 multiarch modf for PowerPC32.
6469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6474 multiarch modff for PowerPC32.
6476 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6479 and lrintf multiarch implementations.
6480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6485 multiarch lrint for PowerPC32.
6486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6487 file: multiarch lrintf for PowerPC32.
6489 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6492 and lroundf multiarch implementations.
6493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6500 multiarch lround for PowerPC32.
6501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6502 file: multiarch lroundf for PowerPC32.
6504 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6507 copysign and copysignf multiarch implementations.
6508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6513 file: multiarch copysign for PowerPC32.
6514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6515 file: multiarch copysignf for PowerPC32.
6517 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6520 and truncf multiarch implementations.
6521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6526 multiarch trunc for PowerPC32.
6527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6532 multiarch truncf for PowerPC32.
6534 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6537 and roundf multiarch implementations.
6538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6543 multiarch round for PowerPC32.
6544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6549 multiarch roundf for PowerPC32.
6551 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6554 and floorf multiarch implementations.
6555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6560 multiarch floor for PowerPC32.
6561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6566 multiarch floorf for PowerPC32.
6568 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6571 and ceilf multiarch implementations.
6572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6577 multiarch ceil for PowerPC32.
6578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6583 multiarch ceilf for PowerPC32.
6585 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6587 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6589 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6592 and finitef multiarch implementations.
6593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6598 multiarch finite for PowerPC32.
6599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6602 file: multiarch finitef for PowerPC32.
6604 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6607 and isinff multiarch implementations.
6608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6613 multiarch isinf for PowerPC32.
6614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6617 multiarch isinff for PowerPC32.
6619 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6621 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6622 alias when __isnan is defined.
6623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6624 and isnanf multiarch implementations.
6625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6634 multiarch isnan for PowerPC32.
6635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6640 multiarch isnanf for PowerPC32.
6642 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6645 and sqrtf multiarch implementations.
6646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6651 multiarch sqrt for PowerPC32.
6652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6657 multiarch sqrtf for PowerPC32.
6659 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6662 and llroundf multiarch implementations.
6663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6670 file: multiarch llround for PowerPC32.
6671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6672 file: multiarch llroundf for PowerPC32.
6674 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6677 multiarch PowerPC32 fpu implementations.
6678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6683 multiarch llrint for PowerPC32.
6684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6691 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6695 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6697 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6699 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6701 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6703 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6704 multiarch wordcopy for PPC32.
6705 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6707 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6708 (__libc_ifunc_impl_list): Likewise.
6709 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6710 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6711 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6712 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6713 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6714 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6716 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6718 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6719 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6721 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6723 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6725 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6726 multiarch wcscpy for PPC32.
6727 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6729 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6730 (__libc_ifunc_impl_list): Likewise.
6731 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6732 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6733 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6734 sysdeps/powerpc/power6/wcscpy.c.
6736 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6738 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6739 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6741 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6743 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6745 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6746 multiarch wcsrchr for PPC32.
6747 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6749 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6750 (__libc_ifunc_impl_list): Likewise.
6751 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6752 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6753 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6754 sysdeps/powerpc/power6/wcsrchr.c.
6756 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6758 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6760 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6762 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6763 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6764 multiarch wcschr for PPc32.
6765 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6767 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6768 (__libc_ifunc_impl_list): Likewise.
6769 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6770 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6771 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6772 sysdeps/powerpc/power6/wcschr.c.
6774 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6776 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6777 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6779 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6780 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6781 file: multiarch strchr for PPC32.
6782 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6784 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6785 (__libc_ifunc_impl_list): Likewise.
6787 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6789 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6791 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6793 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6795 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6796 multiarch strchrnul for PPC32.
6797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6800 (__libc_ifunc_impl_list): Likewise.
6802 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6804 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6806 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6807 multiarch strncasecmp for PPC32.
6808 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6810 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6811 multiarch strncasecmp_l for PPC32.
6812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6813 strncasecmp multiarch objects.
6814 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6815 (__libc_ifunc_impl_list): Likewise.
6817 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6819 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6821 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6822 multiarch strncasecmp for PPC32.
6823 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6825 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6826 multiarch strcasecmp_l for PPC32.
6827 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6829 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6830 (__libc_ifunc_impl_list): Likewise.
6832 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6834 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6836 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6838 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6839 multiarch strncmp for PPC32.
6840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6843 (__libc_ifunc_impl_list): Likewise.
6845 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6847 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6848 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6850 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6851 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6855 (__libc_ifunc_impl_list): Likewise.
6857 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6859 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6861 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6863 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6864 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6867 (__libc_ifunc_impl_list): Likewise.
6869 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6871 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6873 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6875 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6876 multiarch rawmemchr for PPC32.
6877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6880 (__libc_ifunc_impl_list): Likewise.
6882 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6884 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6886 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6888 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6889 file: memrchr multiarch for PPC32.
6890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6893 (__libc_ifunc_impl_list): Likewise.
6895 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6897 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6898 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6900 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6901 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6902 multiarch memchr for PPC32.
6903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6906 (__libc_ifunc_impl_list): Likewise.
6908 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6910 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6911 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6913 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6915 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6916 file: multiarch mempcpy for PPC32.
6917 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6919 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6920 (__libc_ifunc_impl_list): Likewise.
6922 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6924 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6925 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6926 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6927 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6928 multiarch bzero for PPC32.
6929 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6931 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6933 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6934 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6935 file: multiarch memset for PPC32.
6936 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6937 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6938 memset multiarch objects.
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 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6946 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6947 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6949 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6953 (__libc_ifunc_impl_list): Likewise.
6955 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6958 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6961 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6963 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6965 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6966 multiarch memcpy for PPC32.
6967 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6970 (__libc_ifunc_impl_list): Likewise.
6972 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6975 support multiarch for POWER/PPC32.
6976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6978 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6980 Implies file to make multiarch folder appers before the fpu and
6981 default folder for power4 configuration.
6983 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6985 * scripts/bench.pl: Append volatile keyword to type.
6987 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6989 * sysdeps/sh/sotruss-lib.c: New file.
6990 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6992 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6996 2013-12-05 Joseph Myers <joseph@codesourcery.com>
6999 * math/w_tgamma.c: Include <errno.h>.
7000 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7001 * math/w_tgammaf.c: Include <errno.h>.
7002 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7003 * math/w_tgammal.c: Include <errno.h>.
7004 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7005 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7006 underflow. Add more tgamma tests.
7007 * math/auto-libm-test-out: Regenerated.
7008 * sysdeps/i386/fpu/libm-test-ulps: Update.
7009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7011 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7012 sin, sinh, tan, tanh, tgamma, y0 and y1.
7013 * math/auto-libm-test-out: Regenerated.
7014 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7015 (TEST_COND_x86): Likewise.
7016 (M_E2l): Remove macro.
7018 (M_2_SQRT_PIl): Likewise.
7019 (M_SQRT_PIl): Likewise.
7020 (M_1_DIV_El): Likewise.
7021 (log_test_data): Use AUTO_TESTS_f_f.
7022 (log10_test_data): Likewise.
7023 (log1p_test_data): Likewise.
7024 (log2_test_data): Likewise.
7025 (sin_test_data): Likewise.
7026 (sin_tonearest_test_data): Likewise.
7027 (sin_towardzero_test_data): Likewise.
7028 (sin_downward_test_data): Likewise.
7029 (sin_upward_test_data): Likewise.
7030 (sinh_test_data): Likewise.
7031 (sinh_tonearest_test_data): Likewise.
7032 (sinh_towardzero_test_data): Likewise.
7033 (sinh_downward_test_data): Likewise.
7034 (sinh_upward_test_data): Likewise.
7035 (tan_test_data): Likewise.
7036 (tan_tonearest_test_data): Likewise.
7037 (tan_towardzero_test_data): Likewise.
7038 (tan_downward_test_data): Likewise.
7039 (tan_upward_test_data): Likewise.
7040 (tanh_test_data): Likewise.
7041 (tgamma_test_data): Likewise.
7042 (y0_test_data): Likewise.
7043 (y1_test_data): Likewise.
7044 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7045 (special_real_inputs): Add pi/4.
7046 * sysdeps/i386/fpu/libm-test-ulps: Update.
7047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7049 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7051 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7052 "longjmp_target" static probes.
7053 (__longjmp): Rename to __longjmp_symbol.
7054 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7055 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7056 on which longjmp to generate.
7057 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7058 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7060 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7061 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7062 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7063 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7064 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7065 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7067 __longjmp_symbol based on which __longjmp to generate.
7068 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7070 (setjmp): Rename to setjmp_symbol.
7071 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7072 (_setjmp): Rename to _setjmp_symbol.
7073 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7074 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7075 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7076 which setjmp to generate.
7077 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7078 "longjmp_target" static probes.
7080 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7082 * benchtests/README: Add note about output arguments.
7083 * benchtests/bench-sincos.c: Remove file.
7084 * benchtests/sincos-inputs: New file.
7085 * scripts/bench.pl: Identify output arguments and define
7086 static variables for them.
7088 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7091 * Makefile (INSTALL): Add install-plain.texi as the primary
7093 * manual/install-plain.texi: New file.
7094 * manual/install.texi: Include node directive only for
7095 non-plaintext output.
7097 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7099 * stdlib/longlong.h: Update from GCC.
7103 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7104 * math/w_j0f.c (y0f): Likewise.
7105 * math/w_j0l.c (__y0l): Likewise.
7106 * math/w_j1.c (y1): Likewise.
7107 * math/w_j1f.c (y1f): Likewise.
7108 * math/w_j1l.c (__y1l): Likewise
7109 * math/w_jn.c (yn): Likewise.
7110 * math/w_jnf.c (ynf): Likewise.
7111 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7112 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7113 value for Bessel function domain errors outside _SVID_ mode.
7114 Adjust sign of return value for yn (negative integer, 0).
7115 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7116 by zero in return for negative x and set sign appropriately for
7118 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7119 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7120 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7121 expectations in error cases.
7122 (y1_test_data): Likewise.
7123 (yn_test_data): Likewise.
7124 * sysdeps/i386/fpu/libm-test-ulps: Update.
7125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7127 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7129 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7130 "64" to "64-v1". Add "64-v2".
7131 (abi-64-options): Rename to ...
7132 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7133 (abi-64-condition): Rename to ...
7134 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7135 (abi-64-ld-soname): Rename to ...
7136 (abi-64-v1-ld-soname): ... this.
7137 (abi-64-v2-options): Define.
7138 (abi-64-v2-condition): Likewise.
7139 (abi-64-v2-ld-soname): Likewise.
7140 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7141 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7146 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7147 Alan Modra <amodra@gmail.com>
7149 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7150 New versions for use with the ELFv2 ABI.
7151 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7152 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7154 (struct La_ppc64v2_retval): Likewise.
7155 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7156 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7157 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7158 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7159 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7160 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7161 Do not save or restore CR.
7162 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7163 (_dl_profile_resolve): Do no save or restore CR. Support extended
7164 return values for ELFv2 ABI. Fix location of FPR return registers.
7165 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7166 updated values for _CALL_ELF == 2.
7167 (La_regs, La_retval, int_retval): Likewise.
7169 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7171 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7172 (FRAME_MIN_SIZE_PARM): Likewise.
7173 (FRAME_BACKCHAIN): Likewise.
7174 (FRAME_CR_SAVE): Likewise.
7175 (FRAME_LR_SAVE): Likewise.
7176 (FRAME_TOC_SAVE): Likewise.
7177 (FRAME_PARM_SAVE): Likewise.
7178 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7179 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7180 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7181 (call_mcount_parm_offset): New macro.
7182 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7183 (PROF): Use symbolic stack frame offsets.
7184 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7185 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7186 Redefine in terms of FRAME_MIN_SIZE.
7187 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7188 (_dl_profile_resolve): Likewise. Update comment.
7189 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7190 symbols stack frame offsets.
7191 (__sigsetjmp): Likewise.
7192 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7193 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7194 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7195 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7198 (FRAME_BACKCHAIN): Remove.
7199 (FRAME_CR_SAVE): Likewise.
7200 (FRAME_LR_SAVE): Likewise.
7201 (FRAME_COMPILER_DW): Likewise.
7202 (FRAME_LINKER_DW): Likewise.
7203 (FRAME_TOC_SAVE): Likewise.
7204 (FRAME_PARM_SAVE): Likewise.
7205 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7206 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7207 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7209 (CHECK_SP): Use symbolic stack frame offsets.
7210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7211 zone" instead of caller's parameter save area for temp storage.
7212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7213 Likewise. Also, use symbolic stack frame offsets.
7214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7215 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7216 our own stack frame instead of the caller's.
7217 (__socket): Use symbolic stack frame offsets.
7219 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7220 Alan Modra <amodra@gmail.com>
7222 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7224 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7225 PPC64_LOCAL_ENTRY_OFFSET): Define.
7226 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7228 (elf_machine_fixup_plt): Call it.
7229 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7231 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7232 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7233 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7234 r2 before calling target.
7236 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7237 Alan Modra <amodra@gmail.com>
7239 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7240 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7241 versions of macros to support ELFv2 ABI.
7242 (LOCALENTRY): New macro.
7243 (ENTRY, EALIGN): Use it.
7244 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7245 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7246 fall through into ENTRY entry point.
7247 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7248 Only define if _CALL_ELF != 2.
7250 (elf_machine_matches_host): Verify ABI version matches.
7251 (RTLD_START): Use LOCALENTRY.
7252 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7253 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7254 (PLT_ENTRY_WORDS): New macro.
7255 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7256 (elf_machine_runtime_setup): Support ELFv2 ABI.
7257 (elf_machine_fixup_plt): Likewise.
7258 (elf_machine_plt_conflict): Likewise.
7259 (resolve_ifunc): Likewise.
7260 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7261 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7264 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7266 (makecontext): Support ELFv2 ABI.
7267 * elf/elf.h (EF_PPC64_ABI): Define.
7269 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7271 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7272 New assembler macro.
7273 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7274 [ASSEMBLER] (ENTRY): ... but instead here ...
7275 [ASSEMBLER] (EALIGN): ... and here.
7276 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7277 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7278 [!ASSEMBLER] (ENTRY_2): Use it.
7279 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7280 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7281 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7282 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7283 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7285 Use PPC64_LOAD_FUNCPTR.
7287 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7289 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7291 2013-12-04 Alan Modra <amodra@gmail.com>
7293 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7294 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7295 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7296 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7298 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7299 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7300 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7301 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7302 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7303 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7305 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7308 (__makecontext): Fix incorrect CFI when backtracing out of
7309 context created via makecontext.
7310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7311 (__setcontext): Fix incorrect CFI during switch to new context.
7312 (__novec_setcontext): Likewise.
7314 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7317 * time/strptime_l.c (__strptime_internal): Allow modifiers
7319 * time/tst-strptime.c (day_tests): Add testcase.
7322 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7324 * scripts/bench.pl: Skip over blank lines.
7326 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7329 * manual/time.texi (Calendar Time): Clarify what timezone functions
7332 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7336 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7338 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7340 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7341 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7342 * debug/memset_chk.c (__memset_chk): Likewise.
7343 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7344 * debug/strncpy_chk.c: Likewise.
7346 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7350 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7351 (__ieee754_exp): For possibly underflowing results, check size of
7352 result and force underflow exception if required.
7353 * math/auto-libm-test-in: Add more tests of exp.
7354 * math/auto-libm-test-out: Regenerated.
7355 * sysdeps/i386/fpu/libm-test-ulps: Update.
7356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7359 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7360 * math/w_exp2f.c (__exp2f): Likewise.
7361 * math/w_exp2l.c (__exp2l): Likewise.
7362 * math/auto-libm-test-in: Do not allow missing errno on exp2
7364 * math/auto-libm-test-out: Regenerated.
7366 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7369 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7370 handle filename validation.
7371 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7374 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7377 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7378 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7379 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7381 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7382 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7383 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7384 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7385 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7386 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7387 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7388 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7389 Add more erfc tests.
7390 * math/auto-libm-test-out: Regenerated.
7391 * sysdeps/i386/fpu/libm-test-ulps: Update.
7392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7394 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7395 exp2, expm1, j0 and j1.
7396 * math/auto-libm-test-out: Regenerated.
7397 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7398 (erfc_test_data): Likewise.
7399 (exp_test_data): Likewise.
7400 (exp_tonearest_test_data): Likewise.
7401 (exp_towardzero_test_data): Likewise.
7402 (exp_downward_test_data): Likewise.
7403 (exp_upward_test_data): Likewise.
7404 (exp10_test_data): Likewise.
7405 (exp2_test_data): Likewise.
7406 (expm1_test_data): Likewise.
7407 (j0_test_data): Likewise.
7408 (j1_test_data): Likewise.
7409 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7410 (input_flag_type): Add flag_xfail_rounding.
7411 (input_flags): Add xfail-rounding.
7412 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7413 (output_for_one_input_case): Handle flag_xfail_rounding.
7414 * sysdeps/i386/fpu/libm-test-ulps: Update.
7415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7417 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7420 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7423 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7426 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7427 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7428 (STAP_PROBE0): New macro.
7429 (STAP_PROBE1): Likewise.
7430 (STAP_PROBE2): Likewise.
7431 (STAP_PROBE3): Likewise.
7432 (STAP_PROBE4): Likewise.
7434 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7436 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7438 2013-12-02 Steve Ellcey <sellcey@mips.com>
7440 * benchtests/Makefile (bench): Add sqrt.
7441 (LDLIBS-bench-sqrt): New.
7442 * benchtests/sqrt-input: New.
7444 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7446 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7447 (GAIH_EAI): Likewise.
7448 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7449 (gaih_inet): Likewise.
7450 (getaddrinfo): Don't use GAIH_EAI.
7452 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7453 (struct gaih): Remove definition.
7455 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7457 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7458 Use HERRNOP directly.
7460 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7464 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7466 * math/gen-auto-libm-tests.c (test_functions): Add more
7467 single-argument functions.
7468 (special_fill_pi_2): New function.
7469 (special_fill_minus_pi_2): Likewise.
7470 (special_fill_pi_6): Likewise.
7471 (special_fill_minus_pi_6): Likewise.
7472 (special_fill_pi_3): Likewise.
7473 (special_fill_2pi_3): Likewise.
7474 (special_fill_e): Likewise.
7475 (special_fill_1_e): Likewise.
7476 (special_fill_e_minus_1): Likewise.
7477 (special_real_inputs): Add more special inputs.
7478 (output_for_one_input_case): Do not require ERANGE on underflow to
7479 zero if round-to-nearest result does not underflow to zero, unless
7480 exact results required.
7481 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7482 atan, atanh, cbrt, cos and cosh.
7483 * math/auto-libm-test-out: Regenerated.
7484 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7485 (acos_tonearest_test_data): Likewise.
7486 (acos_towardzero_test_data): Likewise.
7487 (acos_downward_test_data): Likewise.
7488 (acos_upward_test_data): Likewise.
7489 (acosh_test_data): Likewise.
7490 (asin_test_data): Likewise.
7491 (asin_tonearest_test_data): Likewise.
7492 (asin_towardzero_test_data): Likewise.
7493 (asin_upward_test_data): Likewise.
7494 (asinh_test_data): Likewise.
7495 (atan_test_data): Likewise.
7496 (atanh_test_data): Likewise.
7497 (cbrt_test_data): Likewise.
7498 (cos_test_data): Likewise.
7499 (cos_tonearest_test_data): Likewise.
7500 (cos_towardzero_test_data): Likewise.
7501 (cos_downward_test_data): Likewise.
7502 (cos_upward_test_data): Likewise.
7503 (cosh_test_data): Likewise.
7504 (cosh_tonearest_test_data): Likewise.
7505 (cosh_towardzero_test_data): Likewise.
7506 (cosh_downward_test_data): Likewise.
7507 (cosh_upward_test_data): Likewise.
7508 * sysdeps/i386/fpu/libm-test-ulps: Update.
7509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7511 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7514 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7515 * math/w_exp10f.c (__exp10f): Likewise.
7516 * math/w_exp10l.c (__exp10l): Likewise.
7517 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7518 errno settings in existing tests.
7521 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7522 precision control set to double precision.
7523 * sysdeps/i386/fpu/w_sqrt.c: New file.
7524 * math/auto-libm-test-in: Add more tests.
7525 * math/auto-libm-test-out: Update.
7527 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7528 (sqrt_test_tonearest): New function.
7529 (sqrt_towardzero_test_data): New variable.
7530 (sqrt_test_towardzero): New function.
7531 (sqrt_downward_test_data): New variable.
7532 (sqrt_test_downward): New function.
7533 (sqrt_upward_test_data): New variable.
7534 (sqrt_test_upward): New function.
7535 (main): Call the new functions.
7537 * math/gen-auto-libm-tests.c: New file.
7538 * math/auto-libm-test-in: Likewise.
7539 * math/auto-libm-test-out: New generated file.
7540 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7542 (%beautify): Add generated representations of zero.
7543 (top level): Set $auto_input and call parse_auto_input.
7544 (beautify): Remove trailing "f" from hex float constants.
7545 (parse_args): Handle XFAIL_TEST.
7546 (convert_condition): New function.
7547 (or_value): Likewise.
7548 (or_cond_value): Likewise.
7549 (generate_testfile): Handle AUTO_TESTS_* lines.
7550 (parse_auto_input): New function.
7551 * math/libm-test.inc (XFAIL_TEST): New macro.
7552 (ERRNO_UNCHANGED): Update value.
7553 (ERRNO_EDOM): Likewise.
7554 (ERRNO_ERANGE): Likewise.
7555 (IGNORE_RESULT): Likewise.
7556 (TEST_COND_flt_32): New macro.
7557 (TEST_COND_dbl_64): Likewise.
7558 (TEST_COND_ldbl_96_intel): Likewise.
7559 (TEST_COND_ldbl_96_m68k): Likewise.
7560 (TEST_COND_ldbl_128): Likewise.
7561 (TEST_COND_ldbl_128ibm): Likewise.
7562 (TEST_COND_long32): Likewise.
7563 (TEST_COND_long64): Likewise.
7564 (TEST_COND_before_rounding): Likewise.
7565 (TEST_COND_after_rounding): Likewise.
7566 (enable_test): Handle XFAIL_TEST flag.
7567 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7568 with finite results.
7569 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7572 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7573 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7576 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7577 __tls_get_addr_internal instead of __tls_get_offset in order to
7578 avoid GOT pointer dependency. Make rtld export
7579 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7580 __tls_get_addr since we are a __tls_get_offset platform.
7581 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7582 GOT pointer being set up before.
7583 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7585 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7587 * manual/math.texi (Errors in Math Functions): Document accuracy
7591 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7592 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7595 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7597 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7601 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7608 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7609 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7610 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7611 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7612 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7614 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7616 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7618 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7619 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7620 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7621 atomic-feupdateenv and flt-rounds.
7622 * sysdeps/powerpc/nofpu/Versions (libc): Add
7623 __atomic_feholdexcept, __atomic_feclearexcept,
7624 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7625 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7626 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7627 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7628 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7633 * manual/arith.texi (FP Exceptions): Document that exceptions may
7634 not be raised when matherr is used.
7635 (Math Error Reporting): Document overflow in directed rounding
7636 modes. Document that errno may not be set when finite values are
7637 returned on overflow. Document intent to set errno on underflow
7638 only for underflow to zero.
7641 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7642 round-to-nearest then adjust result for other rounding modes.
7643 * include/fenv.h (fegetround): Use libm_hidden_proto.
7644 * math/fegetround.c (fegetround): Use libm_hidden_def.
7645 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7646 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7647 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7648 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7650 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7651 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7652 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7653 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7655 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7658 * nss/Versions (libnss_files): Add
7659 _nss_files_gethostbyname3_r.
7660 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7662 (HOST_DB_LOOKUP): Remove macro.
7663 (_nss_files_gethostbyname_r): Implement function without the
7664 HOST_DB_LOOKUP macro.
7665 (_nss_files_gethostbyname2_r): Likewise.
7667 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7669 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7671 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7673 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7674 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7677 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7679 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7680 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7681 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7682 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7683 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7684 __fe_nomask_env_priv and attribute_hidden.
7685 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7686 (libc_feupdateenv_test_ppc): Likewise.
7687 (libc_feresetround_ppc): Likewise.
7688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7689 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7690 compat_symbol macro.
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7692 (__fe_nomask_env): Likewise.
7693 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7695 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7697 * string/Makefile: Remove ifunc tests.
7698 * string/test-string.h: Define TEST_IFUNC.
7699 * string/test-bcopy-ifunc.c: Remove.
7700 * string/test-bzero-ifunc.c: Likewise.
7701 * string/test-memccpy-ifunc.c: Likewise.
7702 * string/test-memchr-ifunc.c: Likewise.
7703 * string/test-memcmp-ifunc.c: Likewise.
7704 * string/test-memcpy-ifunc.c: Likewise.
7705 * string/test-memmem-ifunc.c: Likewise.
7706 * string/test-memmove-ifunc.c: Likewise.
7707 * string/test-mempcpy-ifunc.c: Likewise.
7708 * string/test-memrchr-ifunc.c: Likewise.
7709 * string/test-memset-ifunc.c: Likewise.
7710 * string/test-rawmemchr-ifunc.c: Likewise.
7711 * string/test-stpcpy-ifunc.c: Likewise.
7712 * string/test-stpncpy-ifunc.c: Likewise.
7713 * string/test-strcasecmp-ifunc.c: Likewise.
7714 * string/test-strcasestr-ifunc.c: Likewise.
7715 * string/test-strcat-ifunc.c: Likewise.
7716 * string/test-strchr-ifunc.c: Likewise.
7717 * string/test-strchrnul-ifunc.c: Likewise.
7718 * string/test-strcmp-ifunc.c: Likewise.
7719 * string/test-strcpy-ifunc.c: Likewise.
7720 * string/test-strcspn-ifunc.c: Likewise.
7721 * string/test-strlen-ifunc.c: Likewise.
7722 * string/test-strncasecmp-ifunc.c: Likewise.
7723 * string/test-strncat-ifunc.c: Likewise.
7724 * string/test-strncmp-ifunc.c: Likewise.
7725 * string/test-strncpy-ifunc.c: Likewise.
7726 * string/test-strnlen-ifunc.c: Likewise.
7727 * string/test-strpbrk-ifunc.c: Likewise.
7728 * string/test-strrchr-ifunc.c: Likewise.
7729 * string/test-strspn-ifunc.c: Likewise.
7730 * string/test-strstr-ifunc.c: Likewise.
7732 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7734 * benchtests/Makefile: Remove ifunc tests.
7735 * benchtests/bench-string.h: Define TEST_IFUNC.
7736 * benchtests/bench-bcopy-ifunc.c: Remove.
7737 * benchtests/bench-bzero-ifunc.c: Likewise.
7738 * benchtests/bench-memccpy-ifunc.c: Likewise.
7739 * benchtests/bench-memchr-ifunc.c: Likewise.
7740 * benchtests/bench-memcmp-ifunc.c: Likewise.
7741 * benchtests/bench-memcpy-ifunc.c: Likewise.
7742 * benchtests/bench-memmem-ifunc.c: Likewise.
7743 * benchtests/bench-memmove-ifunc.c: Likewise.
7744 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7745 * benchtests/bench-memrchr-ifunc.c: Likewise.
7746 * benchtests/bench-memset-ifunc.c: Likewise.
7747 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7748 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7749 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7750 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7751 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7752 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7753 * benchtests/bench-strcat-ifunc.c: Likewise.
7754 * benchtests/bench-strchr-ifunc.c: Likewise.
7755 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7756 * benchtests/bench-strcmp-ifunc.c: Likewise.
7757 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7758 * benchtests/bench-strcpy-ifunc.c: Likewise.
7759 * benchtests/bench-strcspn-ifunc.c: Likewise.
7760 * benchtests/bench-strlen-ifunc.c: Likewise.
7761 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7762 * benchtests/bench-strncat-ifunc.c: Likewise.
7763 * benchtests/bench-strncmp-ifunc.c: Likewise.
7764 * benchtests/bench-strncpy-ifunc.c: Likewise.
7765 * benchtests/bench-strnlen-ifunc.c: Likewise.
7766 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7767 * benchtests/bench-strrchr-ifunc.c: Likewise.
7768 * benchtests/bench-strsep-ifunc.c: Likewise.
7769 * benchtests/bench-strspn-ifunc.c: Likewise.
7770 * benchtests/bench-strstr-ifunc.c: Likewise.
7772 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7774 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7776 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7778 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7779 * rt/aio.h: Likewise.
7780 * sysdeps/gnu/bits/utmp.h: Likewise.
7781 * sysdeps/gnu/bits/utmpx.h: Likewise.
7782 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7783 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7784 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7785 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7786 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7787 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7788 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7789 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7790 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7791 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7792 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7793 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7794 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7796 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7797 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7798 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7799 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7800 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7801 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7802 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7803 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7804 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7805 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7806 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7807 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7808 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7809 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7810 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7811 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7812 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7813 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7814 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7815 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7816 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7817 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7818 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7819 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7820 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7821 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7822 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7823 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7825 2013-11-25 Carlos O'Donell <carlos@redhat.com>
7828 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7829 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7831 2013-11-25 Joseph Myers <joseph@codesourcery.com>
7833 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7834 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7837 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7839 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7840 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7841 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7842 (__fesetround): Remove define.
7843 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7844 rounding and exceptions handling.
7845 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7846 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7847 (__fe_nomask_env): Likewise.
7848 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7849 __fegetround instead of fegetround.
7850 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7851 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7853 2013-11-21 Roland McGrath <roland@hack.frob.com>
7855 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7858 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7860 2013-11-21 Meador Inge <meadori@codesourcery.com>
7863 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7864 (encrypt_r): Likewise.
7865 * malloc/obstack.h (obstack_free): Likewise.
7866 * posix/unistd.h (encrypt): Likewise.
7868 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7870 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7871 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7872 DL_CALL_DT_FINI() that call the functions directly.
7873 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7874 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7875 * elf/dl-fini.c: Likewise.
7877 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
7879 * malloc/hooks.c (memalign_check): Add alignment rounding.
7880 * malloc/malloc.c (_mid_memalign): New function.
7881 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7882 Implement by calling _mid_memalign.
7883 * manual/probes.texi (Memory Allocation Probes): Remove
7884 memory_valloc_retry and memory_pvalloc_retry.
7886 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7888 * locale/programs/locarchive.c (open_archive): Add const
7889 qualifier to ARCHIVEFNAME and copy default fname to
7893 * libio/tst-widetext.input: Rename Oriya to Odia.
7894 * locale/iso-639.def: Likewise.
7896 * manual/probes.texi (Mathematical Function Probes): Add
7897 documentation for sin, cos, asin and acos probes.
7898 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7899 (__sin32): Add slowasin probe.
7900 (__cos32): Add slowacos probe.
7901 (__mpsin): Add slowsin probe.
7902 (__mpcos): Add slowcos probe.
7904 2013-11-19 Joseph Myers <joseph@codesourcery.com>
7907 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7908 thread-local __sim_exceptions_thread and global
7909 __sim_exceptions_global.
7910 (__sim_disabled_exceptions): Change to thread-local
7911 __sim_disabled_exceptions_thread and global
7912 __sim_disabled_exceptions_global.
7913 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7914 and global __sim_round_mode_global.
7915 (__simulate_exceptions): Use thread-local floating-point state and
7916 set global state from it as needed.
7917 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7918 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7919 __sim_round_mode_thread.
7920 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7921 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7922 and global __sim_exceptions_global.
7923 (__sim_disabled_exceptions): Change to thread-local
7924 __sim_disabled_exceptions_thread and global
7925 __sim_disabled_exceptions_global.
7926 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7927 and global __sim_round_mode_global.
7928 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7929 (SIM_SET_GLOBAL): Likewise.
7930 * sysdeps/powerpc/soft-fp/sfp-machine.h
7931 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7932 __sim_round_mode_thread.
7933 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7934 __sim_disabled_exceptions_thread.
7935 (__sim_exceptions): Change to __sim_exceptions_thread.
7936 (__sim_disabled_exceptions): Change to
7937 __sim_disabled_exceptions_thread.
7938 (__sim_round_mode): Change to __sim_round_mode_thread.
7939 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7940 thread-local floating-point state and set global state from it as
7942 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7943 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7944 (__sim_disabled_exceptions): Remove extern declaration.
7945 (feenableexcept): Use thread-local floating-point state and set
7946 global state from it as needed.
7947 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7949 (__sim_disabled_exceptions): Likewise.
7950 (__sim_round_mode): Likewise.
7951 (__fegetenv): Use thread-local floating-point state.
7952 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7953 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7954 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7955 floating-point state and set global state from it as needed.
7956 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7957 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7958 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7960 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7961 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7963 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7964 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7965 Use __sim_round_mode_thread.
7966 * math/test-fenv-tls.c: New file.
7967 * math/Makefile (tests): Add test-fenv-tls.
7968 ($(objpfx)test-fenv-tls): Depend on
7969 $(common-objpfx)nptl/libpthread.so.
7971 2013-11-19 Andreas Schwab <schwab@suse.de>
7973 * locale/programs/locale.c (show_info): Decode wordarray elements.
7974 * locale/categories.def (LC_MONETARY): Add element for
7975 _NL_MONETARY_CRNCYSTR.
7976 * locale/C-monetary.c (conversion_rate): New variable.
7977 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7980 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7982 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7983 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7985 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7987 * elf/Makefile (tst-auxv): New test.
7988 * elf/tst-auxv.c: New
7989 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7991 2013-11-18 Joseph Myers <joseph@codesourcery.com>
7993 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7994 (hidden_proto): Caller changed.
7995 (hidden_tls_proto): New macro.
7996 (libc_hidden_tls_proto): Likewise.
7997 (rtld_hidden_tls_proto): Likewise.
7998 (libm_hidden_tls_proto): Likewise.
7999 (libresolv_hidden_tls_proto): Likewise.
8000 (librt_hidden_tls_proto): Likewise.
8001 (libdl_hidden_tls_proto): Likewise.
8002 (libnss_files_hidden_tls_proto): Likewise.
8003 (libnsl_hidden_tls_proto): Likewise.
8004 (libnss_nisplus_hidden_tls_proto): Likewise.
8005 (libutil_hidden_tls_proto): Likewise.
8007 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8010 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8011 (decompose_rpath): Defer expansion to fillin_rpath.
8012 (_dl_init_paths): Pass linkmap to fillin_rpath.
8014 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8016 * benchtests/Makefile: Add strsep.
8017 * benchtests/bench-strsep.c: New file: strsep benchtest.
8018 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8020 2013-11-18 Andreas Schwab <schwab@suse.de>
8022 * locale/programs/locale.c (show_info) [case byte]: Check for
8023 '\377' instead of '\177'.
8024 * locale/C-monetary.c (not_available): Always use "\377".
8025 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8026 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8027 detect unavailable sign_posn locale elements.
8028 * locale/localeconv.c (__localeconv): For grouping and
8029 mon_grouping handle "\177" and "\377" like no grouping.
8030 (INT_ELEM): New macro. Use it to set all numeric members.
8031 * locale/programs/ld-monetary.c (monetary_read)
8032 <tok_mon_grouping>: Normalize single -1 to the empty string.
8033 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8036 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8039 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8040 when we match (nil).
8041 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8043 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8045 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8046 (NO_TEST_INLINE): Update value.
8047 (ERRNO_UNCHANGED): Likewise.
8048 (ERRNO_EDOM): Likewise.
8049 (ERRNO_ERANGE): Likewise.
8050 (IGNORE_RESULT): Likewise.
8051 (check_float_internal): Check signs of NaN results if
8053 (check_complex): Pass TEST_NAN_SIGN flag through to second
8054 check_float_internal call.
8055 (copysign_test_data): Add tests with quiet NaNs as second
8056 argument. Use TEST_NAN_SIGN.
8057 (fabs_test_data): Add test of negative quiet NaN argument. Use
8059 (signbit_test_data): Add tests of quiet NaN argument.
8060 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8062 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8064 (parse_args): Handle function results specified as IGNORE.
8065 * math/libm-test.inc (IGNORE_RESULT): New macro.
8066 (check_float_internal): Do not check numerical result if flag
8068 (check_complex): Pass through IGNORE_RESULT to second
8069 check_float_internal call.
8070 (check_int): Do not check numerical result if flag IGNORE_RESULT
8072 (check_long): Likewise.
8073 (check_bool): Likewise.
8074 (check_longlong): Likewise.
8075 (lrint_test_data): Add tests of infinite and NaN arguments.
8076 (lrint_tonearest_test_data): Likewise.
8077 (lrint_towardzero_test_data): Likewise.
8078 (lrint_downward_test_data): Likewise.
8079 (lrint_upward_test_data): Likewise.
8080 (llrint_test_data): Likewise.
8081 (llrint_tonearest_test_data): Likewise.
8082 (llrint_towardzero_test_data): Likewise.
8083 (llrint_downward_test_data): Likewise.
8084 (llrint_upward_test_data): Likewise.
8085 (lround_test_data): Likewise.
8086 (llround_test_data): Likewise.
8088 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8089 (ERRNO_UNCHANGED): Update value.
8090 (ERRNO_EDOM): Likewise.
8091 (ERRNO_ERANGE): Likewise.
8092 (NO_TEST_INLINE_FLOAT): New macro.
8093 (NO_TEST_INLINE_DOUBLE): Likewise.
8094 (enable_test): New function.
8095 (RUN_TEST_f_f): Check enable_test before running test.
8096 (RUN_TEST_2_f): Likewise.
8097 (RUN_TEST_fff_f): Likewise.
8098 (RUN_TEST_c_f): Likewise.
8099 (RUN_TEST_f_f1): Likewise.
8100 (RUN_TEST_fF_f1): Likewise.
8101 (RUN_TEST_fI_f1): Likewise.
8102 (RUN_TEST_ffI_f1): Likewise.
8103 (RUN_TEST_c_c): Likewise.
8104 (RUN_TEST_cc_c): Likewise.
8105 (RUN_TEST_f_i): Likewise.
8106 (RUN_TEST_f_i_tg): Likewise.
8107 (RUN_TEST_ff_i_tg): Likewise.
8108 (RUN_TEST_f_b): Likewise.
8109 (RUN_TEST_f_b_tg): Likewise.
8110 (RUN_TEST_f_l): Likewise.
8111 (RUN_TEST_f_L): Likewise.
8112 (RUN_TEST_fFF_11): Likewise.
8113 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8115 (cosh_test_data): Likewise.
8116 (exp_test_data): Likewise.
8117 (expm1_test_data): Likewise.
8118 (hypot_test_data): Likewise.
8119 (pow_test_data): Likewise.
8120 (sinh_test_data): Likewise.
8121 (tanh_test_data): Likewise.
8122 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8125 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8126 tests with quiet NaN input and output.
8127 (acosh_test_data): Likewise.
8128 (asin_test_data): Likewise.
8129 (asinh_test_data): Likewise.
8130 (atan_test_data): Likewise.
8131 (atanh_test_data): Likewise.
8132 (atan2_test_data): Likewise.
8133 (cbrt_test_data): Likewise.
8134 (cos_test_data): Likewise.
8135 (cosh_test_data): Likewise.
8136 (erf_test_data): Likewise.
8137 (erfc_test_data): Likewise.
8138 (exp_test_data): Likewise.
8139 (exp10_test_data): Likewise.
8140 (exp2_test_data): Likewise.
8141 (expm1_test_data): Likewise.
8142 (hypot_test_data): Likewise.
8143 (j0_test_data): Likewise.
8144 (j1_test_data): Likewise.
8145 (jn_test_data): Likewise.
8146 (lgamma_test_data): Likewise.
8147 (log_test_data): Likewise.
8148 (log10_test_data): Likewise.
8149 (log1p_test_data): Likewise.
8150 (log2_test_data): Likewise.
8151 (pow_test_data): Likewise.
8152 (scalb_test_data): Likewise.
8153 (sin_test_data): Likewise.
8154 (sincos_test_data): Likewise.
8155 (sinh_test_data): Likewise.
8156 (tan_test_data): Likewise.
8157 (tanh_test_data): Likewise.
8158 (tgamma_test_data): Likewise.
8159 (y0_test_data): Likewise.
8160 (y1_test_data): Likewise.
8161 (yn_test_data): Likewise.
8164 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8165 argument being NaN and avoid computations with second argument in
8167 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8168 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8169 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8171 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8173 * locale/iso-639.def: Add Chitwani Tharu (the).
8175 2013-11-14 Andreas Schwab <schwab@suse.de>
8177 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8178 word instead of empty string.
8180 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8183 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8185 (__fe_nomask_env): Likewise.
8187 2013-11-13 Steve Ellcey <sellcey@mips.com>
8189 * benchtests/bench-timing.h: Include time.h.
8191 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8194 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8196 * sysdeps/unix/sysv/linux/configure: Regenerated.
8198 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8201 * stdlib/strtod_l.c (round_and_return): Do not consider
8202 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8203 exponent one less than half the least subnormal exponent.
8204 * stdlib/test-strtod-round-data: Add more tests.
8205 * stdlib/tst-strtod-round.c (tests): Regenerated.
8207 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8210 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8211 (__fe_mask_env): Likewise.
8212 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8213 libm_hidden_proto and add function prototype.
8214 (__fe_mask_env): Add function prototype.
8215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8216 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8218 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8220 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8222 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8224 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8225 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8227 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8229 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8230 of htab_find_slot().
8232 2013-11-11 David S. Miller <davem@davemloft.net>
8235 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8236 symbol in the non-vis3 case in static builds.
8237 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8238 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8239 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8240 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8242 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8245 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8248 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8250 * benchtests/Makefile: Add bench-strtod.
8251 * benchtests/bench-strtod.c: New file: strtod benchtest
8253 2013-11-11 Andreas Schwab <schwab@suse.de>
8256 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8257 terminating NUL in key length.
8259 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8261 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8262 Add artificial ODP entry for vDSO symbol for PPC64.
8263 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8264 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8266 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8269 * nss/getent.c (services_keys): Recognize services starting with digit.
8271 2013-11-06 David S. Miller <davem@davemloft.net>
8274 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8275 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8277 2013-11-06 Will Newton <will.newton@linaro.org>
8279 * manual/memory.texi (Malloc Examples): Remove register
8280 keyword from examples.
8282 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8284 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8286 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8289 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8290 depending on [__GCC_IEC_559 > 0].
8291 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8292 depending on [__GCC_IEC_559_COMPLEX > 0].
8294 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8296 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8299 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8301 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8303 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8306 * malloc/malloc (malloc_info): Do not handle first bin as
8309 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8311 * locale/iso-639.def: Add Central Nahuatl (nhn).
8313 2013-11-01 Bruno Haible <bruno@clisp.org>
8316 * manual/math.texi (BSD Random): Specify range upper bound as
8319 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8321 * locale/iso-639.def: Add Meadow Mari (mhr).
8323 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8325 [BZ #14752], [BZ #15763]
8326 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8328 * rt/tst_shm.c: Add test for escaping directory.
8330 2013-10-31 Andreas Schwab <schwab@suse.de>
8333 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8334 followed by 'x' as part of digit sequence.
8335 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8337 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8340 * configure.ac: allow GNU Make 4.0 and greater.
8341 * configure: Regenerated.
8343 2013-10-30 Will Newton <will.newton@linaro.org>
8346 * malloc/hooks.c (memalign_check): Limit alignment to the
8347 maximum representable power of two.
8348 * malloc/malloc.c (__libc_memalign): Likewise.
8349 * malloc/tst-memalign.c (do_test): Add test for very
8350 large alignment values.
8351 * malloc/tst-posix_memalign.c (do_test): Likewise.
8353 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8356 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8357 (munmap_chunk): Likewise.
8358 (mremap_chunk): Likewise.
8360 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8363 * stdlib/div.c (div): Remove obsolete code.
8364 * stdlib/ldiv.c (ldiv): Likewise.
8365 * stdlib/lldiv.c (lldiv): Likewise.
8367 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8370 * nss/nss_files/files-XXX.c (get_contents_ret): New
8372 (get_contents): New function.
8373 (internal_getent): Use it. Expand size of LINEBUFLEN.
8375 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8377 * configure.in: Moved to ...
8378 * configure.ac: ... here. Change reference to configure.in
8380 * sysdeps/arm/preconfigure.ac: ... here.
8381 configure.in to configure.ac.
8382 * sysdeps/gnu/configure.in: Moved to ...
8383 * sysdeps/gnu/configure.ac: ... here.
8384 * sysdeps/i386/configure.in: Moved to ...
8385 * sysdeps/i386/configure.ac: ... here.
8386 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8387 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8388 * sysdeps/mach/configure.in: Moved to ...
8389 * sysdeps/mach/configure.ac: ... here.
8390 * sysdeps/mach/hurd/configure.in: Moved to ...
8391 * sysdeps/mach/hurd/configure.ac: ... here.
8392 * sysdeps/powerpc/configure.in: Moved to ...
8393 * sysdeps/powerpc/configure.ac: ... here.
8394 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8395 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8396 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8397 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8398 * sysdeps/s390/s390-32/configure.in: Moved to ...
8399 * sysdeps/s390/s390-32/configure.ac: ... here.
8400 * sysdeps/s390/s390-64/configure.in: Moved to ...
8401 * sysdeps/s390/s390-64/configure.ac: ... here.
8402 * sysdeps/sh/configure.in: Moved to ...
8403 * sysdeps/sh/configure.ac: ... here.
8404 * sysdeps/sparc/configure.in: Moved to ...
8405 * sysdeps/sparc/configure.ac: ... here.
8406 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8407 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8408 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8409 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8410 * sysdeps/x86_64/configure.in: Moved to ...
8411 * sysdeps/x86_64/configure.ac: ... here.
8412 * sysdeps/x86_64/preconfigure.in: Moved to ...
8413 * sysdeps/x86_64/preconfigure.ac: ... here.
8414 * aclocal.m4: Change reference to configure.in to configure.ac.
8415 * config.h.in: Likewise.
8416 * manual/install.texi: Likewise.
8417 * manual/maint.texi: Likewise.
8418 * Makefile: Likewise.
8419 * malloc/Makefile: Likewise.
8420 * nscd/Makefile: Likewise.
8421 * Makeconfig: Change reference to configure.in and
8422 preconfigure.in to configure.ac and preconfigure.ac
8424 * INSTALL: Regenerated.
8425 * configure: Likewise.
8426 * sysdeps/gnu/configure: Likewise.
8427 * sysdeps/i386/configure: Likewise.
8428 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8429 * sysdeps/mach/configure: Likewise.
8430 * sysdeps/mach/hurd/configure: Likewise.
8431 * sysdeps/powerpc/configure: Likewise.
8432 * sysdeps/powerpc/powerpc32/configure: Likewise.
8433 * sysdeps/powerpc/powerpc64/configure: Likewise.
8434 * sysdeps/s390/s390-32/configure: Likewise.
8435 * sysdeps/s390/s390-64/configure: Likewise.
8436 * sysdeps/sh/configure: Likewise.
8437 * sysdeps/sparc/configure: Likewise.
8438 * sysdeps/unix/sysv/linux/configure: Likewise.
8439 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8440 * sysdeps/x86_64/configure: Likewise.
8441 * sysdeps/x86_64/preconfigure: Likewise.
8443 2013-10-29 Andreas Schwab <schwab@suse.de>
8445 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8447 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8449 * benchtests/pow-inputs: Add new inputs.
8451 * benchtests/exp-inputs: Add new inputs.
8453 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8454 conditional check for return value.
8455 (__cos32): Likewise.
8457 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8459 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8460 to provide a boost for large inputs with word alignment.
8461 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8462 implementation based on optimized PPC64 strcpy.
8463 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8464 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8465 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8466 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8468 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8471 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8473 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8476 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8477 * time/tst-strptime.c (day_tests): Add testcase.
8479 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8482 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8484 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8487 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8488 MAP_FAILED on error.
8490 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8493 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8494 heap for large requests.
8496 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8499 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8500 result if the result has no associated interface.
8501 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8502 interface for all 127.X.Y.Z addresses.
8504 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8506 * locale/iso-639.def: Add Ligurian (lij)
8508 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8511 * sunrpc/rpc_main.c: Document rpcgen -5.
8513 2013-10-19 Michael Stahl <mstahl@redhat.com>
8515 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8517 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8520 * posix/glob.c: Match only directories when trailing slash is present.
8521 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8522 (main): Add testcase.
8524 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8527 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8529 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8531 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8532 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8533 AUTH_DES and cindex for FIPS 140-2.
8534 (DES Encryption): Add cindex FIPS 46-3.
8536 * locale/locarchive.h (struct locarhandle): Add fname.
8537 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8538 if an optional argument was specified to --list-archive,
8540 * locale/programs/locarchive.c (show_archive_content): Take new
8541 argument fname and pass it via ah.fname to open_archive.
8542 * locale/programs/localedef.h: Update decl.
8543 (open_archive): If AH->fname is non-null, open that file
8544 rather than the default file name, and don't ignore ENOENT.
8545 (create_archive): Set AH.fname to NULL.
8546 (delete_locales_from_archive): Likewise.
8547 (add_locales_to_archive): Likewise.
8548 * locale/programs/locfile.c (write_all_categories): Likewise.
8550 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8551 Aldy Hernandez <aldyh@redhat.com>
8553 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8554 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8555 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8556 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8557 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8558 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8559 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8560 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8561 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8562 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8563 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8564 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8565 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8566 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8567 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8569 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8571 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8573 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8575 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8576 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8578 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8579 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8580 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8581 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8583 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8584 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8585 * sysdeps/powerpc/preconfigure: Likewise.
8586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8588 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8589 Replace contents of file by #include of <fenv_libc.h>.
8590 * sysdeps/powerpc/soft-fp/sfp-machine.h
8591 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8593 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8594 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8595 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8596 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8597 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8598 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8600 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8601 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8602 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8603 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8604 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8606 Allow copysignl PLT reference to be missing.
8608 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8609 Joseph Myers <joseph@codesourcery.com
8612 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8614 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8616 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8618 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8619 * elf/tst-tls1.c: Likewise.
8620 * elf/tst-tls10.h: Likewise.
8621 * elf/tst-tls14.c: Likewise.
8622 * elf/tst-tls2.c: Likewise.
8623 * elf/tst-tls3.c: Likewise.
8624 * elf/tst-tls4.c: Likewise.
8625 * elf/tst-tls5.c: Likewise.
8626 * elf/tst-tls6.c: Likewise.
8627 * elf/tst-tls7.c: Likewise.
8628 * elf/tst-tls8.c: Likewise.
8629 * elf/tst-tls9.c: Likewise.
8630 * elf/tst-tlsmod1.c: Likewise.
8631 * elf/tst-tlsmod13.c: Likewise.
8632 * elf/tst-tlsmod13a.c: Likewise.
8633 * elf/tst-tlsmod14a.c: Likewise.
8634 * elf/tst-tlsmod16a.c: Likewise.
8635 * elf/tst-tlsmod16b.c: Likewise.
8636 * elf/tst-tlsmod2.c: Likewise.
8637 * elf/tst-tlsmod3.c: Likewise.
8638 * elf/tst-tlsmod4.c: Likewise.
8639 * elf/tst-tlsmod5.c: Likewise.
8640 * elf/tst-tlsmod6.c: Likewise.
8642 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8645 * malloc/malloc.c: remove checks for statistics.
8647 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8650 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8651 * inet/tst-network.c: Add testcase.
8653 2013-10-17 Andreas Schwab <schwab@suse.de>
8656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8657 to determine canonical name.
8659 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8661 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8662 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8663 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8664 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8665 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8666 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8667 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8668 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8669 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8681 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8685 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8686 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8691 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8702 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8710 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8711 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8712 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8713 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8715 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8716 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8717 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8718 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8720 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8723 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8724 make result into a quiet NaN.
8726 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8728 * soft-fp/adddf3.c: Fix horizontal whitespace.
8729 * soft-fp/addsf3.c: Likewise.
8730 * soft-fp/addtf3.c: Likewise.
8731 * soft-fp/divdf3.c: Likewise.
8732 * soft-fp/divsf3.c: Likewise.
8733 * soft-fp/divtf3.c: Likewise.
8734 * soft-fp/double.h: Likewise.
8735 * soft-fp/eqdf2.c: Likewise.
8736 * soft-fp/eqsf2.c: Likewise.
8737 * soft-fp/eqtf2.c: Likewise.
8738 * soft-fp/extenddftf2.c: Likewise.
8739 * soft-fp/extended.h: Likewise.
8740 * soft-fp/extendsfdf2.c: Likewise.
8741 * soft-fp/extendsftf2.c: Likewise.
8742 * soft-fp/extendxftf2.c: Likewise.
8743 * soft-fp/fixdfdi.c: Likewise.
8744 * soft-fp/fixdfsi.c: Likewise.
8745 * soft-fp/fixdfti.c: Likewise.
8746 * soft-fp/fixsfdi.c: Likewise.
8747 * soft-fp/fixsfsi.c: Likewise.
8748 * soft-fp/fixsfti.c: Likewise.
8749 * soft-fp/fixtfdi.c: Likewise.
8750 * soft-fp/fixtfsi.c: Likewise.
8751 * soft-fp/fixtfti.c: Likewise.
8752 * soft-fp/fixunsdfdi.c: Likewise.
8753 * soft-fp/fixunsdfsi.c: Likewise.
8754 * soft-fp/fixunsdfti.c: Likewise.
8755 * soft-fp/fixunssfdi.c: Likewise.
8756 * soft-fp/fixunssfsi.c: Likewise.
8757 * soft-fp/fixunssfti.c: Likewise.
8758 * soft-fp/fixunstfdi.c: Likewise.
8759 * soft-fp/fixunstfsi.c: Likewise.
8760 * soft-fp/fixunstfti.c: Likewise.
8761 * soft-fp/floatdidf.c: Likewise.
8762 * soft-fp/floatdisf.c: Likewise.
8763 * soft-fp/floatditf.c: Likewise.
8764 * soft-fp/floatsidf.c: Likewise.
8765 * soft-fp/floatsisf.c: Likewise.
8766 * soft-fp/floatsitf.c: Likewise.
8767 * soft-fp/floattidf.c: Likewise.
8768 * soft-fp/floattisf.c: Likewise.
8769 * soft-fp/floattitf.c: Likewise.
8770 * soft-fp/floatundidf.c: Likewise.
8771 * soft-fp/floatundisf.c: Likewise.
8772 * soft-fp/floatunditf.c: Likewise.
8773 * soft-fp/floatunsidf.c: Likewise.
8774 * soft-fp/floatunsisf.c: Likewise.
8775 * soft-fp/floatunsitf.c: Likewise.
8776 * soft-fp/floatuntidf.c: Likewise.
8777 * soft-fp/floatuntisf.c: Likewise.
8778 * soft-fp/floatuntitf.c: Likewise.
8779 * soft-fp/fmadf4.c: Likewise.
8780 * soft-fp/fmasf4.c: Likewise.
8781 * soft-fp/fmatf4.c: Likewise.
8782 * soft-fp/gedf2.c: Likewise.
8783 * soft-fp/gesf2.c: Likewise.
8784 * soft-fp/getf2.c: Likewise.
8785 * soft-fp/ledf2.c: Likewise.
8786 * soft-fp/lesf2.c: Likewise.
8787 * soft-fp/letf2.c: Likewise.
8788 * soft-fp/muldf3.c: Likewise.
8789 * soft-fp/mulsf3.c: Likewise.
8790 * soft-fp/multf3.c: Likewise.
8791 * soft-fp/negdf2.c: Likewise.
8792 * soft-fp/negsf2.c: Likewise.
8793 * soft-fp/negtf2.c: Likewise.
8794 * soft-fp/op-1.h: Likewise.
8795 * soft-fp/op-2.h: Likewise.
8796 * soft-fp/op-4.h: Likewise.
8797 * soft-fp/op-8.h: Likewise.
8798 * soft-fp/op-common.h: Likewise.
8799 * soft-fp/quad.h: Likewise.
8800 * soft-fp/single.h: Likewise.
8801 * soft-fp/soft-fp.h: Likewise.
8802 * soft-fp/sqrtdf2.c: Likewise.
8803 * soft-fp/sqrtsf2.c: Likewise.
8804 * soft-fp/sqrttf2.c: Likewise.
8805 * soft-fp/subdf3.c: Likewise.
8806 * soft-fp/subsf3.c: Likewise.
8807 * soft-fp/subtf3.c: Likewise.
8808 * soft-fp/truncdfsf2.c: Likewise.
8809 * soft-fp/trunctfdf2.c: Likewise.
8810 * soft-fp/trunctfsf2.c: Likewise.
8811 * soft-fp/trunctfxf2.c: Likewise.
8812 * soft-fp/unorddf2.c: Likewise.
8813 * soft-fp/unordsf2.c: Likewise.
8814 * soft-fp/unordtf2.c: Likewise.
8816 2013-10-15 Joseph Myers <joseph@codesourcery.com>
8818 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8819 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8821 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
8823 * elf/dl-libc.c: Clear initfini list after freeing.
8825 2013-10-14 Joseph Myers <joseph@codesourcery.com>
8827 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8828 * soft-fp/addsf3.c: Likewise.
8829 * soft-fp/addtf3.c: Likewise.
8830 * soft-fp/divdf3.c: Likewise.
8831 * soft-fp/divsf3.c: Likewise.
8832 * soft-fp/divtf3.c: Likewise.
8833 * soft-fp/double.h: Likewise.
8834 * soft-fp/eqdf2.c: Likewise.
8835 * soft-fp/eqsf2.c: Likewise.
8836 * soft-fp/eqtf2.c: Likewise.
8837 * soft-fp/extenddftf2.c: Likewise.
8838 * soft-fp/extended.h: Likewise.
8839 * soft-fp/extendsfdf2.c: Likewise.
8840 * soft-fp/extendsftf2.c: Likewise.
8841 * soft-fp/extendxftf2.c: Likewise.
8842 * soft-fp/fixdfdi.c: Likewise.
8843 * soft-fp/fixdfsi.c: Likewise.
8844 * soft-fp/fixdfti.c: Likewise.
8845 * soft-fp/fixsfdi.c: Likewise.
8846 * soft-fp/fixsfsi.c: Likewise.
8847 * soft-fp/fixsfti.c: Likewise.
8848 * soft-fp/fixtfdi.c: Likewise.
8849 * soft-fp/fixtfsi.c: Likewise.
8850 * soft-fp/fixtfti.c: Likewise.
8851 * soft-fp/fixunsdfdi.c: Likewise.
8852 * soft-fp/fixunsdfsi.c: Likewise.
8853 * soft-fp/fixunsdfti.c: Likewise.
8854 * soft-fp/fixunssfdi.c: Likewise.
8855 * soft-fp/fixunssfsi.c: Likewise.
8856 * soft-fp/fixunssfti.c: Likewise.
8857 * soft-fp/fixunstfdi.c: Likewise.
8858 * soft-fp/fixunstfsi.c: Likewise.
8859 * soft-fp/fixunstfti.c: Likewise.
8860 * soft-fp/floatdidf.c: Likewise.
8861 * soft-fp/floatdisf.c: Likewise.
8862 * soft-fp/floatditf.c: Likewise.
8863 * soft-fp/floatsidf.c: Likewise.
8864 * soft-fp/floatsisf.c: Likewise.
8865 * soft-fp/floatsitf.c: Likewise.
8866 * soft-fp/floattidf.c: Likewise.
8867 * soft-fp/floattisf.c: Likewise.
8868 * soft-fp/floattitf.c: Likewise.
8869 * soft-fp/floatundidf.c: Likewise.
8870 * soft-fp/floatundisf.c: Likewise.
8871 * soft-fp/floatunsidf.c: Likewise.
8872 * soft-fp/floatunsisf.c: Likewise.
8873 * soft-fp/floatuntidf.c: Likewise.
8874 * soft-fp/floatuntisf.c: Likewise.
8875 * soft-fp/floatuntitf.c: Likewise.
8876 * soft-fp/fmadf4.c: Likewise.
8877 * soft-fp/fmasf4.c: Likewise.
8878 * soft-fp/fmatf4.c: Likewise.
8879 * soft-fp/gedf2.c: Likewise.
8880 * soft-fp/gesf2.c: Likewise.
8881 * soft-fp/getf2.c: Likewise.
8882 * soft-fp/ledf2.c: Likewise.
8883 * soft-fp/lesf2.c: Likewise.
8884 * soft-fp/letf2.c: Likewise.
8885 * soft-fp/muldf3.c: Likewise.
8886 * soft-fp/mulsf3.c: Likewise.
8887 * soft-fp/multf3.c: Likewise.
8888 * soft-fp/negdf2.c: Likewise.
8889 * soft-fp/negsf2.c: Likewise.
8890 * soft-fp/negtf2.c: Likewise.
8891 * soft-fp/op-1.h: Likewise.
8892 * soft-fp/op-2.h: Likewise.
8893 * soft-fp/op-4.h: Likewise.
8894 * soft-fp/op-8.h: Likewise.
8895 * soft-fp/op-common.h: Likewise.
8896 * soft-fp/quad.h: Likewise.
8897 * soft-fp/single.h: Likewise.
8898 * soft-fp/soft-fp.h: Likewise.
8899 * soft-fp/sqrtdf2.c: Likewise.
8900 * soft-fp/sqrtsf2.c: Likewise.
8901 * soft-fp/sqrttf2.c: Likewise.
8902 * soft-fp/subdf3.c: Likewise.
8903 * soft-fp/subsf3.c: Likewise.
8904 * soft-fp/subtf3.c: Likewise.
8905 * soft-fp/truncdfsf2.c: Likewise.
8906 * soft-fp/trunctfdf2.c: Likewise.
8907 * soft-fp/trunctfsf2.c: Likewise.
8908 * soft-fp/trunctfxf2.c: Likewise.
8909 * soft-fp/unorddf2.c: Likewise.
8910 * soft-fp/unordsf2.c: Likewise.
8911 * soft-fp/unordtf2.c: Likewise.
8913 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
8916 * misc/error.c (error_tail): Fix possible buffer overflow.
8918 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8921 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8924 2013-10-14 P. J. McDermott <pj@pehjota.net>
8927 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8928 testing pipefail option.
8930 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8932 * soft-fp/double.h: Indent preprocessor directives inside #if.
8933 * soft-fp/extended.h: Likewise.
8934 * soft-fp/op-2.h: Likewise.
8935 * soft-fp/op-4.h: Likewise.
8936 * soft-fp/op-common.h: Likewise.
8937 * soft-fp/quad.h: Likewise.
8938 * soft-fp/single.h: Likewise.
8939 * soft-fp/soft-fp.h: Likewise.
8941 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8943 * iconv/iconv_prog.c: Fix typos.
8944 * stdio-common/psiginfo-data.h: Likewise.
8946 2013-10-12 Reuben Thomas <rrt@sc3d.org>
8949 * locale/setlocale.c: Fix typo.
8951 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8954 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8955 signaling NaN arguments.
8956 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8957 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8960 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8962 * soft-fp/gesf2.c (__gesf2): Likewise.
8963 * soft-fp/getf2.c (__getf2): Likewise.
8964 * soft-fp/ledf2.c (__ledf2): Likewise.
8965 * soft-fp/lesf2.c (__lesf2): Likewise.
8966 * soft-fp/letf2.c (__letf2): Likewise.
8968 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8969 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8970 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8971 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8972 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8973 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8974 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8975 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8976 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8977 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8978 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8979 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8980 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8981 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8982 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8983 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8984 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8985 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8986 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8987 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8988 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8989 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8990 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8991 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8992 * soft-fp/floattidf.c (__floattidf): Likewise.
8993 * soft-fp/floattisf.c (__floattisf): Likewise.
8994 * soft-fp/floattitf.c (__floattitf): Likewise.
8995 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8996 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8997 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8998 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8999 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9000 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9001 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9002 * soft-fp/gesf2.c (__gesf2): Likewise.
9003 * soft-fp/getf2.c (__getf2): Likewise.
9004 * soft-fp/ledf2.c (__ledf2): Likewise.
9005 * soft-fp/lesf2.c (__lesf2): Likewise.
9006 * soft-fp/letf2.c (__letf2): Likewise.
9008 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9009 Undefine and redefine.
9010 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9011 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9012 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9013 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9014 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9015 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9016 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9017 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9018 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9019 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9020 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9021 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9022 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9023 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9024 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9027 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9028 without decrementing exponent if mantissa >= that for the
9030 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9031 denominator, not >. Decrement exponent in < case instead of
9032 incrementing in >= case.
9033 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9034 without decrementing exponent if mantissa >= that for the
9037 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9038 computing saturated result for unsigned overflow.
9040 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9041 Jeff Law <law@redhat.com>
9043 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9044 (atan2Mp): Add systemtap probe marker.
9045 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9046 (__ieee754_log): Add systemtap probe marker.
9047 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9048 (atanMp): Add systemtap probe marker.
9049 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9050 (tanMp): Add systemtap probe marker.
9051 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9052 (__slowexp): Add systemtap probe marker.
9053 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9054 (__slowpow): Add systemtap probe marker.
9055 * manual/probes.texi: Document probes.
9057 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9060 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9062 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9064 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9065 written to buffer but not flushed.
9066 * libio/iofwrite_u.c: Likewise.
9067 * libio/iopadn.c: Return bytes returned even if EOF was
9069 * libio/iowpadn.c: Likewise.
9070 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9071 if _IO_padn does not write the whole buffer.
9072 [!COMPILE_WPRINTF] (PAD): Likewise.
9074 2013-10-10 David S. Miller <davem@davemloft.net>
9076 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9079 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9081 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9082 instead of FSF address.
9083 * soft-fp/fixdfti.c: Likewise.
9084 * soft-fp/fixsfti.c: Likewise.
9085 * soft-fp/fixtfti.c: Likewise.
9086 * soft-fp/fixunsdfti.c: Likewise.
9087 * soft-fp/fixunssfti.c: Likewise.
9088 * soft-fp/fixunstfti.c: Likewise.
9089 * soft-fp/floattidf.c: Likewise.
9090 * soft-fp/floattisf.c: Likewise.
9091 * soft-fp/floattitf.c: Likewise.
9092 * soft-fp/floatuntidf.c: Likewise.
9093 * soft-fp/floatuntisf.c: Likewise.
9094 * soft-fp/floatuntitf.c: Likewise.
9095 * soft-fp/trunctfxf2.c: Likewise.
9097 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9098 * soft-fp/fixdfti.c: Likewise.
9099 * soft-fp/fixsfti.c: Likewise.
9100 * soft-fp/fixtfti.c: Likewise.
9101 * soft-fp/fixunsdfti.c: Likewise.
9102 * soft-fp/fixunssfti.c: Likewise.
9103 * soft-fp/fixunstfti.c: Likewise.
9104 * soft-fp/floattidf.c: Likewise.
9105 * soft-fp/floattisf.c: Likewise.
9106 * soft-fp/floattitf.c: Likewise.
9107 * soft-fp/floatuntidf.c: Likewise.
9108 * soft-fp/floatuntisf.c: Likewise.
9109 * soft-fp/floatuntitf.c: Likewise.
9110 * soft-fp/trunctfxf2.c: Likewise.
9112 2013-10-10 David S. Miller <davem@davemloft.net>
9114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9116 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9118 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9119 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9120 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9121 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9122 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9123 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9124 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9126 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9127 for NaNs before doing comparisons on argument.
9128 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9131 2013-10-10 Will Newton <will.newton@linaro.org>
9133 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9134 passed to _int_memalign does not overflow.
9136 2013-10-10 Torvald Riegel <triegel@redhat.com>
9138 * scripts/bench.pl: Add include-sources directive.
9139 * benchtests/README: Update documentation.
9141 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9143 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9144 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9145 instead of FP_INIT_ROUNDMODE.
9146 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9147 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9150 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9151 copy class of input value.
9152 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9153 not handle exceptions.
9154 * soft-fp/negsf2.c (__negsf2): Likewise.
9155 * soft-fp/negtf2.c (__negtf2): Likewise.
9156 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9158 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9160 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9161 semicolon. From Linux kernel.
9163 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9165 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9167 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9170 * manual/socket.texi: Added statement about buffer
9171 for gethostbyname2_r.
9173 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9175 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9176 Use .p2align directive instead, throughout.
9177 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9178 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9179 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9180 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9181 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9182 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9183 * sysdeps/x86_64/strchr.S: Likewise.
9184 * sysdeps/x86_64/strrchr.S: Likewise.
9186 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9188 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9190 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9192 * sysdeps/generic/math_private.h (__mpsin1): Remove
9194 (__mpcos1): Likewise.
9195 (__mpsin): New argument __range_reduce.
9196 (__mpcos): Likewise.
9197 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9198 (slow): Use __mpsin and __mpcos.
9205 (bsloww1): Likewise.
9206 (bsloww2): Likewise.
9209 (csloww1): Likewise.
9210 (csloww2): Likewise.
9211 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9212 range_reduce. Merge in __mpsin1.
9213 (__mpcos): Likewise.
9215 (__mpcos1): Likewise.
9217 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9219 * locale/loadlocale.c (_nl_intern_locale_data): Use
9221 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9222 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9223 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9224 obstack data is appropriately aligned.
9225 (obstack_int32_grow_fast): Likewise.
9226 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9227 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9228 (add_locale_uint32_array): Likewise.
9230 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9232 * benchtests/Makefile: Remove ARGLIST and RET variables.
9233 ($(objpfx)bench-%.c): Pass only function name to the script.
9234 * benchtests/README: Update documentation.
9235 * benchtests/acos-inputs: Add new directives.
9236 * benchtests/acosh-inputs: Likewise.
9237 * benchtests/asin-inputs: Likewise.
9238 * benchtests/asinh-inputs: Likewise.
9239 * benchtests/atan-inputs: Likewise.
9240 * benchtests/atanh-inputs: Likewise.
9241 * benchtests/cos-inputs: Likewise.
9242 * benchtests/cosh-inputs: Likewise.
9243 * benchtests/exp-inputs: Likewise.
9244 * benchtests/log-inputs: Likewise.
9245 * benchtests/pow-inputs: Likewise.
9246 * benchtests/rint-inputs: Likewise.
9247 * benchtests/sin-inputs: Likewise.
9248 * benchtests/sinh-inputs: Likewise.
9249 * benchtests/tan-inputs: Likewise.
9250 * benchtests/tanh-inputs: Likewise.
9251 * scripts/bench.pl: Add support for new directives.
9253 2013-10-07 Alan Modra <amodra@gmail.com>
9255 * README: Fix careless merge.
9257 2013-10-05 Alan Modra <amodra@gmail.com>
9259 * NEWS: Mention powerpc64le support and bugs fixed.
9260 * README: Both big-endian and little-endian powerpc64 supported.
9262 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9264 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9265 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9266 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9267 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9269 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9271 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9274 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9276 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9277 Move -mhard-float appending from
9278 ports/sysdeps/powerpc/powerpc32/Makefile.
9279 [$(with-fp) = yes] (ASFLAGS): Likewise.
9280 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9281 * sysdeps/powerpc/nofpu: Move directory from
9282 ports/sysdeps/powerpc/nofpu.
9283 * sysdeps/powerpc/soft-fp: Move directory from
9284 ports/sysdeps/powerpc/soft-fp.
9285 * sysdeps/powerpc/powerpc32/405: Move directory from
9286 ports/sysdeps/powerpc/powerpc32/405.
9287 * sysdeps/powerpc/powerpc32/440: Move directory from
9288 ports/sysdeps/powerpc/powerpc32/440.
9289 * sysdeps/powerpc/powerpc32/464: Move directory from
9290 ports/sysdeps/powerpc/powerpc32/464.
9291 * sysdeps/powerpc/powerpc32/476: Move directory from
9292 ports/sysdeps/powerpc/powerpc32/476.
9293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9294 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9296 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9298 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9300 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9302 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9303 * README: Update for powerpc-*-linux-gnu software floating point
9306 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9307 case to powerpc/powerpc32*.
9308 * sysdeps/unix/sysv/linux/configure: Regenerated.
9310 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9311 (_FPU_MASK_OM): Define as 0x04.
9312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9320 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9323 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9326 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9327 and setcontext_e500.
9329 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9331 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9333 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9335 * manual/threads.texi (Default Thread Attributes): Fix typo.
9337 2013-10-04 Will Newton <will.newton@linaro.org>
9339 * malloc/Makefile: Add tst-memalign.
9340 * malloc/tst-memalign.c: New file.
9342 * malloc/tst-posix_memalign.c: Add comments.
9343 (do_test): Add comments and call free on all potentially
9344 allocated pointers. Add space after cast.
9346 * malloc/tst-pvalloc.c: Add comments.
9347 (do_test): Add comments and call free on all potentially
9348 allocated pointers. Remove duplicate check for NULL pointer.
9349 Add space after cast.
9351 * malloc/tst-valloc.c: Add comments.
9352 (do_test): Add comments and call free on all potentially
9353 allocated pointers. Remove duplicate check for NULL pointer.
9354 Add space after cast.
9356 2013-10-04 Alan Modra <amodra@gmail.com>
9358 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9359 Use stdint types in rather than __attribute__((mode())).
9360 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9362 2013-10-04 Alan Modra <amodra@gmail.com>
9364 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9365 Correct handling of unaligned relocs for little-endian.
9366 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9368 2013-10-04 Alan Modra <amodra@gmail.com>
9370 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9371 * configure: Regenerate.
9372 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9373 * shlib-versions: Likewise.
9375 2013-10-04 Alan Modra <amodra@gmail.com>
9377 * string/tester.c (test_memrchr): Increment reported test cycle.
9379 2013-10-04 Alan Modra <amodra@gmail.com>
9381 * string/test-memcpy.c (do_one_test): When reporting errors, print
9382 string address and don't overrun end of string.
9384 2013-10-04 Alan Modra <amodra@gmail.com>
9386 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9387 insrdi. Make better use of reg selection to speed exit slightly.
9388 Schedule entry path a little better. Remove useless "are we done"
9389 checks on entry to main loop. Handle wrapping around zero address.
9390 Correct main loop count. Handle single left-over word from main
9391 loop inline rather than by using loop_small. Remove extra word
9392 case in loop_small caused by wrong loop count. Add little-endian
9394 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9395 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9397 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9398 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9399 support. Avoid rlwimi.
9400 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9402 2013-10-04 Alan Modra <amodra@gmail.com>
9404 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9406 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9407 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9408 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9409 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9410 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9411 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9413 2013-10-04 Alan Modra <amodra@gmail.com>
9415 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9416 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9417 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9418 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9419 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9420 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9421 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9422 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9423 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9424 use of regs. Use power7 mtocrf. Tidy function tails.
9426 2013-10-04 Alan Modra <amodra@gmail.com>
9428 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9429 Formatting. Consistently use rXXX register defines or rN defines.
9430 Use early exit labels that avoid restoring unused non-volatile regs.
9431 Make cr field use more consistent with rWORDn compares. Rename
9432 regs used as shift registers for unaligned loop, using rN defines
9433 for short lifetime/multiple use regs.
9434 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9435 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9436 addi 1,1,64 to pop stack frame. Simplify return value code.
9437 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9439 2013-10-04 Alan Modra <amodra@gmail.com>
9441 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9442 support. Correct typos, formatting. Optimize tail. Use insrdi
9444 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9445 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9446 little-endian support. Correct typos.
9447 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9449 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9450 in loop and entry code to keep "and." results.
9451 (strchr): Add little-endian support. Comment. Move cntlzd
9453 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9455 2013-10-04 Alan Modra <amodra@gmail.com>
9457 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9458 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9459 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9460 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9462 2013-10-04 Alan Modra <amodra@gmail.com>
9464 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9465 (rTMP): Define as r11.
9466 (strcmp): Add little-endian support. Optimise tail.
9467 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9468 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9469 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9470 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9471 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9472 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9473 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9475 2013-10-04 Alan Modra <amodra@gmail.com>
9477 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9478 little-endian support. Remove unnecessary "are we done" tests.
9479 Handle "s" wrapping around zero and extremely large "size".
9480 Correct main loop count. Handle single left-over word from main
9481 loop inline rather than by using small_loop. Correct comments.
9482 Delete "zero" tail, use "end_max" instead.
9483 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9485 2013-10-04 Alan Modra <amodra@gmail.com>
9487 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9488 support. Don't branch over align.
9489 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9490 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9491 support. Rearrange tmp reg use to suit. Comment.
9492 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9494 2013-10-04 Alan Modra <amodra@gmail.com>
9496 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9498 2013-10-04 Alan Modra <amodra@gmail.com>
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9501 conditional form of branch and link when obtaining pc.
9502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9504 2013-10-04 Alan Modra <amodra@gmail.com>
9506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9511 2013-10-04 Alan Modra <amodra@gmail.com>
9513 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9514 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9515 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9516 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9517 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9518 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9519 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9520 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9521 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9522 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9524 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9525 Alistair Popple <alistair@ozlabs.au.ibm.com>
9526 Alan Modra <amodra@gmail.com>
9529 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9530 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9531 _dl_hwcap access for little-endian.
9532 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9533 destroy vmx regs when saving unaligned.
9534 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9535 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9536 destroy vmx regs when saving unaligned.
9538 2013-10-04 Alan Modra <amodra@gmail.com>
9540 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9541 Don't use a union to pack hi/low value.
9543 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9545 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9547 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9548 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9549 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9550 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9551 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9553 2013-10-04 Alan Modra <amodra@gmail.com>
9555 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9556 constants to usual value for .cst8 section, and remove redundant
9558 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9559 constant for 0x1p52. Load little-endian words of double from
9560 correct stack offsets.
9562 2013-10-04 Alan Modra <amodra@gmail.com>
9564 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9565 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9566 words of double from correct stack offsets.
9567 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9568 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9569 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9570 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9571 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9572 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9573 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9574 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9575 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9576 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9577 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9578 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9579 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9580 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9581 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9582 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9583 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9585 2013-10-04 Alan Modra <amodra@gmail.com>
9587 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9588 64-bit int/double union.
9589 (_FPU_SETCW): Likewise.
9590 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9591 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9593 2013-10-04 Alan Modra <amodra@gmail.com>
9595 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9596 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9598 2013-10-04 Alan Modra <amodra@gmail.com>
9600 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9601 use vector int constants.
9602 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9604 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9606 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9607 array with long long.
9608 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9609 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9610 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9611 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9612 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9613 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9614 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9615 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9616 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9617 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9618 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9619 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9620 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9622 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9624 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9625 (__signbit): Likewise. Correct for little-endian.
9626 (__signbitl): Call __signbit.
9627 (lrint): Correct for little-endian.
9628 (lrintf): Call lrint.
9630 2013-10-04 Alan Modra <amodra@gmail.com>
9632 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9633 union 32-bit int array member with 64-bit int array.
9634 (t515, tm256): Double rather than long double.
9635 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9637 2013-10-04 Alan Modra <amodra@gmail.com>
9639 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9641 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9642 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9643 version of math_ldbl.h.
9645 2013-10-04 Alan Modra <amodra@gmail.com>
9647 [BZ #15734], [BZ #15735]
9648 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9649 all uses of ieee875 long double macros and unions. Simplify test
9650 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9651 ldbl_extract_mantissa value for ix,iy exponents. Properly
9652 normalize after ldbl_extract_mantissa, and don't add hidden bit
9653 already handled. Don't treat low word of ieee854 mantissa like
9654 low word of IBM long double and mask off bit when testing for
9656 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9657 all uses of ieee875 long double macros and unions. Simplify tests
9658 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9659 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9660 two1022, instead use their values. Recognise that tests for large
9661 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9662 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9663 Rewrite all uses of ieee875 long double macros and unions. Simplify
9664 test for 0.0L and nan. Correct negation.
9665 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9666 ieee875 long double macros and unions. Correct output for large
9667 magnitude x. Correct absolute value calculation.
9668 (__erfcl): Likewise.
9669 * math/libm-test.inc: Add tests for errors discovered in IBM long
9670 double versions of fmodl, remainderl, erfl and erfcl.
9672 2013-10-04 Alan Modra <amodra@gmail.com>
9674 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9675 all uses of ieee854 long double macros and unions. Simplify tests
9676 for long doubles that are fully specified by the high double.
9677 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9679 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9680 Remove dead code too.
9681 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9682 (__ieee754_ynl): Likewise.
9683 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9684 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9685 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9686 Remove dead code too.
9687 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9688 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9689 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9690 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9692 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9694 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9695 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9696 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9697 Comment on variable precision.
9698 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9699 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9701 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9702 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9703 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9704 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9705 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9707 2013-10-04 Alan Modra <amodra@gmail.com>
9709 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9710 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9711 all uses of ieee854 long double macros and unions.
9712 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9713 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9714 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9715 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9716 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9717 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9719 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9720 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9721 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9722 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9723 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9724 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9725 Simplify sign and nan test too.
9726 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9727 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9728 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9729 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9731 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9732 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9734 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9735 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9736 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9737 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9738 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9739 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9741 2013-10-04 Alan Modra <amodra@gmail.com>
9743 * stdio-common/printf_size.c (__printf_size): Don't use
9744 union ieee854_long_double in fpnum union.
9745 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9746 signbit macro to retrieve sign from long double.
9747 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9748 retrieve sign from long double.
9749 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9750 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9751 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9752 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9753 * math/test-misc.c (main): Don't use union ieee854_long_double.
9755 2013-10-04 Alan Modra <amodra@gmail.com>
9758 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9759 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9760 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9761 calculation. Remove unnecessary test for denormal exponent.
9762 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9763 Correct handling of denormals. Avoid undefined shift behaviour.
9764 Correct normalisation of low mantissa when low double is denormal.
9765 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9766 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9767 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9768 Correct normalisation of low mantissa. Test for overflow of high
9769 mantissa and normalise.
9770 (ldbl_nearbyint): Use more readable constant for two52.
9771 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9772 (__mpn_construct_long_double): Fix test for overflow of high
9773 mantissa and correct normalisation. Avoid undefined shift.
9775 2013-10-04 Alan Modra <amodra@gmail.com>
9777 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9778 (union ibm_extended_long_double): Define as an array of ieee754_double.
9779 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9780 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9781 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9782 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9783 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9784 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9785 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9786 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9787 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9788 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9789 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9791 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9793 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9794 page size instead of calling getpagesize.
9796 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9797 (LOCFILE_ALIGN_MASK): Likewise.
9798 (LOCFILE_ALIGN_UP): Likewise.
9799 (LOCFILE_ALIGNED_P): Likewise.
9800 * locale/programs/ld-collate.c (collate_output): Use the new
9801 macros instead of __alignof__ (int32_t).
9802 * locale/weight.h (findidx): Likewise.
9804 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9807 * manual/string.texi: Fix strncat and wcsncat.
9809 2013-10-03 Brooks Moses <bmoses@google.com>
9812 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9813 * Makerules: ...here, and adjust associated comments.
9815 2013-10-02 Will Newton <will.newton@linaro.org>
9817 * malloc/Makefile: Add tst-pvalloc.
9818 * malloc/tst-pvalloc.c: New file.
9820 2013-10-02 Will Newton <will.newton@linaro.org>
9822 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9823 improve test coverage.
9825 2013-10-02 Will Newton <will.newton@linaro.org>
9827 * malloc/Makefile: Add tst-posix_memalign.
9828 * malloc/tst-posix_memalign.c: New file.
9830 2013-10-01 Eric Blake <eblake@redhat.com>
9832 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9833 Use __THROWNL rather than __THROW on static functions.
9835 2013-09-30 Petr Machata <pmachata@redhat.com>
9837 * elf/elf.h (R_AARCH64_ABS16): New macro.
9838 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9839 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9840 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9841 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9842 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9843 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9844 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9845 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9846 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9847 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9848 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9849 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9850 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9851 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9852 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9853 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9854 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9855 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9856 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9857 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9858 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9859 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9860 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9861 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9862 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9863 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9864 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9865 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9866 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9867 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9868 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9869 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9870 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9871 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9872 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9873 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9874 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9875 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9876 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9877 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9878 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9879 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9880 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9881 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9882 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9883 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9884 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9885 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9886 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9887 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9888 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9889 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9890 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9891 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9892 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9893 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9894 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9895 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9896 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9897 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9898 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9899 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9900 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9901 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9902 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9903 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9904 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9905 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9906 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9907 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9908 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9909 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9910 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9911 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9912 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9913 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9914 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9915 (R_AARCH64_TLSDESC_LDR): Likewise.
9916 (R_AARCH64_TLSDESC_ADD): Likewise.
9917 (R_AARCH64_TLSDESC_CALL): Likewise.
9919 2013-09-30 Andreas Schwab <schwab@suse.de>
9922 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9923 the nss database lookup.
9924 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9927 2013-09-28 Mike Frysinger <vapier@gentoo.org>
9929 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9931 2013-09-28 P. J. McDermott <pj@pehjota.net>
9933 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9934 ${Bash-specific parameter/pattern/string} parameter expansion.
9935 * sysdeps/unix/make-syscalls.sh: Likewise.
9937 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9939 * sysdeps/sh/stackguard-macros.h: New file.
9941 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
9943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9945 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9946 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9947 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9948 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9950 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9952 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9953 Fix thread ID register.
9955 2013-09-25 Joseph Myers <joseph@codesourcery.com>
9957 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9958 [POSIX || UNIX98]: Require rather than permitting all symbols from
9960 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9961 element of struct sched_param.
9962 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9963 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9964 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9965 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9968 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9970 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9971 argument calculation.
9973 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9975 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9977 [POSIX] (pthread_attr_t): Do not require type.
9978 [POSIX] (pthread_cond_t): Likewise.
9979 [POSIX] (pthread_condattr_t): Likewise.
9980 [POSIX] (pthread_key_t): Likewise.
9981 [POSIX] (pthread_mutex_t): Likewise.
9982 [POSIX] (pthread_mutexattr_t): Likewise.
9983 [POSIX] (pthread_once_t): Likewise.
9984 [POSIX] (pthread_t): Likewise.
9985 [POSIX-based standards] (pthread_atfork): Expect function.
9987 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9988 Richard Sandiford <richard@codesourcery.com>
9990 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9991 (swap_endianness_p): New extern variable.
9992 (set_big_endian): New inline function.
9993 (maybe_swap_uint32): Likewise.
9994 (maybe_swap_uint32_array): Likewise.
9995 (maybe_swap_uint32_obstack): Likewise.
9996 * locale/programs/locfile.c: Include <stdbool.h>.
9997 (swap_endianness_p): New variable.
9998 (add_locale_uint32): Call maybe_swap_uint32.
9999 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10000 (write_locale_data): Call maybe_swap_uint32_array.
10001 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10003 (obstack_int32_grow_fast): Likewise.
10004 (output_weightwc): Call maybe_swap_uint32_obstack.
10005 (collate_output): Likewise.
10006 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10007 (OPT_LITTLE_ENDIAN): Likewise.
10008 (options): Add --little-endian and --big-endian options.
10009 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10010 * locale/programs/locarchive.c: Include "locfile.h".
10014 (create_archive): Use the new macros to access fields of
10015 structures directly mapped from or written to locale archives.
10016 (oldlocrecentcmp): Likewise.
10017 (enlarge_archive): Likewise.
10018 (insert_name): Likewise.
10019 (add_alias): Likewise.
10020 (add_locale): Likewise.
10021 (delete_locales_from_archive): Likewise.
10022 (show_archive_content): Likewise.
10023 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10026 2013-09-24 Roland McGrath <roland@hack.frob.com>
10028 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10029 http://www.gnu.org/doc/freemanuals.texi.
10030 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10032 2013-09-24 Will Newton <will.newton@linaro.org>
10034 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10037 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10039 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10042 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10044 * manual/threads.texi (POSIX Threads): Fix a typo.
10046 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10049 * string/tst-strcoll-overflow.c: New test case.
10050 * string/Makefile (xtests): Add tst-strcoll-overflow.
10051 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10052 cache if string sizes may cause integer overflow.
10055 * string/strcoll_l.c (coll_seq): New members rule, idx,
10056 save_idx and back_us.
10057 (get_next_seq_nocache): New function.
10058 (do_compare_nocache): New function.
10059 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10062 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10065 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10066 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10067 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10070 * elf/Makefile (tests): Add tst-ptrguard1.
10071 (tests-static): Add tst-ptrguard1-static.
10072 (tst-ptrguard1-ARGS): Define.
10073 (tst-ptrguard1-static-ARGS): Define.
10074 * elf/tst-ptrguard1.c: New file.
10075 * elf/tst-ptrguard1-static.c: New file.
10076 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10077 * sysdeps/i386/stackguard-macros.h: Likewise.
10078 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10079 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10080 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10081 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10082 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10083 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10085 2013-09-23 Hector Marco <hecmargi@upv.es>
10086 Ismael Ripoll <iripoll@disca.upv.es>
10087 Carlos O'Donell <carlos@redhat.com>
10090 * sysdeps/generic/stackguard-macros.h: Define
10091 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10092 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10093 Define __pointer_chk_guard_local.
10094 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10095 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10097 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10100 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10102 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10104 * include/string.h (__ffs): Declare as hidden.
10105 * string/ffs.c (__ffs): Define as hidden.
10106 * sysdeps/i386/ffs.c (__ffs): Likewise.
10107 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10108 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10109 * sysdeps/s390/ffs.c (__ffs): Likewise.
10110 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10112 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10114 * NEWS: Mention malloc probes.
10116 * malloc/arena.c (new_heap): New memory_heap_new probe.
10117 (grow_heap): New memory_heap_more probe.
10118 (shrink_heap): New memory_heap_less probe.
10119 (heap_trim): New memory_heap_free probe.
10120 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10121 (systrim): New memory_sbrk_less probe.
10122 * manual/probes.texi: Document them.
10124 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10125 * manual/probes.texi: Document it.
10127 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10128 (__libc_realloc): Add memory_realloc_retry probe.
10129 (__libc_memalign): Add memory_memalign_retry probe.
10130 (__libc_valloc): Add memory_valloc_retry probe.
10131 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10132 (__libc_calloc): Add memory_calloc_retry probe.
10133 * manual/probes.texi: Document them.
10135 * malloc/arena.c (get_free_list): Add probe
10136 memory_arena_reuse_free_list.
10137 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10138 and memory_arena_reuse.
10139 (arena_get2) [!PER_THREAD]: Likewise.
10140 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10141 memory_arena_reuse_realloc.
10142 * manual/probes.texi: Document them.
10144 * malloc/malloc.c (__libc_free): Add
10145 memory_mallopt_free_dyn_thresholds probe.
10146 (__libc_mallopt): Add multiple memory_mallopt probes.
10147 * manual/probes.texi: Document them.
10149 * malloc/malloc.c: Include stap-probe.h.
10150 (__libc_mallopt): Add memory_mallopt probe.
10151 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10152 * manual/probes.texi: New.
10153 * manual/Makefile (chapters): Add probes.
10154 * manual/threads.texi: Set next node.
10156 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10158 [BZ #15963, #13985]
10159 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10160 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10161 Add `Chinese' to `nan' entry name.
10163 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10165 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10166 (POLYNOMIAL): Likewise.
10167 (TAYLOR_SINCOS): Likewise.
10168 (TAYLOR_SLOW): Likewise.
10169 (__sin): Use TAYLOR_SINCOS.
10171 (slow): Use TAYLOR_SLOW.
10173 (bsloww): Likewise.
10174 (csloww): Likewise.
10176 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10178 * stdlib/strtod_l.c: Fix buffer overrun.
10180 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10182 * benchtests/Makefile (bench): Add sincos.
10183 * benchtests/bench-sincos.c: New file.
10185 * math/libm-test.inc (cos_test_data): New test inputs.
10186 (sin_test_data): Likewise.
10188 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10194 (sloww1): Likewise.
10195 (sloww2): Likewise.
10196 (bsloww1): Likewise.
10197 (bsloww2): Likewise.
10198 (cslow2): Likewise.
10199 (csloww1): Likewise.
10200 (csloww2): Likewise.
10202 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10207 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10211 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10213 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10214 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10215 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10216 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10217 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10218 * elf/cache.c (print_entry): Handle the new cache flags.
10220 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10221 Aldy Hernandez <aldyh@redhat.com>
10223 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10224 Change condition to [_SOFT_FLOAT].
10225 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10228 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10230 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10232 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10233 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10235 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10237 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10238 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10240 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10243 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10245 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10246 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10247 (__longjmp): Use LOAD_GP to load saved GPRs.
10248 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10249 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10250 (__sigsetjmp): Use SAVE_GP to save GPRs.
10252 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10253 Do not append -msoft-float.
10254 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10256 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10258 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10260 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10263 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10264 (_FPU_GETCW): Use initial "__" on variable and field names but not
10265 on macro parameter name.
10266 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10267 parentheses around reference to macro parameter.
10269 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10271 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10273 (ctype_startup): Use uint32_t in cast and sizeof for
10276 2013-09-11 Jia Liu <proljc@gmail.com>
10278 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10280 [__FreeBSD__]: Likewise.
10282 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10284 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10285 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10286 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10287 (strchr): Remove __strchr_sse42 ifunc selection.
10288 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10289 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10291 2013-09-11 Will Newton <will.newton@linaro.org>
10293 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10294 parameter to RES. Remove hardcoded 1000 value.
10295 * benchtests/bench-skeleton.c (main): Pass RES parameter
10296 to TIMING_INIT and multiply result by 1000.
10298 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10302 2013-09-11 Andreas Schwab <schwab@suse.de>
10304 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10306 (O_TMPFILE) [__USE_GNU]: Define.
10307 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10310 2013-09-11 Will Newton <will.newton@linaro.org>
10313 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10316 2013-09-11 Will Newton <will.newton@linaro.org>
10319 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10322 2013-09-11 Will Newton <will.newton@linaro.org>
10325 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10328 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10330 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10331 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10332 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10333 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10334 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10336 2013-09-10 Allan McRae <allan@archlinux.org>
10339 * manual/arith.texi (Parsing of Floats): Clarify
10343 * manual/install.texi (Running make install): Mention
10345 * INSTALL: Regenerated.
10347 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10349 * csu/init-first.c (_init): Remove the !SHARED condition around
10350 FPU control word initialization.
10351 * elf/dl-support.c (_dl_fpu_control): New variable.
10352 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10353 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10354 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10355 * math/test-fpucw-static.c: New file.
10356 * math/test-fpucw-ieee.c: New file.
10357 * math/test-fpucw-ieee-static.c: New file.
10358 * math/Makefile (tests): Add `test-fpucw-ieee' and
10360 (tests-static): New variable.
10361 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10363 [($(build-shared),yes)]
10364 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10366 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10369 2013-09-09 Allan McRae <allan@archlinux.org>
10372 * manual/string.texi (Collation Functions): Fix typo in
10374 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10377 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10380 * libio/memstream.c (open_memstream): Fix memory leak.
10381 * libio/wmemstream.c (open_wmemstream): Likewise.
10384 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10386 2013-09-09 Will Newton <will.newton@linaro.org>
10388 * malloc/Makefile: Add tst-realloc to tests.
10389 * malloc/tst-realloc.c: New file.
10391 2013-09-09 Allan McRae <allan@archlinux.org>
10394 * COPYING: Update from GNU website to fix FSF address.
10395 * COPYING.LIB: Likewise.
10397 2013-09-06 David S. Miller <davem@davemloft.net>
10399 * po/zh_TW.po: Update Chinese (traditional) translation from
10400 translation project.
10402 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10403 Joseph Myers <joseph@codesourcery.com>
10405 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10407 (obstack_chunk_alloc): New macro.
10408 (obstack_chunk_free): Likewise.
10409 (record_offset): New function.
10410 (init_locale_data): Likewise.
10411 (align_locale_data): Likewise.
10412 (add_locale_empty): Likewise.
10413 (add_locale_raw_data): Likewise.
10414 (add_locale_raw_obstack): Likewise.
10415 (add_locale_string): Likewise.
10416 (add_locale_wstring): Likewise.
10417 (add_locale_uint32): Likewise.
10418 (add_locale_uint32_array): Likewise.
10419 (add_locale_char): Likewise.
10420 (start_locale_structure): Likewise.
10421 (end_locale_structure): Likewise.
10422 (start_locale_prelude): Likewise.
10423 (end_locale_prelude): Likewise.
10424 (write_locale_data): Take locale_file structure rather than an
10426 * locale/programs/locfile.h: Include "obstack.h".
10427 (struct locale_file): Change to store locale file contents instead
10429 (init_locale_data): New prototype.
10430 (align_locale_data): Likewise.
10431 (add_locale_empty): Likewise.
10432 (add_locale_raw_data): Likewise.
10433 (add_locale_raw_obstack): Likewise.
10434 (add_locale_string): Likewise.
10435 (add_locale_wstring): Likewise.
10436 (add_locale_uint32): Likewise.
10437 (add_locale_uint32_array): Likewise.
10438 (add_locale_char): Likewise.
10439 (start_locale_structure): Likewise.
10440 (end_locale_structure): Likewise.
10441 (start_locale_prelude): Likewise.
10442 (end_locale_prelude): Likewise.
10443 (write_locale_data): Update prototype.
10444 * locale/programs/3level.h (struct TABLE): Remove result field.
10445 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10446 Use new locale_file interface.
10447 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10448 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10449 * locale/programs/ld-address.c (address_output): Use new
10450 locale_file interface.
10451 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10453 (collate_finish): Don't call collseq_table_finalize.
10454 (collate_output): Use new locale_file interface.
10455 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10457 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10458 (TABLE): Move defines earlier in file.
10459 (ELEMENT): Likewise.
10460 (DEFAULT): Likewise.
10461 (wctrans_table_add): Move macro and inline function earlier in
10463 (struct wctype_table): Move type earlier in file.
10464 (add_locale_wctype_table): New static prototype.
10465 (struct locale_ctype_t): Use logical types instead of struct iovec
10466 pointers for members.
10467 (ctype_output): Use new locale_file interface.
10468 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10469 new locale_file interface.
10470 (allocate_arrays): Update for use of new locale_file interface.
10471 * locale/programs/ld-identification.c (identification_output): Use
10472 new locale_file interface.
10473 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10474 * locale/programs/ld-messages.c (messages_output): Likewise.
10475 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10476 * locale/programs/ld-name.c (name_output): Likewise.
10477 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10478 * locale/programs/ld-paper.c (paper_output): Likewise.
10479 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10480 * locale/programs/ld-time.c (time_output): Likewise.
10482 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10484 * benchtests/Makefile: Add memrchr benchmark.
10485 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10486 benchmark as memrchr.
10487 * benchtests/bench-memrchr-ifunc.c: New file.
10488 * benchtests/bench-memrchr.c: New file.
10490 2013-09-06 Will Newton <will.newton@linaro.org>
10492 * benchtests/Makefile (string-bench): Add memcpy.
10494 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10495 Cong Wang <amwang@redhat.com>
10498 * sysdeps/unix/sysv/linux/bits/in.h
10499 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10500 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10501 before __USE_KERNEL_IPV6_DEFS uses.
10502 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10504 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10505 sockaddr_in6, or ipv6_mreq.
10507 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10509 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10510 memory access for final bytes in some large inputs.
10511 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10513 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10515 * string/test-memrchr.c: New file.
10516 * string/test-memrchr-ifunc.c: New file.
10517 * string/Makefile: Add new memrchr testcase.
10519 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10521 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10522 fanotify_init returns EPERM.
10524 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10526 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10528 (top level): Treat second token from macro or constant entries for
10529 allowed headers as allowed.
10530 * include/complex.h: Condition internal declarations on
10532 * include/fenv.h: Condition include of <stdbool.h> and internal
10533 declarations on [!_ISOMAC].
10535 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10538 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10540 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10542 * configure.in (--enable-versioning): Remove configure option.
10543 (libc_cv_asm_symver_directive): Remove configure test.
10544 (libc_cv_ld_version_script_option): Likewise.
10545 (VERSIONING): Remove variable and AC_SUBST.
10546 (DO_VERSIONING): Remove AC_DEFINE.
10547 * configure: Regenerated.
10548 * config.h.in (DO_VERSIONING): Remove macro.
10549 * Makerules [$(versioning) = yes]: Change conditionals to
10550 [$(build-shared) = yes].
10551 * config.make.in (versioning): Remove variable.
10552 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10553 [$(build-shared) = yes].
10554 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10555 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10556 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10557 [$(build-shared) = yes].
10558 * extra-lib.mk [$(versioning) = yes]: Likewise.
10559 * hurd/Makefile [$(versioning) = yes]: Likewise.
10560 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10562 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10564 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10565 [SHARED && !NO_HIDDEN].
10566 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10568 [SHARED && DO_VERSIONING]: Likewise..
10569 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10570 [$(build-shared) = yes].
10571 * manual/install.texi (--disable-versioning): Remove
10573 * INSTALL: Regenerated.
10574 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10576 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10577 [$(build-shared) = yes].
10578 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10579 * sysdeps/i386/i686/multiarch/strstr-c.c
10580 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10581 [SHARED && !NO_HIDDEN].
10582 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10583 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10584 * sysdeps/powerpc/powerpc32/dl-machine.c
10585 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10586 * sysdeps/powerpc/powerpc32/sysdep.h
10587 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10588 to [SHARED && PIC && !NO_HIDDEN].
10589 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10590 conditional to [SHARED].
10592 2013-09-04 Will Newton <will.newton@linaro.org>
10594 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10595 * benchtests/bench-string.h: Include bench-timing.h instead
10596 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10597 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10598 call to HP_TIMING_DIFF_INIT.
10599 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10600 instead of hp-timing.h macros.
10601 * benchtests/bench-memchr.c: Likewise.
10602 * benchtests/bench-memcmp.c: Likewise.
10603 * benchtests/bench-memcpy.c: Likewise.
10604 * benchtests/bench-memmem.c: Likewise.
10605 * benchtests/bench-memmove.c: Likewise.
10606 * benchtests/bench-memset.c: Likewise.
10607 * benchtests/bench-rawmemchr.c: Likewise.
10608 * benchtests/bench-strcasecmp.c: Likewise.
10609 * benchtests/bench-strcasestr.c: Likewise.
10610 * benchtests/bench-strcat.c: Likewise.
10611 * benchtests/bench-strchr.c: Likewise.
10612 * benchtests/bench-strcmp.c: Likewise.
10613 * benchtests/bench-strcpy.c: Likewise.
10614 * benchtests/bench-strcpy_chk.c: Likewise.
10615 * benchtests/bench-strlen.c: Likewise.
10616 * benchtests/bench-strncasecmp.c: Likewise.
10617 * benchtests/bench-strncat.c: Likewise.
10618 * benchtests/bench-strncmp.c: Likewise.
10619 * benchtests/bench-strncpy.c: Likewise.
10620 * benchtests/bench-strnlen.c: Likewise.
10621 * benchtests/bench-strpbrk.c: Likewise.
10622 * benchtests/bench-strrchr.c: Likewise.
10623 * benchtests/bench-strspn.c: Likewise.
10624 * benchtests/bench-strstr.c: Likewise.
10626 2013-09-04 Will Newton <will.newton@linaro.org>
10628 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10630 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10633 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10634 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10635 * math/libm-test.inc (lgamma_test_data): Add more tests.
10636 * sysdeps/i386/fpu/libm-test-ulps: Update.
10637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10639 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10641 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10642 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10645 Add strcmp-sse2-unaligned
10646 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10648 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10650 * Versions.def (libc): Add GLIBC_2.19.
10652 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10654 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10655 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10657 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10660 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10661 intermediate calculations in recurrence.
10662 (__ieee754_ynf): Likewise.
10663 * math/libm-test.inc (jn_test_data): Do not allow spurious
10664 underflow exception. Add more tests.
10665 (yn_test_data): Add more tests.
10666 * sysdeps/i386/fpu/libm-test-ulps: Update.
10667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10669 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10671 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10673 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10675 * csu/init-first.c: Fix then/than typos.
10676 * locale/programs/ld-collate.c: Likewise.
10677 * locale/programs/linereader.h: Likewise.
10678 * manual/charset.texi: Likewise.
10679 * manual/filesys.texi: Likewise.
10680 * manual/stdio.texi: Likewise.
10681 * manual/string.texi: Likewise.
10682 * stdlib/fmtmsg.c: Likewise.
10683 * sysdeps/i386/stpncpy.S: Likewise.
10684 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10685 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10686 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10687 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10689 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10691 * elf/dl-open.c: Fix typos.
10692 * iconvdata/gbbig5.c: Likewise.
10693 * iconvdata/iso-2022-jp.c: Likewise.
10694 * iconv/gconv_int.h: Likewise.
10695 * iconv/loop.c: Likewise.
10696 * nis/rpcsvc/nis.h: Likewise.
10697 * resolv/ns_name.c: Likewise.
10698 * stdio-common/vfscanf.c: Likewise.
10699 * streams/stropts.h: Likewise.
10700 * sunrpc/rpc_thread.c: Likewise.
10701 * sysdeps/i386/strpbrk.S: Likewise.
10702 * sysdeps/ieee754/k_standard.c: Likewise.
10703 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10704 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10705 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10706 * sysdeps/mach/hurd/profil.c: Likewise.
10707 * sysdeps/s390/dl-procinfo.h: Likewise.
10708 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10709 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10710 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10711 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10712 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10714 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10716 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10717 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10719 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10721 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10722 aix specific files.
10723 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10724 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10725 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10726 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10727 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10728 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10729 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10730 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10732 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10733 Roland McGrath <roland@hack.frob.com>
10735 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10736 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10738 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10740 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10741 __executable_start symbol instead of _start.
10743 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10745 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10746 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10748 * sysdeps/gnu/ldsodefs.h: ... this new file.
10750 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10751 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10752 instead of ELFOSABI_LINUX.
10754 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10755 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10756 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10757 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10759 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10760 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10761 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10763 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10764 (ibm_extended_long_double): Add ieee_nan member.
10765 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10766 (do_test): New function.
10768 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10770 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10771 functions, renamed from truncdfsf_test, trunctfsf_test,
10773 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10775 (do_test): Run all these.
10777 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10779 * argp/argp-help.c: Fix typos.
10780 * argp/argp-parse.c: Likewise.
10781 * debug/backtracesyms.c: Likewise.
10782 * elf/elf.h: Likewise.
10783 * malloc/malloc.c: Likewise.
10784 * nis/nis_print.c: Likewise.
10785 * resolv/res_comp.c: Likewise.
10786 * stdlib/stdlib.h: Likewise.
10787 * sunrpc/clnt_tcp.c: Likewise.
10788 * sunrpc/clnt_udp.c: Likewise.
10789 * sunrpc/clnt_unix.c: Likewise.
10790 * sysdeps/unix/bsd/ptsname.c: Likewise.
10791 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10792 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10799 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10801 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10803 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10806 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10809 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10810 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10811 ($(objpfx)bug-dl-leaf): New rule.
10812 ($(objpfx)bug-dl-leaf.so): Likewise.
10813 ($(objpfx)bug-dl-leaf.out): Likewise.
10814 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10815 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10816 * dlfcn/bug-dl-leaf.c: New test.
10817 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10818 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10819 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10820 (dlclose): Likewise.
10821 (dlmopen): Likewise.
10823 2013-08-27 Roland McGrath <roland@hack.frob.com>
10825 * include/netdb.h [!_ISOMAC]:
10826 Don't include <tls.h>.
10827 (h_errno, __libc_h_errno): Move declaration and macros out of
10830 * include/resolv.h [_RESOLV_H_]:
10831 Don't include <tls.h>.
10832 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10833 * resolv/res_libc.c: Don't include <tls.h>.
10834 (_res): Use __attribute__ ((nocommon)) in place of
10835 __attribute__ ((section (".bss"))).
10837 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10838 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10840 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10842 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10843 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10845 * resolv/res_mkquery.c: Include <sys/time.h>.
10847 * inet/ifreq.c: Moved to ...
10848 * sysdeps/unix/ifreq.c: ... here.
10849 * inet/ifreq.c: New file, true stub version.
10851 * socket/sa_len.c: New file.
10852 * socket/Makefile (aux): Add it.
10853 * sysdeps/unix/sysv/linux/Makefile
10854 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10855 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10856 and #include <socket/sa_len.c>.
10857 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10858 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10860 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10861 * bits/socket.h: ... here.
10863 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10864 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10865 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10867 2013-08-27 Andreas Schwab <schwab@suse.de>
10870 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10871 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10872 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10873 * string/test-strcasecmp.c (test_main): Run tests in several
10875 * string/test-strncasecmp.c (test_main): Likewise.
10877 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10878 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10879 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10880 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10881 (__strncasecmp_ssse3) [PIC]: Likewise.
10883 2013-08-26 Roland McGrath <roland@hack.frob.com>
10885 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10887 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10888 instead of explicitly declaring xdecrypt.
10889 * nis/nss_nis/nis-publickey.c: Likewise.
10891 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10894 * nscd/aicache.c: Include res_hconf.h.
10895 (addhstaiX): Initialize res_hconf.
10897 2013-08-26 Andreas Schwab <schwab@suse.de>
10899 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10900 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10902 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10904 * nscd/aicache.c (addhstaiX): Fix indentation.
10906 2013-08-25 Mike Frysinger <vapier@gentoo.org>
10908 * configure.ac: Quote $build_pt_chown test.
10909 * configure: Regenerated.
10911 2013-08-23 Joseph Myers <joseph@codesourcery.com>
10914 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10915 * math/s_cexpf.c (__cexpf): Likewise.
10916 * math/s_cexpl.c (__cexpl): Likewise.
10917 * math/libm-test.inc (cexp_test_data): Correct expected return
10918 value for NaN + i0. Add another test.
10920 2013-08-22 David S. Miller <davem@davemloft.net>
10922 * po/ca.po: Update Catalan translation from translation project.
10923 * po/uk.po: Add Ukrainian translations from translation project.
10925 2013-08-21 Joseph Myers <joseph@codesourcery.com>
10928 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10929 is infinite, not alongside NaN test.
10930 * math/s_fdimf.c (__fdimf): Likewise.
10931 * math/s_fdiml.c (__fdiml): Likewise.
10932 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10933 errno is unchanged.
10935 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
10937 * argp/argp-help.c: Fix typos.
10938 * crypt/speeds.c: Likewise.
10939 * csu/check_fds.c: Likewise.
10940 * elf/dl-load.c: Likewise.
10941 * elf/dl-open.c: Likewise.
10942 * elf/reldep3.c: Likewise.
10943 * elf/reldep.c: Likewise.
10944 * elf/sprof.c: Likewise.
10945 * iconv/iconv_charmap.c: Likewise.
10946 * iconv/skeleton.c: Likewise.
10947 * iconv/strtab.c: Likewise.
10948 * io/lockf64.c: Likewise.
10949 * libio/libioP.h: Likewise.
10950 * resolv/gai_notify.c: Likewise.
10951 * resolv/ns_name.c: Likewise.
10952 * resolv/ns_samedomain.c: Likewise.
10953 * resolv/res_send.c: Likewise.
10954 * stdlib/random.c: Likewise.
10955 * sunrpc/rpc/xdr.h: Likewise.
10956 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10957 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10958 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10959 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10960 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10961 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10962 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10963 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10964 * sysdeps/mach/hurd/check_fds.c: Likewise.
10965 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10966 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10967 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10968 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10969 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10970 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10971 * sysdeps/pthread/aio_notify.c: Likewise.
10972 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10973 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10974 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10975 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10976 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10978 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10980 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10981 version if bit_Slow_SSE4_2 is set.
10982 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10983 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10985 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10988 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10989 trampoline stack frame information.
10990 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10991 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10992 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10993 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10994 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10995 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10996 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10997 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10999 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11000 interrupting a syscall and set with option SA_SIGINFO.
11002 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11005 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11006 argument is infinite.
11007 * math/s_cprojf.c (__cprojf): Likewise.
11008 * math/s_cprojl.c (__cprojl): Likewise.
11009 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11010 * math/libm-test.inc (cproj_test_data): Add more tests.
11012 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11014 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11015 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11016 size. Use __ffs to determine corresponding shift.
11018 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11019 Roland McGrath <roland@hack.frob.com>
11021 * Makefile (INSTALL): Remove trailing blank lines from output of
11024 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11026 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11027 Align 32 bit compat elf_greg to 8 bytes.
11029 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11031 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11033 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11035 * string/strcoll_l.c (coll_seq): New structure.
11036 (get_next_seq_cached): New function.
11037 (get_next_seq): New function.
11038 (do_compare): New function.
11039 (STRCOLL): Use GNU style definition. Simplify implementation
11040 by using get_next_seq, get_next_seq_cached and do_compare.
11042 2013-08-16 Florian Weimer <fweimer@redhat.com>
11046 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11048 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11050 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11051 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11052 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11054 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11055 GETDENTS_64BIT_ALIGNED.
11056 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11057 * manual/filesys.texi (Reading/Closing Directory): Document
11058 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11060 * manual/conf.texi (Limits for Files): Add portability note to
11061 NAME_MAX, PATH_MAX.
11062 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11064 2013-08-13 Andreas Schwab <schwab@suse.de>
11067 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11069 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11070 LDBL_MAX_EXP >= 16384]: Add tests for it.
11072 2013-08-12 David S. Miller <davem@davemloft.net>
11074 * version.h (RELEASE): Set to "development".
11075 (VERSION): Set to "2.18.90".
11076 * NEWS: Add 2.19 section.
11078 2013-08-03 David S. Miller <davem@davemloft.net>
11080 * po/ko.po: Update Korean translation from translation project.
11082 2013-08-01 David S. Miller <davem@davemloft.net>
11084 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11085 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11088 2013-07-30 David S. Miller <davem@davemloft.net>
11090 * po/fr.po: Update French translation from translation project.
11092 2013-07-28 David S. Miller <davem@davemloft.net>
11094 * po/cs.po: Update Czech translation from translation project.
11096 * po/sv.po: Update Swedish translation from translation project.
11098 2013-07-27 David S. Miller <davem@davemloft.net>
11100 * po/eo.po: Update Esperanto translation from translation project.
11102 * po/vi.po: Update Vietnamese translation from translation project.
11104 * po/de.po: Update German translation from translation project.
11106 2013-07-26 David S. Miller <davem@davemloft.net>
11108 * po/bg.po: Update Bulgarian translation from translation project.
11110 * po/nl.po: Update Dutch translation from translation project.
11111 * po/pl.po: Update Polish translation from translation project.
11112 * po/ru.po: Update Russian translation from translation project.
11114 2013-07-24 David S. Miller <davem@davemloft.net>
11116 * po/libc.pot: Update.
11118 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11120 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11121 variable page size.
11122 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11123 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11124 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11126 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11128 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11130 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11131 Andreas Schwab <schwab@suse.de>
11132 Roland McGrath <roland@hack.frob.com>
11133 Joseph Myers <joseph@codesourcery.com>
11134 Carlos O'Donell <carlos@redhat.com>
11137 * config.h.in: Define HAVE_PT_CHOWN.
11138 * config.make.in (build-pt-chown): New variable.
11139 * configure.in (--enable-pt_chown): New configure option.
11140 * configure: Regenerate.
11141 * login/Makefile: Include Makeconfig. Build pt_chown only if
11142 build-pt-chown is enabled.
11143 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11144 pt_chown to fix pty ownership.
11145 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11147 * manual/install.texi (Configuring and compiling): Mention
11148 --enable-pt_chown. Add @findex for grantpt.
11149 * INSTALL: Regenerate.
11151 2013-07-20 David S. Miller <davem@davemloft.net>
11153 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11154 difference between 32-bit and 64-bit.
11156 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11159 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11160 Avoid system header dependency with -ffreestanding.
11161 ($(objpfx)bits/syscall%d): Likewise.
11163 2013-07-13 David S. Miller <davem@davemloft.net>
11165 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11166 underflows from atanl/atan2l due to bug 15319.
11167 (casinh_test_data): Likewise.
11169 2013-07-07 David S. Miller <davem@davemloft.net>
11171 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11173 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11175 * sysdeps/i386/fpu/libm-test-ulps: Update.
11176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11178 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11180 * configure.in (--enable-lock-elision): Fix message text.
11181 * INSTALL: Regenerate.
11182 * configure: Regenerate.
11184 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11188 2013-07-03 Andreas Jaeger <aj@suse.de>
11190 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11192 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11193 (ptrace_peeksiginfo_args): Add.
11194 (__ptrace_peeksiginfo_flags): Add.
11195 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11196 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11197 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11199 2013-07-03 Allan McRae <allan@archlinux.org>
11201 * sysdeps/i386/fpu/libm-test-ulps: Update.
11203 2013-07-02 David S. Miller <davem@davemloft.net>
11205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11207 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11211 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11213 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11216 2013-07-02 Andi Kleen <ak@linux.intel.com>
11218 * config.h.in (ENABLE_LOCK_ELISION): Add.
11219 * configure.in (--enable-lock-elision): Add option.
11220 * manual/install.texi: Document --enable lock elision.
11221 * configure: Regenerate
11222 * INSTALL: Regenerate.
11224 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11226 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11227 SSE4.2 strcasecmp for libc.a.
11228 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11230 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11233 * soft-fp/op-common.h (_FP_FMA): New macro.
11234 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11235 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11236 (_FP_MUL_MEAT_1_imm): ... here.
11237 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11238 (_FP_MUL_MEAT_1_wide): ... here.
11239 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11240 (_FP_MUL_MEAT_1_hard): ... here.
11241 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11242 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11243 (_FP_MUL_MEAT_2_wide): ... here.
11244 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11245 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11246 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11247 (_FP_MUL_MEAT_2_gmp): ... here.
11248 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11249 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11250 (_FP_MUL_MEAT_4_wide): ... here.
11251 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11252 (_FP_MUL_MEAT_4_gmp): ... here.
11253 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11254 (_FP_WFRACBITS_DW_S): Likewise.
11255 (_FP_WFRACXBITS_DW_S): Likewise.
11256 (_FP_HIGHBIT_DW_S): Likewise.
11257 (FP_FMA_S): Likewise.
11258 (_FP_FRAC_HIGH_DW_S): Likewise.
11259 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11260 (_FP_WFRACBITS_DW_D): Likewise.
11261 (_FP_WFRACXBITS_DW_D): Likewise.
11262 (_FP_HIGHBIT_DW_D): Likewise.
11263 (FP_FMA_D): Likewise.
11264 (_FP_FRAC_HIGH_DW_D): Likewise.
11265 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11266 (_FP_WFRACBITS_DW_E): Likewise.
11267 (_FP_WFRACXBITS_DW_E): Likewise.
11268 (_FP_HIGHBIT_DW_E): Likewise.
11269 (FP_FMA_E): Likewise.
11270 (_FP_FRAC_HIGH_DW_E): Likewise.
11271 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11272 (_FP_WFRACBITS_DW_Q): Likewise.
11273 (_FP_WFRACXBITS_DW_Q): Likewise.
11274 (_FP_HIGHBIT_DW_Q): Likewise.
11275 (FP_FMA_Q): Likewise.
11276 (_FP_FRAC_HIGH_DW_Q): Likewise.
11277 * soft-fp/fmasf4.c: New file.
11278 * soft-fp/fmadf4.c: Likewise.
11279 * soft-fp/fmatf4.c: Likewise.
11281 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11284 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11286 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11288 (index_Slow_SSE4_2): Likewise.
11289 (index_Prefer_PMINUB_for_stringop): Likewise.
11290 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11291 bit_Slow_SSE4_2 is set.
11292 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11293 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11295 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11297 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11298 rtld_global._dl_hwcap2.
11299 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11301 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11302 POWER8 feature descriptions defined in _dl_hwcap2.
11303 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11304 string handling for POWER8 feature bits.
11305 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11306 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11307 _dl_powerpc_cap_flags.
11308 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11309 * sysdeps/powerpc/rtld-global-offsets.sym
11310 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11311 _dl_hwcap2 in the rtld_global_ro structure.
11313 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11315 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11316 hardware capabilities in support of AT_HWCAP2.
11317 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11318 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11320 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11321 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11322 explicitly the unknown a_type display mechanism is used.
11323 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11324 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11326 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11327 to macro prototype for AT_HWCAP2 support.
11328 * sysdeps/i386/dl-procinfo.h: Likewise.
11329 * sysdeps/s390/dl-procinfo.h: Likewise.
11330 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11331 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11332 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11333 return -1 for unknown a_type display fallback.
11334 * sysdeps/sparc/dl-procinfo.h: Likewise.
11335 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11336 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11338 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11340 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11341 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11343 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11346 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11347 mprotect making __stack_prot writable.
11349 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11350 Joseph Myers <joseph@codesourcery.com>
11352 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11353 as being properly aligned.
11355 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11357 * dlfcn/modstatic5.c: New file.
11358 * dlfcn/tststatic5.c: New file.
11359 * dlfcn/Makefile (tests): Add tststatic5.
11360 (tests-static): Likewise.
11361 (modules-names): Add modstatic5.
11362 (tststatic5-ENV): New variable.
11363 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11366 * elf/dl-support.c (_dl_main_map): New variable.
11367 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11368 (_dl_nns, _dl_load_adds): Set to 1.
11369 (_dl_initial_searchlist): Refer to _dl_main_map.
11370 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11371 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11372 call to _dl_get_origin.
11373 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11375 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11376 * dlfcn/modstatic3.c: New file.
11377 * dlfcn/tststatic3.c: New file.
11378 * dlfcn/tststatic4.c: New file.
11379 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11380 (tests-static): Likewise.
11381 (modules-names): Add modstatic3.
11382 (tststatic3-ENV, tststatic4-ENV): New variables.
11383 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11384 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11386 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11388 * configure.in (CC): Require GCC version 4.4 or later.
11389 * configure: Regenerated.
11390 * manual/install.texi (Tools for Compilation): Update GCC version
11392 * INSTALL: Regenerated.
11394 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11397 * string/test-memcmp.c (check2): New.
11398 (main): Call check2.
11400 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11402 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11405 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11407 (dl_open_worker) [!SHARED]: ... here.
11409 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11411 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11413 2013-06-25 Richard Henderson <rth@redhat.com>
11415 * locale/programs/locarchive.c: Include <libc-internal.h>
11417 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11419 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11420 trailing whitespace removed.
11422 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11425 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11426 * locale/programs/locarchive.c: Include libc-mmap.h.
11427 (prepare_address_space): Take two new outputs (the mmap base and len).
11428 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11430 (create_archive): Declare new mmap base and len values for
11431 prepare_address_space, and store the result in ah.
11432 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11433 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11434 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11435 Declare new mmap base and len values for
11436 prepare_address_space, and store the result in new_ah.
11437 (open_archive): Declare new mmap base and len values for
11438 prepare_address_space, and store the result in ah.
11439 (close_archive): If ah->mmap_base is not NULL, use that and
11440 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11441 * sysdeps/generic/libc-mmap.h: New file.
11443 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11445 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11446 (ALIGN_UP): Likewise.
11447 (PTR_ALIGN_DOWN): Likewise.
11448 (PTR_ALIGN_UP): Likewise.
11450 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11452 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11453 entry mapped to PPC_PLATFORM_POWER8.
11454 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11456 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11457 (_dl_string_platform): Add case for exporting platform position for
11459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11460 search path to sysdeps/powerpc/powerpc32/power8 directory.
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11462 search path to sysdeps/powerpc/powerpc64/power8 directory.
11463 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11464 power7 directories.
11465 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11466 power7 directories.
11468 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11470 * INSTALL: Regenerate.
11472 * nscd/connections.c (nscd_init): Fix comment.
11474 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11476 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11479 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11480 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11482 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11484 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11486 (DL_DST_REQ_STATIC): Remove macro.
11488 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11491 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11492 with a shift of 0 bits.
11494 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11496 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11499 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11502 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11504 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11506 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11507 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11508 accepts -fno-tree-loop-distribute-patterns.
11509 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11510 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11512 * string/memset.c (memset): Likewise.
11513 * string/test-memmove.c (simple_memmove): Disable loop transformation
11515 * string/test-memset.c (simple_memset): Likewise.
11516 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11517 * benchtests/bench-memset.c (simple_memset): Likewise.
11518 * configure: Regenerated.
11520 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11522 * math/test-misc.c (main): Ignore fesetround failure when failures
11523 of subsequent rounding tests would be ignored.
11526 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11527 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11528 * math/fegetenv.c (__fegetenv): Return 0.
11529 * math/fegetexcept.c (fegetexcept): Return 0.
11530 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11532 * math/feholdexcpt.c (feholdexcept): Return 0.
11533 * math/fesetenv.c (__fesetenv): Return 0.
11534 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11535 argument FE_TONEAREST.
11536 * math/feupdateenv.c (__feupdateenv): Return 0.
11537 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11539 2013-06-18 Roland McGrath <roland@hack.frob.com>
11541 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11542 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11543 ($(objpfx)rtld-%.os rules): Use them.
11545 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11547 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11550 2013-06-17 Roland McGrath <roland@hack.frob.com>
11552 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11553 length of target pattern, then descending length of dependency pattern.
11554 * configure.in (AWK): Require gawk 3.1.2 or newer.
11555 * manual/install.texi (Tools for Compilation): Say that we do.
11556 * configure: Regenerated.
11558 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11559 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11560 * scripts/sysd-rules.awk: ... this new script.
11561 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11562 than a glob-style pattern.
11564 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11566 * math/test-misc.c (main): Do not treat incorrectly rounded
11567 conversions as failure unless ROUNDING_TESTS passes.
11569 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11572 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11573 restore exception state around main square root computation, then
11574 check for inexactness explicitly.
11576 * math/libm-test.inc (fma_test_data): Add another test.
11578 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11580 * manual/threads.texi (Non-POSIX Extensions): New document
11581 node. Document pthread_getattr_default_np and
11582 pthread_setattr_default_np.
11584 * Versions.def (libpthread): Add GLIBC_2.18.
11585 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11594 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11605 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11608 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11610 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11611 H.J. Lu <hjl.tools@gmail.com>
11614 * sysdeps/x86_64/rtld-memset.c: Remove file.
11615 * sysdeps/x86_64/rtld-memset.S: New file.
11617 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11619 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11620 (test_in_one_mode): Take arguments for whether the rounding mode
11621 is supported for each floating-point type.
11622 (do_test): Pass new arguments to test_in_one_mode using
11625 2013-06-13 Roland McGrath <roland@hack.frob.com>
11627 * posix/tst-waitid.c (do_test): Distinguish different instances of
11628 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11629 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11630 before entering the kernel for waitpid.
11632 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11634 * NEWS: Fix note on clock function precision. Text by Roland
11637 2013-06-13 Roland McGrath <roland@hack.frob.com>
11639 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11640 it into place only when and if the sanity check passes.
11642 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11644 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11645 output for whether conversion result is exact. Take argument
11646 indicating whether type is IBM long double.
11647 (round_for_all): Change need_exact field to ibm_ld.
11648 * stdlib/tst-strtod-round.c (struct exactness): New type.
11649 (struct test): Change bool ld_ok field to struct exactness exact.
11650 (TEST): Update all definitions for change to field.
11651 (tests): Regenerate array contents.
11652 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11653 field value. Check for IBM long double here.
11654 (do_test): Update calls to test_in_one_mode.
11656 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11659 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11660 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11662 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11665 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11666 generated by the compiler on loop optimizations.
11667 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11668 general definitions.
11670 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11672 * math/bug-nextafter.c: Include <math-tests.h>.
11673 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11675 * math/bug-nexttoward.c: Include <math-tests.h>.
11676 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11678 * math/test-misc.c: Include <math-tests.h>.
11679 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11682 2013-06-12 Andreas Jaeger <aj@suse.de>
11684 * po/ia.po: Update Interlingua translation from translation
11687 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11689 * include/fenv.h: Include stdbool.h.
11690 (struct rm_ctx): New structure.
11691 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11693 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11694 (SET_RESTORE_ROUNDF): Likewise.
11695 (SET_RESTORE_ROUNDL): Likewise.
11696 (SET_RESTORE_ROUND_NOEX): Likewise.
11697 (SET_RESTORE_ROUND_NOEXF): Likewise.
11698 (SET_RESTORE_ROUND_NOEXL): Likewise.
11699 (SET_RESTORE_ROUND_53BIT): Likewise.
11700 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11701 (libc_feresetround_noexf_ctx): Likewise.
11702 (libc_feresetround_noexl_ctx): Likewise.
11703 (libc_feholdsetround_53bit_ctx): Likewise.
11704 (libc_feresetround_53bit_ctx): Likewise.
11705 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11706 (libc_feholdexcept_setround_sse_ctx): New function.
11707 (libc_fesetenv_sse_ctx): Likewise.
11708 (libc_feupdateenv_sse_ctx): Likewise.
11709 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11710 (libc_feholdexcept_setround_387_ctx): Likewise.
11711 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11712 (libc_feholdsetround_387_prec_ctx): Likewise.
11713 (libc_feholdsetround_387_ctx): Likewise.
11714 (libc_feholdsetround_387_53bit_ctx): Likewise.
11715 (libc_feholdsetround_sse_ctx): Likewise.
11716 (libc_feresetround_sse_ctx): Likewise.
11717 (libc_feresetround_387_ctx): Likewise.
11718 (libc_feupdateenv_387_ctx): Likewise.
11719 (libc_feholdexcept_setroundf_ctx): Define macro.
11720 (libc_fesetenvf_ctx): Likewise.
11721 (libc_feupdateenvf_ctx): Likewise.
11722 (libc_feholdsetroundf_ctx): Likewise.
11723 (libc_feresetroundf_ctx): Likewise.
11724 (libc_feholdexcept_setround_ctx): Likewise.
11725 (libc_fesetenv_ctx): Likewise.
11726 (libc_feupdateenv_ctx): Likewise.
11727 (libc_feholdsetround_ctx): Likewise.
11728 (libc_feresetround_ctx): Likewise.
11729 (libc_feholdexcept_setroundl_ctx): Likewise.
11730 (libc_feupdateenvl_ctx): Likewise.
11731 (libc_feholdsetroundl_ctx): Likewise.
11732 (libc_feresetroundl_ctx): Likewise.
11733 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11734 (libc_feresetround_53bit_ctx): Likewise.
11736 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11738 * locale/iso-639.def: Convert to UTF-8.
11740 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11742 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11743 (EXCEPTION_TESTS_double): Likewise.
11744 (EXCEPTION_TESTS_long_double): Likewise.
11745 (EXCEPTION_TESTS): Likewise.
11746 * math/libm-test.inc (test_exceptions): Only test exceptions if
11747 EXCEPTION_TESTS (FLOAT).
11749 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11751 * benchtests/Makefile (string-bench): Add strcpy_chk and
11753 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11754 * benchtests/bench-stpcpy_chk.c: New file.
11755 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11756 * benchtests/bench-strcpy_chk.c: New file.
11757 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11759 (do_test): Likewise.
11761 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11763 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11764 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11765 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11766 with tabs where appropriate.
11767 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11769 [PPC_PLATFORM_PPC440]: Likewise.
11770 [PPC_PLATFORM_PPC464]: Likewise.
11771 [PPC_PLATFORM_PPC476]: Likewise.
11772 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11773 ppc464, and ppc476 platform strings merging from ports/
11776 2013-06-11 Andreas Schwab <schwab@suse.de>
11779 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11780 (from_ucs4_idx): Regenerate.
11781 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11782 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11783 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11784 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11785 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11786 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11787 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11788 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11789 from FROM_LOOP and TO_LOOP specific macros.
11790 (BODY): Handle combining characters.
11791 * iconvdata/BIG5HKSCS.irreversible: Update.
11792 * iconvdata/BIG5HKSCS.precomposed: New file.
11793 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11795 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11797 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11799 * include/sys/time.h: Fix indentation and add copyright header.
11801 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11802 (do_test): Likewise.
11803 * string/test-memchr.c (do_one_test): Likewise.
11804 (do_test): Likewise.
11805 * string/test-memcmp.c (do_one_test): Likewise.
11806 (do_test): Likewise.
11807 * string/test-memcpy.c (do_one_test): Likewise.
11808 (do_test): Likewise.
11809 * string/test-memmem.c (do_one_test): Likewise.
11810 (do_test): Likewise.
11811 (do_random_tests): Likewise.
11812 * string/test-memmove.c (do_one_test): Likewise.
11813 (do_test): Likewise.
11814 * string/test-memset.c (do_one_test): Likewise.
11815 (do_test): Likewise.
11816 * string/test-rawmemchr.c (do_one_test): Likewise.
11817 (do_test): Likewise.
11818 * string/test-strcasecmp.c (do_one_test): Likewise.
11819 (do_test): Likewise.
11820 * string/test-strcasestr.c (do_one_test): Likewise.
11821 (do_test): Likewise.
11822 * string/test-strcat.c (do_one_test): Likewise.
11823 (do_test): Likewise.
11824 * string/test-strchr.c (do_one_test): Likewise.
11825 (do_test): Likewise.
11826 * string/test-strcmp.c (do_one_test): Likewise.
11827 (do_test): Likewise.
11828 * string/test-strcpy.c (do_one_test): Likewise.
11829 (do_test): Likewise.
11830 * string/test-string.h: Likewise.
11831 (test_init): Likewise.
11832 * string/test-strlen.c (do_one_test): Likewise.
11833 (do_test): Likewise.
11834 * string/test-strncasecmp.c (do_one_test): Likewise.
11835 (do_test): Likewise.
11836 * string/test-strncat.c (do_one_test): Likewise.
11837 (do_test): Likewise.
11838 * string/test-strncmp.c (do_one_test): Likewise.
11839 (do_test_limit): Likewise.
11840 (do_test): Likewise.
11841 * string/test-strncpy.c (do_one_test): Likewise.
11842 (do_test): Likewise.
11843 * string/test-strnlen.c (do_one_test): Likewise.
11844 (do_test): Likewise.
11845 * string/test-strpbrk.c (do_one_test): Likewise.
11846 (do_test): Likewise.
11847 * string/test-strrchr.c (do_one_test): Likewise.
11848 (do_test): Likewise.
11849 * string/test-strspn.c (do_one_test): Likewise.
11850 (do_test): Likewise.
11851 * string/test-strstr.c (do_one_test): Likewise.
11852 (do_test): Likewise.
11854 * benchtests/Makefile (string-bench): Add string benchmarks.
11855 * benchtests/bench-bcopy-ifunc.c: New file.
11856 * benchtests/bench-bcopy.c: New file.
11857 * benchtests/bench-bzero-ifunc.c: New file.
11858 * benchtests/bench-bzero.c: New file.
11859 * benchtests/bench-memccpy-ifunc.c: New file.
11860 * benchtests/bench-memccpy.c: New file.
11861 * benchtests/bench-memchr-ifunc.c: New file.
11862 * benchtests/bench-memchr.c: New file.
11863 * benchtests/bench-memcmp-ifunc.c: New file.
11864 * benchtests/bench-memcmp.c: New file.
11865 * benchtests/bench-memmem-ifunc.c: New file.
11866 * benchtests/bench-memmem.c: New file.
11867 * benchtests/bench-memmove-ifunc.c: New file.
11868 * benchtests/bench-memmove.c: New file.
11869 * benchtests/bench-mempcpy-ifunc.c: New file.
11870 * benchtests/bench-mempcpy.c: New file.
11871 * benchtests/bench-memset-ifunc.c: New file.
11872 * benchtests/bench-memset.c: New file.
11873 * benchtests/bench-rawmemchr-ifunc.c: New file.
11874 * benchtests/bench-rawmemchr.c: New file.
11875 * benchtests/bench-stpcpy-ifunc.c: New file.
11876 * benchtests/bench-stpcpy.c: New file.
11877 * benchtests/bench-stpncpy-ifunc.c: New file.
11878 * benchtests/bench-stpncpy.c: New file.
11879 * benchtests/bench-strcasecmp-ifunc.c: New file.
11880 * benchtests/bench-strcasecmp.c: New file.
11881 * benchtests/bench-strcasestr-ifunc.c: New file.
11882 * benchtests/bench-strcasestr.c: New file.
11883 * benchtests/bench-strcat-ifunc.c: New file.
11884 * benchtests/bench-strcat.c: New file.
11885 * benchtests/bench-strchr-ifunc.c: New file.
11886 * benchtests/bench-strchr.c: New file.
11887 * benchtests/bench-strchrnul-ifunc.c: New file.
11888 * benchtests/bench-strchrnul.c: New file.
11889 * benchtests/bench-strcmp-ifunc.c: New file.
11890 * benchtests/bench-strcmp.c: New file.
11891 * benchtests/bench-strcpy-ifunc.c: New file.
11892 * benchtests/bench-strcpy.c: New file.
11893 * benchtests/bench-strcspn-ifunc.c: New file.
11894 * benchtests/bench-strcspn.c: New file.
11895 * benchtests/bench-strlen-ifunc.c: New file.
11896 * benchtests/bench-strlen.c: New file.
11897 * benchtests/bench-strncasecmp-ifunc.c: New file.
11898 * benchtests/bench-strncasecmp.c: New file.
11899 * benchtests/bench-strncat-ifunc.c: New file.
11900 * benchtests/bench-strncat.c: New file.
11901 * benchtests/bench-strncmp-ifunc.c: New file.
11902 * benchtests/bench-strncmp.c: New file.
11903 * benchtests/bench-strncpy-ifunc.c: New file.
11904 * benchtests/bench-strncpy.c: New file.
11905 * benchtests/bench-strnlen-ifunc.c: New file.
11906 * benchtests/bench-strnlen.c: New file.
11907 * benchtests/bench-strpbrk-ifunc.c: New file.
11908 * benchtests/bench-strpbrk.c: New file.
11909 * benchtests/bench-strrchr-ifunc.c: New file.
11910 * benchtests/bench-strrchr.c: New file.
11911 * benchtests/bench-strspn-ifunc.c: New file.
11912 * benchtests/bench-strspn.c: New file.
11913 * benchtests/bench-strstr-ifunc.c: New file.
11914 * benchtests/bench-strstr.c: New file.
11916 * benchtests/Makefile: Disable parallel execution of targets.
11917 (string-bench): Add memcpy.
11918 (benchset): New variable to store a list of benchmark sets.
11919 (bench-func): Renamed from bench.
11920 (bench-set): New target.
11921 (bench): Depend on bench-func and bench-set.
11922 * benchtests/README: Add section on benchmark sets.
11923 * benchtests/bench-memcpy-ifunc.c: New file.
11924 * benchtests/bench-memcpy.c: New file.
11925 * benchtests/bench-string.h: New file.
11927 2013-06-11 Andreas Schwab <schwab@suse.de>
11930 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11931 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11932 values in the triple.
11933 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11934 terminator in the group key.
11936 2013-06-11 Andreas Jaeger <aj@suse.de>
11938 * po/zh_TW.po: Update Chinese (traditional) translation from
11939 translation project.
11941 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11943 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11944 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11945 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11946 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11947 (clock_getcpuclockid): Likewise.
11948 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11949 Add weak_alias and libc_hidden_def.
11950 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11951 * rt/clock_gettime.c (clock_gettime): Rename to
11952 __clock_gettime. Add weak_alias and libc_hidden_def.
11953 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11954 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11955 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11956 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11957 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11959 * rt/clock_settime.c (clock_settime): Rename to
11960 __clock_settime. Add weak_alias and libc_hidden_def.
11961 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11963 2013-06-10 Joseph Myers <joseph@codesourcery.com>
11965 * mach/err_boot.sub: Remove trailing whitespace.
11966 * mach/err_ipc.sub: Likewise.
11967 * mach/err_mach.sub: Likewise.
11969 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11970 (ROUNDING_TESTS_double): Likewise.
11971 (ROUNDING_TESTS_long_double): Likewise.
11972 (ROUNDING_TESTS): Likewise.
11973 * math/libm-test.inc: Include <math-tests.h>.
11974 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11975 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11976 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11977 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11979 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11981 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11984 2013-06-08 Joseph Myers <joseph@codesourcery.com>
11986 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11987 otherwise empty TRANS lines.
11988 * sysdeps/gnu/errlist.c: Regenerated.
11990 * catgets/gencat.c (error_print): Use (void) in function
11992 * crypt/crypt_util.c (__init_des): Likewise.
11993 * crypt/speeds.c (Stop): Likewise.
11995 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11996 * inet/ruserpass.c (token): Likewise.
11997 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11998 * intl/localealias.c (extend_alias_table): Likewise.
11999 * intl/plural-exp.c (init_germanic_plural): Likewise.
12000 * libio/fcloseall.c (__fcloseall): Likewise.
12001 * libio/genops.c (_IO_flush_all): Likewise.
12002 (_IO_flush_all_linebuffered): Likewise.
12003 (_IO_cleanup): Likewise.
12004 (_IO_iter_begin): Likewise.
12005 (_IO_iter_end): Likewise.
12006 (_IO_list_lock): Likewise.
12007 (_IO_list_unlock): Likewise.
12008 (_IO_list_resetlock): Likewise.
12009 * libio/getchar.c (getchar): Likewise.
12010 * libio/getchar_u.c (getchar_unlocked): Likewise.
12011 * libio/getwchar.c (getwchar): Likewise.
12012 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12013 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12014 * login/getpt.c (__getpt): Likewise.
12015 * login/tst-utmp.c (main): Likewise.
12016 * malloc/hooks.c (__malloc_check_init): Likewise.
12017 * malloc/malloc.c (__malloc_stats): Likewise.
12018 * malloc/mtrace.c (tr_break): Likewise.
12019 (mtrace): Likewise.
12020 (muntrace): Likewise.
12021 * misc/fstab.c (endfsent): Likewise.
12022 * misc/getclktck.c (__getclktck): Likewise.
12023 * misc/getdtsz.c (__getdtablesize): Likewise.
12024 * misc/gethostid.c (gethostid): Likewise.
12025 * misc/getpagesize.c (__getpagesize): Likewise.
12026 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12027 (__get_nprocs): Likewise.
12028 (__get_phys_pages): Likewise.
12029 (__get_avphys_pages): Likewise.
12030 * misc/getttyent.c (getttyent): Likewise.
12031 (setttyent): Likewise.
12032 (endttyent): Likewise.
12033 * misc/getusershell.c (getusershell): Likewise.
12034 (endusershell): Likewise.
12035 (setusershell): Likewise.
12036 (initshells): Likewise.
12037 * misc/hsearch.c (__hdestroy): Likewise.
12038 * misc/sync.c (sync): Likewise.
12039 * misc/syslog.c (closelog_internal): Likewise.
12040 (closelog): Likewise.
12041 * misc/ttyslot.c (ttyslot): Likewise.
12042 * misc/vhangup.c (vhangup): Likewise.
12043 * posix/fork.c (__fork): Likewise.
12044 * posix/getegid.c (__getegid): Likewise.
12045 * posix/geteuid.c (__geteuid): Likewise.
12046 * posix/getgid.c (__getgid): Likewise.
12047 * posix/getpid.c (__getpid): Likewise.
12048 * posix/getppid.c (__getppid): Likewise.
12049 * posix/getuid.c (__getuid): Likewise.
12050 * posix/pause.c (pause): Likewise.
12051 * posix/setpgrp.c (setpgrp): Likewise.
12052 * posix/setsid.c (__setsid): Likewise.
12053 * posix/test-vfork.c (noop): Likewise.
12054 * resolv/gethnamaddr.c (_endhtent): Likewise.
12055 (_gethtent): Likewise.
12056 (ht_endhostent): Likewise.
12057 (gethostent): Likewise.
12058 (dns_service): Likewise.
12059 * stdlib/drand48.c (drand48): Likewise.
12060 * stdlib/lrand48.c (lrand48): Likewise.
12061 * stdlib/mrand48.c (mrand48): Likewise.
12062 * stdlib/rand.c (rand): Likewise.
12063 * stdlib/random.c (__random): Likewise.
12064 * stdlib/setenv.c (clearenv): Likewise.
12065 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12066 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12067 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12068 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12069 (__get_nprocs): Likewise.
12070 (__get_phys_pages): Likewise.
12071 (__get_avphys_pages): Likewise.
12072 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12073 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12074 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12075 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12076 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12077 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12078 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12079 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12080 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12081 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12082 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12083 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12084 * sysdeps/posix/clock.c (clock): Likewise.
12085 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12086 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12087 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12088 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12089 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12090 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12091 (__get_nprocs_conf): Likewise.
12092 (__get_phys_pages): Likewise.
12093 (__get_avphys_pages): Likewise.
12094 * time/clock.c (clock): Likewise.
12095 * time/tzset.c (__tzname_max): Likewise.
12097 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12099 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12100 (__bswap_32): Do not use "register".
12101 * crypt/crypt.c (_ufc_doit_r): Likewise.
12102 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12103 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12104 * gmon/gmon.c (__monstartup): Likewise.
12105 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12106 * hurd/hurdmalloc.c (more_memory): Likewise.
12107 (malloc): Likewise.
12109 (realloc): Likewise.
12110 (malloc_fork_prepare): Likewise.
12111 (malloc_fork_parent): Likewise.
12112 (malloc_fork_child): Likewise.
12113 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12114 (_svcauth_des): Likewise.
12115 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12116 * inet/inet_net.c (inet_network): Likewise.
12117 * inet/inet_netof.c (inet_netof): Likewise.
12118 * inet/rcmd.c (__validuser2_sa): Likewise.
12119 * io/fts.c (fts_open): Likewise.
12120 (fts_load): Likewise.
12121 (fts_close): Likewise.
12122 (fts_read): Likewise.
12123 (fts_children): Likewise.
12124 (fts_build): Likewise.
12125 (fts_stat): Likewise.
12126 (fts_sort): Likewise.
12127 (fts_alloc): Likewise.
12128 (fts_lfree): Likewise.
12129 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12130 (_IO_file_xsgetn): Likewise.
12131 (_IO_file_xsgetn_mmap): Likewise.
12132 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12133 (_IO_cookie_write): Likewise.
12134 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12135 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12136 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12137 * malloc/obstack.c (_obstack_begin): Likewise.
12138 (_obstack_begin_1): Likewise.
12139 (_obstack_newchunk): Likewise.
12140 (_obstack_allocated_p): Likewise.
12141 (obstack_free): Likewise.
12142 (_obstack_memory_used): Likewise.
12143 * misc/getttyent.c (getttynam): Likewise.
12144 (getttyent): Likewise.
12147 * misc/getusershell.c (initshells): Likewise.
12148 * misc/syslog.c (__vsyslog_chk): Likewise.
12149 * misc/ttyslot.c (ttyslot): Likewise.
12150 * nis/nis_hash.c (__nis_hash): Likewise.
12151 * posix/fnmatch_loop.c (FCT): Likewise.
12152 * posix/getconf.c (print_all): Likewise.
12154 * posix/getopt.c (exchange): Likewise.
12155 * posix/glob.c (globfree): Likewise.
12156 (prefix_array): Likewise.
12157 (__glob_pattern_type): Likewise.
12158 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12159 (NS_GET32): Likewise.
12160 (NS_PUT16): Likewise.
12161 (NS_PUT32): Likewise.
12162 * resolv/gethnamaddr.c (getanswer): Likewise.
12163 (gethostbyname2): Likewise.
12164 (gethostbyaddr): Likewise.
12165 (_gethtent): Likewise.
12166 (_gethtbyname2): Likewise.
12167 (_gethtbyaddr): Likewise.
12168 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12169 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12170 * resolv/res_init.c (__res_vinit): Likewise.
12171 (net_mask): Likewise.
12172 * resolv/res_mkquery.c (outchar): Likewise.
12174 * stdio-common/printf_fp.c (outchar): Likewise.
12176 * stdio-common/printf_fphex.c (outchar): Likewise.
12178 * stdio-common/printf_size.c (outchar): Likewise.
12180 * stdio-common/test_rdwr.c (main): Likewise.
12181 * stdio-common/tfformat.c (matches): Likewise.
12182 * stdio-common/vfprintf.c (outchar): Likewise.
12183 (printf_unknown): Likewise.
12184 (buffered_vfprintf): Likewise.
12185 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12186 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12187 (ReadFile): Likewise.
12188 * stdlib/qsort.c (SWAP): Likewise.
12189 (_quicksort): Likewise.
12190 * stdlib/setenv.c (__add_to_environ): Likewise.
12191 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12192 * stdlib/strtol_l.c (__strtol_l): Likewise.
12193 * stdlib/tst-strtod.c (main): Likewise.
12194 * stdlib/tst-strtol.c (main): Likewise.
12195 * stdlib/tst-strtoll.c (main): Likewise.
12196 * string/bits/string2.h (__strcmp_cc): Likewise.
12197 (__strcmp_cg): Likewise.
12198 (__strcspn_c1): Likewise.
12199 (__strcspn_c2): Likewise.
12200 (__strcspn_c3): Likewise.
12201 (__strspn_c1): Likewise.
12202 (__strspn_c2): Likewise.
12203 (__strspn_c3): Likewise.
12204 (__strsep_1c): Likewise.
12205 (__strsep_2c): Likewise.
12206 (__strsep_3c): Likewise.
12207 * string/memccpy.c (__memccpy): Likewise.
12208 * string/stpcpy.c (__stpcpy): Likewise.
12209 * string/strcmp.c (strcmp): Likewise.
12210 * string/strrchr.c (strrchr): Likewise.
12211 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12213 * sysdeps/mach/hurd/getcwd.c
12214 (_hurd_canonicalize_directory_name_internal): Likewise.
12215 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12216 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12217 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12218 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12219 Likewise, in both definitions.
12220 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12222 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12223 64] (__bswap_64): Likewise.
12224 * time/test_time.c (main): Likewise.
12225 * time/tzfile.c (__tzfile_read): Likewise.
12226 (__tzfile_compute): Likewise.
12227 * time/tzset.c (__tzset_parse_tz): Likewise.
12228 (tzset_internal): Likewise.
12229 (compute_change): Likewise.
12230 * wcsmbs/wcscat.c (__wcscat): Likewise.
12231 * wcsmbs/wcschr.c (wcschr): Likewise.
12232 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12233 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12234 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12235 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12236 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12237 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12238 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12239 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12240 * wcsmbs/wmemset.c (wmemset): Likewise.
12242 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12244 * scripts/config.guess: Update to version 2013-05-16.
12245 * scripts/config.sub: Update to version 2013-04-24.
12246 * scripts/install-sh: Update to version 2011-11-20.07.
12247 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12248 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12250 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12252 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12253 * elf/sln.c: Likewise.
12254 * hurd/hurd/ioctl.h: Likewise.
12255 * hurd/hurdmalloc.c: Likewise.
12256 * hurd/xattr.c: Likewise.
12257 * include/shlib-compat.h: Likewise.
12258 * inet/ruserpass.c: Likewise.
12259 * libio/iofgets_u.c: Likewise.
12260 * libio/iofgetws_u.c: Likewise.
12261 * locale/programs/ld-identification.c: Likewise.
12262 * locale/programs/ld-time.c: Likewise.
12263 * mach/msg-destroy.c: Likewise.
12264 * nss/nss_files/files-netgrp.c: Likewise.
12265 * resolv/res_data.c: Likewise.
12266 * soft-fp/op-1.h: Likewise.
12267 * soft-fp/op-2.h: Likewise.
12268 * soft-fp/op-4.h: Likewise.
12269 * soft-fp/op-common.h: Likewise.
12270 * stdio-common/printf_fphex.c: Likewise.
12271 * stdlib/strtod_l.c: Likewise.
12272 * sunrpc/rpc/clnt.h: Likewise.
12273 * sysdeps/generic/framestate.c: Likewise.
12274 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12275 * sysdeps/i386/bsd-setjmp.S: Likewise.
12276 * sysdeps/i386/__longjmp.S: Likewise.
12277 * sysdeps/i386/setjmp.S: Likewise.
12278 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12279 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12280 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12285 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12286 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12288 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12289 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12290 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12291 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12292 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12294 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12295 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12296 * sysdeps/ieee754/support.c: Likewise.
12297 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12298 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12299 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12300 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12301 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12302 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12303 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12304 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12305 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12306 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12307 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12308 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12309 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12310 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12311 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12312 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12313 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12316 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12318 * posix/transbug.c: Remove executable mode.
12320 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12322 * crypt/speeds.c: Remove trailing whitespace.
12323 * dlfcn/default.c: Likewise.
12324 * elf/ifuncdep2.c: Likewise.
12325 * elf/ifuncmain1.c: Likewise.
12326 * elf/ifuncmain1vis.c: Likewise.
12327 * elf/testobj.h: Likewise.
12328 * elf/tst-stackguard1.c: Likewise.
12329 * gmon/sys/gmon.h: Likewise.
12330 * hurd/hurdmsg.c: Likewise.
12331 * hurd/new-fd.c: Likewise.
12332 * hurd/ports-get.c: Likewise.
12333 * iconvdata/ibm1008_420.c: Likewise.
12334 * inet/tst-getni1.c: Likewise.
12335 * inet/tst-getni2.c: Likewise.
12336 * libio/ioungetc.c: Likewise.
12337 * libio/wfiledoalloc.c: Likewise.
12338 * manual/libm-err-tab.pl: Likewise.
12339 * math/w_dremf.c: Likewise.
12340 * misc/ftruncate.c: Likewise.
12341 * posix/bug-glob2.c: Likewise.
12342 * posix/tst-pcre.c: Likewise.
12343 * posix/wait4.c: Likewise.
12344 * resolv/README: Likewise.
12345 * resolv/res_debug.h: Likewise.
12346 * resolv/tst-inet_ntop.c: Likewise.
12347 * setjmp/bug269-setjmp.c: Likewise.
12348 * soft-fp/extended.h: Likewise.
12349 * soft-fp/op-1.h: Likewise.
12350 * soft-fp/op-2.h: Likewise.
12351 * soft-fp/op-4.h: Likewise.
12352 * soft-fp/op-8.h: Likewise.
12353 * soft-fp/testit.c: Likewise.
12354 * stdio-common/bug16.c: Likewise.
12355 * stdlib/random.c: Likewise.
12356 * sunrpc/rpcsvc/rquota.x: Likewise.
12357 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12358 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12359 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12360 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12361 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12362 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12363 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12364 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12365 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12366 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12367 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12368 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12369 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12370 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12371 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12372 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12373 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12374 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12375 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12376 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12377 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12378 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12379 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12380 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12381 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12382 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12383 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12384 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12385 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12386 * sysdeps/ieee754/s_lib_version.c: Likewise.
12387 * sysdeps/mach/hurd/check_fds.c: Likewise.
12388 * sysdeps/mach/hurd/getsockname.c: Likewise.
12389 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12390 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12391 * sysdeps/powerpc/bits/link.h: Likewise.
12392 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12393 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12394 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12395 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12396 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12397 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12398 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12399 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12400 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12401 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12402 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12403 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12404 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12405 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12406 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12407 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12408 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12409 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12410 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12411 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12412 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12413 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12414 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12415 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12416 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12417 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12418 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12419 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12420 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12421 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12422 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12423 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12424 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12425 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12426 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12427 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12428 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12429 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12430 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12431 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12432 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12433 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12434 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12435 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12436 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12437 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12438 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12439 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12440 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12441 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12442 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12443 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12444 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12445 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12446 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12447 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12448 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12449 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12450 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12451 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12452 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12453 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12454 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12455 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12456 * sysdeps/powerpc/sysdep.h: Likewise.
12457 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12458 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12459 * sysdeps/sh/dl-trampoline.S: Likewise.
12460 * sysdeps/sh/memset.S: Likewise.
12461 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12462 * sysdeps/sh/strlen.S: Likewise.
12463 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12464 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12465 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12466 * sysdeps/sparc/sparc32/rem.S: Likewise.
12467 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12468 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12469 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12470 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12471 * sysdeps/sparc/sparc32/urem.S: Likewise.
12472 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12473 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12474 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12475 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12476 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12477 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12478 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12479 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12480 * sysdeps/unix/bsd/times.c: Likewise.
12481 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12482 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12486 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12487 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12488 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12489 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12490 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12491 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12492 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12493 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12494 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12495 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12496 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12497 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12498 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12499 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12500 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12501 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12502 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12503 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12504 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12505 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12506 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12507 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12508 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12509 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12510 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12511 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12512 * sysdeps/x86_64/strcspn.S: Likewise.
12514 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12516 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12517 generated file. Regenerate properly from gen-translit.pl.
12518 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12519 locale/C-translit.h.
12521 2013-06-05 Andreas Schwab <schwab@suse.de>
12524 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12525 week as 6 instead of -1.
12526 * time/tst-strptime.c (day_tests): Add test case.
12528 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12530 * sysdeps/generic/math_private.h
12531 (libc_feholdexcept_setround_53bit): Replace with
12532 libc_feholdsetround_53bit.
12533 (libc_feupdateenv_53bit): Replace with
12534 libc_feresetround_53bit.
12535 (SET_RESTORE_ROUND_53BIT): Adjust.
12537 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12539 * string/test-strchrnul.c: Add copyright header.
12541 * posix/tst-getaddrinfo4.c: Increase test timeout.
12543 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12546 * math/libm-test.inc (MAX_EXP): Remove
12548 (ulp): Use MIN_EXP - MANT_DIG.
12549 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12551 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12553 * po/be.po: Revert last change.
12554 * po/zh_CN.po: Likewise.
12555 * po/header.pot: Likewise.
12557 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12559 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12560 link-libc-deps to empty as target-specific variable.
12561 * Makerules (link-libc-args): New variable.
12562 (libc-for-link): Likewise.
12563 (link-libc-deps): Likewise.
12564 (lib%.so): Depend on $(link-libc-deps). Link with
12566 (build-module): Link with $(link-libc-args).
12567 (build-module-asneeded): Likewise.
12568 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12570 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12571 target-specific variable.
12572 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12573 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12574 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12576 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12578 ($(objpfx)libpcprofile.so): Likewise.
12579 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12581 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12582 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12583 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12585 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12586 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12587 * login/Makefile ($(objpfx)libutil.so): Likewise.
12588 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12589 * math/Makefile ($(objpfx)libm.so): Likewise.
12590 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12591 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12592 variable instead of depending directly on libc.
12593 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12594 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12596 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12598 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12599 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12600 ($(objpfx)libanl.so): Likewise.
12601 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12603 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12605 * sysdeps/i386/fpu/Makefile: Remove file.
12606 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12607 ($(objpfx)libm.so): Remove dependency on ld.so.
12609 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12612 * nis/yp_xdr.c (XDRMAXNAME): Define.
12613 (XDRMAXRECORD): Define.
12614 (xdr_domainname): Use XDRMAXNAME.
12615 (xdr_mapname): Likewise.
12616 (xdr_peername): Likewise.
12617 (xdr_keydat): Use XDRMAXRECORD.
12618 (xdr_valdat): Likewise.
12620 2013-05-30 Jeff Law <law@redhat.com>
12623 * manual/errno.texi (ESTALE): Update to account for more than
12624 just NFS file systems.
12625 * sysdeps/gnu/errlist.c: Regenerated.
12627 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12630 * elf/Makefile (tests): Add tst-null-argv.
12631 (modules-names): Add tst-null-argv-lib.
12632 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12633 (tst-null-argv-ENV): Set environment for tst-null-argv.
12634 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12635 (RTLD_PROGNAME): New macro.
12636 * elf/tst-null-argv.c: New test case.
12637 * elf/tst-null-argv-lib.c: Library for test case.
12638 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12639 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12640 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12641 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12642 * elf/dl-init.c (call_init): Likewise.
12643 (_dl_init): Likewise.
12644 * elf/dl-load.c (print_search_path): Likewise.
12645 (_dl_map_object): Likewise.
12646 * elf/dl-lookup.c (do_lookup_x): Likewise.
12647 (add_dependency): Likewise.
12648 (_dl_lookup_symbol_x): Likewise.
12649 (_dl_debug_bindings): Likewise.
12650 * elf/dl-open.c (_dl_show_scope): Likewise.
12651 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12652 * elf/dl-version.c (match_symbol): Likewise.
12653 (_dl_check_map_versions): Likewise.
12654 * elf/rtld.c (dl_main): Likewise.
12655 (print_unresolved): Use RTLD_PROGNAME.
12656 (print_missing_version): Likewise.
12657 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12658 (elf_machine_rela): Likewise.
12659 * sysdeps/powerpc/powerpc32/dl-machine.c
12660 (__process_machine_rela): Likewise.
12661 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12663 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12665 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12667 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12668 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12670 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12672 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12674 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12676 * po/be.po: Add descriptive title.
12677 * po/zh_CN.po: Likewise.
12678 * po/header.pot: Likewise.
12680 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12682 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12684 (enlarge_archive): Likewise.
12686 2013-05-28 Ben North <ben@redfrontdoor.org>
12688 * manual/arith.texi (frexp): It is the magnitude of the return
12689 value which lies in [0.5, 1), not the return value itself.
12691 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12695 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12697 * stdio-common/bug26.c (main): Correct fscanf template.
12699 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12700 declare _dl_skip_args.
12702 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12705 * manual/platform.texi: Add missing @end deftypefun.
12707 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12710 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12711 bit of mantissa of 2^16382.
12712 * math/libm-test.inc (hypot_test_data): Add more tests.
12714 * math/libm-test.inc: Add drem and pow10 to list of tested
12716 (pow10_test): New function.
12717 (drem_test): Likewise.
12718 (drem_test_tonearest): Likewise.
12719 (drem_test_towardzero): Likewise.
12720 (drem_test_downward): Likewise.
12721 (drem_test_upward): Likewise.
12722 (main): Call the new functions.
12724 * math/libm-test.inc (finite_test_data): Remove.
12725 (finite_test): Run tests from isfinite_test_data.
12726 (gamma_test_data): Remove.
12727 (gamma_test): Run tests from lgamma_test_data.
12728 * sysdeps/i386/fpu/libm-test-ulps: Update.
12729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12731 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12733 * manual/platform.texi: Add PowerPC PPR function set documentation.
12734 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12737 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12739 * math/libm-test.inc (MAX_EXP): Define.
12741 (ulp): New function.
12742 (check_float_internal): Use ULPDIFF.
12743 (cpow_test): Disable failing test.
12744 (check_ulp): Test ulp() implemetnation.
12745 (main): Call check_ulp before starting tests.
12747 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12749 * math/gen-libm-test.pl (generate_testfile): Do not handle
12750 START_DATA and END_DATA.
12751 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12753 (acos_tonearest_test_data): Likewise.
12754 (acos_towardzero_test_data): Likewise.
12755 (acos_downward_test_data): Likewise.
12756 (acos_upward_test_data): Likewise.
12757 (acosh_test_data): Likewise.
12758 (asin_test_data): Likewise.
12759 (asin_tonearest_test_data): Likewise.
12760 (asin_towardzero_test_data): Likewise.
12761 (asin_downward_test_data): Likewise.
12762 (asin_upward_test_data): Likewise.
12763 (asinh_test_data): Likewise.
12764 (atan_test_data): Likewise.
12765 (atanh_test_data): Likewise.
12766 (atan2_test_data): Likewise.
12767 (cabs_test_data): Likewise.
12768 (cacos_test_data): Likewise.
12769 (cacosh_test_data): Likewise.
12770 (carg_test_data): Likewise.
12771 (casin_test_data): Likewise.
12772 (casinh_test_data): Likewise.
12773 (catan_test_data): Likewise.
12774 (catanh_test_data): Likewise.
12775 (cbrt_test_data): Likewise.
12776 (ccos_test_data): Likewise.
12777 (ccosh_test_data): Likewise.
12778 (ceil_test_data): Likewise.
12779 (cexp_test_data): Likewise.
12780 (cimag_test_data): Likewise.
12781 (clog_test_data): Likewise.
12782 (clog10_test_data): Likewise.
12783 (conj_test_data): Likewise.
12784 (copysign_test_data): Likewise.
12785 (cos_test_data): Likewise.
12786 (cos_tonearest_test_data): Likewise.
12787 (cos_towardzero_test_data): Likewise.
12788 (cos_downward_test_data): Likewise.
12789 (cos_upward_test_data): Likewise.
12790 (cosh_test_data): Likewise.
12791 (cosh_tonearest_test_data): Likewise.
12792 (cosh_towardzero_test_data): Likewise.
12793 (cosh_downward_test_data): Likewise.
12794 (cosh_upward_test_data): Likewise.
12795 (cpow_test_data): Likewise.
12796 (cproj_test_data): Likewise.
12797 (creal_test_data): Likewise.
12798 (csin_test_data): Likewise.
12799 (csinh_test_data): Likewise.
12800 (csqrt_test_data): Likewise.
12801 (ctan_test_data): Likewise.
12802 (ctan_tonearest_test_data): Likewise.
12803 (ctan_towardzero_test_data): Likewise.
12804 (ctan_downward_test_data): Likewise.
12805 (ctan_upward_test_data): Likewise.
12806 (ctanh_test_data): Likewise.
12807 (ctanh_tonearest_test_data): Likewise.
12808 (ctanh_towardzero_test_data): Likewise.
12809 (ctanh_downward_test_data): Likewise.
12810 (ctanh_upward_test_data): Likewise.
12811 (erf_test_data): Likewise.
12812 (erfc_test_data): Likewise.
12813 (exp_test_data): Likewise.
12814 (exp_tonearest_test_data): Likewise.
12815 (exp_towardzero_test_data): Likewise.
12816 (exp_downward_test_data): Likewise.
12817 (exp_upward_test_data): Likewise.
12818 (exp10_test_data): Likewise.
12819 (exp2_test_data): Likewise.
12820 (expm1_test_data): Likewise.
12821 (fabs_test_data): Likewise.
12822 (fdim_test_data): Likewise.
12823 (finite_test_data): Likewise.
12824 (floor_test_data): Likewise.
12825 (fma_test_data): Likewise.
12826 (fma_towardzero_test_data): Likewise.
12827 (fma_downward_test_data): Likewise.
12828 (fma_upward_test_data): Likewise.
12829 (fmax_test_data): Likewise.
12830 (fmin_test_data): Likewise.
12831 (fmod_test_data): Likewise.
12832 (fpclassify_test_data): Likewise.
12833 (frexp_test_data): Likewise.
12834 (gamma_test_data): Likewise.
12835 (hypot_test_data): Likewise.
12836 (ilogb_test_data): Likewise.
12837 (isfinite_test_data): Likewise.
12838 (isgreater_test_data): Likewise.
12839 (isgreaterequal_test_data): Likewise.
12840 (isinf_test_data): Likewise.
12841 (isless_test_data): Likewise.
12842 (islessequal_test_data): Likewise.
12843 (islessgreater_test_data): Likewise.
12844 (isnan_test_data): Likewise.
12845 (isnormal_test_data): Likewise.
12846 (issignaling_test_data): Likewise.
12847 (isunordered_test_data): Likewise.
12848 (j0_test_data): Likewise.
12849 (j1_test_data): Likewise.
12850 (jn_test_data): Likewise.
12851 (ldexp_test_data): Likewise.
12852 (lgamma_test_data): Likewise.
12853 (lrint_test_data): Likewise.
12854 (lrint_tonearest_test_data): Likewise.
12855 (lrint_towardzero_test_data): Likewise.
12856 (lrint_downward_test_data): Likewise.
12857 (lrint_upward_test_data): Likewise.
12858 (llrint_test_data): Likewise.
12859 (llrint_tonearest_test_data): Likewise.
12860 (llrint_towardzero_test_data): Likewise.
12861 (llrint_downward_test_data): Likewise.
12862 (llrint_upward_test_data): Likewise.
12863 (log_test_data): Likewise.
12864 (log10_test_data): Likewise.
12865 (log1p_test_data): Likewise.
12866 (log2_test_data): Likewise.
12867 (logb_test_data): Likewise.
12868 (logb_downward_test_data): Likewise.
12869 (lround_test_data): Likewise.
12870 (llround_test_data): Likewise.
12871 (modf_test_data): Likewise.
12872 (nearbyint_test_data): Likewise.
12873 (nextafter_test_data): Likewise.
12874 (nexttoward_test_data): Likewise.
12875 (pow_test_data): Likewise.
12876 (pow_tonearest_test_data): Likewise.
12877 (pow_towardzero_test_data): Likewise.
12878 (pow_downward_test_data): Likewise.
12879 (pow_upward_test_data): Likewise.
12880 (remainder_test_data): Likewise.
12881 (remainder_tonearest_test_data): Likewise.
12882 (remainder_towardzero_test_data): Likewise.
12883 (remainder_downward_test_data): Likewise.
12884 (remainder_upward_test_data): Likewise.
12885 (remquo_test_data): Likewise.
12886 (rint_test_data): Likewise.
12887 (rint_tonearest_test_data): Likewise.
12888 (rint_towardzero_test_data): Likewise.
12889 (rint_downward_test_data): Likewise.
12890 (rint_upward_test_data): Likewise.
12891 (round_test_data): Likewise.
12892 (scalb_test_data): Likewise.
12893 (scalbn_test_data): Likewise.
12894 (scalbln_test_data): Likewise.
12895 (signbit_test_data): Likewise.
12896 (sin_test_data): Likewise.
12897 (sin_tonearest_test_data): Likewise.
12898 (sin_towardzero_test_data): Likewise.
12899 (sin_downward_test_data): Likewise.
12900 (sin_upward_test_data): Likewise.
12901 (sincos_test_data): Likewise.
12902 (sinh_test_data): Likewise.
12903 (sinh_tonearest_test_data): Likewise.
12904 (sinh_towardzero_test_data): Likewise.
12905 (sinh_downward_test_data): Likewise.
12906 (sinh_upward_test_data): Likewise.
12907 (sqrt_test_data): Likewise.
12908 (tan_test_data): Likewise.
12909 (tan_tonearest_test_data): Likewise.
12910 (tan_towardzero_test_data): Likewise.
12911 (tan_downward_test_data): Likewise.
12912 (tan_upward_test_data): Likewise.
12913 (tanh_test_data): Likewise.
12914 (tgamma_test_data): Likewise.
12915 (trunc_test_data): Likewise.
12916 (y0_test_data): Likewise.
12917 (y1_test_data): Likewise.
12918 (yn_test_data): Likewise.
12919 (significand_test_data): Likewise.
12921 * math/gen-libm-test.pl (@functions): Remove variable.
12922 (generate_testfile): Don't handle START and END lines.
12923 * math/libm-test.inc (START): New macro.
12925 (END_COMPLEX): Likewise.
12926 (acos_test): Use END macro without arguments.
12927 (acos_test_tonearest): Likewise.
12928 (acos_test_towardzero): Likewise.
12929 (acos_test_downward): Likewise.
12930 (acos_test_upward): Likewise.
12931 (acosh_test): Likewise.
12932 (asin_test): Likewise.
12933 (asin_test_tonearest): Likewise.
12934 (asin_test_towardzero): Likewise.
12935 (asin_test_downward): Likewise.
12936 (asin_test_upward): Likewise.
12937 (asinh_test): Likewise.
12938 (atan_test): Likewise.
12939 (atanh_test): Likewise.
12940 (atan2_test): Likewise.
12941 (cabs_test): Likewise.
12942 (cacos_test): Use END_COMPLEX macro without arguments.
12943 (cacosh_test): Likewise.
12944 (carg_test): Use END macro without arguments.
12945 (casin_test): Use END_COMPLEX macro without arguments.
12946 (casinh_test): Likewise.
12947 (catan_test): Likewise.
12948 (catanh_test): Likewise.
12949 (cbrt_test): Use END macro without arguments.
12950 (ccos_test): Use END_COMPLEX macro without arguments.
12951 (ccosh_test): Likewise.
12952 (ceil_test): Use END macro without arguments.
12953 (cexp_test): Use END_COMPLEX macro without arguments.
12954 (cimag_test): Use END macro without arguments.
12955 (clog_test): Use END_COMPLEX macro without arguments.
12956 (clog10_test): Likewise.
12957 (conj_test): Likewise.
12958 (copysign_test): Use END macro without arguments.
12959 (cos_test): Likewise.
12960 (cos_test_tonearest): Likewise.
12961 (cos_test_towardzero): Likewise.
12962 (cos_test_downward): Likewise.
12963 (cos_test_upward): Likewise.
12964 (cosh_test): Likewise.
12965 (cosh_test_tonearest): Likewise.
12966 (cosh_test_towardzero): Likewise.
12967 (cosh_test_downward): Likewise.
12968 (cosh_test_upward): Likewise.
12969 (cpow_test): Use END_COMPLEX macro without arguments.
12970 (cproj_test): Likewise.
12971 (creal_test): Use END macro without arguments.
12972 (csin_test): Use END_COMPLEX macro without arguments.
12973 (csinh_test): Likewise.
12974 (csqrt_test): Likewise.
12975 (ctan_test): Likewise.
12976 (ctan_test_tonearest): Likewise.
12977 (ctan_test_towardzero): Likewise.
12978 (ctan_test_downward): Likewise.
12979 (ctan_test_upward): Likewise.
12980 (ctanh_test): Likewise.
12981 (ctanh_test_tonearest): Likewise.
12982 (ctanh_test_towardzero): Likewise.
12983 (ctanh_test_downward): Likewise.
12984 (ctanh_test_upward): Likewise.
12985 (erf_test): Use END macro without arguments.
12986 (erfc_test): Likewise.
12987 (exp_test): Likewise.
12988 (exp_test_tonearest): Likewise.
12989 (exp_test_towardzero): Likewise.
12990 (exp_test_downward): Likewise.
12991 (exp_test_upward): Likewise.
12992 (exp10_test): Likewise.
12993 (exp2_test): Likewise.
12994 (expm1_test): Likewise.
12995 (fabs_test): Likewise.
12996 (fdim_test): Likewise.
12997 (finite_test): Likewise.
12998 (floor_test): Likewise.
12999 (fma_test): Likewise.
13000 (fma_test_towardzero): Likewise.
13001 (fma_test_downward): Likewise.
13002 (fma_test_upward): Likewise.
13003 (fmax_test): Likewise.
13004 (fmin_test): Likewise.
13005 (fmod_test): Likewise.
13006 (fpclassify_test): Likewise.
13007 (frexp_test): Likewise.
13008 (gamma_test): Likewise.
13009 (hypot_test): Likewise.
13010 (ilogb_test): Likewise.
13011 (isfinite_test): Likewise.
13012 (isgreater_test): Likewise.
13013 (isgreaterequal_test): Likewise.
13014 (isinf_test): Likewise.
13015 (isless_test): Likewise.
13016 (islessequal_test): Likewise.
13017 (islessgreater_test): Likewise.
13018 (isnan_test): Likewise.
13019 (isnormal_test): Likewise.
13020 (issignaling_test): Likewise.
13021 (isunordered_test): Likewise.
13022 (j0_test): Likewise.
13023 (j1_test): Likewise.
13024 (jn_test): Likewise.
13025 (ldexp_test): Likewise.
13026 (lgamma_test): Likewise.
13027 (lrint_test): Likewise.
13028 (lrint_test_tonearest): Likewise.
13029 (lrint_test_towardzero): Likewise.
13030 (lrint_test_downward): Likewise.
13031 (lrint_test_upward): Likewise.
13032 (llrint_test): Likewise.
13033 (llrint_test_tonearest): Likewise.
13034 (llrint_test_towardzero): Likewise.
13035 (llrint_test_downward): Likewise.
13036 (llrint_test_upward): Likewise.
13037 (log_test): Likewise.
13038 (log10_test): Likewise.
13039 (log1p_test): Likewise.
13040 (log2_test): Likewise.
13041 (logb_test): Likewise.
13042 (logb_test_downward): Likewise.
13043 (lround_test): Likewise.
13044 (llround_test): Likewise.
13045 (modf_test): Likewise.
13046 (nearbyint_test): Likewise.
13047 (nextafter_test): Likewise.
13048 (nexttoward_test): Likewise.
13049 (pow_test): Likewise.
13050 (pow_test_tonearest): Likewise.
13051 (pow_test_towardzero): Likewise.
13052 (pow_test_downward): Likewise.
13053 (pow_test_upward): Likewise.
13054 (remainder_test): Likewise.
13055 (remainder_test_tonearest): Likewise.
13056 (remainder_test_towardzero): Likewise.
13057 (remainder_test_downward): Likewise.
13058 (remainder_test_upward): Likewise.
13059 (remquo_test): Likewise.
13060 (rint_test): Likewise.
13061 (rint_test_tonearest): Likewise.
13062 (rint_test_towardzero): Likewise.
13063 (rint_test_downward): Likewise.
13064 (rint_test_upward): Likewise.
13065 (round_test): Likewise.
13066 (scalb_test): Likewise.
13067 (scalbn_test): Likewise.
13068 (scalbln_test): Likewise.
13069 (signbit_test): Likewise.
13070 (sin_test): Likewise.
13071 (sin_test_tonearest): Likewise.
13072 (sin_test_towardzero): Likewise.
13073 (sin_test_downward): Likewise.
13074 (sin_test_upward): Likewise.
13075 (sincos_test): Likewise.
13076 (sinh_test): Likewise.
13077 (sinh_test_tonearest): Likewise.
13078 (sinh_test_towardzero): Likewise.
13079 (sinh_test_downward): Likewise.
13080 (sinh_test_upward): Likewise.
13081 (sqrt_test): Likewise.
13082 (tan_test): Likewise.
13083 (tan_test_tonearest): Likewise.
13084 (tan_test_towardzero): Likewise.
13085 (tan_test_downward): Likewise.
13086 (tan_test_upward): Likewise.
13087 (tanh_test): Likewise.
13088 (tgamma_test): Likewise.
13089 (trunc_test): Likewise.
13090 (y0_test): Likewise.
13091 (y1_test): Likewise.
13092 (yn_test): Likewise.
13093 (significand_test): Likewise.
13095 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13098 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13100 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13103 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13104 __ppc_mdoio and __ppc_mdoom.
13105 * manual/platform.texi: Document new functions __ppc_yield,
13106 __ppc_mdoio and __ppc_mdoom.
13108 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13110 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13111 (main): Mention "tls" pseudo-hwcap is legacy.
13112 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13114 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13116 * math/gen-libm-test.pl (parse_args): Output only string of
13117 arguments as text for test name, not full call or descriptions of
13118 tests for extra outputs.
13119 (generate_testfile): Do not pass function name to parse_args.
13120 Generate this_func variable from START.
13121 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13123 (struct test_ff_f_data): Likewise.
13124 (test_ff_f_data_nexttoward): Likewise.
13125 (struct test_fi_f_data): Likewise.
13126 (struct test_fl_f_data): Likewise.
13127 (struct test_if_f_data): Likewise.
13128 (struct test_fff_f_data): Likewise.
13129 (struct test_c_f_data): Likewise.
13130 (struct test_f_f1_data): Likewise. Remove field extra_name.
13131 (struct test_fF_f1_data): Likewise.
13132 (struct test_ffI_f1_data): Likewise.
13133 (struct test_c_c_data): Rename test_name field to arg_str.
13134 (struct test_cc_c_data): Likewise.
13135 (struct test_f_i_data): Likewise.
13136 (struct test_ff_i_data): Likewise.
13137 (struct test_f_l_data): Likewise.
13138 (struct test_f_L_data): Likewise.
13139 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13141 (COMMON_TEST_SETUP): New macro.
13142 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13143 (COMMON_TEST_CLEANUP): Likewise.
13144 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13145 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13147 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13148 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13150 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13151 (RUN_TEST_fff_f): Take argument string. Call new setup and
13153 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13154 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13156 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13157 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13159 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13160 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13162 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13163 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13165 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13166 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13168 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13169 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13171 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13172 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13174 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13175 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13177 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13178 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13180 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13181 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13183 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13184 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13186 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13187 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13189 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13190 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13192 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13193 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13195 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13196 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13198 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13200 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13202 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13203 to _sifields.sigfault.
13204 (si_addr_lsb): Define new macro.
13205 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13206 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13207 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13209 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13212 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13214 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13216 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13217 loading the domain.
13219 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13221 * math/gen-libm-test.pl (parse_args): Do not include expected
13222 result in test name.
13223 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13224 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13225 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13226 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13227 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13230 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13232 * benchtests/Makefile: Sort function entries.
13234 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13235 tanh, asinh, acosh, atanh.
13236 * benchtests/acos-inputs: New file.
13237 * benchtests/acosh-inputs: New file.
13238 * benchtests/asin-inputs: New file.
13239 * benchtests/asinh-inputs: New file.
13240 * benchtests/atanh-inputs: New file.
13241 * benchtests/cosh-inputs: New file.
13242 * benchtests/log-inputs: New file.
13243 * benchtests/sinh-inputs: New file.
13244 * benchtests/tanh-inputs: New file.
13246 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13249 * posix/tst-getaddrinfo4.c: New test.
13250 * posix/Makefile (tests): Add it.
13252 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13255 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13256 when no services were used.
13257 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13258 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13260 2013-05-21 Andreas Schwab <schwab@suse.de>
13263 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13264 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13266 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13267 redundant variable declarations and reallocation of buffer when
13268 parsing as IPv6 address. Always set NSS status when called from
13269 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13270 buffer too small. Correct computation of needed size.
13271 * nss/Makefile (tests): Add test-digits-dots.
13272 * nss/test-digits-dots.c: New test.
13274 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13276 * benchtests/Makefile: Remove instructions for adding
13278 * benchtests/README: New file to explain how to execute and
13279 enhance the benchmark tests.
13281 2013-05-21 Andreas Schwab <schwab@suse.de>
13284 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13285 * setjmp/tst-sigsetjmp.c: New test.
13287 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13289 * sysdeps/x86_64/memset.S (memset): New implementation.
13290 (__bzero): Likewise.
13291 (__memset_tail): New function.
13293 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13295 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13296 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13297 __memcpy_sse2_unaligned ifunc selection.
13298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13299 Add memcpy-sse2-unaligned.S.
13300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13301 Add: __memcpy_sse2_unaligned.
13303 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13306 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13307 math_force_eval before restoring floating-point envrionment.
13308 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13309 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13311 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13313 (__nearbyintl): Use math_force_eval before restoring
13314 floating-point environment.
13315 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13317 * math/gen-libm-test.pl (special_functions): Remove.
13318 (parse_args): Don't handle TEST_extra. Handle functions with no
13320 * math/libm-test.inc (struct test_sincos_data): Replace with
13321 struct test_fFF_11_data.
13322 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13323 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13324 (sincos_test_data): Change element type to struct
13325 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13326 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13327 RUN_TEST_LOOP_sincos.
13328 * math/README.libm-test: Don't mention special handling of
13329 individual functions.
13330 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13331 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13332 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13333 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13334 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13337 * math/gen-libm-test.pl (get_variable): Remove function.
13338 (parse_args): Don't show pointer parameters to call in test
13339 names. Use "extra output N" in test names for extra outputs
13340 rather than naming variables.
13342 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13345 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13346 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13347 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13349 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13351 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13354 * math/gen-libm-test.pl (@tests): Remove variable.
13355 ($count): Likewise.
13356 (new_test): Remove function.
13357 (show_exceptions): New function.
13358 (special_functions): Use show_exceptions instead of new_test.
13359 (parse_args): Likewise.
13360 (generate_testfile): Pass only function name in generated call to
13361 print_max_error or print_complex_max_error.
13362 (get_ulps): Do not handle complex tests specially.
13363 (output_test): Rename to ...
13364 (get_all_ulps_for_test): ... this. Return a string rather than
13365 printing to a file. Require ulps to be present.
13366 (output_ulps): Generate arrays rather than #defines.
13367 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13368 (struct ulp_data): New type.
13369 (BUILD_COMPLEX_ULP): Remove macro.
13370 (compare_ulp_data): New function.
13371 (find_ulps): Likewise.
13372 (find_test_ulps): Likewise.
13373 (find_function_ulps): Likewise.
13374 (find_complex_function_ulps): Likewise.
13375 (print_max_error): Determine allowed ulps using
13376 find_function_ulps.
13377 (print_complex_max_error): Determine allowed ulps using
13378 find_complex_function_ulps.
13379 (check_float_internal): Determine max ulps using find_test_ulps.
13380 (check_float): Do not take max_ulp parameter. Update call to
13381 check_float_internal.
13382 (check_complex): Likewise.
13383 (check_int): Do not take max_ulp parameter.
13384 (check_long): Likewise.
13385 (check_bool): Likewise.
13386 (check_longlong): Likewise.
13387 (struct test_f_f_data): Remove max_ulp field.
13388 (struct test_ff_f_data): Likewise.
13389 (struct test_ff_f_data_nexttoward): Likewise.
13390 (struct test_fi_f_data): Likewise.
13391 (struct test_fl_f_data): Likewise.
13392 (struct test_if_f_data): Likewise.
13393 (struct test_fff_f_data): Likewise.
13394 (struct test_c_f_data): Likewise.
13395 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13396 (struct test_fF_f1_data): Likewise.
13397 (struct test_ffI_f1_data): Likewise.
13398 (struct test_c_c_data): Remove max_ulp field.
13399 (struct test_cc_c_data): Likewise.
13400 (struct test_f_i_data): Likewise.
13401 (struct test_ff_i_data): Likewise.
13402 (struct test_f_l_data): Likewise.
13403 (struct test_f_L_data): Likewise.
13404 (struct test_sincos_data): Likewise.
13405 (RUN_TEST_f_f): Do not handle ulps.
13406 (RUN_TEST_LOOP_f_f): Likewise.
13407 (RUN_TEST_2_f): Likewise.
13408 (RUN_TEST_LOOP_2_f): Likewise.
13409 (RUN_TEST_fff_f): Likewise.
13410 (RUN_TEST_LOOP_fff_f): Likewise.
13411 (RUN_TEST_c_f): Likewise.
13412 (RUN_TEST_LOOP_c_f): Likewise.
13413 (RUN_TEST_f_f1): Likewise.
13414 (RUN_TEST_LOOP_f_f1): Likewise.
13415 (RUN_TEST_fF_f1): Likewise.
13416 (RUN_TEST_LOOP_fF_f1): Likewise.
13417 (RUN_TEST_fI_f1): Likewise.
13418 (RUN_TEST_LOOP_fI_f1): Likewise.
13419 (RUN_TEST_ffI_f1): Likewise.
13420 (RUN_TEST_LOOP_ffI_f1): Likewise.
13421 (RUN_TEST_c_c): Likewise.
13422 (RUN_TEST_LOOP_c_c): Likewise.
13423 (RUN_TEST_cc_c): Likewise.
13424 (RUN_TEST_LOOP_cc_c): Likewise.
13425 (RUN_TEST_f_i): Likewise.
13426 (RUN_TEST_LOOP_f_i): Likewise.
13427 (RUN_TEST_f_i_tg): Likewise.
13428 (RUN_TEST_LOOP_f_i_tg): Likewise.
13429 (RUN_TEST_ff_i_tg): Likewise.
13430 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13431 (RUN_TEST_f_b): Likewise.
13432 (RUN_TEST_LOOP_f_b): Likewise.
13433 (RUN_TEST_f_b_tg): Likewise.
13434 (RUN_TEST_LOOP_f_b_tg): Likewise.
13435 (RUN_TEST_f_l): Likewise.
13436 (RUN_TEST_LOOP_f_l): Likewise.
13437 (RUN_TEST_f_L): Likewise.
13438 (RUN_TEST_LOOP_f_L): Likewise.
13439 (RUN_TEST_sincos): Likewise.
13440 (RUN_TEST_LOOP_sincos): Likewise.
13442 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13446 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13447 main case of finite arguments, set rounding mode to FE_TONEAREST
13448 and discard exceptions.
13449 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13451 (remainder_tonearest_test_data): New variable.
13452 (remainder_test_tonearest): New function.
13453 (remainder_towardzero_test_data): New variable.
13454 (remainder_test_towardzero): New function.
13455 (remainder_downward_test_data): New variable.
13456 (remainder_test_downward): New function.
13457 (remainder_upward_test_data): New variable.
13458 (remainder_test_upward): New function.
13459 (main): Call the new test functions.
13461 * math/libm-test.inc (struct test_f_f1_data): Remove field
13463 (struct test_fF_f1_data): Likewise.
13464 (struct test_ffI_f1_data): Likewise.
13465 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13466 based on value of EXTRA_EXPECTED.
13467 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13468 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13469 EXTRA_VAR based on value of EXTRA_EXPECTED.
13470 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13471 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13472 EXTRA_VAR based on value of EXTRA_EXPECTED.
13473 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13474 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13475 EXTRA_VAR based on value of EXTRA_EXPECTED.
13476 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13477 * math/gen-libm-test.pl (parse_args): Don't output initializers
13478 for extra output values.
13480 * math/libm-test.inc (check_int): Expect result to be exactly
13481 equal to expected value and do not handle ulps.
13482 (check_long): Likewise.
13483 (check_longlong): Likewise.
13485 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13487 (cimag_test_data): Likewise.
13488 (conj_test_data): Likewise.
13489 (copysign_test_data): Likewise.
13490 (cproj_test_data): Likewise.
13491 (creal_test_data): Likewise.
13492 (fabs_test_data): Likewise.
13493 (fdim_test_data): Likewise.
13494 (finite_test_data): Likewise.
13495 (floor_test_data): Likewise.
13496 (fmax_test_data): Likewise.
13497 (fmin_test_data): Likewise.
13498 (fmod_test_data): Likewise.
13499 (fpclassify_test_data): Likewise.
13500 (frexp_test_data): Likewise.
13501 (ilogb_test_data): Likewise.
13502 (isfinite_test_data): Likewise.
13503 (isgreater_test_data): Likewise.
13504 (isgreaterequal_test_data): Likewise.
13505 (isinf_test_data): Likewise.
13506 (isless_test_data): Likewise.
13507 (islessequal_test_data): Likewise.
13508 (islessgreater_test_data): Likewise.
13509 (isnan_test_data): Likewise.
13510 (isnormal_test_data): Likewise.
13511 (issignaling_test_data): Likewise.
13512 (isunordered_test_data): Likewise.
13513 (ldexp_test_data): Likewise.
13514 (lrint_test_data): Likewise.
13515 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13516 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13517 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13518 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13519 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13520 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13522 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13523 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13524 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13525 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13527 (lrint_downward_test_data): Test for "inexact" exceptions.
13528 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13529 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13530 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13532 (lrint_upward_test_data): Test for "inexact" exceptions.
13533 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13535 (llrint_test_data): Test for "inexact" exceptions.
13536 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13537 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13538 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13539 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13540 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13541 (llrint_downward_test_data): Test for "inexact" exceptions.
13542 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13543 (llrint_upward_test_data): Test for "inexact" exceptions.
13544 (logb_test_data): Likewise.
13545 (logb_downward_test_data): Likewise.
13546 (nextafter_test_data): Likewise.
13547 (nexttoward_test_data): Likewise.
13548 (remainder_test_data): Likewise.
13549 (remquo_test_data): Likewise.
13550 (scalbn_test_data): Likewise.
13551 (scalbln_test_data): Likewise.
13552 (signbit_test_data): Likewise.
13553 (sqrt_test_data): Likewise.
13554 (significand_test_data): Likewise.
13556 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13559 * benchtests/bench-modf.c (struct args): Mark arg0 as
13561 * scripts/bench.pl: Mark members of struct args as volatile.
13563 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13566 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13567 negative infinity on POWER6 or lower.
13568 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13570 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13573 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13574 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13575 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13576 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13577 (_FP_SETQNAN): New macro.
13578 (_FP_SETQNAN_SEMIRAW): Likewise.
13579 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13580 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13581 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13582 (FP_EXTEND): Use _FP_FRAC_SNANP.
13583 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13584 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13586 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13588 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13591 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13593 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13594 with DIVIDE_BY_ZERO_EXCEPTION.
13595 (gamma_test_data): Likewise.
13596 (lgamma_test_data): Likewise.
13597 (log_test_data): Likewise.
13598 (log10_test_data): Likewise.
13599 (log2_test_data): Likewise.
13600 (tgamma_test_data): Likewise.
13602 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13603 (acos_test_tonearest): Likewise.
13604 (acos_test_towardzero): Likewise.
13605 (acos_test_downward): Likewise.
13606 (acos_test_upward): Likewise.
13607 (acosh_test): Likewise.
13608 (asin_test): Likewise.
13609 (asin_test_tonearest): Likewise.
13610 (asin_test_towardzero): Likewise.
13611 (asin_test_downward): Likewise.
13612 (asin_test_upward): Likewise.
13613 (asinh_test): Likewise.
13614 (atan_test): Likewise.
13615 (atanh_test): Likewise.
13616 (atan2_test): Likewise.
13617 (cabs_test): Likewise.
13618 (cacos_test): Likewise.
13619 (cacosh_test): Likewise.
13620 (casin_test): Likewise.
13621 (casinh_test): Likewise.
13622 (catan_test): Likewise.
13623 (catanh_test): Likewise.
13624 (cbrt_test): Likewise.
13625 (ccos_test): Likewise.
13626 (ccosh_test): Likewise.
13627 (cexp_test): Likewise.
13628 (clog_test): Likewise.
13629 (clog10_test): Likewise.
13630 (cos_test): Likewise.
13631 (cos_test_tonearest): Likewise.
13632 (cos_test_towardzero): Likewise.
13633 (cos_test_downward): Likewise.
13634 (cos_test_upward): Likewise.
13635 (cosh_test): Likewise.
13636 (cosh_test_tonearest): Likewise.
13637 (cosh_test_towardzero): Likewise.
13638 (cosh_test_downward): Likewise.
13639 (cosh_test_upward): Likewise.
13640 (cpow_test): Likewise.
13641 (csin_test): Likewise.
13642 (csinh_test): Likewise.
13643 (csqrt_test): Likewise.
13644 (ctan_test): Likewise.
13645 (ctan_test_tonearest): Likewise.
13646 (ctan_test_towardzero): Likewise.
13647 (ctan_test_downward): Likewise.
13648 (ctan_test_upward): Likewise.
13649 (ctanh_test): Likewise.
13650 (ctanh_test_tonearest): Likewise.
13651 (ctanh_test_towardzero): Likewise.
13652 (ctanh_test_downward): Likewise.
13653 (ctanh_test_upward): Likewise.
13654 (erf_test): Likewise.
13655 (erfc_test): Likewise.
13656 (exp_test): Likewise.
13657 (exp_test_tonearest): Likewise.
13658 (exp_test_towardzero): Likewise.
13659 (exp_test_downward): Likewise.
13660 (exp_test_upward): Likewise.
13661 (exp10_test): Likewise.
13662 (exp2_test): Likewise.
13663 (expm1_test): Likewise.
13664 (fmod_test): Likewise.
13665 (gamma_test): Likewise.
13666 (hypot_test): Likewise.
13667 (j0_test): Likewise.
13668 (j1_test): Likewise.
13669 (jn_test): Likewise.
13670 (lgamma_test): Likewise.
13671 (log_test): Likewise.
13672 (log10_test): Likewise.
13673 (log1p_test): Likewise.
13674 (log2_test): Likewise.
13675 (logb_test_downward): Likewise.
13676 (pow_test): Likewise.
13677 (pow_test_tonearest): Likewise.
13678 (pow_test_towardzero): Likewise.
13679 (pow_test_downward): Likewise.
13680 (pow_test_upward): Likewise.
13681 (remainder_test): Likewise.
13682 (remquo_test): Likewise.
13683 (sin_test): Likewise.
13684 (sin_test_tonearest): Likewise.
13685 (sin_test_towardzero): Likewise.
13686 (sin_test_downward): Likewise.
13687 (sin_test_upward): Likewise.
13688 (sincos_test): Likewise.
13689 (sinh_test): Likewise.
13690 (sinh_test_tonearest): Likewise.
13691 (sinh_test_towardzero): Likewise.
13692 (sinh_test_downward): Likewise.
13693 (sinh_test_upward): Likewise.
13694 (sqrt_test): Likewise.
13695 (tan_test): Likewise.
13696 (tan_test_tonearest): Likewise.
13697 (tan_test_towardzero): Likewise.
13698 (tan_test_downward): Likewise.
13699 (tan_test_upward): Likewise.
13700 (tanh_test): Likewise.
13701 (tgamma_test): Likewise.
13702 (y0_test): Likewise.
13703 (y1_test): Likewise.
13704 (yn_test): Likewise.
13706 * math/gen-libm-test.pl (adjust_arg): Remove function.
13707 (special_function): Remove argument $in_func. Only handle
13708 generating output for tables of tests, not inside functions.
13709 (parse_args): Likewise.
13710 (generate_testfile): Remove variable $in_func. Update call to
13712 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13713 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13714 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13715 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13716 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13717 (MAX_VALUE_INIT): Rename macro to max_value.
13718 (MIN_VALUE_INIT): Rename macro to min_value.
13719 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13720 (plus_zero): Remove variable.
13721 (minus_zero): Likewise.
13722 (plus_infty): Likewise.
13723 (minus_infty): Likewise.
13724 (qnan_value): Likewise.
13725 (max_value): Likewise.
13726 (min_value): Likewise.
13727 (min_subnorm_value): Likewise.
13729 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13731 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13732 uint64_t or uint32_t usage.
13733 * crypt/sha256-block.c: Likewise.
13734 * crypt/sha256-crypt.c: Likewise.
13735 * crypt/sha256.c: Likewise.
13736 * crypt/sha512-block.c: Likewise.
13737 * crypt/sha512-crypt.c: Likewise.
13738 * crypt/sha512.c: Likewise.
13739 * debug/backtrace-tst.c: Likewise.
13740 * debug/pcprofiledump.c: Likewise.
13741 * elf/cache.c: Likewise.
13742 * elf/dl-cache.c: Likewise.
13743 * elf/dl-misc.c: Likewise.
13744 * elf/dl-profile.c: Likewise.
13745 * elf/dl-support.c: Likewise.
13746 * elf/ldconfig.c: Likewise.
13747 * elf/sprof.c: Likewise.
13748 * iconv/dummy-repertoire.c: Likewise.
13749 * iconv/iconv_charmap.c: Likewise.
13750 * iconv/skeleton.c: Likewise.
13751 * iconvdata/8bit-generic.c: Likewise.
13752 * iconvdata/cp737.h: Likewise.
13753 * iconvdata/cp775.h: Likewise.
13754 * iconvdata/ibm1008.h: Likewise.
13755 * iconvdata/ibm1025.h: Likewise.
13756 * iconvdata/ibm1046.h: Likewise.
13757 * iconvdata/ibm1097.h: Likewise.
13758 * iconvdata/ibm1112.h: Likewise.
13759 * iconvdata/ibm1122.h: Likewise.
13760 * iconvdata/ibm1123.h: Likewise.
13761 * iconvdata/ibm1124.h: Likewise.
13762 * iconvdata/ibm1129.h: Likewise.
13763 * iconvdata/ibm1130.h: Likewise.
13764 * iconvdata/ibm1132.h: Likewise.
13765 * iconvdata/ibm1133.h: Likewise.
13766 * iconvdata/ibm1137.h: Likewise.
13767 * iconvdata/ibm1140.h: Likewise.
13768 * iconvdata/ibm1141.h: Likewise.
13769 * iconvdata/ibm1142.h: Likewise.
13770 * iconvdata/ibm1143.h: Likewise.
13771 * iconvdata/ibm1144.h: Likewise.
13772 * iconvdata/ibm1145.h: Likewise.
13773 * iconvdata/ibm1146.h: Likewise.
13774 * iconvdata/ibm1147.h: Likewise.
13775 * iconvdata/ibm1148.h: Likewise.
13776 * iconvdata/ibm1149.h: Likewise.
13777 * iconvdata/ibm1153.h: Likewise.
13778 * iconvdata/ibm1154.h: Likewise.
13779 * iconvdata/ibm1155.h: Likewise.
13780 * iconvdata/ibm1156.h: Likewise.
13781 * iconvdata/ibm1157.h: Likewise.
13782 * iconvdata/ibm1158.h: Likewise.
13783 * iconvdata/ibm1160.h: Likewise.
13784 * iconvdata/ibm1161.h: Likewise.
13785 * iconvdata/ibm1162.h: Likewise.
13786 * iconvdata/ibm1163.h: Likewise.
13787 * iconvdata/ibm1164.h: Likewise.
13788 * iconvdata/ibm1166.h: Likewise.
13789 * iconvdata/ibm1167.h: Likewise.
13790 * iconvdata/ibm12712.h: Likewise.
13791 * iconvdata/ibm1390.h: Likewise.
13792 * iconvdata/ibm1399.h: Likewise.
13793 * iconvdata/ibm16804.h: Likewise.
13794 * iconvdata/ibm4517.h: Likewise.
13795 * iconvdata/ibm4899.h: Likewise.
13796 * iconvdata/ibm4909.h: Likewise.
13797 * iconvdata/ibm4971.h: Likewise.
13798 * iconvdata/ibm5347.h: Likewise.
13799 * iconvdata/ibm803.h: Likewise.
13800 * iconvdata/ibm856.h: Likewise.
13801 * iconvdata/ibm901.h: Likewise.
13802 * iconvdata/ibm902.h: Likewise.
13803 * iconvdata/ibm9030.h: Likewise.
13804 * iconvdata/ibm9066.h: Likewise.
13805 * iconvdata/ibm921.h: Likewise.
13806 * iconvdata/ibm922.h: Likewise.
13807 * iconvdata/ibm9448.h: Likewise.
13808 * iconvdata/isiri-3342.h: Likewise.
13809 * iconvdata/jis0201.h: Likewise.
13810 * include/link.h: Likewise.
13811 * include/netdb.h: Likewise.
13812 * inet/check_native.c: Likewise.
13813 * inet/check_pf.c: Likewise.
13814 * inet/getipv4sourcefilter.c: Likewise.
13815 * inet/getnameinfo.c: Likewise.
13816 * inet/getsourcefilter.c: Likewise.
13817 * inet/htonl.c: Likewise.
13818 * inet/setipv4sourcefilter.c: Likewise.
13819 * inet/setsourcefilter.c: Likewise.
13820 * inet/test-inet6_opt.c: Likewise.
13821 * inet/tst-network.c: Likewise.
13822 * locale/C-collate.c: Likewise.
13823 * locale/C-ctype.c: Likewise.
13824 * locale/C-time.c: Likewise.
13825 * locale/C-translit.h: Likewise.
13826 * locale/loadarchive.c: Likewise.
13827 * locale/programs/3level.h: Likewise.
13828 * locale/programs/charmap.c: Likewise.
13829 * locale/programs/charmap.h: Likewise.
13830 * locale/programs/ld-address.c: Likewise.
13831 * locale/programs/ld-collate.c: Likewise.
13832 * locale/programs/ld-ctype.c: Likewise.
13833 * locale/programs/ld-identification.c: Likewise.
13834 * locale/programs/ld-measurement.c: Likewise.
13835 * locale/programs/ld-messages.c: Likewise.
13836 * locale/programs/ld-monetary.c: Likewise.
13837 * locale/programs/ld-name.c: Likewise.
13838 * locale/programs/ld-numeric.c: Likewise.
13839 * locale/programs/ld-paper.c: Likewise.
13840 * locale/programs/ld-telephone.c: Likewise.
13841 * locale/programs/ld-time.c: Likewise.
13842 * locale/programs/linereader.c: Likewise.
13843 * locale/programs/locale.c: Likewise.
13844 * locale/programs/locarchive.c: Likewise.
13845 * locale/programs/locfile.h: Likewise.
13846 * locale/programs/repertoire.c: Likewise.
13847 * locale/programs/simple-hash.c: Likewise.
13848 * locale/programs/simple-hash.h: Likewise.
13849 * malloc/memusage.c: Likewise.
13850 * malloc/memusagestat.c: Likewise.
13851 * nis/nis_defaults.c: Likewise.
13852 * nis/nis_hash.c: Likewise.
13853 * nis/nis_print.c: Likewise.
13854 * nis/nis_xdr.c: Likewise.
13855 * nscd/connections.c: Likewise.
13856 * nscd/hstcache.c: Likewise.
13857 * nscd/nscd_gethst_r.c: Likewise.
13858 * nscd/nscd_getserv_r.c: Likewise.
13859 * nscd/nscd_helper.c: Likewise.
13860 * nscd/servicescache.c: Likewise.
13861 * nss/makedb.c: Likewise.
13862 * nss/nss_db/db-XXX.c: Likewise.
13863 * nss/nss_db/db-initgroups.c: Likewise.
13864 * nss/nss_db/db-netgrp.c: Likewise.
13865 * nss/nss_files/files-network.c: Likewise.
13866 * nss/nss_files/files-parse.c: Likewise.
13867 * posix/bug-regex5.c: Likewise.
13868 * posix/fnmatch_loop.c: Likewise.
13869 * posix/regcomp.c: Likewise.
13870 * posix/regexec.c: Likewise.
13871 * posix/tst-rfc3484-2.c: Likewise.
13872 * posix/tst-rfc3484-3.c: Likewise.
13873 * posix/tst-rfc3484.c: Likewise.
13874 * resolv/nss_dns/dns-canon.c: Likewise.
13875 * resolv/nss_dns/dns-network.c: Likewise.
13876 * resolv/res_init.c: Likewise.
13877 * resolv/res_mkquery.c: Likewise.
13878 * resolv/tst-aton.c: Likewise.
13879 * stdlib/cxa_atexit.c: Likewise.
13880 * stdlib/cxa_finalize.c: Likewise.
13881 * stdlib/gen-fpioconst.c: Likewise.
13882 * stdlib/strtol_l.c: Likewise.
13883 * string/tst-endian.c: Likewise.
13884 * sunrpc/auth_des.c: Likewise.
13885 * sunrpc/clnt_udp.c: Likewise.
13886 * sunrpc/rtime.c: Likewise.
13887 * sunrpc/svcauth_des.c: Likewise.
13888 * sunrpc/xdr.c: Likewise.
13889 * sunrpc/xdr_intXX_t.c: Likewise.
13890 * sunrpc/xdr_rec.c: Likewise.
13891 * sysdeps/generic/ldconfig.h: Likewise.
13892 * sysdeps/generic/ldsodefs.h: Likewise.
13893 * sysdeps/generic/memusage.h: Likewise.
13894 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13895 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13896 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13897 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13898 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13899 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13900 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13901 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13902 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13903 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13904 * sysdeps/posix/getaddrinfo.c: Likewise.
13905 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13906 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13907 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13908 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13909 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13910 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13911 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13912 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13913 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13914 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13915 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13916 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13917 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13918 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13919 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13920 * sysdeps/x86_64/dl-tls.h: Likewise.
13921 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13922 * time/alt_digit.c: Likewise.
13923 * time/era.c: Likewise.
13924 * wcsmbs/tst-c16c32-1.c: Likewise.
13926 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13928 * math/libm-test.inc (struct test_sincos_data): New type.
13929 (RUN_TEST_LOOP_sincos): New macro.
13930 (sincos_test_data): New variable.
13931 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13933 2013-05-16 Richard Henderson <rth@redhat.com>
13935 * math/atest-exp2.c (LIMB64): New macro.
13936 (CONSTSZ): New macro.
13937 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13939 (print_mpn_fp): ... to function scope.
13940 (read_mpn_hex): Remove.
13941 (get_log2): Remove.
13942 (exp2_mpn): Use mp_log2.
13943 (main): Use mp_exp1.
13945 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13947 * math/libm-test.inc: Remove comment about not testing "inexact"
13949 (INEXACT_EXCEPTION): New macro.
13950 (NO_INEXACT_EXCEPTION): Likewise.
13951 (INVALID_EXCEPTION_OK): Update value.
13952 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13953 (OVERFLOW_EXCEPTION_OK): Likewise.
13954 (UNDERFLOW_EXCEPTION_OK): Likewise.
13955 (IGNORE_ZERO_INF_SIGN): Likewise.
13956 (ERRNO_UNCHANGED): Likewise.
13957 (ERRNO_EDOM): Likewise.
13958 (ERRNO_ERANGE): Likewise.
13959 (test_exceptions): Handle testing "inexact" exceptions.
13960 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13961 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13962 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13963 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13965 (rint_towardzero_test_data): Likewise.
13966 (rint_downward_test_data): Likewise.
13967 (rint_upward_test_data): Likewise.
13969 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13970 with OVERFLOW_EXCEPTION.
13971 (exp10_test_data): Likewise.
13972 (exp2_test_data): Likewise.
13973 (expm1_test_data): Likewise.
13974 (lgamma_test_data): Likewise.
13975 (pow_test_data): Likewise.
13976 (tgamma_test_data): Likewise.
13977 (yn_test_data): Remove duplicate test of overflow.
13979 * math/libm-test.inc (struct test_cc_c_data): New type.
13980 (RUN_TEST_LOOP_cc_c): New macro.
13981 (cpow_test_data): New variable.
13982 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13984 * math/libm-test.inc (struct test_f_L_data): New type.
13985 (RUN_TEST_LOOP_f_L): New macro.
13986 (llrint_test_data): New variable.
13987 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13988 (llrint_tonearest_test_data): New variable.
13989 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13990 (llrint_towardzero_test_data): New variable.
13991 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13992 (llrint_downward_test_data): New variable.
13993 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13994 (llrint_upward_test_data): New variable.
13995 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13996 (llround_test_data): New variable.
13997 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13999 2013-05-13 Peter Collingbourne <pcc@google.com>
14001 * math/atest-exp2.c (get_log2): Remove const attribute.
14003 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14005 * math/libm-test.inc (struct test_f_l_data): New type.
14006 (RUN_TEST_LOOP_f_l): New macro.
14007 (lrint_test_data): New variable.
14008 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14009 (lrint_tonearest_test_data): New variable.
14010 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14011 (lrint_towardzero_test_data): New variable.
14012 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14013 (lrint_downward_test_data): New variable.
14014 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14015 (lrint_upward_test_data): New variable.
14016 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14017 (lround_test_data): New variable.
14018 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14020 2013-05-15 Peter Collingbourne <pcc@google.com>
14022 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14023 (EXTRACT_WORDS64) Use where appropriate.
14024 (INSERT_WORDS64) Likewise.
14026 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14027 constraints with x constraints.
14028 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14030 * malloc/obstack.c (_obstack_compat): Add initializer.
14032 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14034 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14035 si_trapno and add si_addr_lsb to _sifields.sigfault.
14036 (si_trapno): Remove macro.
14037 (si_addr_lsb): Define new macro.
14038 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14040 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14042 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14043 instead of TEST_f_l.
14044 (llrint_test_tonearest): Likewise.
14045 (llrint_test_towardzero): Likewise.
14046 (llrint_test_downward): Likewise.
14047 (llrint_test_upward): Likewise.
14048 (llround_test): Likewise.
14050 * math/libm-test.inc (struct test_f_i_data): Add comment.
14051 (RUN_TEST_LOOP_f_b): New macro.
14052 (RUN_TEST_LOOP_f_b_tg): Likewise.
14053 (finite_test_data): New variable.
14054 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14055 (isfinite_test_data): New variable.
14056 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14057 (isinf_test_data): New variable.
14058 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14059 (isnan_test_data): New variable.
14060 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14061 (isnormal_test_data): New variable.
14062 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14063 (issignaling_test_data): New variable.
14064 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14065 (signbit_test_data): New variable.
14066 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14068 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14069 with INVALID_EXCEPTION.
14070 (acosh_test_data): Likewise.
14071 (asin_test_data): Likewise.
14072 (atanh_test_data): Likewise.
14073 (fmod_test_data): Likewise.
14074 (log_test_data): Likewise.
14075 (log10_test_data): Likewise.
14076 (log2_test_data): Likewise.
14077 (pow_test_data): Likewise.
14078 (sqrt_test_data): Likewise.
14079 (y0_test_data): Likewise.
14080 (y1_test_data): Likewise.
14081 (yn_test_data): Likewise.
14083 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14086 * math/libm-test.inc (struct test_ff_i_data): New type.
14087 (RUN_TEST_LOOP_ff_i_tg): New macro.
14088 (isgreater_test_data): New variable.
14089 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14090 (isgreaterequal_test_data): New variable.
14091 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14092 (isless_test_data): New variable.
14093 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14094 (islessequal_test_data): New variable.
14095 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14096 (islessgreater_test_data): New variable.
14097 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14098 (isunordered_test_data): New variable.
14099 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14101 2013-05-14 David S. Miller <davem@davemloft.net>
14103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14105 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14107 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14109 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14111 (struct test_f_i_data): Change type of max_ulp to int.
14113 * math/libm-test.inc (test_ffI_f1_data): New type.
14114 (RUN_TEST_LOOP_ffI_f1): New macro.
14115 (remquo_test_data): New variable.
14116 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14118 * setjmp/tst-setjmp-fp.c: New file.
14119 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14120 (link-libm): New variable.
14121 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14123 * math/libm-test.inc (struct test_f_i_data): New type.
14124 (RUN_TEST_LOOP_f_i): New macro.
14125 (RUN_TEST_LOOP_f_i_tg): Likewise.
14126 (fpclassify_test_data): New variable.
14127 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14128 (ilogb_test_data): New variable.
14129 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14131 * math/libm-test.inc (scalbln_test): Correct function name in END
14134 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14135 (RUN_TEST_LOOP_fI_f1): New macro.
14136 (frexp_test_data): New variable.
14137 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14139 * math/libm-test.inc (struct test_fF_f1_data): New type.
14140 (RUN_TEST_LOOP_fF_f1): New macro.
14141 (modf_test_data): New variable.
14142 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14144 * math/libm-test.inc (struct test_f_f1_data): New type.
14145 (RUN_TEST_LOOP_f_f1): New macro.
14146 (gamma_test_data): New variable.
14147 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14148 (lgamma_test_data): New variable.
14149 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14151 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14153 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14154 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14155 (main): Comment "tls" pseudo-hwcap.
14157 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14159 * math/libm-test.inc (struct test_fl_f_data): New type.
14160 (RUN_TEST_LOOP_fl_f): New variable.
14161 (scalbln_test_data): New variable.
14162 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14164 * math/libm-test.inc (struct test_fi_f_data): New type.
14165 (RUN_TEST_LOOP_fi_f): New macro.
14166 (ldexp_test_data): New variable.
14167 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14168 (scalbn_test_data): New variable.
14169 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14171 * math/libm-test.inc (struct test_c_f_data): New type.
14172 (RUN_TEST_LOOP_c_f): New macro.
14173 (cabs_test_data): New variable.
14174 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14175 (carg_test_data): New variable.
14176 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14177 (cimag_test_data): New variable.
14178 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14179 (creal_test_data): New variable.
14180 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14182 * math/libm-test.inc (struct test_if_f_data): New type.
14183 (RUN_TEST_LOOP_if_f): New macro.
14184 (jn_test_data): New variable.
14185 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14186 (yn_test_data): New variable.
14187 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14189 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14191 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14193 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14194 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14196 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14198 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14199 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14200 (bench-deps): Add bench-timing.h.
14201 * benchtests-bench-skeleton.c: Include bench-timing.h.
14202 (main): Use TIMING_* macros instead of clock_gettime.
14203 * benchtests/bench-timing.h: New file.
14206 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14207 Renamed from _LIB_VERSION.
14208 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14210 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14212 * math/libm-test.inc (struct test_fff_f_data): New type.
14213 (RUN_TEST_LOOP_fff_f): New macro.
14214 (fma_test_data): New variable.
14215 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14216 (fma_towardzero_test_data): New variable.
14217 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14218 (fma_downward_test_data): New variable.
14219 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14220 (fma_upward_test_data): New variable.
14221 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14223 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14224 (struct test_c_c_data): New type.
14225 (RUN_TEST_LOOP_c_c): New macro.
14226 (cacos_test_data): New variable.
14227 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14228 (cacosh_test_data): New variable.
14229 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14230 (casin_test_data): New variable.
14231 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14232 (casinh_test_data): New variable.
14233 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14234 (catan_test_data): New variable.
14235 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14236 (catanh_test_data): New variable.
14237 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14238 (ccos_test_data): New variable.
14239 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14240 (ccosh_test_data): New variable.
14241 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14242 (cexp_test_data): New variable.
14243 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14244 (clog_test_data): New variable.
14245 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14246 (clog10_test_data): New variable.
14247 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14248 (conj_test_data): New variable.
14249 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14250 (cproj_test_data): New variable.
14251 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14252 (csin_test_data): New variable.
14253 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14254 (csinh_test_data): New variable.
14255 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14256 (csqrt_test_data): New variable.
14257 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14258 (ctan_test_data): New variable.
14259 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14260 (ctan_tonearest_test_data): New variable.
14261 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14262 (ctan_towardzero_test_data): New variable.
14263 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14264 (ctan_downward_test_data): New variable.
14265 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14266 (ctan_upward_test_data): New variable.
14267 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14268 (ctanh_test_data): New variable.
14269 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14270 (ctanh_tonearest_test_data): New variable.
14271 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14272 (ctanh_towardzero_test_data): New variable.
14273 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14274 (ctanh_downward_test_data): New variable.
14275 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14276 (ctanh_upward_test_data): New variable.
14277 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14278 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14281 * math/libm-test.inc (struct test_ff_f_data): New type.
14282 (struct test_ff_f_data_nexttoward): Likewise.
14283 (RUN_TEST_LOOP_2_f): New macro.
14284 (RUN_TEST_LOOP_ff_f): Likewise.
14285 (atan2_test_data): New variable.
14286 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14287 (copysign_test_data): New variable.
14288 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14289 (fdim_test_data): New variable.
14290 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14291 (fmax_test_data): New variable.
14292 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14293 (fmin_test_data): New variable.
14294 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14295 (fmod_test_data): New variable.
14296 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14297 (hypot_test_data): New variable.
14298 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14299 (nextafter_test_data): New variable.
14300 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14301 (nexttoward_test_data): New variable.
14302 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14303 (pow_test_data): New variable.
14304 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14305 (pow_tonearest_test_data): New variable.
14306 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14307 (pow_towardzero_test_data): New variable.
14308 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14309 (pow_downward_test_data): New variable.
14310 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14311 (pow_upward_test_data): New variable.
14312 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14313 (remainder_test_data): New variable.
14314 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14315 (scalb_test_data): New variable.
14316 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14317 * sysdeps/i386/fpu/libm-test-ulps: Update.
14319 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14321 * math/libm-test.inc (fma_test): Use max_value instead of local
14323 (nextafter_test): Likewise.
14325 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14326 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14327 (acos_downward_test_data): New variable.
14328 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14329 (acos_upward_test_data): New variable.
14330 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14331 (acosh_test_data): New variable.
14332 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14333 (asin_test_data): New variable.
14334 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14335 (asin_tonearest_test_data): New variable.
14336 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14337 (asin_towardzero_test_data): New variable.
14338 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14339 (asin_downward_test_data): New variable.
14340 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14341 (asin_upward_test_data): New variable.
14342 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14343 (asinh_test_data): New variable.
14344 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14345 (atan_test_data): New variable.
14346 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14347 (atanh_test_data): New variable.
14348 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14349 (cbrt_test_data): New variable.
14350 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14351 (ceil_test_data): New variable.
14352 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14353 (cos_test_data): New variable.
14354 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14355 (cos_tonearest_test_data): New variable.
14356 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14357 (cos_towardzero_test_data): New variable.
14358 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14359 (cos_downward_test_data): New variable.
14360 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14361 (cos_upward_test_data): New variable.
14362 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14363 (cosh_test_data): New variable.
14364 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14365 (cosh_tonearest_test_data): New variable.
14366 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14367 (cosh_towardzero_test_data): New variable.
14368 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14369 (cosh_downward_test_data): New variable.
14370 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14371 (cosh_upward_test_data): New variable.
14372 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14373 (erf_test_data): New variable.
14374 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14375 (erfc_test_data): New variable.
14376 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14377 (exp_test_data): New variable.
14378 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14379 (exp_tonearest_test_data): New variable.
14380 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14381 (exp_towardzero_test_data): New variable.
14382 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14383 (exp_downward_test_data): New variable.
14384 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14385 (exp_upward_test_data): New variable.
14386 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14387 (exp10_test_data): New variable.
14388 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14389 (exp2_test_data): New variable.
14390 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14391 (expm1_test_data): New variable.
14392 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14393 (fabs_test_data): New variable.
14394 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14395 (floor_test_data): New variable.
14396 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14397 (j0_test_data): New variable.
14398 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14399 (j1_test_data): New variable.
14400 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14401 (log_test_data): New variable.
14402 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14403 (log10_test_data): New variable.
14404 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14405 (log1p_test_data): New variable.
14406 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14407 (log2_test_data): New variable.
14408 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14409 (logb_test_data): New variable.
14410 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14411 (logb_downward_test_data): New variable.
14412 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14413 (nearbyint_test_data): New variable.
14414 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14415 (rint_test_data): New variable.
14416 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14417 (rint_tonearest_test_data): New variable.
14418 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14419 (rint_towardzero_test_data): New variable.
14420 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14421 (rint_downward_test_data): New variable.
14422 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14423 (rint_upward_test_data): New variable.
14424 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14425 (round_test_data): New variable.
14426 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14427 (sin_test_data): New variable.
14428 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14429 (sin_tonearest_test_data): New variable.
14430 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14431 (sin_towardzero_test_data): New variable.
14432 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14433 (sin_downward_test_data): New variable.
14434 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14435 (sin_upward_test_data): New variable.
14436 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14437 (sinh_test_data): New variable.
14438 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14439 (sinh_tonearest_test_data): New variable.
14440 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14441 (sinh_towardzero_test_data): New variable.
14442 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14443 (sinh_downward_test_data): New variable.
14444 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14445 (sinh_upward_test_data): New variable.
14446 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14447 (sqrt_test_data): New variable.
14448 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14449 (tan_test_data): New variable.
14450 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14451 (tan_tonearest_test_data): New variable.
14452 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14453 (tan_towardzero_test_data): New variable.
14454 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14455 (tan_downward_test_data): New variable.
14456 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14457 (tan_upward_test_data): New variable.
14458 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14459 (tanh_test_data): New variable.
14460 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14461 (tgamma_test_data): New variable.
14462 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14463 (trunc_test_data): New variable.
14464 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14465 (y0_test_data): New variable.
14466 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14467 (y1_test_data): New variable.
14468 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14469 (significand_test_data): New variable.
14470 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14472 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14475 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14477 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14479 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14481 2013-05-10 Andreas Jaeger <aj@suse.de>
14484 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14485 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14487 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14489 * math/gen-libm-test.pl (adjust_arg): New function.
14490 (special_functions): Handle generating output in both functions
14492 (parse_args): Likewise.
14493 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14494 $in_func argument to parse_args.
14495 * math/libm-test.inc (struct test_f_f_data): New type.
14496 (IF_ROUND_INIT_): New macro.
14497 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14498 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14499 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14500 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14501 (ROUND_RESTORE_): Likewise.
14502 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14503 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14504 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14505 (ROUND_RESTORE_FE_UPWARD): Likewise.
14506 (RUN_TEST_LOOP_f_f): New macro.
14507 (acos_test_data): New variable.
14508 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14509 (acos_tonearest_test_data): New variable.
14510 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14512 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14514 * benchtests/bench-skeleton.c (startup): Fix coding style.
14516 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14519 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14520 negative infinity argument.
14521 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14522 negative infinity argument.
14523 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14524 negative infinity argument.
14525 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14528 2013-05-10 Florian Weimer <fweimer@redhat.com>
14530 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14531 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14532 * iconv/iconv_prog.c (main): Likewise.
14533 * locale/programs/charmap-dir.c (charmap_readdir)
14534 (fopen_uncompressed): Likewise.
14535 * locale/programs/locfile.c (siblings_uncached)
14536 (write_locale_data): Use lstat64 instead of lstat.
14537 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14540 2013-05-10 Andreas Jaeger <aj@suse.de>
14543 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14545 Include <locale.h>.
14547 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14549 * elf/dl-close.c (_dl_close_worker): Add comments.
14551 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14554 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14556 (__ieee754_rem_pio2l): Update comments.
14559 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14561 (__ieee754_rem_pio2l): Update comments.
14563 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14564 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14566 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14569 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14570 (M_PI_34_LOG10El): Likewise.
14571 (M_PI2_LOG10El): Likewise.
14572 (M_PI4_LOG10El): Likewise.
14573 (M_PI_LOG10El): Likewise.
14575 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14579 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14581 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14582 (MINUS_ZERO_INIT): Likewise.
14583 (PLUS_INFTY_INIT): Likewise.
14584 (MINUS_INFTY_INIT): Likewise.
14585 (QNAN_VALUE_INIT): Likewise.
14586 (MAX_VALUE_INIT): Likewise.
14587 (MIN_VALUE_INIT): Likewise.
14588 (MIN_SUBNORM_VALUE_INIT): Likewise.
14589 (plus_zero): Initialize with PLUS_ZERO_INIT.
14590 (minus_zero): Initialize with MINUS_ZERO_INIT.
14591 (plus_infty): Initialize with PLUS_INFTY_INIT.
14592 (minus_infty): Initialize with MINUS_INFTY_INIT.
14593 (qnan_value): Initialize with QNAN_VALUE_INIT.
14594 (max_value): Initialize with MAX_VALUE_INIT.
14595 (min_value): Initialize with MIN_VALUE_INIT.
14596 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14598 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14599 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14600 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14601 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14603 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14604 (RUN_TEST_2_f): Likewise.
14605 (RUN_TEST_ff_f): Likewise.
14606 (RUN_TEST_fi_f): Likewise.
14607 (RUN_TEST_fl_f): Likewise.
14608 (RUN_TEST_fff_f): Likewise.
14609 (RUN_TEST_c_f): Likewise.
14610 (RUN_TEST_f_f1): Likewise.
14611 (RUN_TEST_fF_f1): Likewise.
14612 (RUN_TEST_fI_f1): Likewise.
14613 (RUN_TEST_ffI_f1): Likewise.
14614 (RUN_TEST_c_c): Likewise.
14615 (RUN_TEST_cc_c): Likewise.
14616 (RUN_TEST_f_i): Likewise.
14617 (RUN_TEST_f_i_tg): Likewise.
14618 (RUN_TEST_ff_i_tg): Likewise.
14619 (RUN_TEST_f_b): Likewise.
14620 (RUN_TEST_f_b_tg): Likewise.
14621 (RUN_TEST_f_l): Likewise.
14622 (RUN_TEST_f_L): Likewise.
14623 (RUN_TEST_sincos): Likewise.
14624 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14625 whether to show exceptions. Do not include ");\n" in return
14627 (special_functions): Output call to RUN_TEST_sincos instead of
14628 check_float calls. Update calls to new_test.
14629 (parse_args): Output call to single RUN_TEST_* macro instead of
14630 check_* calls and other assignments. Update calls to new_test.
14636 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14637 input to result for tgamma overflow.
14638 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14639 (gamma_coeff): New variable.
14640 (NCOEFF): New macro.
14641 (gamma_positive): New function.
14642 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14643 underflow here. Use gamma_positive instead of exp (lgamma) for
14645 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14646 (gamma_coeff): New variable.
14647 (NCOEFF): New macro.
14648 (gammaf_positive): New function.
14649 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14650 underflow here. Use gamma_positive instead of exp (lgamma) for
14652 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14653 (gamma_coeff): New variable.
14654 (NCOEFF): New macro.
14655 (gammal_positive): New function.
14656 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14657 underflow here. Use gamma_positive instead of exp (lgamma) for
14659 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14660 (gamma_coeff): New variable.
14661 (NCOEFF): New macro.
14662 (gammal_positive): New function.
14663 (__ieee754_gammal_r): Handle positive infinity, overflow and
14664 underflow here. Handle NaN the same as positive infinity. Remove
14665 check x < 0xffffffff for negative integers. Use gamma_positive
14666 instead of exp (lgamma) for other arguments.
14667 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14668 (gamma_coeff): New variable.
14669 (NCOEFF): New macro.
14670 (gammal_positive): New function.
14671 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14672 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14673 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14674 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14675 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14676 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14677 * sysdeps/generic/math_private.h (__gamma_productf): New
14679 (__gamma_product): Likewise.
14680 (__gamma_productl): Likewise.
14681 * math/Makefile (libm-calls): Add gamma_product.
14682 * math/libm-test.inc (tgamma_test): Add more tests.
14683 * sysdeps/i386/fpu/libm-test-ulps: Update.
14684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14686 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14688 * benchtests/bench-skeleton.c (main): Preheat CPU.
14690 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14692 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14694 2013-05-07 Roland McGrath <roland@hack.frob.com>
14696 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14697 and _dl_skip_args_internal.
14699 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14701 * manual/message.texi (Message Translation): Talk about users.
14702 Message to key mapping impacts design.
14704 2013-05-06 Roland McGrath <roland@hack.frob.com>
14706 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14708 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14710 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14711 * sysdeps/wordsize-64/glob64.c: ... here.
14713 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14714 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14717 * debug/getlogin_r_chk.c: Moved to ...
14718 * login/getlogin_r_chk.c: ... here.
14719 * debug/Makefile (routines): Move getlogin_r_chk to ...
14720 * login/Makefile (routines): ... here.
14721 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14722 * login/Versions (libc: GLIBC_2.4): ... here.
14724 * io/poll.c (__poll): Renamed from poll.
14725 Add libc_hidden_def.
14726 (poll): Define as weak alias.
14728 * debug/ptsname_r_chk.c: Moved to ...
14729 * login/ptsname_r_chk.c: ... here.
14730 * debug/Makefile (routines): Move ptsname_r_chk to ...
14731 * login/Makefile (routines): ... here.
14732 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14733 * login/Versions (libc: GLIBC_2.4): ... here.
14735 * posix/getlogin.c: Moved to ...
14736 * login/getlogin.c: ... here.
14737 * posix/getlogin_r.c: Moved to ...
14738 * login/getlogin_r.c: ... here.
14739 * posix/getlogin_r.c: Moved to ...
14740 * login/getlogin_r.c: ... here.
14741 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14742 * login/Makefile (routines): ... here.
14743 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14744 * login/Versions (libc: GLIBC_2.0): ... here.
14746 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14747 (setrlimit): Define as weak alias.
14749 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14750 Call __ names for open, ftruncate, and close.
14751 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14752 (truncate): Define as weak alias.
14754 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14756 * math/gen-libm-test.pl (parse_args): Initialize x before each
14757 test of frexp, modf and remquo.
14759 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14760 test signgam value.
14762 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14766 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14768 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14770 2013-05-06 Roland McGrath <roland@hack.frob.com>
14772 * elf/dl-writev.h: New file.
14773 * elf/dl-misc.c: Include it.
14774 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14775 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14777 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14779 * math/libm-test.inc (noXFails): Remove variable.
14780 (noXPasses): Likewise.
14781 (BUILD_COMPLEX_INT): Remove macro.
14782 (print_screen): Remove xfail argument.
14783 (print_screen_max_error): Likewise.
14784 (update_stats): Likewise.
14785 (print_max_error): Likewise. Update calls to other affected
14787 (print_complex_max_error): Likewise.
14788 (test_single_exception): Update calls to print_screen.
14789 (test_single_errno): Likewise.
14790 (check_float_internal): Remove xfail argument. Update calls to
14791 other affected functions.
14792 (check_float): Likewise.
14793 (check_complex): Likewise.
14794 (check_int): Likewise.
14795 (check_long): Likewise.
14796 (check_bool): Likewise.
14797 (check_longlong): Likewise.
14798 (main): Don't print noXFails and noXPasses.
14799 * math/gen-libm-test.pl (top level): Don't mention expected
14800 failure handling in comment.
14801 (new_test): Don't handle expected failures.
14802 (parse_args): Don't mention expected failure handling in comment.
14803 (generate_testfile): Don't handle expected failures.
14804 (parse_ulps): Likewise.
14805 (print_ulps_file): Likewise.
14806 (get_failure): Remove function.
14807 (output_test): Don't handle expected failures.
14808 * make/README.libm-test: Don't mention expected failure handling.
14810 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14811 (minus_zero): Likewise.
14812 (plus_infty): Likewise.
14813 (minus_infty): Likewise.
14814 (qnan_value): Likewise.
14815 (max_value): Likewise.
14816 (min_value): Likewise.
14817 (min_subnorm_value): Likewise.
14818 (initialize): Do not initialize those variables dynamically.
14820 2013-05-03 Roland McGrath <roland@hack.frob.com>
14822 * io/open.c (__open_2): Moved to ...
14823 * io/open_2.c: ... this new file.
14824 * io/open64.c (__open64_2): Moved to ...
14825 * io/open64_2.c: ... this new file.
14826 * io/openat.c (__openat_2): Moved to ...
14827 * io/openat_2.c: ... this new file.
14828 * io/openat64.c (__openat64_2): Moved to ...
14829 * io/openat64_2.c: ... this new file.
14830 * io/Makefile (routines): Add them.
14831 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14832 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14833 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14834 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14835 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14836 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14837 (__openat64): Add hidden_ver.
14838 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14839 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14841 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14842 Separately conditionalize setting of GLRO(dl_sysinfo) so
14843 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14844 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14846 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14848 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14849 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14851 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14852 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14853 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14854 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14855 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14857 2013-05-03 Joseph Myers <joseph@codesourcery.com>
14859 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14860 test signgam value.
14862 * math/libm-test.inc (hypot_test): Do not use
14863 IGNORE_ZERO_INF_SIGN.
14865 2013-05-03 Andreas Jaeger <aj@suse.de>
14867 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14869 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14870 (PF_MAX): Adjust for VSOCK change.
14872 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14876 2013-05-02 Carlos O'Donell <carlos@redhat.com>
14879 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14880 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14881 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14883 2013-05-02 David S. Miller <davem@davemloft.net>
14885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14887 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
14889 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14891 2013-05-01 Roland McGrath <roland@hack.frob.com>
14893 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14895 2013-05-01 Richard Smith <richard@metafoo.co.uk>
14898 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14899 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14900 Use __attribute__ ((__gnu_inline__)).
14901 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14902 Don't use __attribute__ ((__gnu_inline__)).
14904 2013-05-01 Joseph Myers <joseph@codesourcery.com>
14907 * math/s_catan.c (__catan): Handle small real or imaginary part of
14908 input specially to avoid spurious underflow.
14909 * math/s_catanf.c (__catanf): Likewise.
14910 * math/s_catanh.c (__catanh): Likewise.
14911 * math/s_catanhf.c (__catanhf): Likewise.
14912 * math/s_catanhl.c (__catanhl): Likewise.
14913 * math/s_catanl.c (__catanl): Likewise.
14914 * math/libm-test.inc (catan_test): Add more tests.
14915 (catanh_test): Likewise.
14916 * sysdeps/i386/fpu/libm-test-ulps: Update.
14917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14919 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14923 2013-04-30 Joseph Myers <joseph@codesourcery.com>
14926 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14927 accurately for denominator in atan2.
14928 * math/s_catanf.c (__catanf): Likewise.
14929 * math/s_catanh.c (__catanh): Likewise.
14930 * math/s_catanhf.c (__catanhf): Likewise.
14931 * math/s_catanhl.c (__catanhl): Likewise.
14932 * math/s_catanl.c (__catanl): Likewise.
14933 * math/libm-test.inc (catan_test): Add more tests.
14934 (catanh_test): Likewise.
14935 * sysdeps/i386/fpu/libm-test-ulps: Update.
14936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14938 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14940 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14942 * benchtests/Makefile (bench): Remove slow benchmarks.
14943 * benchtests/atan-inputs: Add slow benchmark inputs.
14944 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14945 (BENCH_FUNC): Accept variant offset.
14947 * benchtests/bench-skeleton.c (main): Run benchmark for each
14949 * benchtests/cos-inputs: Add slow benchmark inputs.
14950 * benchtests/exp-inputs: Likewise.
14951 * benchtests/pow-inputs: Likewise.
14952 * benchtests/sin-inputs: Likewise.
14953 * benchtests/slowatan-inputs: Remove.
14954 * benchtests/slowatan.c: Remove.
14955 * benchtests/slowcos-inputs: Remove.
14956 * benchtests/slowcos.c: Remove.
14957 * benchtests/slowexp-inputs: Remove.
14958 * benchtests/slowexp.c: Remove.
14959 * benchtests/slowpow-inputs: Remove.
14960 * benchtests/slowpow.c: Remove.
14961 * benchtests/slowsin-inputs: Remove.
14962 * benchtests/slowsin.c: Remove.
14963 * benchtests/slowtan-inputs: Remove.
14964 * benchtests/slowtan.c: Remove.
14965 * benchtests/tan-inputs: Add slow benchmark inputs.
14966 * scripts/bench.pl: Parse comments and directives.
14968 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14970 ($(objpfx)bench-%.c): Remove *-ITER.
14971 * benchtests/bench-modf.c: Remove definition of ITER.
14972 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14973 (main): Loop for DURATION seconds instead of fixed number of
14975 * scripts/bench.pl: Don't expect iterations in parameters.
14977 2013-04-29 Roland McGrath <roland@hack.frob.com>
14979 * io/fchdir.c (__fchdir): Renamed from fchdir.
14980 (fchdir): Define as weak alias.
14982 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14984 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14985 (ERRNO_EDOM): Likewise.
14986 (ERRNO_ERANGE): Likewise.
14987 (noErrnoTests): New variable.
14988 (init_max_error): Set errno to 0.
14989 (test_single_errno): New function.
14990 (test_errno): Likewise.
14991 (check_float_internal): Call test_errno. Set errno to 0.
14992 (check_complex): Refer to errno tests in comment.
14993 (check_int): Call test_errno. Set errno to 0.
14994 (check_long): Likewise.
14995 (check_bool): Likewise.
14996 (check_longlong): Likewise.
14997 (cos_test): Use ERRNO_* flags for errno tests instead of
14999 (expm1_test): Likewise.
15000 (fmod_test): Likewise.
15001 (ilogb_test): Likewise.
15002 (lgamma_test): Likewise.
15003 (pow_test): Likewise.
15004 (remainder_test): Likewise.
15005 (sin_test): Likewise.
15006 (tan_test): Likewise.
15007 (yn_test): Likewise.
15008 (initialize): Set errno to 0.
15009 (main): Print number of errno tests.
15010 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15012 2013-04-29 Andreas Jaeger <aj@suse.de>
15015 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15019 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15020 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15024 * stdlib/random.c (__initstate): Return NULL if
15028 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15029 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15032 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15036 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15038 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15039 of individual tests.
15040 (casin_test): Likewise.
15041 (casinh_test): Likewise.
15043 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15046 * math/s_catan.c (__catan): Handle arguments with large real or
15047 imaginary part separately without squaring.
15048 * math/s_catanf.c (__catanf): Likewise.
15049 * math/s_catanh.c (__catanh): Likewise.
15050 * math/s_catanhf.c (__catanhf): Likewise.
15051 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15053 (__catanhl): Handle arguments with large real or imaginary part
15054 separately without squaring.
15055 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15057 (__catanl): Handle arguments with large real or imaginary part
15058 separately without squaring.
15059 * math/libm-test.inc (catan_test): Add more tests.
15060 (catanh_test): Likewise.
15061 * sysdeps/i386/fpu/libm-test-ulps: Update.
15062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15064 2013-04-27 Andreas Jaeger <aj@suse.de>
15067 * stdlib/stdlib.h: Update guards for qecvt.
15068 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15071 2013-04-27 Allan McRae <allan@archlinux.org>
15073 * sysdeps/i386/fpu/libm-test-ulps: Update.
15075 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15078 * math/s_catan.c: Include <float.h>.
15079 (__catan): Ensure underflow exception occurs for underflowed
15081 * math/s_catanf.c: Include <float.h>.
15082 (__catanf): Ensure underflow exception occurs for underflowed
15084 * math/s_catanh.c: Include <float.h>.
15085 (__catanh): Ensure underflow exception occurs for underflowed
15087 * math/s_catanhf.c: Include <float.h>.
15088 (__catanhf): Ensure underflow exception occurs for underflowed
15090 * math/s_catanhl.c: Include <float.h>.
15091 (__catanhl): Ensure underflow exception occurs for underflowed
15093 * math/s_catanl.c: Include <float.h>.
15094 (__catanl): Ensure underflow exception occurs for underflowed
15096 * math/libm-test.inc (catan_test): Add more tests.
15097 (catanh_test): Likewise.
15100 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15101 underflowed result.
15102 * math/s_ccoshf.c (__ccoshf): Likewise.
15103 * math/s_ccoshl.c (__ccoshl): Likewise.
15104 * math/s_csin.c (__csin): Likewise.
15105 * math/s_csinf.c (__csinf): Likewise.
15106 * math/s_csinh.c (__csinh): Likewise.
15107 * math/s_csinhf.c (__csinhf): Likewise.
15108 * math/s_csinhl.c (__csinhl): Likewise.
15109 * math/s_csinl.c (__csinl): Likewise.
15110 * math/libm-test.inc (ccos_test): Add more tests.
15111 (ccosh_test): Likewise.
15112 (csin_test): Likewise.
15113 (csinh_test): Likewise.
15115 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15117 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15118 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15119 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15120 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15121 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15122 powerpc/power5+/fpu folders.
15123 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15126 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15130 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15132 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15133 additions to variable.
15134 [$(config-machine) = x86_64] (modules-names): Likewise.
15135 ($(objpfx)tst-audit3): Remove dependency.
15136 ($(objpfx)tst-audit3.out): Likewise.
15137 ($(objpfx)tst-audit4): Likewise.
15138 ($(objpfx)tst-audit4.out): Likewise.
15139 ($(objpfx)tst-audit5): Likewise.
15140 ($(objpfx)tst-audit5.out): Likewise.
15141 ($(objpfx)tst-audit6): Likewise.
15142 ($(objpfx)tst-audit6.out): Likewise.
15143 ($(objpfx)tst-audit7): Likewise.
15144 ($(objpfx)tst-audit7.out): Likewise.
15145 (tst-audit3-ENV): Remove variable.
15146 (tst-audit4-ENV): Likewise.
15147 (tst-audit5-ENV): Likewise.
15148 (tst-audit6-ENV): Likewise.
15149 (tst-audit7-ENV): Likewise.
15150 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15151 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15152 addition to variable.
15153 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15154 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15155 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15156 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15157 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15158 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15159 tst-audit3, tst-audit4 and tst-audit5.
15160 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15161 tst-audit6 and tst-audit7.
15162 [$(subdir) = elf] (modules-names): Add audit modules for those
15164 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15165 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15166 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15167 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15168 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15169 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15170 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15171 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15172 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15173 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15174 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15175 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15176 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15177 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15178 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15179 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15181 [$(subdir) = elf && $(config-cflags-avx) = yes]
15182 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15183 [$(subdir) = elf && $(config-cflags-avx) = yes]
15184 (CFLAGS-tst-auditmod4a.c): Likewise.
15185 [$(subdir) = elf && $(config-cflags-avx) = yes]
15186 (CFLAGS-tst-auditmod4b.c): Likewise.
15187 [$(subdir) = elf && $(config-cflags-avx) = yes]
15188 (CFLAGS-tst-auditmod6b.c): Likewise.
15189 [$(subdir) = elf && $(config-cflags-avx) = yes]
15190 (CFLAGS-tst-auditmod6c.c): Likewise.
15191 [$(subdir) = elf && $(config-cflags-avx) = yes]
15192 (CFLAGS-tst-auditmod7b.c): Likewise.
15193 * elf/tst-audit3.c: Move to ...
15194 * sysdeps/x86_64/tst-audit3.c: ... here.
15195 * elf/tst-audit4.c: Move to ...
15196 * sysdeps/x86_64/tst-audit4.c: ... here.
15197 * elf/tst-audit5.c: Move to ...
15198 * sysdeps/x86_64/tst-audit5.c: ... here.
15199 * elf/tst-audit6.c: Move to ...
15200 * sysdeps/x86_64/tst-audit6.c: ... here.
15201 * elf/tst-audit7.c: Move to ...
15202 * sysdeps/x86_64/tst-audit7.c: ... here.
15203 * elf/tst-auditmod3a.c: Move to ...
15204 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15205 * elf/tst-auditmod3b.c: Move to ...
15206 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15207 * elf/tst-auditmod4a.c: Move to ...
15208 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15209 * elf/tst-auditmod4b.c: Move to ...
15210 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15211 * elf/tst-auditmod5a.c: Move to ...
15212 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15213 * elf/tst-auditmod5b.c: Move to ...
15214 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15215 * elf/tst-auditmod6a.c: Move to ...
15216 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15217 * elf/tst-auditmod6b.c: Move to ...
15218 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15219 * elf/tst-auditmod6c.c: Move to ...
15220 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15221 * elf/tst-auditmod7a.c: Move to ...
15222 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15223 * elf/tst-auditmod7b.c: Move to ...
15224 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15226 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15229 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15230 define unconditionally.
15231 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15232 define unconditionally.
15233 (INT8_C, INT16_C, etc.): Likewise.
15235 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15237 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15238 __ehdr_start with hidden visibility.
15240 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15242 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15244 * math/libm-test.inc (cos_test): Use accurate hex constants.
15245 (sincost_test): Likewise.
15247 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15249 * math/libm-test.inc (catan_test): Add more tests.
15250 (catanh_test): Likewise.
15252 * math/s_catanf.c (__catanf): Use suffixed floating-point
15254 * math/s_catanhf.c (__catanhf): Likewise.
15255 * math/s_catanhl.c (__catanhl): Likewise.
15256 * math/s_catanl.c (__catanl): Likewise.
15259 * math/s_catan.c (__catan): Calculate imaginary part of result
15260 with log1p not log unless computing log of number close to 0.
15261 * math/s_catanf.c (__catanf): Likewise.
15262 * math/s_catanl.c (__catanl): Likewise.
15263 * math/s_catanh.c (__catanh): Calculate real part of result with
15264 log1p not log unless computing log of number close to 0.
15265 * math/s_catanhf.c (__catanhf): Likewise.
15266 * math/s_catanhl.c (__catanhl): Likewise.
15267 * math/libm-test.inc (catan_test): Add more tests.
15268 (catanh_test): Likewise.
15269 * sysdeps/i386/fpu/libm-test-ulps: Update.
15270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15272 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15274 * benchtests/Makefile: Mention files in which fast and slow
15275 paths of math functions are implemented.
15277 2013-04-23 Roland McGrath <roland@hack.frob.com>
15279 * sysdeps/posix/timespec_get.c: New file.
15281 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15283 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15285 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15287 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15288 powerpc/power5/fpu folders.
15289 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15290 * benchtests/Makefile: Add modf testcase.
15291 * benchtests/bench-modf.c: New file: Benchmark test for mo
15293 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15296 * time/Makefile (tests): Add tst-strptime-whitespace.
15297 * time/strptime_l.c (get_number): Use ISSPACE.
15298 (__strptime_internal): Likewise.
15299 * time/tst-strptime-whitespace.c: New test case.
15301 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15303 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15305 (_nss_files_init): Set it here.
15307 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15309 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15310 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15313 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15315 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15317 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15319 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15322 2013-04-21 David S. Miller <davem@davemloft.net>
15324 * po/ru.po: Update Russion translation from translation project.
15326 2013-04-17 Adam Conrad <adconrad@0c3.net>
15328 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15331 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15333 * configure.in: Remove i386 configure warning. Remove i386 case.
15334 * configure: Regenerate.
15335 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15336 Add example to error message.
15337 * sysdeps/i386/configure: Regenerate.
15339 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15341 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15343 * benchtests/cos-inputs: New file.
15344 * benchtests/slowcos-inputs: New file.
15345 * benchtests/slowcos.c: New file.
15346 * benchtests/slowtan-inputs: New file.
15347 * benchtests/slowtan.c: New file.
15348 * benchtests/tan-inputs: New file.
15350 2013-04-16 Roland McGrath <roland@hack.frob.com>
15352 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15355 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15357 * benchtests/Makefile: Include cppflags-iterator.mk to add
15358 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15360 * Makefile.in (bench-clean): New target.
15361 * benchtests/Makefile (bench-clean): Likewise.
15363 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15365 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15367 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15369 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15371 2013-04-15 Andreas Schwab <schwab@suse.de>
15373 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15374 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15375 * nscd/pwdcache.c (cache_addpw): Likewise.
15376 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15379 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15381 * benchtests/Makefile (bench): Write all output to
15382 bench-out.tmp together.
15384 2013-04-15 Andreas Schwab <schwab@suse.de>
15386 * nscd/nscd.c (main): Don't fork again after closing files.
15388 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15390 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15392 * benchtests/Rules (bench-deps): Collect dependencies into a
15393 single variable. Add Makefile to dependencies.
15394 ($(objpfx)bench-%.c): Depend on bench-deps.
15396 2013-04-12 Roland McGrath <roland@hack.frob.com>
15397 Xavier Roche <roche+kml2@exalead.com>
15400 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15401 just that it's a file descriptor.
15402 * manual/llio.texi (Synchronizing AIO Operations): Update description
15403 for EBADF error from aio_fsync.
15405 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15407 * Rules (bench): Move target definition...
15408 * benchtests/Makefile: ... here.
15410 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15412 * math/libm-test.inc (cos_test): Fix PI/2 test.
15413 (sincos_test): Likewise.
15414 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15415 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15417 2013-04-11 Andreas Schwab <schwab@suse.de>
15420 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15421 accept exponent character only when digits were seen.
15422 * stdio-common/Makefile (tests): Add bug26.
15423 * stdio-common/bug26.c: New file.
15426 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15429 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15431 * Makeconfig (rtld-prefix): Define built linker prefix.
15432 * Rules (run-bench): Use it.
15433 * math/Makefile (run-regen-ulps): Likewise.
15435 * Rules (bench): Remove eval.
15437 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15438 Roland McGrath <roland@hack.frob.com>
15439 Ondrej Bilka <neleai@seznam.cz>
15442 * time/getdate.c: Include ctype.h and alloca.h.
15443 (__getdate_r): Trim leading and trailing spaces of input.
15444 * time/tst-getdate.c (tests): Add tests with leading and
15447 2013-04-08 Roland McGrath <roland@hack.frob.com>
15450 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15451 when computing value.
15453 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15455 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15456 Use testrun.sh to run libm tests.
15459 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15461 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15464 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15466 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15468 * Makefile.in (regen-ulps): New target.
15469 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15470 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15471 [ifneq (no,$(PERL)] (regen-ulps): New target.
15472 [ifeq (no,$(PERL)] (regen-ulps): New target.
15473 * math/libm-test.inc (ulps_file_name): Define.
15474 (output_dir): New variable.
15475 (options): Add "output-dir" option.
15476 (parse_opt): Handle 'o' case.
15477 (main): If output_dir is non-NULL use it as a prefix
15479 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15481 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15483 [BZ #10060, #10062]
15484 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15485 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15486 fail configure if __sync_val_compare_and_swap is not inlined.
15487 * sysdeps/i386/configure: Regenerate.
15488 * configure.in: Build for i686 when configured for i386.
15489 * configure: Regenerate.
15490 * README: Remove i386 reference.
15492 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15494 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15495 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15497 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15499 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15500 (lmsnanval): New variables.
15501 (F): Add conversion tests.
15502 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15503 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15505 * stdio-common/tstdiomisc.c (F): Properly collect individual
15508 [BZ #14686, #15336]
15509 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15510 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15511 Instead, use input NaN values or generate a qNaN by arithmetic
15512 operation. Also fix bugs to comply with the standard.
15513 * math/libm-test.inc (remainder_test): Add more tests.
15515 [BZ #15335, #15342]
15516 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15517 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15518 input NaN values or generate a qNaN by arithmetic operation.
15520 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15523 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15526 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15529 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15530 underflowed result.
15531 * math/s_cexpf.c (__cexpf): Likewise.
15532 * math/s_cexpl.c (__cexpl): Likewise.
15533 * math/libm-test.inc (cexp_test): Add more tests.
15535 2013-04-03 Andreas Schwab <schwab@suse.de>
15538 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15539 order arrays from heap if bigger than alloca cutoff.
15541 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15543 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15544 (SNAN_TESTS_double): Refer to GCC PR56831.
15545 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15548 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15550 * Rules (bench): Move bench.out after the run is complete.
15552 * Rules (bench): Echo currently running benchmark.
15554 * benchtests/Makefile (bench): Add atan and slowatan.
15555 * benchtests/atan-inputs: New file.
15556 * benchtests/slowatan-inputs: New file.
15557 * benchtests/slowatan.c: New file.
15559 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15560 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15564 * sysdeps/unix/sysv/linux/kernel-features.h
15565 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15566 __ASSUME_XFS_RESTRICTED_CHOWN.
15567 * sysdeps/unix/sysv/linux/pathconf.c
15568 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15569 Save and restore errno.
15571 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15574 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15575 arguments using __kernel_casinh.
15576 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15577 arguments using __kernel_casinhf.
15578 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15579 arguments using __kernel_casinhl.
15580 * math/libm-test.inc (cacosh_test): Add more tests.
15581 * sysdeps/i386/fpu/libm-test-ulps: Update.
15582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15584 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15586 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15587 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15589 * bench/Makefile (bench): Add sin and slowsin.
15590 * benchtests/sin-inputs: New file.
15591 * benchtests/slowsin-inputs: New file.
15592 * benchtests/slowsin.c: New file.
15594 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15595 (bench): Add slowexp and slowpow.
15596 (exp-ITER): Increase iterations.
15597 (pow-ITER): Likewise.
15598 * benchtests/exp-inputs: Change input.
15599 * benchtests/pow-inputs: Likewise.
15600 * benchtests/slowexp-inputs: New file.
15601 * benchtests/slowexp.c: New file.
15602 * benchtests/slowpow-inputs: New file.
15603 * benchtests/slowpow.c: New file.
15605 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15607 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15609 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15610 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15611 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15612 * benchtests/Makefile: Add rint benchtest.
15613 * benchtests/rint-inputs: Input for rint benchtest.
15615 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15617 * Versions.def (libm): Add GLIBC_2.18.
15618 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15619 hidden libm prototypes.
15620 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15621 * math/Makefile (libm-calls): Add s_issignaling.
15622 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15623 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15624 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15626 * math/math.h [__USE_GNU] (issignaling): New macro.
15627 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15628 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15629 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15630 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15631 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15632 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15633 * manual/arith.texi (issignaling): New section.
15634 * manual/libm-err-tab.pl (@all_functions): Update comment.
15635 * math/gen-libm-test.pl (parse_args): Apply special handling for
15637 * math/libm-test.inc (print_float, issignaling_test): New
15639 (check_float_internal): Add issignaling checks.
15640 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15641 default definition.
15642 * sysdeps/powerpc/math-tests.h: New file.
15643 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15645 * math/test-snan.c (TEST_FUNC): Likewise.
15647 2013-03-30 David S. Miller <davem@davemloft.net>
15649 * po/de.po: Update from translation team.
15651 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15654 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15655 imaginary part less than 1.0 and real part less than 0.5
15657 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15658 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15659 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15660 (cacos_test): Add more tests.
15661 (casin_test): Likewise.
15662 (casinh_test): Likewise.
15663 * sysdeps/i386/fpu/libm-test-ulps: Update.
15664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15666 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15668 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15669 ONE with its value.
15671 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15672 (__pow_mp): Replace ONE and MONE with their values.
15673 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15674 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15675 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15676 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15677 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15678 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15680 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15682 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15683 (__pow_mp): Replace ZERO and MZERO with their values.
15684 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15685 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15686 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15687 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15688 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15689 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15692 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15694 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15696 2013-03-28 Roland McGrath <roland@hack.frob.com>
15698 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15699 Declare with __attribute__ ((weak)).
15700 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15701 Call __call_tls_dtors only if it's not NULL.
15703 2013-03-28 Roland McGrath <roland@hack.frob.com>
15705 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15706 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15707 magic __ehdr_start linker symbol if it's defined.
15708 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15709 them up here if it was already done.
15711 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15712 (_dl_aux_init): Use const in cast when setting it.
15713 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15714 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15715 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15717 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15719 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15720 * csu/libc-tls.c: Nor here.
15721 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15723 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15724 (__libc_message): Never call vsyslog.
15726 2013-03-28 Alan Modra <amodra@gmail.com>
15728 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15730 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15733 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15736 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15740 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15743 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15744 Don't add gid passed as argument.
15746 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15748 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15751 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15752 imaginary part between 1.0 and 1.5 and real part less than 0.5
15754 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15755 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15756 * math/libm-test.inc (cacos_test): Add more tests.
15757 (casin_test): Likewise.
15758 (casinh_test): Likewise.
15759 * sysdeps/i386/fpu/libm-test-ulps: Update.
15760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15762 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15764 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15767 (denorm): Likewise.
15768 (__dbl_mp): Likewise.
15769 (add_magnitudes): Likewise.
15770 (sub_magnitudes): Likewise.
15778 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15780 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15781 (__dubcos): Likewise.
15782 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15783 (__ieee754_acos): Likewise.
15784 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15785 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15786 (__exp1): Likewise.
15787 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15788 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15790 (my_log2): Likewise.
15791 (checkint): Likewise.
15792 * sysdeps/ieee754/dbl-64/e_remainder.c
15793 (__ieee754_remainder): Likewise.
15794 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15795 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15796 (bsloww): Likewise.
15797 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15799 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15800 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15801 MANTISSA_STORE_T to store computations on mantissa. Use
15802 macros for rounding and division.
15803 (denorm): Likewise.
15804 (__dbl_mp): Likewise.
15805 (add_magnitudes): Likewise.
15806 (sub_magnitudes): Likewise.
15809 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15810 powers of two in terms of TWOPOW macro.
15811 (mp_no): Make type of mantissa as MANTISSA_T.
15812 [!RADIXI]: Define RADIXI.
15813 [!TWO52]: Define TWO52.
15814 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15816 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15818 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15819 llroundl symbol when building for PPC32.
15821 2013-03-24 Mark H Weaver <mhw@netris.org>
15823 * manual/arith.texi (Normalization Functions): Fix prototypes for
15824 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15826 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15829 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15830 high value to check if expl overflow.
15831 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15832 to check for underflow and overflow.
15833 * math/libm-test.inc: Add exp test.
15835 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15838 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15841 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15843 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15846 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15848 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15849 wrap blocks consisting of several statements.
15851 * sysdeps/generic/math-tests.h: New file.
15852 * sysdeps/i386/fpu/math-tests.h: Likewise.
15853 * math/test-snan.c: Include it.
15854 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15856 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15859 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15860 (__ieee754_j0l): Do not improve calculations using cos of twice
15861 input for inputs above LDBL_MAX / 2.0L.
15862 (__ieee754_y0l): Likewise.
15863 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15864 (__ieee754_j1l): Do not improve calculations using cos of twice
15865 input for inputs above LDBL_MAX / 2.0L.
15866 (__ieee754_y1l): Likewise.
15867 * math/libm-test.inc (j0_test): Add another test.
15868 (j1_test): Likewise.
15869 (y0_test): Likewise.
15870 (y1_test): Likewise.
15871 * sysdeps/i386/fpu/libm-test-ulps: Update.
15873 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15875 * Rules ($(objpfx)bench-%.c): Include code from a C source
15878 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15881 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15882 imaginary part 1.0 and real part less than 0.5 specially.
15883 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15884 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15885 * math/libm-test.inc (cacos_test): Add more tests.
15886 (casin_test): Likewise.
15887 (casinh_test): Likewise.
15888 * sysdeps/i386/fpu/libm-test-ulps: Update.
15889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15891 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15893 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15894 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15896 2013-03-20 Joseph Myers <joseph@codesourcery.com>
15898 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15899 * config.make.in (config-cflags-sse4): Remove variable.
15900 (config-cflags-avx): Likewise.
15901 (config-cflags-sse2avx): Likewise.
15902 (config-cflags-novzeroupper): Likewise.
15903 (config-asflags-i686): Likewise.
15904 (have-mfma4): Likewise.
15905 (have-as-vis3): Likewise.
15907 * configure.in (MIG): Do not AC_SUBST.
15908 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15909 (libc_cv_cc_sse4): Do not AC_SUBST.
15910 (libc_cv_cc_avx): Likewise.
15911 (libc_cv_cc_sse2avx): Likewise.
15912 (libc_cv_cc_novzeroupper): Likewise.
15913 (libc_cv_cc_fma4): Likewise.
15914 (libc_cv_as_i686): Likewise.
15915 (libc_cv_sparc_as_vis3): Likewise.
15916 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15918 (config-asflags-i686): Likewise.
15919 (config-cflags-avx): Likewise.
15920 (config-cflags-sse2avx): Likewise.
15921 (have-mfma4): Likewise.
15922 (config-cflags-novzeroupper): Likewise.
15923 * sysdeps/mach/configure.in (MIG): Likewise.
15924 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15925 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15927 (config-cflags-avx): Likewise.
15928 (config-cflags-sse2avx): Likewise.
15929 (have-mfma4): Likewise.
15930 (config-cflags-novzeroupper): Likewise.
15931 * configure: Regenerated.
15932 * sysdeps/i386/configure: Likewise.
15933 * sysdeps/mach/configure: Likewise.
15934 * sysdeps/sparc/configure: Likewise.
15935 * sysdeps/x86_64/configure: Likewise.
15937 2013-03-20 Roland McGrath <roland@hack.frob.com>
15940 * locale/programs/localedef.c (options): Put N_ translation marker
15941 on argument names, not just descriptions.
15943 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15945 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15947 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
15950 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15952 2013-03-19 Roland McGrath <roland@hack.frob.com>
15954 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15955 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15956 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15957 [!BEFORE_ABORT] (before_abort): New function.
15958 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15959 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15960 (writev_for_fatal): New function.
15961 (WRITEV_FOR_FATAL): New macro; call that.
15962 (backtrace_and_maps): New function.
15963 (BEFORE_ABORT): New macro; call that.
15964 (struct str_list): Type removed.
15965 (__libc_message, __libc_fatal): Functions removed.
15966 Include <sysdeps/posix/libc_fatal.c> instead.
15968 2013-03-19 Joseph Myers <joseph@codesourcery.com>
15970 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15972 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15975 2013-03-19 Andreas Schwab <schwab@suse.de>
15977 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15978 * sysdeps/gnu/configure: Regenerate.
15980 * configure.in: Substitute libc_cv_rtlddir.
15981 * configure: Regenerate.
15982 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15983 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15984 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15985 * elf/Makefile (install-others, CFLAGS-interp.c)
15986 (ldso_install, common-ldd-rewrite): Likewise.
15987 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15988 $(inst_slibdir)/$(rtld-installed-name).
15989 * scripts/rellns-sh: Add -p option.
15990 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15993 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15995 * manual/nptl.texi: Renamed to ...
15996 * manual/threads.texi: ... this.
15997 * manual/Makefile (chapters): Update.
15999 2013-03-18 Roland McGrath <roland@hack.frob.com>
16002 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16003 on argument names, not just descriptions.
16004 * malloc/memusagestat.c (options): Likewise.
16005 * nss/getent.c (options): Likewise.
16007 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16010 * iconv/iconv_prog.c (options): Put N_ translation marker
16011 on argument names, not just descriptions.
16012 * iconv/iconvconfig.c (options): Likewise.
16014 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16016 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16017 implementation which is faster on all x86_64 architectures.
16018 Tested on AMD, Intel Nehalem, SNB, IVB.
16019 * sysdeps/x86_64/strnlen.S: Likewise.
16021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16022 Remove all multiarch strlen and strnlen versions.
16023 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16024 Remove strlen and strnlen related parts.
16026 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16027 Inline strlen part.
16028 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16030 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16031 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16032 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16033 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16034 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16035 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16037 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16039 * manual/memory.texi (Malloc Tunable Parameters):
16040 Sort parameters alphabetically. Add comments for missing entries.
16042 2013-03-17 David S. Miller <davem@davemloft.net>
16044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16046 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16049 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16050 for arguments at most half maximum finite value.
16051 * math/libm-test.inc (j0_test): Add more tests.
16052 (j1_test): Likewise.
16053 (y0_test): Likewise.
16054 (y1_test): Likewise.
16055 * sysdeps/i386/fpu/libm-test-ulps: Update.
16056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16059 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16060 1 / x and functions P and Q for arguments above 0x1p256L.
16061 (__ieee754_y0l): Likewise.
16062 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16063 (__ieee754_y1l): Likewise.
16064 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16065 (j1_test): Likewise.
16066 (y0_test): Likewise.
16067 (y1_test): Likewise.
16069 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16071 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16074 2013-03-15 Roland McGrath <roland@hack.frob.com>
16076 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16077 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16078 zero since it's initialized to EXEC_PAGESIZE.
16080 * sysdeps/unix/sysv/linux/ldsodefs.h
16081 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16082 * sysdeps/generic/ldsodefs.h: ... here.
16084 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16086 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16088 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16090 * math/test-snan.c: Renamed from
16091 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16092 * math/Makefile (tests): Add test-snan.
16093 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16096 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16097 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16099 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16100 __builtin_nan family of functions.
16101 * math/libm-test.inc (initialize): Initialize qnan_value with
16102 __builtin_nan family of functions.
16103 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16105 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16107 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16108 storage class. Initialize qNaN_var and sNaN_var with
16109 __builtin_nan and __builtin_nans families of functions,
16112 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16113 (sqrt_test): Remove duplicate test with qNaN input.
16114 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16115 (round_test, signbit_test, significand_test): Note missing +/-Inf
16116 as well as qNaN tests.
16118 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16119 qNaN_var. Fix a few strings, too.
16120 * math/libm-test.inc (nan_value): Rename to qnan_value.
16121 * math/gen-libm-test.pl (%beautify): Adjust to that.
16122 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16123 * math/test-misc.c (main): Likewise.
16124 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16125 to __qnan_bytes, and __qnan_union, respectively.
16126 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16128 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16129 and lqnanval, respectively.
16130 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16131 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16132 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16133 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16135 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16136 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16139 * math/test-misc.c (main): Fix copy'n'pastos.
16140 * misc/tst-efgcvt.c (special): Likewise.
16142 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16143 Remove declarations.
16145 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16147 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16148 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16149 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16150 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16152 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16154 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16155 macro to return vdso values correctly in IFUNC implementations.
16156 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16157 Optimization by using IFUNC.
16159 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16160 Richard Henderson <rth@redhat.com>
16161 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16163 * Makefile.in (bench): New target.
16164 * NEWS: Mention the benchmark framework.
16165 * Rules (bench): Likewise.
16166 (binaries-bench): Generate binaries for functions to
16168 * benchtests/Makefile: New makefile for benchmark tests.
16169 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16171 * benchtests/exp-inputs: New input file for EXP function.
16172 * benchtests/pow-inputs: New input file for POW function.
16173 * scripts/bench.pl: New script to generate source files for
16174 benchmark programs.
16176 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16178 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16179 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16180 computations on mantissa. Use macros for rounding and
16182 (denorm): Likewise.
16183 (__dbl_mp): Likewise.
16184 (add_magnitudes): Likewise.
16185 (sub_magnitudes): Likewise.
16188 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16189 powers of two in terms of TWOPOW macro.
16190 (mp_no): Make type of mantissa as MANTISSA_T.
16191 [!RADIXI]: Define RADIXI.
16192 [!TWO52]: Define TWO52.
16193 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16195 * manual/nptl.texi (cindex): Modify threads to pthreads.
16197 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16199 * sysdeps/x86_64/preconfigure: Regenerated.
16201 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16204 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16206 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16207 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16209 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16210 * math/libm-test.inc (j0_test): Do not allow one spurious
16211 underflow exception.
16212 (y1_test): Likewise.
16214 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16216 * manual/Makefile (chapters): Add nptl.
16217 * manual/debug.texi (Debugging Support): Add link to Threads
16219 * manual/nptl.texi: New file.
16221 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16223 2013-03-14 Petr Baudis <pasky@ucw.cz>
16225 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16226 for non-NULL pointer before the memory validity test. Pointed
16227 out by Holger Brunck <holger.brunck@keymile.com>.
16229 2013-03-13 Andreas Schwab <schwab@suse.de>
16231 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16234 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16236 * timezone/zic.c: Update from tzcode 2013b.
16238 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16240 * manual/install.texi (Configuring and compiling):
16241 Mention i686 and i586.
16242 * INSTALL: Regenerate.
16244 2013-03-12 Roland McGrath <roland@hack.frob.com>
16246 * sysdeps/init_array/elf-init.c: New file.
16248 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16249 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16251 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16252 __gmon_start__ as global, but as static with a .preinit_array pointer.
16253 * sysdeps/init_array/gmon-start.c: New file. Use that.
16254 * sysdeps/init_array/crti.S: New file, empty except for comments.
16255 * sysdeps/init_array/crtn.S: Likewise.
16257 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16259 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16262 Remove Prefer_SSE_for_memop.
16263 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16264 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16265 HAS_PREFER_SSE_FOR_MEMOP.
16266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16268 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16269 Remove bzero, memset ifunc support.
16270 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16271 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16272 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16273 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16275 2013-03-11 Andreas Schwab <schwab@suse.de>
16278 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16281 (GLIBC_2.16): Remove pthread_atfork.
16283 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16285 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16286 (ptestcases.h): Likewise.
16288 2013-03-08 Roland McGrath <roland@hack.frob.com>
16290 * Makeconfig ($(common-objpfx)config.status): Depend on
16291 sysdeps/*/preconfigure{,.in} too.
16293 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16295 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16296 (__free_hook): Use void * instead of __malloc_ptr_t.
16297 (__malloc_hook): Likewise.
16298 (__realloc_hook): Likewise.
16299 (__memalign_hook): Likewise.
16300 (__after_morecore_hook): Likewise.
16301 * malloc/arena.c (save_malloc_hook): Likewise.
16302 (save_free_hook): Likewise.
16303 * malloc/hooks.c (malloc_hook_ini): Likewise.
16304 (realloc_hook_ini): Likewise.
16305 (memalign_hook_ini): Likewise.
16306 * malloc/malloc.c (malloc_hook_ini): Likewise.
16307 (realloc_hook_ini): Likewise.
16308 (memalign_hook_ini): Likewise.
16309 (__free_hook): Likewise.
16310 (__malloc_hook): Likewise.
16311 (__realloc_hook): Likewise.
16312 (__memalign_hook): Likewise.
16313 (__libc_malloc): Likewise.
16314 (__libc_free): Likewise.
16315 (__libc_realloc): Likewise.
16316 (__libc_memalign): Likewise.
16317 (__libc_valloc): Likewise.
16318 (__libc_pvalloc): Likewise.
16319 (__libc_calloc): Likewise.
16320 (__posix_memalign): Likewise.
16321 * malloc/morecore.c (__sbrk): Likewise.
16322 (__default_morecore): Likewise.
16324 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16326 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16327 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16328 __malloc_ptrdiff_t.
16330 * malloc/malloc.h (__malloc_size_t): Remove macro.
16331 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16333 (old_memalign_hook): Likewise.
16334 (old_realloc_hook): Likewise.
16335 (struct hdr): Likewise.
16337 (mallochook): Likewise.
16338 (memalignhook): Likewise.
16339 (reallochook): Likewise.
16340 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16341 (tr_old_realloc_hook): Likewise.
16342 (tr_old_memalign_hook): Likewise.
16343 (tr_mallochook): Likewise.
16344 (tr_reallochook): Likewise.
16345 (tr_memalignhook): Likewise.
16347 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16349 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16350 default_ldbl_pack and using as default implementation.
16351 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16353 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16354 redundant definition.
16355 (ldbl_insert_mantissa): Likewise.
16356 (ldbl_canonicalize): Likewise.
16357 (ldbl_nearbyint): Likewise.
16358 (ldbl_pack): Rename to ldbl_pack_ppc.
16359 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16360 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16361 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16363 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16366 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16367 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16368 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16370 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16371 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16372 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16374 2013-03-07 Andreas Jaeger <aj@suse.de>
16376 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16379 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16381 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16382 Include mpa.h and declare __MPEXP.
16383 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16384 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16385 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16386 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16387 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16388 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16389 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16391 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16392 (__slowpow): Use long double EXPL and LOGL functions to
16394 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16395 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16396 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16397 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16398 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16399 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16401 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16402 intermediate variable to calculate exponent.
16404 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16408 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16409 [!NO__SQR]: Define __sqr.
16410 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16411 and NO__SQR. Remove all code except __mul and __sqr. Include
16412 sysdeps/ieee754/dbl-64/mpa.c.
16413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16416 * posix/Makefile (tests): Add tst-pathconf.
16417 * posix/tst-pathconf.c: New test case.
16418 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16420 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16422 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16424 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16426 2013-03-06 Andreas Jaeger <aj@suse.de>
16428 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16429 definition via __MAP_ANONYMOUS.
16431 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16432 it's not part of Linux headers.
16434 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16435 (MAP_HUGE_MASK): Define.
16437 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16439 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16440 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16442 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16443 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16445 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16446 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16448 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16450 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16451 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16452 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16453 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16454 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16455 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16457 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16460 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16461 Handle f2fs and efivarfs.
16463 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16466 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16467 (EFIVARFS_MAGIC): Add.
16468 (F2FS_LINK_MAX): Add.
16470 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16472 * stdio-common/vfprintf.c: Replace __builtin_expect with
16475 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16478 * sysdeps/generic/bp-sym.h: Remove file.
16479 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16480 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16481 <bp-sym.h> and <bp-asm.h>.
16482 (__longjmp): Don't use BP_SYM.
16483 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16485 (memcpy): Don't use BP_SYM.
16486 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16487 <bp-sym.h> and <bp-asm.h>.
16488 (memcpy): Don't use BP_SYM.
16489 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16491 (memcpy): Don't use BP_SYM.
16492 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16494 (memset): Don't use BP_SYM.
16495 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16496 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16497 (__bzero): Don't use BP_SYM.
16498 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16499 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16500 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16501 <bp-sym.h> and <bp-asm.h>.
16502 (memcmp): Don't use BP_SYM. Remove comment about bounded
16504 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16505 <bp-sym.h> and <bp-asm.h>.
16506 (memcpy): Don't use BP_SYM.
16507 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16508 <bp-sym.h> and <bp-asm.h>.
16509 (memset): Don't use BP_SYM.
16510 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16511 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16512 (__bzero): Don't use BP_SYM.
16513 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16514 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16515 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16516 <bp-sym.h> and <bp-asm.h>.
16517 (strncmp): Don't use BP_SYM. Remove comment about bounded
16519 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16520 <bp-sym.h> and <bp-asm.h>.
16521 (memcpy): Don't use BP_SYM.
16522 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16523 <bp-sym.h> and <bp-asm.h>.
16524 (memset): Don't use BP_SYM.
16525 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16526 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16527 (__bzero): Don't use BP_SYM.
16528 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16529 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16530 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16531 <bp-sym.h> and <bp-asm.h>.
16532 (__memchr): Don't use BP_SYM.
16533 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16534 <bp-sym.h> and <bp-asm.h>.
16535 (memcmp): Don't use BP_SYM. Remove comment about bounded
16537 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16538 <bp-sym.h> and <bp-asm.h>.
16539 (memcpy): Don't use BP_SYM.
16540 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16541 <bp-sym.h> and <bp-asm.h>.
16542 (__mempcpy): Don't use BP_SYM.
16543 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16544 <bp-sym.h> and <bp-asm.h>.
16545 (__memrchr): Don't use BP_SYM.
16546 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16547 <bp-sym.h> and <bp-asm.h>.
16548 (memset): Don't use BP_SYM.
16549 (__bzero): Likewise.
16550 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16551 <bp-sym.h> and <bp-asm.h>.
16552 (__rawmemchr): Don't use BP_SYM.
16553 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16554 <bp-sym.h> and <bp-asm.h>.
16555 (__STRCMP): Don't use BP_SYM.
16556 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16557 <bp-sym.h> and <bp-asm.h>.
16558 (strchr): Don't use BP_SYM.
16559 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16560 <bp-sym.h> and <bp-asm.h>.
16561 (__strchrnul): Don't use BP_SYM.
16562 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16563 <bp-sym.h> and <bp-asm.h>.
16564 (strlen): Don't use BP_SYM.
16565 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16566 <bp-sym.h> and <bp-asm.h>.
16567 (strncmp): Don't use BP_SYM. Remove comment about bounded
16569 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16570 <bp-sym.h> and <bp-asm.h>.
16571 (__strnlen): Don't use BP_SYM.
16572 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16573 <bp-sym.h> and <bp-asm.h>.
16574 (__GI__setjmp): Don't use BP_SYM.
16575 (_setjmp): Likewise.
16576 (__sigsetjmp): Likewise.
16577 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16578 (L(start_addresses)): Don't use BP_SYM.
16579 (_start): Likewise.
16580 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16582 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16583 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16584 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16585 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16586 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16588 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16589 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16590 about bounded pointers.
16591 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16592 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16593 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16595 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16596 about bounded pointers. Remove GKM FIXME comments.
16597 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16598 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16600 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16601 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16602 Remove GKM FIXME comments.
16603 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16604 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16605 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16607 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16608 about bounded pointers. Remove GKM FIXME comment.
16609 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16611 (strncmp): Don't use BP_SYM. Remove comment about bounded
16613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16614 <bp-sym.h> and <bp-asm.h>.
16615 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16617 <bp-sym.h> and <bp-asm.h>.
16618 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16621 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16623 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16626 2013-03-05 David S. Miller <davem@davemloft.net>
16628 * po/es.po: Update from translation team.
16630 2013-03-05 Andreas Jaeger <aj@suse.de>
16632 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16633 <bits/mman-linux.h>.
16634 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16636 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16637 <bits/mman-linux.h> to end of file.
16638 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16640 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16641 <bits/mman-linux.h> to end of file.
16642 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16644 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16645 <bits/mman-linux.h> to end of file.
16647 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16648 (MCL_CURRENT, MCL_FUTURE): Define here.
16650 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16653 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16655 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16657 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16659 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16660 fourth parameter needed for rt_sigprocmask syscall.
16661 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16662 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16663 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16664 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16665 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16666 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16668 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16671 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16672 comment about bounded pointers.
16673 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16674 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16676 2013-03-04 Andreas Jaeger <aj@suse.de>
16678 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16679 common definitions.
16681 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16682 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16683 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16684 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16685 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16686 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16688 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16691 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16692 __ieee754_sqrl instead of __sqrl.
16694 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16696 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16697 * sysdeps/powerpc/fpu_control.h: ... here.
16698 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16699 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16700 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16701 * sysdeps/powerpc/bits/mathinline.h: ... here.
16703 2013-03-01 Roland McGrath <roland@hack.frob.com>
16705 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16706 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16707 to just [NEED_DL_SYSINFO_DSO].
16708 * elf/dl-support.c: Likewise.
16709 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16710 * elf/rtld.c (dl_main): Likewise.
16711 * elf/setup-vdso.h (setup_vdso): Likewise.
16712 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16713 * sysdeps/unix/sysv/linux/dl-sysdep.c
16714 (_dl_discover_osversion): Likewise.
16716 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16718 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16719 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16721 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16723 * NEWS: Mention libm performance improvements and non-x86 PI
16726 * csu/libc-start.c (__pthread_initialize_minimal): Change
16727 function arguments.
16728 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16730 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16733 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16734 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16735 <bp-sym.h> and <bp-asm.h>.
16736 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16737 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16739 (memcpy): Don't use BP_SYM.
16740 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16742 (__mpn_add_n): Don't use BP_SYM.
16743 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16744 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16746 (__mpn_addmul_1): Don't use BP_SYM.
16747 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16748 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16750 (_setjmp): Don't use BP_SYM.
16751 (__novmx_setjmp): Likewise.
16752 (__GI__setjmp): Likewise.
16753 (__vmx_setjmp): Likewise.
16754 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16756 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16757 (__bzero): Don't use BP_SYM.
16758 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16759 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16760 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16761 <bp-sym.h> and <bp-asm.h>.
16762 (memcpy): Don't use BP_SYM.
16763 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16764 <bp-sym.h> and <bp-asm.h>.
16765 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16766 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16767 <bp-sym.h> and <bp-asm.h>.
16768 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16769 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16771 (__mpn_lshift): Don't use BP_SYM.
16772 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16773 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16775 (memset): Don't use BP_SYM.
16776 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16777 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16778 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16780 (__mpn_mul_1): Don't use BP_SYM.
16781 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16782 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16783 <bp-sym.h> and <bp-asm.h>.
16784 (memcmp): Don't use BP_SYM.
16785 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16786 <bp-sym.h> and <bp-asm.h>.
16787 (memcpy): Don't use BP_SYM.
16788 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16789 <bp-sym.h> and <bp-asm.h>.
16790 (memset): Don't use BP_SYM.
16791 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16792 <bp-sym.h> and <bp-asm.h>.
16793 (strncmp): Don't use BP_SYM.
16794 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16795 <bp-sym.h> and <bp-asm.h>.
16796 (memcpy): Don't use BP_SYM.
16797 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16798 <bp-sym.h> and <bp-asm.h>.
16799 (memset): Don't use BP_SYM.
16800 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16801 <bp-sym.h> and <bp-asm.h>.
16802 (__memchr): Don't use BP_SYM.
16803 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16804 <bp-sym.h> and <bp-asm.h>.
16805 (memcmp): Don't use BP_SYM.
16806 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16807 <bp-sym.h> and <bp-asm.h>.
16808 (memcpy): Don't use BP_SYM.
16809 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16810 <bp-sym.h> and <bp-asm.h>.
16811 (__mempcpy): Don't use BP_SYM.
16812 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16813 <bp-sym.h> and <bp-asm.h>.
16814 (__memrchr): Don't use BP_SYM.
16815 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16816 <bp-sym.h> and <bp-asm.h>.
16817 (memset): Don't use BP_SYM.
16818 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16819 <bp-sym.h> and <bp-asm.h>.
16820 (__rawmemchr): Don't use BP_SYM.
16821 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16822 <bp-sym.h> and <bp-asm.h>.
16823 (__STRCMP): Don't use BP_SYM.
16824 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16825 <bp-sym.h> and <bp-asm.h>.
16826 (strchr): Don't use BP_SYM.
16827 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16828 <bp-sym.h> and <bp-asm.h>.
16829 (__strchrnul): Don't use BP_SYM.
16830 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16831 <bp-sym.h> and <bp-asm.h>.
16832 (strlen): Don't use BP_SYM.
16833 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16834 <bp-sym.h> and <bp-asm.h>.
16835 (strncmp): Don't use BP_SYM.
16836 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16837 <bp-sym.h> and <bp-asm.h>.
16838 (__strnlen): Don't use BP_SYM.
16839 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16841 (__mpn_rshift): Don't use BP_SYM.
16842 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16843 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16844 <bp-sym.h> and <bp-asm.h>.
16845 (__sigsetjmp): Don't use BP_SYM.
16846 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16847 (L(start_addresses)): Don't use BP_SYM.
16848 (_start): Likewise.
16849 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16851 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16852 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16853 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16854 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16856 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16857 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16858 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16859 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16861 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16863 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16864 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16866 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16868 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16869 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16870 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16872 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16874 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16876 (strncmp): Don't use BP_SYM,
16877 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16879 (__mpn_sub_n): Don't use BP_SYM.
16880 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16881 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16883 (__mpn_submul_1): Don't use BP_SYM.
16884 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16886 <bp-sym.h> and <bp-asm.h>.
16887 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16889 <bp-sym.h> and <bp-asm.h>.
16890 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16893 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16896 Use ZK to minimize writes to Z.
16897 (sub_magnitudes): Simplify code a bit.
16898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16899 Use ZK to minimize writes to Z.
16900 (sub_magnitudes): Simplify code a bit.
16902 2013-02-27 Roland McGrath <roland@hack.frob.com>
16904 * csu/gmon-start.c: Add special exception to license text.
16906 2013-02-27 Richard Henderson <rth@redhat.com>
16908 * scripts/config.guess: Update from config.git.
16909 * scripts/config.sub: Likewise.
16911 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16913 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16915 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16917 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16919 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16921 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16923 2013-02-26 Roland McGrath <roland@hack.frob.com>
16925 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16926 [$(build-shared = yes].
16928 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16930 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16931 (__mul): Reduce iterations for calculating mantissa.
16933 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16935 (__mpranred): Likewise.
16938 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16939 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16941 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16943 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16944 Define __attribute__.
16946 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16948 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16950 * posix/regex_internal.h (__attribute): Remove.
16951 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16952 (re_string_context_at): Likewise.
16953 (bitset_not): Use __attribute__ and mark function as possibly
16955 (bitset_merge): Likewise.
16956 (bitset_mask): Likewise.
16957 (re_string_char_size_at): Likewise.
16958 (re_string_wchar_at): Likewise.
16959 (re_string_elem_size_at): Likewise.
16961 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16963 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16967 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16971 (denorm): Likewise.
16972 (__dbl_mp): Likewise.
16973 (add_magnitudes): Likewise.
16974 (sub_magnitudes): Likewise.
16978 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16981 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16984 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16988 up changes with default code.
16989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16992 2013-02-24 Allan McRae <allan@archlinux.org>
16994 * manual/socket.texi (The Internet Namespace): Order menu items
16995 to match that in the file.
16997 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16998 node listing of the info page menu.
17000 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17003 * sysdeps/i386/bp-asm.h: Remove file.
17004 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17005 (PARMS): Do not use macros from bp-asm.h.
17009 (__mpn_add_n): Do not use BP_SYM
17010 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17012 (PARMS): Do not use macros from bp-asm.h.
17015 (__mpn_addmul_1): Do not use BP_SYM
17016 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17018 (PARMS): Do not use macros from bp-asm.h.
17019 (SIGMSK): Likewise.
17020 (_setjmp): Likewise. Do not use BP_SYM.
17021 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17023 (PARMS): Do not use macros from bp-asm.h.
17024 (SIGMSK): Likewise.
17025 (setjmp): Likewise. Do not use BP_SYM.
17026 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17028 (PARMS): Do not use macros from bp-asm.h.
17029 (__frexp): Do not use BP_SYM.
17031 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17033 (PARMS): Do not use macros from bp-asm.h.
17034 (__frexpf): Do not use BP_SYM.
17035 (frexpf): Likewise.
17036 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17038 (PARMS): Do not use macros from bp-asm.h.
17039 (__frexpl): Do not use BP_SYM.
17040 (frexpl): Likewise.
17041 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17043 (PARMS): Do not use macros from bp-asm.h.
17044 (__remquo): Do not use BP_SYM.
17045 (remquo): Likewise.
17046 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17048 (PARMS): Do not use macros from bp-asm.h.
17049 (__remquof): Do not use BP_SYM.
17050 (remquof): Likewise.
17051 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17053 (PARMS): Do not use macros from bp-asm.h.
17054 (__remquol): Do not use BP_SYM.
17055 (remquol): Likewise.
17056 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17058 (PARMS): Do not use macros from bp-asm.h.
17061 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17062 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17064 (PARMS): Do not use macros from bp-asm.h.
17065 (strlen): Do not use BP_SYM.
17066 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17068 (PARMS): Do not use macros from bp-asm.h.
17072 (__mpn_add_n): Do not use BP_SYM.
17073 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17075 (PARMS): Do not use macros from bp-asm.h.
17078 (__mpn_addmul_1): Do not use BP_SYM.
17079 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17082 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17084 (PARMS): Do not use macros from bp-asm.h.
17087 (__mpn_lshift): Do not use BP_SYM.
17088 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17090 (PARMS): Do not use macros from bp-asm.h.
17094 (memcpy): Likewise. Do not use BP_SYM.
17095 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17096 libc_hidden_def and weak_alias.
17097 (mempcpy): Do not use BP_SYM in weak_alias.
17098 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17100 (PARMS): Do not use macros from bp-asm.h.
17103 [!BZERO_P] (CHR): Likewise.
17104 (memset): Likewise. Do not use BP_SYM.
17105 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17107 (PARMS): Do not use macros from bp-asm.h.
17110 (__mpn_mul_1): Do not use BP_SYM.
17111 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17113 (PARMS): Do not use macros from bp-asm.h.
17116 (__mpn_rshift): Do not use BP_SYM.
17117 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17119 (PARMS): Do not use macros from bp-asm.h.
17122 (strchr): Likewise. Do not use BP_SYM.
17123 (index): Do not use BP_SYM in weak_alias.
17124 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17126 (PARMS): Do not use macros from bp-asm.h.
17129 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17130 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17132 (PARMS): Do not use macros from bp-asm.h.
17133 (strlen): Do not use BP_SYM.
17134 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17136 (PARMS): Do not use macros from bp-asm.h.
17140 (__mpn_sub_n): Do not use BP_SYM.
17141 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17143 (PARMS): Do not use macros from bp-asm.h.
17146 (__mpn_submul_1): Do not use BP_SYM.
17147 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17149 (PARMS): Do not use macros from bp-asm.h.
17153 (__mpn_add_n): Do not use BP_SYM.
17154 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17157 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17159 (PARMS): Do not use macros from bp-asm.h.
17162 (memcmp): Do not use BP_SYM.
17163 (bcmp): Do not use BP_SYM in weak_alias.
17164 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17166 (PARMS): Do not use macros from bp-asm.h.
17170 (memcpy): Likewise. Do not use BP_SYM.
17171 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17173 (PARMS): Do not use macros from bp-asm.h.
17177 (memmove): Likewise. Do not use BP_SYM.
17178 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17180 (PARMS): Do not use macros from bp-asm.h.
17184 (__mempcpy): Likewise. Do not use BP_SYM.
17185 (mempcpy): Do not use BP_SYM in weak_alias.
17186 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17188 (PARMS): Do not use macros from bp-asm.h.
17191 [!BZERO_P] (CHR): Likewise.
17192 (memset): Likewise. Do not use BP_SYM.
17193 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17195 (PARMS): Do not use macros from bp-asm.h.
17197 (strcmp): Do not use BP_SYM.
17198 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17200 (PARMS): Do not use macros from bp-asm.h.
17203 [USE_AS_STRTOK_R] (SAVE): Likewise.
17204 (FUNCTION): Likewise. Do not use BP_SYM.
17205 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17207 (strtok_r): Likewise.
17208 (__GI___strtok_r): Likewise.
17209 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17210 (PARMS): Do not use macros from bp-asm.h.
17213 (__mpn_lshift): Do not use BP_SYM.
17214 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17215 (PARMS): Do not use macros from bp-asm.h.
17218 (__memchr): Do not use BP_SYM.
17219 (memchr): Do not use BP_SYM in weak_alias.
17220 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17221 (PARMS): Do not use macros from bp-asm.h.
17224 (memcmp): Do not use BP_SYM.
17225 (bcmp): Do not use BP_SYM in weak_alias.
17226 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17227 (PARMS): Do not use macros from bp-asm.h.
17230 (__mpn_mul_1): Do not use BP_SYM.
17231 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17233 (PARMS): Do not use macros from bp-asm.h.
17236 (__rawmemchr): Do not use BP_SYM.
17237 (rawmemchr): Do not use BP_SYM in weak_alias.
17238 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17239 (PARMS): Do not use macros from bp-asm.h.
17242 (__mpn_rshift): Do not use BP_SYM.
17243 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17244 (PARMS): Do not use macros from bp-asm.h.
17245 (SIGMSK): Likewise.
17246 (__sigsetjmp): Likewise. Do not use BP_SYM.
17247 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17248 (_start): Do not use BP_SYM.
17249 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17250 (PARMS): Do not use macros from bp-asm.h.
17253 (__stpcpy): Likewise. Do not use BP_SYM.
17254 (stpcpy): Do not use BP_SYM in weak_alias.
17255 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17257 (PARMS): Do not use macros from bp-asm.h.
17261 (__stpncpy): Likewise. Do not use BP_SYM.
17262 (stpncpy): Do not use BP_SYM in weak_alias.
17263 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17264 (PARMS): Do not use macros from bp-asm.h.
17267 (strchr): Likewise. Do not use BP_SYM.
17268 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17270 (PARMS): Do not use macros from bp-asm.h.
17273 (__strchrnul): Likewise. Do not use BP_SYM.
17274 (strchrnul): Do not use BP_SYM in weak_alias.
17275 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17277 (PARMS): Do not use macros from bp-asm.h.
17279 (strcspn): Do not use BP_SYM.
17280 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17282 (PARMS): Do not use macros from bp-asm.h.
17285 (strpbrk): Likewise. Do not use BP_SYM.
17286 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17288 (PARMS): Do not use macros from bp-asm.h.
17291 (strrchr): Likewise. Do not use BP_SYM.
17292 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17293 (PARMS): Do not use macros from bp-asm.h.
17295 (strspn): Do not use BP_SYM.
17296 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17297 (PARMS): Do not use macros from bp-asm.h.
17301 (FUNCTION): Likewise. Do not use BP_SYM.
17302 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17304 (strtok_r): Likewise.
17305 (__GI___strtok_r): Likewise.
17306 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17307 (PARMS): Do not use macros from bp-asm.h.
17311 (__mpn_sub_n): Do not use BP_SYM.
17312 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17314 (PARMS): Do not use macros from bp-asm.h.
17317 (__mpn_submul_1): Do not use BP_SYM.
17318 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17320 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17322 (PARMS): Do not use macros from bp-asm.h.
17327 (__clone): Do not use BP_SYM.
17328 (clone): Do not use BP_SYM in weak_alias.
17329 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17331 (PARMS): Do not use macros from bp-asm.h.
17333 (__mmap64): Do not use BP_SYM.
17334 (mmap64): Do not use BP_SYM in weak_alias.
17335 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17336 <bp-sym.h> and <bp-asm.h>.
17337 (PARMS): Do not use macros from bp-asm.h.
17338 (__posix_fadvise64_l64): Do not use BP_SYM.
17339 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17340 (PARMS): Do not use macros from bp-asm.h.
17342 (semtimedop): Do not use BP_SYM.
17343 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17346 2013-02-21 Allan McRae <allan@archlinux.org>
17348 * manual/message.texi (Charset conversion in gettext):
17349 Move @end statement to beginning of line.
17351 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17355 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17358 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17359 (denorm): Likewise.
17360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17363 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17365 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17366 tail-call to the resolved function if pltexit isn't needed.
17368 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17371 or Y being zero as being unlikely.
17372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17375 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17377 * manual/nss.texi (System Databases and Name Service Switch):
17378 Remove frobnicate @pxref.
17380 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17382 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17383 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17385 2013-02-20 Petr Machata <pmachata@redhat.com>
17387 * elf/elf.h (R_ARM_TARGET1): New macro.
17388 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17389 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17390 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17391 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17392 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17393 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17394 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17395 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17396 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17397 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17398 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17399 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17400 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17401 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17402 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17403 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17404 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17405 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17406 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17407 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17408 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17409 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17410 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17411 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17412 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17413 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17414 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17415 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17416 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17417 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17418 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17419 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17420 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17421 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17422 (R_ARM_THM_GOT_BREL12): Likewise.
17423 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17424 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17425 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17426 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17427 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17428 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17429 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17430 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17431 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17433 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17435 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17436 __attribute_used__ to __attribute__ ((unused)).
17438 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17440 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17443 comment formatting.
17444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17446 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17449 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17451 (ENTER): Remove both macro definitions.
17453 (CHECK_BOUNDS_LOW): Likewise.
17454 (CHECK_BOUNDS_HIGH): Likewise.
17455 (CHECK_BOUNDS_BOTH): Likewise.
17456 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17457 (RETURN_BOUNDED_POINTER): Likewise.
17458 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17459 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17460 (POP_ERRNO_LOCATION_RETURN): Likewise.
17461 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17462 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17463 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17465 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17466 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17467 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17468 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17469 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17470 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17471 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17472 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17473 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17474 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17475 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17476 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17477 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17478 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17480 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17481 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17483 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17484 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17485 * sysdeps/i386/i586/memset.S (memset): Likewise.
17486 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17487 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17488 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17490 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17491 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17492 Change uses of L(2) to L(out).
17493 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17494 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17495 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17496 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17497 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17499 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17500 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17502 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17503 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17504 (RETURN): Do not use macro LEAVE.
17505 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17506 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17507 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17508 * sysdeps/i386/i686/memset.S (memset): Likewise.
17509 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17510 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17511 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17512 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17514 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17515 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17516 L(1_2) and L(1_3) into L(1).
17517 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17518 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17519 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17520 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17521 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17522 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17523 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17524 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17525 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17527 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17528 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17529 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17530 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17531 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17532 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17533 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17534 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17535 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17536 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17537 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17538 * sysdeps/i386/strspn.S (strspn): Likewise.
17539 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17541 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17542 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17543 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17544 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17545 L(1_3) into L(1_1).
17546 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17547 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17548 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17550 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17552 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17554 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17557 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17559 * math/atest-exp.c (exp_mpn): Remove ROUND.
17560 * math/atest-exp2.c (exp_mpn): Likewise.
17561 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17563 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17564 * stdlib/tst-tls-atexit-lib.c: Likewise.
17565 * stdlib/tst-tls-atexit.c: Likewise.
17567 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17569 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17570 and __attribute_alloc_size__.
17572 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17574 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17575 __attribute_alloc_size__.
17576 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17577 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17579 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17581 * include/programs/xmalloc.h: New file.
17582 * catgets/gencat.c: Include it.
17583 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17584 * elf/pldd.c: Likewise.
17585 * iconv/iconv_charmap.c: Likewise.
17586 * iconv/iconvconfig.c: Likewise.
17587 * iconv/strtab.c: Likewise.
17588 * locale/programs/locale.c: Likewise.
17589 * locale/programs/localedef.h: Likewise.
17590 * locale/programs/simple-hash.c: Likewise.
17591 * nscd/nscd.h: Likewise.
17592 * nss/makedb.c: Likewise.
17593 * sysdeps/generic/ldconfig.h: Likewise.
17595 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17597 * Versions.def: Add GLIBC_2.18.
17598 * include/link.h (struct link_map): New member l_tls_dtor_count.
17599 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17600 (__call_tls_dtors): Likewise.
17601 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17602 __cxa_thread_atexit_impl.
17603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17611 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17619 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17620 (tests): Add test case tst-tls-atexit.
17621 (modules-names): Add shared library for tst-tls-atexit.
17622 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17623 (GLIBC_PRIVATE): Add __call_tls_dtors.
17624 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17626 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17627 * stdlib/tst-tls-atexit.c: New test case.
17628 * stdlib/tst-tls-atexit-lib.c: New test case.
17630 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17632 * elf/Versions (ld): Add _dl_find_dso_for_object.
17633 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17634 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17635 (dl_open_worker): Use _dl_find_dso_for_object.
17636 * elf/dl-sym.c (do_sym): Likewise.
17637 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17639 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17641 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17642 Syntactic changes only.
17643 (_dl_runtime_profile): Do a tail-call to the resolved function.
17645 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17648 * sysdeps/x86_64/bp-asm.h: Remove file.
17649 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17650 <bp-sym.h> and <bp-asm.h>.
17651 (__clone): Do not use BP_SYM.
17652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17653 <bp-sym.h> and <bp-asm.h>.
17654 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17655 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17657 (_setjmp): Do not use BP_SYM.
17658 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17660 (setjmp): Do not use BP_SYM.
17661 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17663 (mempcpy): Do not use BP_SYM in weak_alias.
17664 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17666 (strchr): Do not use BP_SYM.
17667 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17669 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17670 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17671 (_start): Do not use BP_SYM.
17672 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17674 (strcat): Do not use BP_SYM.
17675 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17677 (STRCMP): Do not use BP_SYM.
17678 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17680 (STRCPY): Do not use BP_SYM.
17681 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17683 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17685 (FUNCTION): Do not use BP_SYM.
17686 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17688 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17690 2013-02-17 Andreas Jaeger <aj@suse.de>
17692 * time/Versions: Sort entries.
17693 * string/Versions: Likewise.
17694 * resolv/Versions: Likewise.
17695 * posix/Versions: Likewise.
17696 * iconv/Versions: Likewise.
17697 * elf/Versions: Likewise.
17698 * wcsmbs/Versions: Likewise.
17700 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17702 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17703 loop termination condition.
17705 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17706 variable to calculate EZ.
17709 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17710 the lower precision input.
17712 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17715 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17716 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17717 (run-via-rtld-prefix): Do not handle %-bp tests.
17718 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17719 (all-object-suffixes): Remove .ob.
17720 (bppfx): Remove variable.
17721 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17722 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17723 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17724 [$(build-bounded) = yes] (libtype.ob): Likewise.
17725 * Makerules (elide-routines.ob): Remove variable.
17726 (do-tests-clean): Do not handle *-bp.out.
17727 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17728 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17729 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17730 (tests): Do not include $(tests-bp.out).
17731 (xtests): Do not include $(xtests-bp.out).
17732 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17733 [$(build-bounded) = yes] ($(addprefix
17734 $(objpfx),$(binaries-bounded))): Remove rule.
17735 ($(objpfx)%-bp.out): Remove rule.
17736 * config.make.in (build-bounded): Remove variable.
17737 * crypt/Makefile [$(build-bounded) = yes]
17738 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17739 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17740 append to variable.
17741 [$(build-bounded) = yes] (install-lib): Likewise.
17742 [$(build-bounded) = yes] (generated): Likewise.
17743 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17745 * intl/Makefile [$(build-bounded) = yes]
17746 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17747 * math/Makefile [$(build-bounded) = yes]
17748 ($(tests:%=$(objpfx)%-bp): Likewise.
17749 * misc/Makefile [$(build-bounded) = yes]
17750 ($(objpfx)tst-tsearch-bp): Likewise.
17751 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17752 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17754 * string/Makefile (o-objects.ob): Remove variable.
17755 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17756 (CFLAGS-.ob): Remove variable.
17757 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17758 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17759 both definitions of variable.
17760 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17761 (ASFLAGS-.ob): Remove variable.
17763 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17766 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17767 Remove __BOUNDED_POINTERS__ from condition.
17768 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17769 * string/bits/string2.h [!__NO_STRING_INLINES &&
17770 !__BOUNDED_POINTERS__]: Likewise.
17771 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17773 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17774 Remove conditional code.
17775 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17776 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17777 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17781 * csu/libc-start.c: Do not include <bp-sym.h>.
17782 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17783 * elf/dl-open.c: Do not include <bp-sym.h>.
17784 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17785 * math/fegetenv.c: Do not include <bp-sym.h>.
17786 (fegetenv): Do not use BP_SYM in versioned symbols.
17787 * nptl/sysdeps/pthread/bits/libc-lockP.h
17788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17791 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17793 (__pthread_mutex_destroy): Likewise.
17794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17795 (__pthread_mutex_lock): Likewise.
17796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17797 (__pthread_mutex_trylock): Likewise.
17798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17799 (__pthread_mutex_unlock): Likewise.
17800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17801 (__pthread_mutexattr_init): Likewise.
17802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17803 (__pthread_mutexattr_destroy): Likewise.
17804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17805 (__pthread_mutexattr_settype): Likewise.
17806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17807 (__pthread_rwlock_init): Likewise.
17808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17809 (__pthread_rwlock_destroy): Likewise.
17810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17811 (__pthread_rwlock_rdlock): Likewise.
17812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17813 (__pthread_rwlock_tryrdlock): Likewise.
17814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17815 (__pthread_rwlock_wrlock): Likewise.
17816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17817 (__pthread_rwlock_trywrlock): Likewise.
17818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17819 (__pthread_rwlock_unlock): Likewise.
17820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17821 (__pthread_key_create): Likewise.
17822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17823 (__pthread_setspecific): Likewise.
17824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17825 (__pthread_getspecific): Likewise.
17826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17829 (_pthread_cleanup_push_defer): Likewise.
17830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17831 (_pthread_cleanup_pop_restore): Likewise.
17832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17833 (pthread_setcancelstate): Likewise.
17834 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17836 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17837 (memchr): Do not use BP_SYM in weak_alias.
17838 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17839 (fegetenv): Do not use BP_SYM in versioned symbols.
17840 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17841 (fesetenv): Do not use BP_SYM in versioned symbols.
17842 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17843 (feupdateenv): Do not use BP_SYM in versioned symbols.
17844 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17845 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17846 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17847 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17848 (open64): Do not use BP_SYM in weak_alias.
17849 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17850 (fegetenv): Do not use BP_SYM in versioned symbols.
17851 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17852 (fesetenv): Do not use BP_SYM in versioned symbols.
17853 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17854 (feupdateenv): Do not use BP_SYM in versioned symbols.
17855 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17856 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17857 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17858 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17859 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17860 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17861 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17863 (__libc_start_main): Do not use BP_SYM.
17865 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17868 redundant return line.
17870 (denorm): Likewise.
17871 (dbl_mp): Likewise.
17872 (sub_magnitudes): Likewise.
17878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17880 (denorm): Likewise.
17881 (dbl_mp): Likewise.
17882 (sub_magnitudes): Likewise.
17889 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17891 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17892 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17895 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17896 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17897 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17898 of __mul for squares.
17899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17903 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17904 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17906 2013-02-13 Joseph Myers <joseph@codesourcery.com>
17909 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17911 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17912 prototype or function definition. Rename ubp_* variables and
17913 parameters. Remove argv definitions conditional on
17914 [__BOUNDED_POINTERS__].
17915 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17916 * elf/dl-runtime.c (_dl_fixup): Likewise.
17917 * include/set-hooks.h (RUN_HOOK): Likewise.
17918 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17920 * string/strcpy.c (strcpy): Do not use __unbounded.
17921 * sysdeps/generic/frame.h (struct layout): Likewise.
17922 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17923 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17924 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17925 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17926 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17927 (__backtrace): Likewise.
17928 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17930 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17931 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17932 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17934 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17935 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17936 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17937 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17938 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17939 Do not use __unbounded.
17940 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17941 Rename __unboundedrlimits parameter to rlimits in prototype.
17942 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17943 Do not use __unbounded.
17944 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17945 not use __ptrvalue.
17946 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17947 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17948 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17949 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17950 __ptrvalue or __unbounded.
17951 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17952 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17954 (__new_msgctl): Do not use __ptrvalue.
17955 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17957 (__libc_msgrcv): Do not use __ptrvalue.
17958 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17959 startup_info): Do not use __unbounded.
17960 (__libc_start_main): Likewise. Rename ubp_* variables and
17961 parameters. Remove argv definitions conditional on
17962 [__BOUNDED_POINTERS__].
17963 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17965 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17967 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17969 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17971 (__new_shmctl): Do not use __ptrvalue.
17972 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17973 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17975 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17976 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17977 (__libc_sigaction): Likewise.
17978 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17979 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17981 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17983 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
17985 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17987 * string/mempcpy.c: Implement by calling memcpy.
17989 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17991 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17993 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17996 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17997 values in the mantissa.
17999 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18000 minimize writes to Z.
18001 (sub_magnitudes): Simplify code a bit.
18003 2013-02-12 Roland McGrath <roland@hack.frob.com>
18005 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18006 from the message. The linker prefixes all warnings with that already.
18008 2013-02-12 Andreas Schwab <schwab@suse.de>
18011 * posix/regexec.c (extend_buffers): Add parameter min_len.
18012 (check_matching): Pass minimum needed length.
18013 (clean_state_log_if_needed): Likewise.
18014 (get_subexp): Likewise.
18015 * posix/Makefile (tests): Add bug-regex34.
18016 (bug-regex34-ENV): Define.
18017 * posix/bug-regex34.c: New file.
18020 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18021 elements compare against the byte sequence of it, not its name.
18022 * posix/Makefile (tests): Add bug-regex35.
18023 (bug-regex35-ENV): Define.
18024 * posix/bug-regex35.c: New file.
18026 2013-02-11 Tom de Vries <tom@codesourcery.com>
18028 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18030 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18031 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18032 (CHECK_EOL): Add undef.
18034 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18036 * bits/stdlib-bsearch.h: New file.
18037 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18038 * stdlib/stdlib.h: Likewise.
18040 2013-02-11 Roland McGrath <roland@hack.frob.com>
18042 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18043 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18045 * manual/search.texi (Array Search Function): Add missing const in
18047 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18048 declaration to use rlim_t.
18049 (Basic Scheduling Functions): Remove erroneous const from
18050 sched_getparam prototype. Remove erroneous * from
18051 sched_get_priority_max and sched_get_priority_min prototypes.
18052 (Resource Usage): Fix summary @comment on vtimes to refer to
18053 sys/vtimes.h rather than vtimes.h.
18054 Add missing *s in vtimes prototype.
18055 (Limits on Resources): Fix ulimit prototype to return long int.
18056 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18057 prototypes to use long int rather than double.
18058 (BSD Random): Fix initstate and setstate to use char *, not void *.
18059 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18060 prototype to make second argument 'struct aiocb64 *const[]'.
18061 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18062 (Status of AIO Operations): Remove erroneous const in aio_return and
18063 aio_return64 prototypes.
18064 (Synchronizing I/O): Fix sync prototype to return void.
18065 * manual/startup.texi (Suboptions): Remove an erroneous const in
18066 getsubopt prototype.
18067 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18068 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18069 use size_t rather than int.
18070 (Scanning All Users): Likewise for getpwent_r.
18071 (Setting Groups): Add missing const to setgroups prototype.
18072 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18073 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18074 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18075 'const void *' rather than 'const char *'.
18076 (Host Address Functions): Likewise for inet_ntop.
18077 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18078 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18079 ssize_t for return value.
18080 (Sending Data): Likewise for send, sendto, sendmsg.
18081 (Socket Option Functions): Add a missing const in setsockopt prototype.
18082 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18083 use wchar_t for the argument.
18084 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18085 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18087 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18088 double/float/long double for second argument.
18089 Fix return types of significand, significandf, significandl.
18090 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18091 argument in fchmod prototype.
18092 (File Owner): Use uid_t and gid_t in fchown prototype.
18093 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18094 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18095 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18096 use 'const struct dirent **' as argument types to CMP function pointer
18098 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18099 (File Times): Fix summary magic @comment for struct utimbuf and utime
18100 to refer to utime.h, not time.h.
18101 * manual/string.texi (Argz Functions): Add missing const in
18102 argz_extract and argz_next prototypes.
18103 (Finding Tokens in a String): Likewise for basename.
18104 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18105 (Copying and Concatenation): Fix typo in wmemmove prototype.
18106 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18107 (Signal Stack): Remove erroneous const in sigstack prototype.
18108 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18110 (Simple Calendar Time): Likewise for stime.
18111 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18113 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18114 say sys/sysctl.h instead.
18115 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18116 and vsyslog prototypes.
18118 2013-02-11 Tom de Vries <tom@codesourcery.com>
18120 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18123 2013-02-11 Roland McGrath <roland@hack.frob.com>
18125 * misc/sys/mman.h: Fix typo in mremap comment.
18127 2013-02-08 Roland McGrath <roland@hack.frob.com>
18129 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18130 the '\0' terminator.
18132 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18135 * debug/segfault.c: Don't include <bp-checks.h>.
18136 * sysdeps/generic/bp-checks.h: Remove file.
18137 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18138 (__GETDENTS): Don't use CHECK_N.
18139 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18140 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18141 (__getgroups): Don't use CHECK_N.
18142 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18143 (setgroups): Don't use CHECK_N.
18144 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18145 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18146 (__libc_msgrcv): Don't use CHECK_N.
18147 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18148 (__libc_msgsnd): Don't use CHECK_N.
18149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18151 (__libc_pread): Don't use CHECK_N.
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18153 include <bp-checks.h>.
18154 (__libc_pread64): Don't use CHECK_N.
18155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18156 include <bp-checks.h>.
18157 (__libc_pwrite): Don't use CHECK_N.
18158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18159 include <bp-checks.h>.
18160 (__libc_pwrite64): Don't use CHECK_N.
18161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18163 (__libc_pread): Don't use CHECK_N.
18164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18165 include <bp-checks.h>.
18166 (__libc_pread64): Don't use CHECK_N.
18167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18168 include <bp-checks.h>.
18169 (__libc_pwrite): Don't use CHECK_N.
18170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18171 include <bp-checks.h>.
18172 (__libc_pwrite64): Don't use CHECK_N.
18173 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18174 (do_pread): Don't use CHECK_N.
18175 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18176 (do_pread64): Don't use CHECK_N.
18177 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18178 (do_pwrite): Don't use CHECK_N.
18179 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18180 (do_pwrite64): Don't use CHECK_N.
18181 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18182 (__libc_readv): Don't use CHECK_N.
18183 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18184 (semop): Don't use CHECK_N.
18185 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18187 (semtimedop): Don't use CHECK_N.
18188 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18189 (__libc_pread): Don't use CHECK_N.
18190 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18192 (__libc_pread64): Don't use CHECK_N.
18193 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18195 (__libc_pwrite): Don't use CHECK_N.
18196 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18198 (__libc_pwrite64): Don't use CHECK_N.
18199 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18201 (__libc_msgrcv): Don't use CHECK_N.
18202 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18203 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18204 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18205 (__libc_writev): Don't use CHECK_N.
18207 2013-02-08 Roland McGrath <roland@hack.frob.com>
18209 * string/strcpy.c: Removed unused variable.
18211 * Makeconfig (+sysdep-includes): Define with := rather than =.
18212 Use an existing include/ subdir of each sysdeps dir before it.
18214 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18216 * nscd/connection.c (register_traced_file): Comment function.
18217 [HAVE_INOTIFY] (union __inev): Define.
18218 [HAVE_INOTIFY] (inotify_check_files): New function.
18219 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18220 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18222 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18224 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18226 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18227 loaded if not already and that a failure is permanent.
18229 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18232 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18233 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18235 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18238 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18239 (CHECK_1_NULL_OK): Likewise.
18240 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18241 (__fxstat): Do not use CHECK_1.
18242 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18244 (___fxstat64): Do not use CHECK_1.
18245 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18247 (__fxstatat): Do not use CHECK_1.
18248 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18250 (__fxstatat64): Do not use CHECK_1.
18251 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18253 (__fxstat): Do not use CHECK_1.
18254 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18256 (__fxstatat): Do not use CHECK_1.
18257 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18259 (__getresgid): Do not use CHECK_1.
18260 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18262 (__getresuid): Do not use CHECK_1.
18263 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18265 (__lxstat): Do not use CHECK_1.
18266 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18268 (__old_msgctl): Do not use CHECK_1.
18269 (__new_msgctl): Likewise.
18270 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18272 (__new_setrlimit): Do not use CHECK_1.
18273 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18275 (__old_shmctl): Do not use CHECK_1.
18276 (__new_shmctl): Likewise.
18277 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18279 (__xstat): Do not use CHECK_1.
18280 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18281 (__lxstat): Do not use CHECK_1.
18282 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18284 (___lxstat64): Do not use CHECK_1.
18285 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18286 (__old_msgctl): Do not use CHECK_1.
18287 (__new_msgctl): Likewise.
18288 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18290 (__gettimeofday): Do not use CHECK_1.
18291 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18292 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18293 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18295 (__gettimeofday): Do not use CHECK_1.
18296 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18297 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18298 (__new_shmctl): Do not use CHECK_1.
18299 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18301 (do_sigtimedwait): Do not use CHECK_1.
18302 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18304 (do_sigwaitinfo): Do not use CHECK_1.
18305 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18307 (msgctl): Do not use CHECK_1.
18308 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18310 (shmctl): Do not use CHECK_1.
18311 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18312 (ustat): Do not use CHECK_1.
18313 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18315 (__fxstat): Do not use CHECK_1.
18316 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18318 (__fxstatat): Do not use CHECK_1.
18319 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18321 (__lxstat): Do not use CHECK_1.
18322 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18324 (__xstat): Do not use CHECK_1.
18325 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18326 (__xstat): Do not use CHECK_1.
18327 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18328 (___xstat64): Do not use CHECK_1.
18331 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18333 (CHECK_BOUNDS_HIGH): Likewise.
18334 * string/strcpy.c: Do not include <bp-checks.h>.
18335 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18337 2013-02-07 Roland McGrath <roland@hack.frob.com>
18339 * nscd/nscd-client.h (__nscd_drop_map_ref):
18340 Add __attribute__ ((unused)).
18341 * nis/nss-nisplus.h (niserr2nss): Likewise.
18343 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18344 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18346 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18347 Remove inline keyword.
18348 * include/rounding-mode.h (round_away): Likewise.
18349 * libio/wfileops.c (adjust_wide_data): Likewise.
18350 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18351 (__m128i_strloadu_tolower): Likewise.
18352 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18353 (__m128i_strloadu_tolower): Likewise.
18354 * time/mktime.c (ydhms_diff): Likewise.
18355 * locale/elem-hash.h (elem_hash): Likewise.
18356 * locale/setlocale.c (setdata): Likewise.
18357 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18358 (re_string_wchar_at): Likewise.
18359 (bitset_not, bitset_merge, bitset_mask): Likewise.
18360 [!(__GNUC__ > 3)] (inline): Remove macro.
18361 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18362 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18363 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18364 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18365 * string/memcmp.c (memcmp_bytes): Likewise.
18366 * locale/programs/locarchive.c (compute_hashval): Likewise.
18367 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18368 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18369 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18370 * nss/getent.c (print_rpc, print_protocols): Likewise.
18371 (print_passwd, print_group, print_aliases): Likewise.
18372 * nis/nss-nisplus.h (niserr2nss): Likewise.
18373 * nscd/connections.c (restart_p): Likewise.
18374 Change return type to bool.
18376 2013-02-05 Roland McGrath <roland@hack.frob.com>
18378 * Makeconfig (all-Depend-files): Add existing
18379 $(sorted-subdirs:=/Depend) files.
18380 (all-subdirs): Remove nss.
18381 * sysdeps/unix/inet/Subdirs: Add it here instead.
18382 * hesiod/Depend: New file.
18384 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18385 instead of calling alloca.
18387 * io/lseek.c (__lseek): Rename to __libc_lseek.
18388 Define __lseek as an alias.
18390 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18392 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18394 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18395 else clause and remove check for non-standard endianness.
18397 2013-02-04 David S. Miller <davem@davemloft.net>
18399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18401 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18404 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18405 (__ubp_memchr): Remove prototype.
18406 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18407 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18408 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18409 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18410 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18412 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18413 (__ubp_memchr): Likewise.
18414 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18415 (__ubp_memchr): Likewise.
18416 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18417 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18418 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18419 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18421 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18422 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18423 (__getcwd): Do not use CHECK_STRING.
18424 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18426 (__real_chown): Do not use CHECK_STRING.
18427 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18429 (fchownat): Do not use CHECK_STRING.
18430 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18432 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18434 (__lchown): Do not use CHECK_STRING.
18435 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18436 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18437 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18438 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18440 include <bp-checks.h>.
18441 (truncate64): Do not use CHECK_STRING.
18442 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18444 (__real_chown): Do not use CHECK_STRING.
18445 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18447 (__lchown): Do not use CHECK_STRING.
18448 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18450 (__chown): Do not use CHECK_STRING.
18451 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18453 (truncate64): Do not use CHECK_STRING.
18454 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18456 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18457 (__xmknod): Do not use CHECK_STRING.
18458 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18460 (__xmknodat): Do not use CHECK_STRING.
18461 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18462 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18464 2013-02-04 Andreas Schwab <schwab@suse.de>
18467 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18468 * include/netdb.h: Likewise for h_errno.
18469 * elf/tst-stackguard1.c: Include <tls.h>.
18471 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18473 * elf/link.h (struct link_map): Extend the l_addr comment.
18474 * include/link.h (struct link_map): Likewise.
18476 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18479 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18480 (BOUNDED_1): Remove macro.
18481 * debug/backtrace.c: Don't include <bp-checks.h>.
18482 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18483 (__backtrace): Likewise.
18484 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18486 (__backtrace): Don't use BOUNDED_1.
18487 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18489 (__backtrace): Don't use BOUNDED_1.
18490 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18491 (__backtrace): Don't use BOUNDED_1.
18492 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18493 (shmat): Don't use BOUNDED_N.
18495 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18498 * sysdeps/generic/bp-start.h: Remove file.
18499 * csu/libc-start.c: Don't include <bp-start.h>.
18500 (LIBC_START_MAIN): Set up __environ directly instead of using
18501 INIT_ARGV_and_ENVIRON.
18502 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18506 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18508 (CHECK_FCNTL): Likewise.
18509 (CHECK_N_PAGES): Likewise.
18512 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18514 (CHECK_SIGSET_NULL_OK): Likewise.
18515 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18517 (sigpending): Don't use CHECK_SIGSET.
18518 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18520 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18521 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18523 (do_sigsuspend): Don't use CHECK_SIGSET.
18524 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18526 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18527 (do_sigwait): Don't use CHECK_SIGSET.
18528 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18530 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18531 include <bp-checks.h>.
18532 (sigpending): Don't use CHECK_SIGSET.
18533 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18534 include <bp-checks.h>.
18535 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18536 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18538 (sigpending): Don't use CHECK_SIGSET.
18539 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18541 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18544 * sysdeps/generic/bp-semctl.h: Remove file.
18545 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18546 <bp-checks.h> and <bp-semctl.h>.
18547 (__old_semctl): Don't use CHECK_SEMCTL.
18548 (__new_semctl): Likewise.
18549 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18551 (__old_semctl): Don't use CHECK_SEMCTL.
18552 (__new_semctl): Likewise.
18553 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18554 <bp-checks.h> and <bp-semctl.h>.
18555 (__old_semctl): Don't use CHECK_SEMCTL.
18556 (__new_semctl): Likewise.
18557 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18558 <bp-checks.h> and <bp-semctl.h>.
18559 (semctl): Don't use CHECK_SEMCTL.
18562 * Makerules (elide-bp-thunks): Remove variable.
18563 (elide-routines.oS): Don't use $(elide-bp-thunks).
18564 (elide-routines.os): Likewise.
18565 (elide-routines.o): Likewise.
18566 (elide-routines.op): Likewise.
18567 (elide-routines.og): Likewise.
18568 (objects): Don't use $(bp-thunks).
18569 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18571 (common-generated): Do not add s-proto-bp.d.
18572 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18575 Do not generate makefile rules for bounded-pointer thunks.
18576 * sysdeps/generic/bp-thunks.h: Remove file.
18577 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18578 * sysdeps/unix/s-proto-bp.S: Likewise.
18581 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18582 parts of result separately when argument is not close to line from
18583 -i to i and one part of argument is small.
18584 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18585 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18586 * math/libm-test.inc (cacos_test): Add more tests.
18587 (casin_test): Likewise.
18588 (casinh_test): Likewise.
18589 * sysdeps/i386/fpu/libm-test-ulps: Update.
18590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18592 2013-01-31 David S. Miller <davem@davemloft.net>
18594 * po/de.po: Update from translation team.
18596 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18598 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18600 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18602 * configure.in (_AC_PROG_CC_C89): New definition.
18603 * configure: Regenerate.
18605 * configure.in (AC_PROG_CPP): New definition.
18606 * configure: Regenerate.
18608 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18610 * debug/tst-backtrace.h: New file.
18611 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18612 (ret): Remove variable.
18614 (FAIL): Remove macro.
18615 (NO_INLINE): Likewise.
18616 (fn1): Use match function instead of strstr.
18617 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18618 (ret): Remove variable.
18620 (FAIL): Remove macro.
18621 (NO_INLINE): Likewise.
18622 (fn): Use match function instead of strstr.
18623 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18624 (ret): Remove variable.
18626 (FAIL): Remove macro.
18627 (NO_INLINE): Likewise.
18628 (handle_signal): Use match function instead of strstr.
18629 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18630 (ret): Remove variable.
18632 (FAIL): Remove macro.
18633 (NO_INLINE): Likewise.
18634 (handle_signal): Use match function instead of strstr.
18636 2013-01-23 Roland McGrath <roland@hack.frob.com>
18638 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18640 2013-01-23 David S. Miller <davem@davemloft.net>
18642 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18643 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18644 argument of CAS if possible.
18645 * sysdeps/sparc/sparc64/bits/atomic.h
18646 (__arch_compare_and_exchange_val_32_acq): Likewise.
18647 (__arch_compare_and_exchange_val_64_acq): Likewise.
18649 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18651 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18652 * sysdeps/posix/ulimit.c: ... this.
18653 Include <limits.h>.
18654 * sysdeps/unix/bsd/ulimit.c: Remove file.
18656 2013-01-23 Adam Conrad <adconrad@0c3.net>
18658 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18659 (LDFLAGS-tst-array5): Likewise.
18661 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18664 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18665 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18666 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18667 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18669 2013-01-21 David S. Miller <davem@davemloft.net>
18671 * sysdeps/sparc/backtrace.c: New file.
18672 * sysdeps/sparc/sparc32/backtrace.h: New file.
18673 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18674 * sysdeps/sparc/sparc64/backtrace.h: New file.
18675 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18676 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18679 2013-01-21 Andreas Schwab <schwab@suse.de>
18682 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18685 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18689 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18691 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18692 Mark Mitchell <mark@codesourcery.com>
18693 Tom de Vries <tom@codesourcery.com>
18694 Paul Pluzhnikov <ppluzhnikov@google.com>
18696 * debug/tst-backtrace2.c: New file.
18697 * debug/tst-backtrace3.c: Likewise.
18698 * debug/tst-backtrace4.c: Likewise.
18699 * debug/tst-backtrace5.c: Likewise.
18700 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18701 (CFLAGS-tst-backtrace3.c): Likewise.
18702 (CFLAGS-tst-backtrace4.c): Likewise.
18703 (CFLAGS-tst-backtrace5.c): Likewise.
18704 (LDFLAGS-tst-backtrace2): Likewise.
18705 (LDFLAGS-tst-backtrace3): Likewise.
18706 (LDFLAGS-tst-backtrace4): Likewise.
18707 (LDFLAGS-tst-backtrace5): Likewise.
18708 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18709 tst-backtrace4 and tst-backtrace5.
18711 2013-01-18 Anton Blanchard <anton@samba.org>
18712 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18714 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18715 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18716 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18717 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18719 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18720 "+r" and remove output regs list as redundant. Add explicit inline
18721 asm to specify register of return val to work around compiler codegen
18722 bug. Remove (int) cast on return value. Add return type parameter to
18723 use in macro so that this macro does not truncate return value for
18725 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18726 pass to INTERNAL_VSYSCALL_NCS.
18727 (INLINE_VSYSCALL): Add 'long int' as return type to
18728 INTERNAL_VSYSCALL_NCS macro invocation.
18729 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18730 INTERNAL_VSYSCALL_NCS macro invocation.
18731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18733 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18736 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18737 Fix application of SIMD FP exception mask.
18739 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18740 mp_no from a power of two.
18741 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18742 __mpexp_twomm1. Use __pow_mp.
18744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18747 2013-01-17 David S. Miller <davem@davemloft.net>
18749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18751 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18754 * include/complex.h: Condition contents on [!_COMPLEX_H].
18755 (__kernel_casinhf): New prototype.
18756 (__kernel_casinh): Likewise.
18757 (__kernel_casinhl): Likewise.
18758 * math/Makefile (libm_calls): Add k_casinh.
18759 * math/k_casinh.c: New file.
18760 * math/k_casinhf.c: Likewise.
18761 * math/k_casinhl.c: Likewise.
18762 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18763 finite nonzero arguments.
18764 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18765 finite nonzero arguments.
18766 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18767 finite nonzero arguments.
18768 * math/s_casinh.c: Do not include <float.h>.
18769 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18770 * math/s_casinhf.c: Do not include <float.h>.
18771 (__casinhf): Move code for finite nonzero arguments to
18773 * math/s_casinhl.c: Do not include <float.h>.
18774 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18776 (__casinhl): Move code for finite nonzero arguments to
18778 * math/libm-test.inc (cacos_test): Add more tests.
18779 * sysdeps/i386/fpu/libm-test-ulps: Update.
18780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18782 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18784 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18785 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18786 [!HAVE_MREMAP]: Remove [defined linux] case.
18787 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18789 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18791 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18793 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18795 * elf/elf.h (R_386_SIZE32): New relocation.
18796 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18798 (elf_machine_rela): Likewise.
18799 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18800 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18802 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18804 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18805 (FP_FAST_FMA): Do not define.
18806 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18807 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18808 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18809 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18810 !_SOFT_FLOAT]: Likewise.
18811 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18812 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18814 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18815 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18816 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18817 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18818 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18819 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18822 2013-01-16 Andreas Schwab <schwab@suse.de>
18825 * include/stdlib.h (__mktemp): Add declaration.
18826 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18827 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18829 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18831 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18833 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18834 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18835 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18837 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18838 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18840 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18842 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18843 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18844 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18846 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18847 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18849 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18851 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18853 2013-01-15 David S. Miller <davem@davemloft.net>
18855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18856 trunc{,f} to libm-sysdep_routes.
18857 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18867 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18868 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18869 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18870 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18871 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18872 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18875 nearbyint{,f} to libm-sysdep_routes.
18876 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18887 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18889 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18890 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18892 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18893 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18894 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18896 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18897 libc_feholdexcept and libc_fesetenv.
18899 2013-01-15 Mike Frysinger <vapier@gentoo.org>
18901 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18903 2013-01-14 David S. Miller <davem@davemloft.net>
18905 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18906 (SPARC_ASM_VIS2_IFUNC): Likewise.
18907 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18909 use of 'siam' instruction.
18910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18943 routines to libm-sysdep_routines.
18944 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18947 fdim/fdimf to libm-sysdep_routines.
18948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18956 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18957 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18958 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18959 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18961 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18963 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18964 to optimize copies.
18966 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18971 local variable MPTWO.
18972 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18975 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18977 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18980 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18982 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18984 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18986 * manual/pattern.texi (glob_t): Document gl_flags.
18987 (glob64_t): Likewise.
18989 2013-01-11 David S. Miller <davem@davemloft.net>
18991 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18992 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18993 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
18994 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18995 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18996 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18997 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18998 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18999 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19000 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19001 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19002 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19003 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19005 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19006 sparc V9 rather than using V8 code.
19007 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19008 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19010 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19012 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19015 2013-01-11 Roland McGrath <roland@hack.frob.com>
19017 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19018 not in the main loop.
19019 * configure: Regenerated.
19021 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19023 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19024 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19026 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19027 [!__GLIBC_HAVE_LONG_LONG] case.
19028 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19029 condition to just #else.
19030 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19031 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19032 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19033 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19035 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19036 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19037 #elif condition to just #else.
19038 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19039 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19040 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19041 #elif condition to just #else.
19043 2013-01-11 Steve Ellcey <sellcey@mips.com>
19045 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19046 (EF_MIPS_ARCH_64): Fix value.
19047 (EF_MIPS_ARCH_32R2): New.
19048 (EF_MIPS_ARCH_64R2): New.
19050 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19052 * Makeconfig (+link-pie-before-libc): New.
19053 (+link-pie-after-libc): Likewise.
19054 (+link-pie-tests): Likewise.
19055 (+link-pie): Rewritten.
19056 (link-before-libc): Remove $(config-LDFLAGS).
19057 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19058 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19059 (config-LDFLAGS): Renamed to ...
19060 (rtld-LDFLAGS): This.
19061 (rtld-tests-LDFLAGS): New macro.
19062 (link-libc-rpath-link): Likewise.
19063 (link-libc-tests-rpath-link): Likewise.
19064 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19065 (link-libc): Prepand $(link-libc-rpath-link).
19066 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19067 (test-program-prefix): New macro.
19068 (test-via-rtld-prefix): Likewise.
19069 (test-program-cmd): Likewise.
19070 (host-test-program-cmd): Likewise.
19071 * Makefile ($(common-objpfx)testrun.sh): Replace
19072 $(run-program-prefix) with $(test-program-prefix).
19073 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19075 ($(common-objpfx)shlib.lds): Likewise.
19076 (build-module-helper): Likewise.
19077 ($(common-objpfx)format.lds): Likewise.
19078 * Rules (binaries-pie-tests): New.
19079 (binaries-pie-notests): Likewise.
19080 (binaries-pie): Rewritten.
19081 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19082 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19083 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19084 (make-test-out): Replace $(host-built-program-cmd) with
19085 $(host-test-program-cmd).
19086 * config.make.in (build-hardcoded-path-in-tests): New variable.
19087 * configure.in (--enable-hardcoded-path-in-tests): New configure
19089 (hardcoded_path_in_tests): New AC_SUBST.
19090 * configure: Regenerated.
19091 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19092 $(built-program-cmd) with $(test-program-cmd).
19093 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19094 (test_program_cmd): This.
19095 * elf/Makefile ($(objpfx)order.out): Run test with
19096 $(test-program-prefix).
19097 ($(objpfx)order2.out): Likewise.
19098 ($(objpfx)tst-initorder.out): Likewise.
19099 ($(objpfx)tst-initorder2.out): Likewise.
19100 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19101 $(test-program-cmd).
19102 ($(objpfx)tst-array1-static.out): Likewise.
19103 ($(objpfx)tst-array2.out): Likewise.
19104 ($(objpfx)tst-array3.out): Likewise.
19105 ($(objpfx)tst-array4.out): Likewise.
19106 ($(objpfx)tst-array5.out): Likewise.
19107 ($(objpfx)tst-array5-static.out): Likewise.
19108 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19109 $(test-program-cmd).
19110 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19111 $(run-program-prefix) with $(test-program-prefix).
19112 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19113 (test_program_prefix): This.
19114 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19115 $(run-program-prefix) with $(test-program-prefix).
19116 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19117 (test_program_prefix): This.
19118 * iconvdata/tst-tables.sh: Likewise.
19119 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19120 $(run-program-prefix) with $(test-program-prefix).
19121 ($(objpfx)tst-translit.out): Likewise.
19122 ($(objpfx)tst-gettext2.out): Likewise.
19123 ($(objpfx)tst-gettext4.out): Likewise.
19124 ($(objpfx)tst-gettext6.out): Likewise.
19125 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19126 (test_program_prefix): This.
19127 * intl/tst-gettext2.sh: Likewise.
19128 * intl/tst-gettext4.sh Likewise.
19129 * intl/tst-gettext6.sh: Likewise.
19130 * intl/tst-translit.sh: Likewise.
19131 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19132 with $(test-program-cmd).
19133 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19134 $(run-program-prefix) with $(test-program-prefix).
19135 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19136 (test_program_prefix): This.
19137 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19138 $(run-program-prefix) with $(test-program-prefix).
19139 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19140 (test_program_prefix): This.
19141 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19142 * posix/Makefile ($(objpfx)globtest.out): Replace
19143 $(run-via-rtld-prefix) and $(test-wrapper) with
19144 $(test-program-prefix) and $(test-via-rtld-prefix).
19145 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19146 $(test-program-prefix).
19147 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19148 $(host-test-program-cmd).
19149 (tst-spawn-ARGS): Likewise.
19150 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19151 $(test-program-prefix).
19152 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19153 (test_via_rtld_prefix): This.
19154 (test_wrapper): Renamed to ...
19155 (test_program_prefix): This.
19156 (run_program_prefix): Replaced by test_program_prefix.
19157 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19158 (test_program_prefix): This.
19159 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19160 with $(host-test-program-cmd).
19161 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19162 $(run-program-prefix) with $(test-program-prefix).
19163 ($(objpfx)tst-printf.out): Likewise.
19164 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19165 $(test-program-cmd).
19166 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19167 (test_program_prefix): This.
19168 * stdio-common/tst-unbputc.sh: Likewise.
19169 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19170 $(run-program-prefix) with $(test-program-prefix).
19171 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19172 (test_program_prefix): This.
19173 * string/Makefile ($(objpfx)tst-svc.out): Replace
19174 $(built-program-cmd) with $(test-program-cmd).
19176 2013-01-11 Andreas Jaeger <aj@suse.de>
19179 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19180 value. Sync with Linux 3.7.
19182 2013-01-10 David S. Miller <davem@davemloft.net>
19184 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19185 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19186 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19188 2013-01-10 Roland McGrath <roland@hack.frob.com>
19190 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19192 * configure: Regenerated.
19194 2013-01-10 David S. Miller <davem@davemloft.net>
19196 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19197 sparc V9 rather than using V8 code.
19198 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19199 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19201 2013-01-10 Roland McGrath <roland@hack.frob.com>
19203 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19204 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19205 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19206 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19207 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19208 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19209 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19210 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19211 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19212 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19213 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19214 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19215 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19216 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19217 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19218 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19219 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19220 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19221 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19222 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19223 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19224 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19225 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19226 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19227 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19228 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19229 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19231 2013-01-10 David S. Miller <davem@davemloft.net>
19233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19235 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19237 * posix/Makefile (tests-static): New variable.
19238 (tests): Add $(tests-static).
19239 (tst-exec-static-ARGS): New variable.
19240 (tst-spawn-static-ARGS): Likewise.
19241 * posix/tst-exec-static.c: New file.
19242 * posix/tst-spawn-static.c: Likewise.
19243 * posix/tst-exec.c: Support run directly.
19244 * posix/tst-spawn.c: Likewise.
19246 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19248 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19250 * math/bits/mathcalls.h (llrint): Likewise.
19251 (llround): Likewise.
19252 * stdlib/stdlib.h (struct drand48_data): Likewise.
19253 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19254 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19255 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19257 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19259 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19260 (elf_greg_t): Likewise.
19261 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19262 (__jmp_buf): Likewise.
19263 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19265 (llrint): Likewise, for all definitions.
19266 (llrintl): Likewise.
19268 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19269 Remove [__GNUC__] condition.
19270 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19271 condition to just [__USE_ISOC99].
19272 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19274 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19277 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19278 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19280 (_POSIX_V6_ILP32_OFF32): Likewise.
19281 (_XBS5_ILP32_OFF32): Likewise.
19282 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19283 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19285 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19287 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19290 doubles __mpexp_twomm1. Adjust usage.
19291 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19294 2013-01-10 Andreas Schwab <schwab@suse.de>
19297 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19298 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19300 2013-01-09 David S. Miller <davem@davemloft.net>
19303 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19304 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19305 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19306 TCP_FASTOPEN): Define.
19307 (tcp_repair_opt): New structure.
19308 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19310 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19311 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19312 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19313 (tcp_cookie_transactions): New structure.
19315 2013-01-09 Anton Blanchard <anton@samba.org>
19317 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19318 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19319 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19320 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19322 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19324 * include/features.h (__USE_ANSI): Remove.
19326 2013-01-09 Roland McGrath <roland@hack.frob.com>
19328 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19330 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19332 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19334 * sysdeps/s390/fpu/libm-test-ulps: Update.
19336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19338 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19342 (denorm): Likewise.
19343 (__mp_dbl): Likewise.
19344 (__dbl_mp): Likewise.
19345 (add_magnitudes): Likewise.
19346 (sub_magnitudes): Likewise.
19352 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19356 (denorm): Likewise.
19357 (__mp_dbl): Likewise.
19358 (__dbl_mp): Likewise.
19359 (add_magnitudes): Likewise.
19360 (sub_magnitudes): Likewise.
19366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19370 (denorm): Likewise.
19371 (__mp_dbl): Likewise.
19372 (__dbl_mp): Likewise.
19373 (add_magnitudes): Likewise.
19374 (sub_magnitudes): Likewise.
19381 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19383 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19384 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19385 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19386 2 && __USE_EXTERN_INLINES]: Likewise.
19388 2013-01-08 Andreas Jaeger <aj@suse.de>
19391 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19393 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19394 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19396 2013-01-07 Anton Blanchard <anton@samba.org>
19398 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19399 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19400 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19401 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19402 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19403 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19404 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19405 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19406 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19407 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19408 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19409 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19410 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19411 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19412 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19413 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19414 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19415 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19416 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19417 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19418 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19419 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19420 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19421 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19422 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19423 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19424 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19425 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19426 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19427 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19428 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19430 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19431 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19432 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19433 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19434 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19435 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19436 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19437 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19438 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19439 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19440 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19442 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19444 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19445 (__MALLOC_PMT): Likewise.
19446 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19447 [__GNUC__], only on [_LIBC].
19448 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19449 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19450 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19451 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19452 forward declaration.
19453 (realloc_hook_ini): Likewise.
19454 (memalign_hook_ini): Likewise.
19455 (__libc_memalign): Do not use __MALLOC_PMT in variable
19457 (__libc_valloc): Likewise.
19458 (__libc_pvalloc): Likewise.
19459 (__libc_calloc): Likewise.
19460 (__posix_memalign): Likewise.
19463 * math/s_casinh.c: Include <float.h>.
19464 (__casinh): Do not do computation with squaring and square root
19465 for large arguments.
19466 * math/s_casinhf.c: Include <float.h>.
19467 (__casinhf): Do not do computation with squaring and square root
19468 for large arguments.
19469 * math/s_casinhl.c: Include <float.h>.
19470 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19471 (__casinhl): Do not do computation with squaring and square root
19472 for large arguments.
19473 * math/libm-test.inc (casin_test): Add more tests.
19474 (casinh_test): Likewise.
19475 * sysdeps/i386/fpu/libm-test-ulps: Update.
19476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19478 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19480 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19481 (__x86_64_raw_data_cache_size): Likewise.
19482 (__x86_64_data_cache_size_half): Likewise.
19483 (__x86_64_raw_data_cache_size_half): Likewise.
19484 (__x86_64_shared_cache_size): Likewise.
19485 (__x86_64_raw_shared_cache_size): Likewise.
19486 (__x86_64_shared_cache_size_half): Likewise.
19487 (__x86_64_raw_shared_cache_size_half): Likewise.
19488 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19490 (__x86_data_cache_size): This.
19491 (__x86_64_raw_data_cache_size): Renamed to ...
19492 (__x86_raw_data_cache_size): This.
19493 (__x86_64_data_cache_size_half): Renamed to ...
19494 (__x86_data_cache_size_half): This.
19495 (__x86_64_raw_data_cache_size_half): Renamed to ...
19496 (__x86_raw_data_cache_size_half): This.
19497 (__x86_64_shared_cache_size): Renamed to ...
19498 (__x86_shared_cache_size): This.
19499 (__x86_64_raw_shared_cache_size): Renamed to ...
19500 (__x86_raw_shared_cache_size): This.
19501 (__x86_64_shared_cache_size_half): Renamed to ...
19502 (__x86_shared_cache_size_half): This.
19503 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19504 (__x86_raw_shared_cache_size_half): This.
19505 * sysdeps/x86_64/memcpy.S: Updated.
19506 * sysdeps/x86_64/memset.S: Likewise.
19507 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19508 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19509 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19511 2013-01-04 David S. Miller <davem@davemloft.net>
19513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19515 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19517 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19518 1 to avoid redefinition warning.
19519 (__USE_GNU): Don't define.
19520 (init_signaling_nan): Protoize.
19522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19524 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19526 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19528 (__cpymn): Likewise.
19529 (norm): Remove commented code.
19530 (denorm): Likewise.
19531 (__mp_dbl): Likewise.
19533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19534 (__cpymn): Likewise.
19535 (norm): Remove commented code.
19536 (denorm): Likewise.
19537 (__mp_dbl): Likewise.
19540 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19541 mp_no value for 1.0 and 2.0.
19542 (norm): Use RADIXI instead of radixi.d.
19543 (denorm): Likewise.
19544 (__mul): Use 0.0 instead of zero.d.
19545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19546 mp_no value for 1.0 and 2.0.
19547 (norm): Use RADIXI instead of radixi.d.
19548 (denorm): Likewise.
19549 (__mul): Use 0.0 instead of zero.d.
19551 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19554 * math/s_casinh.c (__casinh): Reduce finite argument to first
19555 quadrant then set signs of results at the end.
19556 * math/s_casinhf.c (__casinhf): Likewise.
19557 * math/s_casinhl.c (__casinhl): Likewise.
19558 * math/libm-test.inc (casin_test): Add more tests.
19559 (casinh_test): Likewise.
19560 * sysdeps/i386/fpu/libm-test-ulps: Update.
19561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19563 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19565 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19567 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19569 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19571 (denorm): Likewise.
19572 (__mp_dbl): Likewise.
19575 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19576 and adjust the header comment.
19578 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19579 variable name from declaration.
19581 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19584 Initialize COMMON_CPUID_INDEX_7 element.
19585 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19586 (CPUID_RTM): Likewise.
19587 (HAS_RTM): Likewise.
19588 (COMMON_CPUID_INDEX_7): New enum.
19590 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19593 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19594 size is zero, record memory as freed.
19596 2013-01-03 Andreas Jaeger <aj@suse.de>
19598 * po/ia.po: Add new Interlingua translation.
19600 2012-01-03 Allan McRae <allan@archlinux.org>
19602 * locale/programs/localedef.c: Fix description of '--posix' flag.
19604 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19606 * NEWS: Update dates in second copyright notice.
19607 * README: Update copyright dates in example.
19608 * manual/libc.texinfo: Update copyright dates.
19609 * scripts/test-installation.pl: Update copyright date in --version
19612 * hurd/ctty-input.c: Fix copyright notice formatting.
19613 * hurd/ctty-output.c: Likewise.
19614 * hurd/dtable.c: Likewise.
19615 * hurd/hurd-raise.c: Likewise.
19616 * hurd/hurdprio.c: Likewise.
19617 * hurd/msgportdemux.c: Likewise.
19618 * misc/sys/file.h: Likewise.
19619 * misc/sys/ioctl.h: Likewise.
19620 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19621 * sysdeps/mach/hurd/chdir.c: Likewise.
19622 * sysdeps/mach/hurd/fchdir.c: Likewise.
19623 * sysdeps/mach/hurd/rename.c: Likewise.
19624 * sysdeps/mach/hurd/rmdir.c: Likewise.
19625 * sysdeps/mach/hurd/seekdir.c: Likewise.
19626 * sysdeps/mach/hurd/setsid.c: Likewise.
19627 * sysdeps/posix/wait3.c: Likewise.
19629 * All files with FSF copyright notices: Update copyright dates
19630 using scripts/update-copyrights.
19631 * intl/plural.c: Regenerated.
19632 * locale/programs/charmap-kw.h: Likewise.
19633 * locale/programs/locfile-kw.h: Likewise.
19635 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19637 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19640 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19641 calculation loop and add branch prediction.
19643 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19644 check access beyond bounds of m1np.
19646 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19648 (__inv): Remove local variable MPTWO to use the global
19650 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19651 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19653 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19654 MP3HALFS static const.
19656 2013-01-01 David S. Miller <davem@davemloft.net>
19658 * po/ca.po: Update from translation team.
19660 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19662 * scripts/update-copyrights: New file.
19663 * Makeconfig: Reformat copyright notice.
19664 * ctype/ctype.h: Likewise.
19665 * debug/swprintf_chk.c: Likewise.
19666 * elf/dl-cache.c: Likewise.
19667 * elf/dl-debug.c: Likewise.
19668 * elf/dl-object.c: Likewise.
19669 * grp/initgroups.c: Likewise.
19670 * hurd/Makefile: Likewise.
19671 * hurd/hurd/signal.h: Likewise.
19672 * hurd/hurdfault.c: Likewise.
19673 * hurd/hurdioctl.c: Likewise.
19674 * hurd/hurdlookup.c: Likewise.
19675 * hurd/intr-msg.c: Likewise.
19676 * iconv/gconv_open.c: Likewise.
19677 * libio/swprintf.c: Likewise.
19678 * locale/lc-ctype.c: Likewise.
19679 * locale/nl_langinfo.c: Likewise.
19680 * mach/Machrules: Likewise.
19681 * mach/Makefile: Likewise.
19682 * malloc/obstack.h: Likewise.
19683 * manual/Makefile: Likewise.
19684 * manual/tsort.awk: Likewise.
19685 * misc/bits/stab.def: Likewise.
19686 * nis/nis_print_group_entry.c: Likewise.
19687 * nis/nis_table.c: Likewise.
19688 * nis/nss_compat/compat-pwd.c: Likewise.
19689 * nis/nss_compat/compat-spwd.c: Likewise.
19690 * po/Makefile: Likewise.
19691 * posix/fnmatch.c: Likewise.
19692 * posix/regex.h: Likewise.
19693 * resolv/Makefile: Likewise.
19694 * resolv/nss_dns/dns-network.c: Likewise.
19695 * resolv/res_hconf.c: Likewise.
19696 * scripts/gen-sorted.awk: Likewise.
19697 * soft-fp/soft-fp.h: Likewise.
19698 * stdio-common/printf.h: Likewise.
19699 * stdlib/monetary.h: Likewise.
19700 * stdlib/random.c: Likewise.
19701 * stdlib/random_r.c: Likewise.
19702 * sysdeps/generic/Makefile: Likewise.
19703 * sysdeps/gnu/Makefile: Likewise.
19704 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19705 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19706 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19707 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19708 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19709 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19710 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19711 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19712 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19713 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19714 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19715 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19716 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19717 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19718 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19719 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19720 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19721 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19722 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19723 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19724 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19725 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19726 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19727 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19728 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19729 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19730 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19731 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19732 * sysdeps/mach/hurd/errnos.awk: Likewise.
19733 * sysdeps/mach/hurd/fork.c: Likewise.
19734 * sysdeps/mach/hurd/getcwd.c: Likewise.
19735 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19736 * sysdeps/mach/hurd/mmap.c: Likewise.
19737 * sysdeps/mach/hurd/utimes.c: Likewise.
19738 * sysdeps/mach/hurd/xmknod.c: Likewise.
19739 * sysdeps/posix/profil.c: Likewise.
19740 * sysdeps/posix/readdir_r.c: Likewise.
19741 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19742 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19743 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19744 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19746 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19747 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19748 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19750 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19751 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19752 * sysdeps/pthread/lio_listio.c: Likewise.
19753 * sysdeps/sparc/dl-procinfo.h: Likewise.
19754 * sysdeps/unix/i386/sysdep.S: Likewise.
19755 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19756 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19757 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19758 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19760 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19761 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19762 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19763 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19764 * sysdeps/wordsize-32/divdi3.c: Likewise.
19765 * time/sys/time.h: Likewise.
19766 * wcsmbs/Makefile: Likewise.
19768 2013-01-01 David S. Miller <davem@davemloft.net>
19770 * po/fr.po: Update from translation team.
19772 * catgets/gencat.c: Update copyright year.
19773 * csu/version.c: Likewise.
19774 * debug/catchsegv.sh: Likewise.
19775 * debug/pcprofiledump.c: Likewise.
19776 * debug/xtrace.sh: Likewise.
19777 * elf/ldconfig.c: Likewise.
19778 * elf/ldd.bash.in: Likewise.
19779 * elf/pldd.c: Likewise.
19780 * elf/sotruss.ksh: Likewise.
19781 * elf/sprof.c: Likewise.
19782 * iconv/iconv_prog.c: Likewise.
19783 * iconv/iconvconfig.c: Likewise.
19784 * locale/programs/locale.c: Likewise.
19785 * locale/programs/localedef.c: Likewise.
19786 * login/programs/pt_chown.c: Likewise.
19787 * malloc/memusage.sh: Likewise.
19788 * malloc/memusagestat.c: Likewise.
19789 * malloc/mtrace.pl: Likewise.
19790 * nscd/nscd.c: Likewise.
19791 * nss/getent.c: Likewise.
19792 * nss/makedb.c: Likewise.
19793 * posix/getconf.c: Likewise.
19795 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19797 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19800 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19802 * math/bits/mathcalls.h (modf): Use __nonnull.
19804 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19806 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19807 (split): Use macro CN instead of the bare value.
19808 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19810 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19811 instead of the bare value.
19812 (power1): Likewise.
19814 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19816 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19818 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19820 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19822 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19823 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19824 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19825 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19827 2012-12-28 Andreas Jaeger <aj@suse.de>
19829 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19830 values are from Linux 3.7.
19832 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19833 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19835 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19837 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19840 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19842 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19843 variables with preprocessor constants.
19844 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19845 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19846 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19848 2012-12-27 Bruno Haible <bruno@clisp.org>
19851 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19854 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19856 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19857 and use variable directly.
19858 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19860 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19862 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19863 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19865 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19866 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19867 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19868 include directive. Remove local variable MPONE.
19869 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19870 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19871 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19873 2012-12-25 David S. Miller <davem@davemloft.net>
19875 * version.h (RELEASE): Set to "development".
19876 (VERSION): Set to "2.17.90".
19877 * NEWS: Add 2.18 section.
19879 2012-12-21 David S. Miller <davem@davemloft.net>
19881 * po/hr.po: Update from translation team.
19883 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19885 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19887 2012-12-19 Steve Ellcey <sellcey@mips.com>
19889 * NEWS: Mention new memcpy for MIPS.
19891 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19893 * manual/contrib.texi (Contributors): Spelling correction.
19895 2012-12-15 David S. Miller <davem@davemloft.net>
19897 * po/ru.po: Update from translation team.
19899 2012-12-13 David S. Miller <davem@davemloft.net>
19901 * NEWS: Mention IFUNC testsuite enhancements.
19903 * po/pl.po: Update from translation team.
19904 * po/bg.po: Likewise.
19906 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19907 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19909 2012-12-11 David S. Miller <davem@davemloft.net>
19911 * po/sv.po: Update from translation team.
19913 * po/vi.po: Update from translation team.
19915 * po/cs.po: Update from translation team.
19917 * po/de.po: Update from translation team.
19918 * po/eo.po: Likewise.
19919 * po/nl.po: Likewise.
19921 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19924 * manual/argp.texi (Argp Helper Functions): Move node to follow
19925 Argp Parsing State.
19928 * manual/conf.texi (Limits on File System Capacity): Mention if
19929 terminating null is included in the max size.
19931 2012-12-10 Andreas Jaeger <aj@suse.de>
19933 * po/cs.po: Update from translation team.
19935 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19937 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19938 void pointer and cast to uintptr_t.
19939 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19941 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19942 * sysdeps/s390/s390-64/memset.S: Likewise.
19944 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
19947 * menual/message.texi (Message Translation): Fix typos.
19948 (Helper programs for gettext): Likewise.
19950 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19953 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19956 2012-12-07 David S. Miller <davem@davemloft.net>
19958 * po/libc.pot: Update.
19960 2012-12-07 Richard Henderson <rth@redhat.com>
19963 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19964 normal/normal case to before the switch.
19965 (_FP_DIV): Likewise.
19967 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19968 Mike Frysinger <vapier@gentoo.org>
19970 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19971 check for __NR_fadvise64_64.
19973 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19975 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19976 0, not just to plain "0" as a statement.
19977 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19980 2012-12-06 Joseph Myers <joseph@codesourcery.com>
19982 * NEWS: Use sourceware.org in Bugzilla URL.
19984 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19987 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19989 * stdio-common/tst-put-error.c (do_test): Add newline to the
19990 padded test to ensure flush.
19992 2012-12-05 Jeff Law <law@redhat.com>
19994 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19996 2012-12-05 Joseph Myers <joseph@codesourcery.com>
19998 * README: Don't refer to ports add-on as distributed separately.
19999 Mention AArch64 in list of systems supported in the ports add-on.
20001 * LICENSES: Add more non-FSF copyright and license notices.
20003 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20006 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20008 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20009 10000 as width of padded output.
20011 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20013 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20015 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20016 variable LX with __attribute__ ((unused)).
20017 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20019 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20020 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20021 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20022 with __attribute__ ((unused)).
20024 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20026 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20028 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20030 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20031 (CFLAGS-nldbl-acos.c): New variable.
20032 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20033 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20034 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20035 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20036 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20037 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20038 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20039 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20040 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20041 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20042 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20043 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20044 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20045 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20046 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20047 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20048 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20049 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20050 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20051 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20052 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20053 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20054 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20055 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20056 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20057 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20058 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20059 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20060 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20061 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20062 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20063 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20064 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20065 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20066 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20067 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20068 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20069 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20070 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20071 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20072 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20073 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20074 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20075 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20076 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20077 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20078 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20079 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20080 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20081 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20082 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20083 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20084 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20085 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20086 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20087 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20088 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20089 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20090 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20091 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20092 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20093 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20094 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20095 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20096 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20097 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20098 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20099 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20100 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20101 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20102 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20103 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20104 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20105 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20106 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20107 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20108 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20109 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20110 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20111 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20112 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20113 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20114 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20115 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20116 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20117 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20118 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20119 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20120 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20121 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20122 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20123 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20124 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20125 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20126 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20127 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20128 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20131 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20134 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20135 whole low double instead of just low 47 bits when splitting values
20138 2012-12-03 Allan McRae <allan@archlinux.org>
20140 * manual/stdio.texi (Predefined Printf Handlers): Remove
20141 @hsep and @vsep usage.
20143 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20145 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20146 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20148 2012-12-03 Jeff Law <law@redhat.com>
20150 * time/sys/time.h (settimeofday): Do not mark TV argument
20153 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20155 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20156 when currently writing and seek to current position when not.
20157 * libio/Makefile (tests): Remove bug-fclose1.
20158 * libio/bug-fclose1.c: Delete.
20160 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20162 * manual/arith.texi (feenableexcept): Fix typo.
20163 (fedisableexcept): Likewise.
20165 2012-11-30 Roland McGrath <roland@hack.frob.com>
20167 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20168 second, differently-typed declaration, rather than a cast.
20170 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20172 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20173 * include/rpc/svc.h: ... here.
20175 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20178 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20179 depending n and resplen2 to catch cases where answer
20182 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20184 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20185 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20187 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20189 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20191 2012-11-29 Roland McGrath <roland@hack.frob.com>
20193 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20195 2012-11-28 Jeff Law <law@redhat.com>
20198 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20199 dataset_temporary. Track alloca usage into alloca_used.
20200 If dataset is large allocate and release it via malloc/free.
20202 2012-06-04 Florian Weimer <fweimer@redhat.com>
20205 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20207 2012-11-28 David S. Miller <davem@davemloft.net>
20209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20211 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20214 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20215 of pi/2 rounded to nearest to 64 bits.
20216 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20217 nearest to 64 bits.
20218 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20221 2012-11-28 Jeff Law <law@redhat.com>
20222 Martin Osvald <mosvald@redhat.com>
20225 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20226 * sunrpc/svc.c: Include time.h.
20227 (__svc_accept_failed): New function.
20228 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20229 any reason other than EINTR, call __svc_accept_failed.
20230 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20231 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20233 2012-11-28 Andreas Schwab <schwab@suse.de>
20235 * scripts/abilist.awk: Also handle indirect functions in .opd
20238 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20241 * sysdeps/x86/fpu/powl_helper.c: New file.
20242 * sysdeps/x86/fpu/Makefile: Likewise.
20243 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20245 (__ieee754_powl): Use __powl_helper for finite arguments except
20246 integer exponents below 8.
20247 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20249 (__ieee754_powl): Use __powl_helper for finite arguments except
20250 integer exponents below 8.
20251 * math/libm-test.inc (pow_test): Add more tests and enable some
20252 previously disabled tests.
20253 * sysdeps/i386/fpu/libm-test-ulps: Update.
20254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20256 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20257 Carlos O'Donell <carlos_odonell@mentor.com>
20259 * nss/makedb.c (is_prime): Assert that input is odd and greater
20260 than 4. Note that fact in a comment too.
20261 (next_prime): Add 4 to input.
20263 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20266 * libio/Makefile (tests): Add test case tst-fwrite-error.
20267 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20268 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20269 * libio/tst-fwrite-error.c: New test case.
20271 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20273 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20274 before casting to void *.
20275 * include/libc-internal.h (__pointer_type): New macro.
20276 (__integer_if_pointer_type_sub): Likewise.
20277 (__integer_if_pointer_type): Likewise.
20278 (cast_to_integer): Likewise.
20279 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20280 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20281 before casting to atomic64_t.
20282 (atomic_exchange_acq): Likewise.
20283 (__arch_exchange_and_add_body): Likewise.
20284 (__arch_add_body): Likewise.
20285 (atomic_add_negative): Likewise.
20286 (atomic_add_zero): Likewise.
20288 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20290 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20291 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20292 (add_fdes): Likewise.
20293 (linear_search_fdes): Likewise.
20294 (binary_search_unencoded_fdes): Likewise.
20296 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20298 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20300 2012-11-24 Adam Conrad <adconrad@0c3.net>
20302 * configure.in: Autodetect C++ header directories.
20303 * configure: Regenerated.
20305 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20307 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20309 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20313 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20315 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20316 LDBL_MANT_DIG == 106]: Disable some tests.
20317 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20319 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20323 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20324 input for small inputs. Return +/- pi/2 for large inputs.
20325 * math/libm-test.inc (atan_test): Add more tests.
20327 * sysdeps/generic/unwind-dw2-fde-glibc.c
20328 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20329 __attribute__ ((unused)).
20332 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20333 x * y if x and y are nonzero and z is zero.
20336 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20337 nonzero exponents with absolute value below 0x1p-117 to +/-
20341 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20342 up arguments below 2**-450, not just those below 2**-500.
20343 * math/libm-test.inc (hypot_test): Add another test.
20346 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20347 Return a+b for ratio over 2**120, not 2**60.
20348 * math/libm-test.inc (hypot_test): Add another test.
20350 * math/libm-test.inc (clog_test): Use
20351 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20352 (clog10_test): Likewise.
20355 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20357 2012-11-22 Andreas Schwab <schwab@suse.de>
20359 * sysdeps/i386/fpu/libm-test-ulps: Update.
20361 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20363 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20364 printf output with newline.
20366 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20369 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20370 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20371 -z nodlopen, -z initfirst and -z execstack support.
20372 * configure: Regenerated.
20374 * elf/elf.h (DF_1_NODIRECT): New macro.
20375 (DF_1_IGNMULDEF): Likewise.
20376 (DF_1_NOKSYMS): Likewise.
20377 (DF_1_NOHDR): Likewise.
20378 (DF_1_EDITED): Likewise.
20379 (DF_1_NORELOC): Likewise.
20380 (DF_1_SYMINTPOSE): Likewise.
20381 (DF_1_GLOBAUDIT): Likewise.
20382 (DF_1_SINGLETON): Likewise.
20383 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20384 DT_1_SUPPORTED_MASK bits.
20385 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20387 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20389 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20391 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20393 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20396 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20397 (sendmmsg): Move declarations...
20398 * socket/sys/socket.h: ... here.
20399 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20400 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20402 * socket/recvmmsg.c: ... this new file.
20403 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20404 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20405 definition of __sendmmsg hidden.
20406 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20407 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20408 Move ENOSYS stub into and include it from...
20409 * socket/sendmmsg.c: ... this new file.
20410 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20411 (sysdep_routines): Move recvmmsg and sendmmsg...
20412 * socket/Makefile (routines): ... here.
20413 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20414 (GLIBC_PRIVATE): Add __sendmmsg.
20415 * include/sys/socket.h (__sendmmsg): Add declarations.
20416 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20419 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20421 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20422 variable I1 with __attribute__ ((unused)).
20423 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20425 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20427 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20428 DUMMY variables with __attribute__ ((unused)).
20430 * bits/byteswap.h: Include <bits/types.h>.
20431 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20433 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20435 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20436 string_t. Do not manually set errno.
20437 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20438 length with __strnlen. Make sure to both set errno and return it on
20441 2012-11-19 David S. Miller <davem@davemloft.net>
20443 With help from Joseph Myers.
20444 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20445 very large arguments properly.
20446 * math/libm-test.inc (atan_test): New tests.
20447 (atan2_test): New tests.
20448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20451 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20454 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20457 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20458 [POSIX] (EADDRNOTAVAIL): Likewise.
20459 [POSIX] (EAFNOSUPPORT): Likewise.
20460 [POSIX] (EALREADY): Likewise.
20461 [POSIX] (ECONNABORTED): Likewise.
20462 [POSIX] (ECONNREFUSED): Likewise.
20463 [POSIX] (ECONNRESET): Likewise.
20464 [POSIX] (EDESTADDRREQ): Likewise.
20465 [POSIX] (EDQUOT): Likewise.
20466 [POSIX] (EHOSTUNREACH): Likewise.
20467 [POSIX] (EIDRM): Likewise.
20468 [POSIX] (EISCONN): Likewise.
20469 [POSIX] (ELOOP): Likewise.
20470 [POSIX] (EMULTIHOP): Likewise.
20471 [POSIX] (ENETDOWN): Likewise.
20472 [POSIX] (ENETUNREACH): Likewise.
20473 [POSIX] (ENOBUFS): Likewise.
20474 [POSIX] (ENODATA): Likewise.
20475 [POSIX] (ENOLINK): Likewise.
20476 [POSIX] (ENOMSG): Likewise.
20477 [POSIX] (ENOPROTOOPT): Likewise.
20478 [POSIX] (ENOSR): Likewise.
20479 [POSIX] (ENOSTR): Likewise.
20480 [POSIX] (ENOTCONN): Likewise.
20481 [POSIX] (ENOTSOCK): Likewise.
20482 [POSIX] (EOPNOTSUPP): Likewise.
20483 [POSIX] (EOVERFLOW): Likewise.
20484 [POSIX] (EPROTO): Likewise.
20485 [POSIX] (EPROTONOSUPPORT): Likewise.
20486 [POSIX] (EPROTOTYPE): Likewise.
20487 [POSIX] (ESTALE): Likewise.
20488 [POSIX] (ETIME): Likewise.
20489 [POSIX] (ETXTBSY): Likewise.
20490 [POSIX] (EWOULDBLOCK): Likewise.
20491 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20492 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20493 [POSIX] (SEEK_CUR): Likewise.
20494 [POSIX] (SEEK_END): Likewise.
20495 [POSIX || UNIX98] (mode_t): Do not require.
20496 [POSIX] (off_t): Likewise.
20497 [POSIX] (pid_t): Likewise.
20498 [POSIX] (sys/stat.h): Do not allow header.
20499 [POSIX] (unistd.h): Likewise.
20500 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20501 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20502 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20503 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20505 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20506 sigevent): Specify elements.
20507 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20509 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20510 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20512 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20513 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20514 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20515 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20516 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20517 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20518 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20519 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20520 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20521 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20522 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20523 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20524 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20525 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20527 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20529 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20531 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20533 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20534 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20535 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20536 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20537 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20538 Specify lower bound on value.
20539 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20540 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20541 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20542 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20543 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20544 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20545 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20546 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20548 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20550 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20551 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20552 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20553 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20554 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20555 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20556 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20557 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20558 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20559 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20560 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20561 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20562 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20563 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20564 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20565 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20567 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20569 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20570 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20571 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20572 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20573 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20574 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20576 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20577 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20578 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20579 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20580 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20581 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20582 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20584 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20585 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20586 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20587 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20588 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20589 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20590 specify as optional.
20591 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20592 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20593 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20594 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20595 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20596 [XPG3] (NL_LANGMAX): Likewise.
20597 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20598 [POSIX || XPG3] (NL_NMAX): Likewise.
20599 [POSIX || XPG3] (NL_SETMAX): Likewise.
20600 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20601 [XPG3] (NZERO): Likewise.
20602 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20603 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20604 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20605 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20606 (REG_ERANGE): Expect.
20607 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20609 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20610 Use (void) in prototype.
20611 [POSIX] (*_t): Allow.
20612 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20613 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20614 (WRDE_BADVAL): Expect.
20616 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20618 [XPG3 || XPG4] (O_RSYNC): Likewise.
20619 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20621 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20622 [XPG3 || XPG4] (sigqueue): Likewise.
20623 [XPG3 || XPG4] (sigtimedwait): Likewise.
20624 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20625 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20626 [XPG3 || XPG4] (vsnprintf): Likewise.
20627 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20629 [XPG3 || XPG4] (blksize_t): Likewise.
20630 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20632 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20633 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20634 [XPG3 || XPG4] (struct itimerspec): Likewise.
20635 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20636 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20637 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20638 [XPG3 || XPG4] (clockid_t): Likewise.
20639 [XPG3 || XPG4] (timer_t): Likewise.
20640 [XPG3 || XPG4] (clock_getres): Likewise.
20641 [XPG3 || XPG4] (clock_gettime): Likewise.
20642 [XPG3 || XPG4] (clock_settime): Likewise.
20643 [XPG3 || XPG4] (nanosleep): Likewise.
20644 [XPG3 || XPG4] (timer_create): Likewise.
20645 [XPG3 || XPG4] (timer_delete): Likewise.
20646 [XPG3 || XPG4] (timer_gettime): Likewise.
20647 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20648 [XPG3 || XPG4] (timer_settime): Likewise.
20649 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20650 [XPG3 || XPG4] (getlogin_r): Likewise.
20651 [XPG3 || XPG4] (pread): Likewise.
20652 [XPG3 || XPG4] (pthread_atfork): Likewise.
20653 [XPG3 || XPG4] (pwrite): Likewise.
20656 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20659 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20661 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20662 finalizing MALLSTREAM.
20664 * sysdeps/mach/hurd/syncfs.c: New file.
20666 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20669 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20670 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20671 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20672 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20673 (_nss_dns_gethostbyname4_r): Likewise.
20674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20675 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20677 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20680 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20682 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20684 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20685 * elf/cache.c (print_entry): Print ",AArch64" for
20688 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20689 * elf/cache.c (print_entry): Print ",hard-float" for
20692 2012-11-18 David S. Miller <davem@davemloft.net>
20694 With help from Joseph Myers.
20695 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20697 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20699 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20700 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20702 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20703 * math/libm-test.inc (y0_test): New tests.
20704 (y1_test): New tests.
20705 * sysdeps/i386/fpu/libm-test-ulps: Update.
20706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20709 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20711 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20713 * configure: Regenerated.
20715 2012-11-17 David S. Miller <davem@davemloft.net>
20718 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20719 nonzero exponents with absolute value below 0x1p-128 to +/-
20722 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20724 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20726 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20728 * posix/getconf-speclist.c: New file.
20729 * posix/posix-envs.def: Likewise.
20730 * posix/confstr.c (START_ENV_GROUP): New macro.
20731 (END_ENV_GROUP): Likewise.
20732 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20733 (KNOWN_PRESENT_ENV_STRING): Likewise.
20734 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20735 (UNKNOWN_ENVIRONMENT): Likewise.
20736 (confstr): Include posix-envs.def instead of handling
20737 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20738 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20739 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20740 (END_ENV_GROUP): Likewise.
20741 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20742 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20743 (UNKNOWN_ENVIRONMENT): Likewise.
20744 (__sysconf): Include posix-envs.def instead of handling associated
20745 cases directly here.
20746 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20747 preprocessing getconf-speclist.c rather than running getconf or
20748 generating empty file.
20750 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20752 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20754 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20757 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20759 2012-11-16 David S. Miller <davem@davemloft.net>
20761 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20762 smaller than LDBL_EPSILON/2.0L, just return xm1.
20764 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20766 * elf/tst-array1.c (init): Set constructor priority to 1000.
20767 (fini): Set destructor priority to 1000.
20768 * elf/tst-array2dep.c: Likewise.
20770 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20773 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20774 (_IO_new_file_xsputn): Also return EOF if none of the input
20775 data was written when overflow failed.
20776 * libio/iopadn.c (_IO_padn): Likewise.
20777 * libio/iowpadn.c (_IO_wpadn): Likewise.
20778 * stdio-common/tst-put-error.c: Add copyright notice.
20779 (do_test): Add case for printing padded string.
20780 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20781 _IO_padn returned error.
20782 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20783 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20786 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20788 * libio/libioP.h: Add comment note that the references to C++
20789 bits are now obsolete.
20791 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20793 * math/libm-test.inc (check_complex): Use asprintf.
20795 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20797 * debug/pcprofiledump.c (print_version): Update copyright year.
20798 * malloc/memusagestat.c (print_version): Likewise.
20800 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20803 * elf/Makefile (tests): Add tst-audit8.
20804 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20805 ($(objpfx)tst-audit8.out): New target.
20806 (tst-audit8-ENV): New variable.
20807 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20808 audit if l_reloc_result is NULL.
20809 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20810 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20811 * elf/tst-audit8.c: New file.
20813 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20815 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20816 * misc/Makefile (CFLAGS-select.c): Define.
20817 * posix/Makefile (CFLAGS-pause.c): Define.
20819 2012-11-13 David S. Miller <davem@davemloft.net>
20821 * crypt/Makefile: Move test targets after toplevel Rules
20822 inclusion. Grab any necessary sysdep routines when linking.
20823 * crypt/md5.c (md5_process_block): Remove define, we will always
20824 name it __md5_process_block.
20825 (md5_finish_ctx): Update md5_process_block call.
20826 (md5_stream): Likewise.
20827 (md5_process_bytes): Likewise.
20828 (md5_process_block): Rename to __md5_process_block and move to ...
20829 * crypt/md5-block.c: ... here.
20830 * crypt/sha256.c (sha256_process_block): Move to ...
20831 * crypt/sha256-block.c: ... here.
20832 * crypt/sha512.c (sha512_process_block): Move to ...
20833 * crypt/sha512-block.c: ... here.
20834 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20836 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20837 * sysdeps/sparc/sparc64/multiarch/Makefile
20838 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20840 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20841 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20843 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20844 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20845 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20846 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20847 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20848 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20849 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20850 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20851 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20853 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20854 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20856 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20858 2012-11-13 Joseph Myers <joseph@codesourcery.com>
20860 * timezone/tzselect.ksh: Update from tzcode git revision
20861 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20862 * timezone/zdump.c: Likewise.
20863 * timezone/zic.c: Likewise.
20864 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20865 in TZVERSION setting, not $(PKGVERSION).
20866 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20867 REPORT_BUGS_TO settings.
20870 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20873 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20875 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20876 detection to immediately after _FP_ROUND().
20877 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20880 2012-11-11 David S. Miller <davem@davemloft.net>
20882 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20884 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20885 __close rather than their public counterparts.
20887 2012-11-10 Joseph Myers <joseph@codesourcery.com>
20889 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20891 [UNIX98] (sem_timedwait): Do not expect.
20892 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20893 [XPG4 || UNIX98] (sockatmark): Do not expect.
20894 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20895 (clock_getcpuclockid): Do not expect.
20896 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20897 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20899 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20900 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20901 [UNIX98] (vwscanf): Likewise.
20902 [UNIX98] (vswscanf): Likewise.
20904 2012-11-09 Joseph Myers <joseph@codesourcery.com>
20906 * timezone/version.h: Remove file.
20907 * timezone/README: Do not refer to version.h.
20908 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20909 $(objpfx)version.h.
20910 ($(objpfx)zdump.o): Likewise.
20911 ($(objpfx)version.h): New target.
20913 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20915 * timezone/README: Don't mention modification to tzselect.ksh.
20916 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20917 work on unmodified tzselect.ksh. Substitute version numbers in
20920 * Makefile (format-me): Remove.
20921 (INSTALL): Adjust indentation. Use commands directly instead of
20922 using $(format-me).
20924 * aclocal.m4 (ACX_PKGVERSION): New macro.
20925 (ACX_BUGURL): Likewise.
20926 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20927 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20928 (REPORT_BUGS_TO): Likewise.
20929 * configure: Regenerated.
20930 * config.h.in (PKGVERSION): New macro.
20931 (REPORT_BUGS_TO): Likewise.
20932 * config.make.in (PKGVERSION): New variable.
20933 (PKGVERSION_TEXI): Likewise.
20934 (REPORT_BUGS_TO): Likewise.
20935 (REPORT_BUGS_TEXI): Likewise.
20936 * Makefile (format-me): Use -I$(common-objpfx)manual.
20937 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20938 ($(common-objpfx)manual/%): New target.
20939 (manual/%): Remove target.
20940 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20941 (print_version): Use PKGVERSION.
20942 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20943 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20944 and REPORT_BUGS_TO.
20945 ($(objpfx)xtrace): Likewise.
20946 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20947 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20948 (print_version): Use PKGVERSION.
20949 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20950 (do_version): Use PKGVERSION.
20951 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20953 (common-ldd-rewrite): Likewise.
20954 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20955 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20956 (print_version): Use PKGVERSION.
20957 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20958 * elf/pldd.c (argp_program_bug_address): Remove variable.
20959 (more_help): New function.
20960 (argp): Use more_help.
20961 (print_version): Use PKGVERSION.
20962 * elf/sln.c (main): Use PKGVERSION.
20963 (usage): Use REPORT_BUGS_TO.
20964 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20965 (top level): Use PKGVERSION.
20966 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20967 (print_version): Use PKGVERSION.
20968 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20969 (print_version): Use PKGVERSION.
20970 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20971 (print_version): Use PKGVERSION.
20972 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20973 (print_version): Use PKGVERSION.
20974 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20975 (print_version): Use PKGVERSION.
20976 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20977 (print_version): Use PKGVERSION.
20978 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20980 ($(objpfx)memusage): Likewise.
20981 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20982 (do_version): Use PKGVERSION.
20983 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20984 (print_version): Use PKGVERSION.
20985 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20986 ($PKGVERSION): New variable.
20987 ($REPORT_BUGS_TO): Likewise.
20988 (usage): Use $REPORT_BUGS_TO.
20989 (top level): Use $PKGVERSION.
20990 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20991 ($(objpfx)pkgvers.texi): New rule.
20992 ($(objpfx)stamp-pkgvers): Likewise.
20993 * manual/install.texi: Include pkgvers.texi.
20994 (--with-pkgversion): Document new configure option.
20995 (--with-bugurl): Likewise.
20996 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20997 than necessarily for this particular distribution. Use
20998 REPORT_BUGS_TO for where to report bugs.
20999 * INSTALL: Regenerated.
21000 * manual/libc.texinfo: Include pkgvers.texi.
21001 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21002 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21003 (print_version): Use PKGVERSION.
21004 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21005 (print_version): Use PKGVERSION.
21006 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21007 (print_version): Use PKGVERSION.
21008 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21009 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21011 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21012 (print_version): Use PKGVERSION.
21013 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21014 (print_version): Use PKGVERSION.
21015 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21018 * timezone/checktab.awk: Update from tzcode 2012i.
21019 * timezone/ialloc.c: Likewise.
21020 * timezone/private.h: Likewise.
21021 * timezone/scheck.c: Likewise.
21022 * timezone/tzfile.h: Likewise.
21023 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21024 (TZVERSION): Hardcode tzcode version number.
21025 * timezone/zdump.c: Update from tzcode 2012i.
21026 * timezone/zic.c: Likewise.
21027 * timezone/version.h: New file.
21028 * timezone/README: Describe version.h. Update upstream location.
21031 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21032 (mktemp): Enable declaration.
21033 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21034 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21035 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21036 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21038 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21040 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21042 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21044 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21046 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21050 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21051 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21052 for copies of such integer values.
21053 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21054 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21056 2012-11-09 Andreas Jaeger <aj@suse.de>
21058 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21059 definitions and declarations that are provided by
21060 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21062 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21064 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21065 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21066 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21069 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21071 * elf/elf.h: Update comment before AArch64 relocations.
21073 2012-11-07 David S. Miller <davem@davemloft.net>
21075 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21076 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21077 (__start_context): Declare.
21078 (__makecontext_ret): Delete.
21079 (__makecontext): Hook up __start_context instead of
21081 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21082 (sysdep_routines): Add __start_context when in stdlib.
21084 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21086 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21087 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21088 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21090 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21091 (READELF): New variable. Use it instead of hardcoded "readelf".
21093 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21095 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21096 * sysdeps/x86/Makefile: Here.
21097 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21098 * sysdeps/x86/tst-xmmymm.sh: This.
21100 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21102 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21104 [UNIX98] (pthread_barrier_t): Do not expect.
21105 [UNIX98] (pthread_barrierattr_t): Likewise.
21106 [UNIX98] (pthread_spinlock_t): Likewise.
21107 [UNIX98] (pthread_barrier_destroy): Likewise.
21108 [UNIX98] (pthread_barrier_init): Likewise.
21109 [UNIX98] (pthread_barrier_wait): Likewise.
21110 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21111 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21112 [UNIX98] (pthread_barrierattr_init): Likewise.
21113 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21114 [UNIX98] (pthread_getcpuclockid): Likewise.
21115 [UNIX98] (pthread_mutex_timedlock): Likewise.
21116 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21117 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21118 [UNIX98] (pthread_sigmask): Likewise.
21119 [UNIX98] (pthread_spin_destroy): Likewise.
21120 [UNIX98] (pthread_spin_init): Likewise.
21121 [UNIX98] (pthread_spin_lock): Likewise.
21122 [UNIX98] (pthread_spin_trylock): Likewise.
21123 [UNIX98] (pthread_spin_unlock): Likewise.
21124 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21126 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21127 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21128 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21129 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21130 [XPG3 || XPG4] (pthread_key_t): Likewise.
21131 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21132 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21133 [XPG3 || XPG4] (pthread_once_t): Likewise.
21134 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21135 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21136 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21137 [XPG3 || XPG4] (pthread_t): Likewise.
21139 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21141 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21143 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21144 Change function return type to int.
21146 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21147 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21148 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21149 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21150 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21151 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21152 [!POSIX] (posix_madvise): Likewise.
21153 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21155 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21156 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21157 (mode_t): Likewise.
21158 (posix_mem_offset): Likewise.
21159 (posix_typed_mem_get_info): Likewise.
21160 (posix_typed_mem_open): Likewise.
21162 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21163 Change condition to [XOPEN2K8].
21165 * conform/conformtest.pl: Preprocess allow-header data with -x c
21166 instead of from stdin.
21167 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21168 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21169 [C99-based standards] (cerfc): Likewise.
21170 [C99-based standards] (cexp2): Likewise.
21171 [C99-based standards] (cexpm1): Likewise.
21172 [C99-based standards] (clog10): Likewise.
21173 [C99-based standards] (clog1p): Likewise.
21174 [C99-based standards] (clog2): Likewise.
21175 [C99-based standards] (clgamma): Likewise.
21176 [C99-based standards] (ctgamma): Likewise.
21177 [C99-based standards] (cerff): Likewise.
21178 [C99-based standards] (cerfcf): Likewise.
21179 [C99-based standards] (cexp2f): Likewise.
21180 [C99-based standards] (cexpm1f): Likewise.
21181 [C99-based standards] (clog10f): Likewise.
21182 [C99-based standards] (clog1pf): Likewise.
21183 [C99-based standards] (clog2f): Likewise.
21184 [C99-based standards] (clgammaf): Likewise.
21185 [C99-based standards] (ctgammaf): Likewise.
21186 [C99-based standards] (cerfl): Likewise.
21187 [C99-based standards] (cerfcl): Likewise.
21188 [C99-based standards] (cexp2l): Likewise.
21189 [C99-based standards] (cexpm1l): Likewise.
21190 [C99-based standards] (clog10l): Likewise.
21191 [C99-based standards] (clog1pl): Likewise.
21192 [C99-based standards] (clog2l): Likewise.
21193 [C99-based standards] (clgammal): Likewise.
21194 [C99-based standards] (ctgammal): Likewise.
21195 * conform/data/inttypes.h-data [C99-based standards]: Include
21196 stdint.h-data. Remove all expectations for stdint.h contents.
21197 [C99-based standards] (PRI*): Do not allow.
21198 [C99-based standards] (SCN*): Likewise.
21199 [C99-based standards] (*_t): Likewise.
21200 [C99-based-standards] (PRId8): Expect macro.
21201 [C99-based-standards] (PRIi8): Likewise.
21202 [C99-based-standards] (PRIo8): Likewise.
21203 [C99-based-standards] (PRIu8): Likewise.
21204 [C99-based-standards] (PRIx8): Likewise.
21205 [C99-based-standards] (PRIX8): Likewise.
21206 [C99-based-standards] (SCNd8): Likewise.
21207 [C99-based-standards] (SCNi8): Likewise.
21208 [C99-based-standards] (SCNo8): Likewise.
21209 [C99-based-standards] (SCNu8): Likewise.
21210 [C99-based-standards] (SCNx8): Likewise.
21211 [C99-based-standards] (PRIdLEAST8): Likewise.
21212 [C99-based-standards] (PRIiLEAST8): Likewise.
21213 [C99-based-standards] (PRIoLEAST8): Likewise.
21214 [C99-based-standards] (PRIuLEAST8): Likewise.
21215 [C99-based-standards] (PRIxLEAST8): Likewise.
21216 [C99-based-standards] (PRIXLEAST8): Likewise.
21217 [C99-based-standards] (SCNdLEAST8): Likewise.
21218 [C99-based-standards] (SCNiLEAST8): Likewise.
21219 [C99-based-standards] (SCNoLEAST8): Likewise.
21220 [C99-based-standards] (SCNuLEAST8): Likewise.
21221 [C99-based-standards] (SCNxLEAST8): Likewise.
21222 [C99-based-standards] (PRIdFAST8): Likewise.
21223 [C99-based-standards] (PRIiFAST8): Likewise.
21224 [C99-based-standards] (PRIoFAST8): Likewise.
21225 [C99-based-standards] (PRIuFAST8): Likewise.
21226 [C99-based-standards] (PRIxFAST8): Likewise.
21227 [C99-based-standards] (PRIXFAST8): Likewise.
21228 [C99-based-standards] (SCNdFAST8): Likewise.
21229 [C99-based-standards] (SCNiFAST8): Likewise.
21230 [C99-based-standards] (SCNoFAST8): Likewise.
21231 [C99-based-standards] (SCNuFAST8): Likewise.
21232 [C99-based-standards] (SCNxFAST8): Likewise.
21233 [C99-based-standards] (PRId16): Likewise.
21234 [C99-based-standards] (PRIi16): Likewise.
21235 [C99-based-standards] (PRIo16): Likewise.
21236 [C99-based-standards] (PRIu16): Likewise.
21237 [C99-based-standards] (PRIx16): Likewise.
21238 [C99-based-standards] (PRIX16): Likewise.
21239 [C99-based-standards] (SCNd16): Likewise.
21240 [C99-based-standards] (SCNi16): Likewise.
21241 [C99-based-standards] (SCNo16): Likewise.
21242 [C99-based-standards] (SCNu16): Likewise.
21243 [C99-based-standards] (SCNx16): Likewise.
21244 [C99-based-standards] (PRIdLEAST16): Likewise.
21245 [C99-based-standards] (PRIiLEAST16): Likewise.
21246 [C99-based-standards] (PRIoLEAST16): Likewise.
21247 [C99-based-standards] (PRIuLEAST16): Likewise.
21248 [C99-based-standards] (PRIxLEAST16): Likewise.
21249 [C99-based-standards] (PRIXLEAST16): Likewise.
21250 [C99-based-standards] (SCNdLEAST16): Likewise.
21251 [C99-based-standards] (SCNiLEAST16): Likewise.
21252 [C99-based-standards] (SCNoLEAST16): Likewise.
21253 [C99-based-standards] (SCNuLEAST16): Likewise.
21254 [C99-based-standards] (SCNxLEAST16): Likewise.
21255 [C99-based-standards] (PRIdFAST16): Likewise.
21256 [C99-based-standards] (PRIiFAST16): Likewise.
21257 [C99-based-standards] (PRIoFAST16): Likewise.
21258 [C99-based-standards] (PRIuFAST16): Likewise.
21259 [C99-based-standards] (PRIxFAST16): Likewise.
21260 [C99-based-standards] (PRIXFAST16): Likewise.
21261 [C99-based-standards] (SCNdFAST16): Likewise.
21262 [C99-based-standards] (SCNiFAST16): Likewise.
21263 [C99-based-standards] (SCNoFAST16): Likewise.
21264 [C99-based-standards] (SCNuFAST16): Likewise.
21265 [C99-based-standards] (SCNxFAST16): Likewise.
21266 [C99-based-standards] (PRId32): Likewise.
21267 [C99-based-standards] (PRIi32): Likewise.
21268 [C99-based-standards] (PRIo32): Likewise.
21269 [C99-based-standards] (PRIu32): Likewise.
21270 [C99-based-standards] (PRIx32): Likewise.
21271 [C99-based-standards] (PRIX32): Likewise.
21272 [C99-based-standards] (SCNd32): Likewise.
21273 [C99-based-standards] (SCNi32): Likewise.
21274 [C99-based-standards] (SCNo32): Likewise.
21275 [C99-based-standards] (SCNu32): Likewise.
21276 [C99-based-standards] (SCNx32): Likewise.
21277 [C99-based-standards] (PRIdLEAST32): Likewise.
21278 [C99-based-standards] (PRIiLEAST32): Likewise.
21279 [C99-based-standards] (PRIoLEAST32): Likewise.
21280 [C99-based-standards] (PRIuLEAST32): Likewise.
21281 [C99-based-standards] (PRIxLEAST32): Likewise.
21282 [C99-based-standards] (PRIXLEAST32): Likewise.
21283 [C99-based-standards] (SCNdLEAST32): Likewise.
21284 [C99-based-standards] (SCNiLEAST32): Likewise.
21285 [C99-based-standards] (SCNoLEAST32): Likewise.
21286 [C99-based-standards] (SCNuLEAST32): Likewise.
21287 [C99-based-standards] (SCNxLEAST32): Likewise.
21288 [C99-based-standards] (PRIdFAST32): Likewise.
21289 [C99-based-standards] (PRIiFAST32): Likewise.
21290 [C99-based-standards] (PRIoFAST32): Likewise.
21291 [C99-based-standards] (PRIuFAST32): Likewise.
21292 [C99-based-standards] (PRIxFAST32): Likewise.
21293 [C99-based-standards] (PRIXFAST32): Likewise.
21294 [C99-based-standards] (SCNdFAST32): Likewise.
21295 [C99-based-standards] (SCNiFAST32): Likewise.
21296 [C99-based-standards] (SCNoFAST32): Likewise.
21297 [C99-based-standards] (SCNuFAST32): Likewise.
21298 [C99-based-standards] (SCNxFAST32): Likewise.
21299 [C99-based-standards] (PRId64): Likewise.
21300 [C99-based-standards] (PRIi64): Likewise.
21301 [C99-based-standards] (PRIo64): Likewise.
21302 [C99-based-standards] (PRIu64): Likewise.
21303 [C99-based-standards] (PRIx64): Likewise.
21304 [C99-based-standards] (PRIX64): Likewise.
21305 [C99-based-standards] (SCNd64): Likewise.
21306 [C99-based-standards] (SCNi64): Likewise.
21307 [C99-based-standards] (SCNo64): Likewise.
21308 [C99-based-standards] (SCNu64): Likewise.
21309 [C99-based-standards] (SCNx64): Likewise.
21310 [C99-based-standards] (PRIdLEAST64): Likewise.
21311 [C99-based-standards] (PRIiLEAST64): Likewise.
21312 [C99-based-standards] (PRIoLEAST64): Likewise.
21313 [C99-based-standards] (PRIuLEAST64): Likewise.
21314 [C99-based-standards] (PRIxLEAST64): Likewise.
21315 [C99-based-standards] (PRIXLEAST64): Likewise.
21316 [C99-based-standards] (SCNdLEAST64): Likewise.
21317 [C99-based-standards] (SCNiLEAST64): Likewise.
21318 [C99-based-standards] (SCNoLEAST64): Likewise.
21319 [C99-based-standards] (SCNuLEAST64): Likewise.
21320 [C99-based-standards] (SCNxLEAST64): Likewise.
21321 [C99-based-standards] (PRIdFAST64): Likewise.
21322 [C99-based-standards] (PRIiFAST64): Likewise.
21323 [C99-based-standards] (PRIoFAST64): Likewise.
21324 [C99-based-standards] (PRIuFAST64): Likewise.
21325 [C99-based-standards] (PRIxFAST64): Likewise.
21326 [C99-based-standards] (PRIXFAST64): Likewise.
21327 [C99-based-standards] (SCNdFAST64): Likewise.
21328 [C99-based-standards] (SCNiFAST64): Likewise.
21329 [C99-based-standards] (SCNoFAST64): Likewise.
21330 [C99-based-standards] (SCNuFAST64): Likewise.
21331 [C99-based-standards] (SCNxFAST64): Likewise.
21332 [C99-based-standards] (PRIdMAX): Likewise.
21333 [C99-based-standards] (PRIiMAX): Likewise.
21334 [C99-based-standards] (PRIoMAX): Likewise.
21335 [C99-based-standards] (PRIuMAX): Likewise.
21336 [C99-based-standards] (PRIxMAX): Likewise.
21337 [C99-based-standards] (PRIXMAX): Likewise.
21338 [C99-based-standards] (SCNdMAX): Likewise.
21339 [C99-based-standards] (SCNiMAX): Likewise.
21340 [C99-based-standards] (SCNoMAX): Likewise.
21341 [C99-based-standards] (SCNuMAX): Likewise.
21342 [C99-based-standards] (SCNxMAX): Likewise.
21343 [C99-based-standards] (PRIdPTR): Likewise.
21344 [C99-based-standards] (PRIiPTR): Likewise.
21345 [C99-based-standards] (PRIoPTR): Likewise.
21346 [C99-based-standards] (PRIuPTR): Likewise.
21347 [C99-based-standards] (PRIxPTR): Likewise.
21348 [C99-based-standards] (PRIXPTR): Likewise.
21349 [C99-based-standards] (SCNdPTR): Likewise.
21350 [C99-based-standards] (SCNiPTR): Likewise.
21351 [C99-based-standards] (SCNoPTR): Likewise.
21352 [C99-based-standards] (SCNuPTR): Likewise.
21353 [C99-based-standards] (SCNxPTR): Likewise.
21354 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21356 * conform/data/stdint.h-data: Update comments to clarify
21358 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21360 [C99-based standards] (INT8_MAX): Likewise.
21361 [C99-based standards] (INT16_MIN): Likewise.
21362 [C99-based standards] (INT16_MAX): Likewise.
21363 [C99-based standards] (INT32_MIN): Likewise.
21364 [C99-based standards] (INT32_MAX): Likewise.
21365 [C99-based standards] (INT64_MIN): Likewise.
21366 [C99-based standards] (INT64_MAX): Likewise.
21367 [C99-based standards] (UINT8_MAX): Likewise.
21368 [C99-based standards] (UINT16_MAX): Likewise.
21369 [C99-based standards] (UINT32_MAX): Likewise.
21370 [C99-based standards] (UINT64_MAX): Likewise.
21371 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21372 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21373 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21374 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21375 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21376 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21377 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21378 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21379 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21380 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21381 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21382 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21383 [C99-based standards] (INT_FAST8_MIN): Likewise.
21384 [C99-based standards] (INT_FAST8_MAX): Likewise.
21385 [C99-based standards] (INT_FAST16_MIN): Likewise.
21386 [C99-based standards] (INT_FAST16_MAX): Likewise.
21387 [C99-based standards] (INT_FAST32_MIN): Likewise.
21388 [C99-based standards] (INT_FAST32_MAX): Likewise.
21389 [C99-based standards] (INT_FAST64_MIN): Likewise.
21390 [C99-based standards] (INT_FAST64_MAX): Likewise.
21391 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21392 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21393 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21394 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21395 [C99-based standards] (INTPTR_MIN): Likewise.
21396 [C99-based standards] (INTPTR_MAX): Likewise.
21397 [C99-based standards] (UINTPTR_MAX): Likewise.
21398 [C99-based standards] (INTMAX_MIN): Likewise.
21399 [C99-based standards] (INTMAX_MAX): Likewise.
21400 [C99-based standards] (UINTMAX_MAX): Likewise.
21401 [C99-based standards] (PTRDIFF_MIN): Likewise.
21402 [C99-based standards] (PTRDIFF_MAX): Likewise.
21403 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21404 [C99-based standards] (SIZE_MAX): Likewise.
21405 [C99-based standards] (WCHAR_MAX): Likewise.
21406 [C99-based standards] (WINT_MAX): Likewise.
21407 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21408 constraint on value.
21409 [C99-based standards] (WCHAR_MIN): Likewise.
21410 [C99-based standards] (WINT_MIN): Likewise.
21411 [C99-based standards] (*_t): Allow.
21412 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21413 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21414 Include math.h-data and complex.h-data. Remove all expectations
21415 of math.h and complex.h contents.
21416 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21418 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21419 (struct tm): Expect tag.
21420 [C99-based-standards] (wcstof): Expect function.
21421 [C99-based-standards] (wcstold): Likewise.
21422 [C99-based-standards] (wcstoll): Likewise.
21423 [C99-based-standards] (wcstoull): Likewise.
21424 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21425 macro-int-constant. Specify type.
21426 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21427 constraint on value.
21428 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21430 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21432 [ISO C standards]: Do not allow headers.
21433 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21434 wcs[abcdefghijklmnopqrstuvwxyz]*.
21435 [ISO C standards] (*_t): Do not allow.
21436 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21438 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21439 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21441 [ISO C standards]: Do not allow headers.
21442 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21443 is[abcdefghijklmnopqrstuvwxyz]*.
21444 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21445 to[abcdefghijklmnopqrstuvwxyz]*.
21446 [ISO C standards] (*_t): Do not allow.
21447 * conform/data/stdalign.h-data: New file.
21448 * conform/data/stdbool.h-data: Likewise.
21449 * conform/data/stdnoreturn.h-data: Likewise.
21451 2012-11-07 Roland McGrath <roland@hack.frob.com>
21454 * manual/filesys.texi (Directory Entries): Typo fix.
21455 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21457 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21459 * elf/elf.h (EM_AARCH64): New macro.
21460 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21461 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21462 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21463 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21464 (R_AARCH64_TLSDESC): Likewise.
21465 (NT_ARM_TLS): Likewise.
21466 (NT_ARM_HW_BREAK): Likewise.
21467 (NT_ARM_HW_WATCH): Likewise.
21469 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21472 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21473 (__ieee754_powl): Saturate nonzero exponents with absolute value
21474 below 0x1p-79 to +/- 0x1p-79.
21475 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21476 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21477 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21478 nonzero exponents with absolute value below 0x1p-32 to +/-
21480 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21481 (__ieee754_powl): Saturate nonzero exponents with absolute value
21482 below 0x1p-79 to +/- 0x1p-79.
21483 * math/libm-test.inc (pow_test): Add more tests.
21485 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21487 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21488 _dl_s390_cap_flags with kernel. Increase string length.
21489 (_dl_s390_platforms): Add z196 and zEC12.
21491 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21493 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21494 Change XOPEN21K to XOPEN2K.
21496 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21498 * string/memmove.c: Use memcpy when possible.
21500 2012-11-06 Andreas Jaeger <aj@suse.de>
21502 * po/eo.po: Update from translation team.
21504 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21508 exponent and small x and y exponents, scale x or y up. Increase
21509 by 2 the exponent used in scaling up.
21510 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21511 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21512 * math/libm-test.inc (fma_test): Add more tests.
21513 (fma_test_towardzero): Likewise.
21514 (fma_test_downward): Likewise.
21515 (fma_test_upward): Likewise.
21517 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21520 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21524 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21525 namespace for names of struct fields.
21526 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21528 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21529 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21531 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21534 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21536 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21538 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21542 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21545 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21549 definitely overflow as x * y not x * y + z.
21550 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21551 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21552 * math/libm-test.inc (fma_test): Add more tests.
21553 (fma_test_towardzero): Likewise.
21554 (fma_test_downward): Likewise.
21555 (fma_test_upward): Likewise.
21557 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21561 * include/stub-tag.h: Remove file.
21562 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21564 * manual/maint.texi (Porting): Don't reference it.
21565 * Makerules ($(objpfx)stubs): Likewise.
21566 * dirent/closedir.c: Don't include <stub-tag.h>.
21567 * dirent/dirfd.c: Likewise.
21568 * dirent/fdopendir.c: Likewise.
21569 * dirent/getdents.c: Likewise.
21570 * dirent/getdents64.c: Likewise.
21571 * dirent/opendir.c: Likewise.
21572 * dirent/readdir.c: Likewise.
21573 * dirent/readdir64.c: Likewise.
21574 * dirent/readdir64_r.c: Likewise.
21575 * dirent/readdir_r.c: Likewise.
21576 * dirent/rewinddir.c: Likewise.
21577 * dirent/seekdir.c: Likewise.
21578 * dirent/telldir.c: Likewise.
21579 * gmon/profil.c: Likewise.
21580 * grp/setgroups.c: Likewise.
21581 * inet/if_index.c: Likewise.
21582 * io/access.c: Likewise.
21583 * io/chdir.c: Likewise.
21584 * io/chmod.c: Likewise.
21585 * io/chown.c: Likewise.
21586 * io/close.c: Likewise.
21587 * io/dup.c: Likewise.
21588 * io/dup2.c: Likewise.
21589 * io/dup3.c: Likewise.
21590 * io/euidaccess.c: Likewise.
21591 * io/faccessat.c: Likewise.
21592 * io/fchdir.c: Likewise.
21593 * io/fchmod.c: Likewise.
21594 * io/fchmodat.c: Likewise.
21595 * io/fchown.c: Likewise.
21596 * io/fchownat.c: Likewise.
21597 * io/fcntl.c: Likewise.
21598 * io/flock.c: Likewise.
21599 * io/fstatfs.c: Likewise.
21600 * io/fstatfs64.c: Likewise.
21601 * io/fstatvfs.c: Likewise.
21602 * io/fstatvfs64.c: Likewise.
21603 * io/futimens.c: Likewise.
21604 * io/fxstat.c: Likewise.
21605 * io/fxstat64.c: Likewise.
21606 * io/fxstatat.c: Likewise.
21607 * io/fxstatat64.c: Likewise.
21608 * io/getcwd.c: Likewise.
21609 * io/isatty.c: Likewise.
21610 * io/lchmod.c: Likewise.
21611 * io/lchown.c: Likewise.
21612 * io/link.c: Likewise.
21613 * io/linkat.c: Likewise.
21614 * io/lseek.c: Likewise.
21615 * io/lseek64.c: Likewise.
21616 * io/lxstat64.c: Likewise.
21617 * io/mkdir.c: Likewise.
21618 * io/mkdirat.c: Likewise.
21619 * io/mkfifo.c: Likewise.
21620 * io/mkfifoat.c: Likewise.
21621 * io/open.c: Likewise.
21622 * io/open64.c: Likewise.
21623 * io/openat.c: Likewise.
21624 * io/openat64.c: Likewise.
21625 * io/pipe.c: Likewise.
21626 * io/pipe2.c: Likewise.
21627 * io/poll.c: Likewise.
21628 * io/posix_fadvise.c: Likewise.
21629 * io/posix_fadvise64.c: Likewise.
21630 * io/posix_fallocate.c: Likewise.
21631 * io/posix_fallocate64.c: Likewise.
21632 * io/read.c: Likewise.
21633 * io/readlink.c: Likewise.
21634 * io/readlinkat.c: Likewise.
21635 * io/rmdir.c: Likewise.
21636 * io/sendfile.c: Likewise.
21637 * io/sendfile64.c: Likewise.
21638 * io/statfs.c: Likewise.
21639 * io/statfs64.c: Likewise.
21640 * io/statvfs.c: Likewise.
21641 * io/statvfs64.c: Likewise.
21642 * io/symlink.c: Likewise.
21643 * io/symlinkat.c: Likewise.
21644 * io/ttyname.c: Likewise.
21645 * io/ttyname_r.c: Likewise.
21646 * io/umask.c: Likewise.
21647 * io/unlink.c: Likewise.
21648 * io/unlinkat.c: Likewise.
21649 * io/utime.c: Likewise.
21650 * io/utimensat.c: Likewise.
21651 * io/write.c: Likewise.
21652 * io/xmknod.c: Likewise.
21653 * io/xmknodat.c: Likewise.
21654 * io/xstat.c: Likewise.
21655 * io/xstat64.c: Likewise.
21656 * login/getpt.c: Likewise.
21657 * login/grantpt.c: Likewise.
21658 * login/unlockpt.c: Likewise.
21659 * math/e_acoshl.c: Likewise.
21660 * math/e_acosl.c: Likewise.
21661 * math/e_asinl.c: Likewise.
21662 * math/e_atan2l.c: Likewise.
21663 * math/e_atanhl.c: Likewise.
21664 * math/e_coshl.c: Likewise.
21665 * math/e_expl.c: Likewise.
21666 * math/e_fmodl.c: Likewise.
21667 * math/e_gammal_r.c: Likewise.
21668 * math/e_hypotl.c: Likewise.
21669 * math/e_j0l.c: Likewise.
21670 * math/e_j1l.c: Likewise.
21671 * math/e_jnl.c: Likewise.
21672 * math/e_lgammal_r.c: Likewise.
21673 * math/e_log10l.c: Likewise.
21674 * math/e_log2l.c: Likewise.
21675 * math/e_logl.c: Likewise.
21676 * math/e_powl.c: Likewise.
21677 * math/e_rem_pio2l.c: Likewise.
21678 * math/e_sinhl.c: Likewise.
21679 * math/e_sqrtl.c: Likewise.
21680 * math/fclrexcpt.c: Likewise.
21681 * math/fedisblxcpt.c: Likewise.
21682 * math/feenablxcpt.c: Likewise.
21683 * math/fegetenv.c: Likewise.
21684 * math/fegetexcept.c: Likewise.
21685 * math/fegetround.c: Likewise.
21686 * math/feholdexcpt.c: Likewise.
21687 * math/fesetenv.c: Likewise.
21688 * math/fesetround.c: Likewise.
21689 * math/feupdateenv.c: Likewise.
21690 * math/fgetexcptflg.c: Likewise.
21691 * math/fraiseexcpt.c: Likewise.
21692 * math/fsetexcptflg.c: Likewise.
21693 * math/ftestexcept.c: Likewise.
21694 * math/k_cosl.c: Likewise.
21695 * math/k_rem_pio2l.c: Likewise.
21696 * math/k_sinl.c: Likewise.
21697 * math/k_tanl.c: Likewise.
21698 * math/s_asinhl.c: Likewise.
21699 * math/s_atanl.c: Likewise.
21700 * math/s_cbrtl.c: Likewise.
21701 * math/s_erfl.c: Likewise.
21702 * math/s_expm1l.c: Likewise.
21703 * math/s_log1pl.c: Likewise.
21704 * math/s_tanhl.c: Likewise.
21705 * misc/acct.c: Likewise.
21706 * misc/brk.c: Likewise.
21707 * misc/chflags.c: Likewise.
21708 * misc/chroot.c: Likewise.
21709 * misc/fchflags.c: Likewise.
21710 * misc/fgetxattr.c: Likewise.
21711 * misc/flistxattr.c: Likewise.
21712 * misc/fremovexattr.c: Likewise.
21713 * misc/fsetxattr.c: Likewise.
21714 * misc/fsync.c: Likewise.
21715 * misc/ftruncate.c: Likewise.
21716 * misc/futimes.c: Likewise.
21717 * misc/futimesat.c: Likewise.
21718 * misc/getdomain.c: Likewise.
21719 * misc/getdtsz.c: Likewise.
21720 * misc/gethostid.c: Likewise.
21721 * misc/gethostname.c: Likewise.
21722 * misc/getloadavg.c: Likewise.
21723 * misc/getpagesize.c: Likewise.
21724 * misc/getsysstats.c: Likewise.
21725 * misc/getxattr.c: Likewise.
21726 * misc/gtty.c: Likewise.
21727 * misc/ioctl.c: Likewise.
21728 * misc/lgetxattr.c: Likewise.
21729 * misc/listxattr.c: Likewise.
21730 * misc/llistxattr.c: Likewise.
21731 * misc/lremovexattr.c: Likewise.
21732 * misc/lsetxattr.c: Likewise.
21733 * misc/lutimes.c: Likewise.
21734 * misc/madvise.c: Likewise.
21735 * misc/mincore.c: Likewise.
21736 * misc/mlock.c: Likewise.
21737 * misc/mlockall.c: Likewise.
21738 * misc/mmap.c: Likewise.
21739 * misc/mprotect.c: Likewise.
21740 * misc/msync.c: Likewise.
21741 * misc/munlock.c: Likewise.
21742 * misc/munlockall.c: Likewise.
21743 * misc/munmap.c: Likewise.
21744 * misc/preadv.c: Likewise.
21745 * misc/preadv64.c: Likewise.
21746 * misc/ptrace.c: Likewise.
21747 * misc/pwritev.c: Likewise.
21748 * misc/pwritev64.c: Likewise.
21749 * misc/readv.c: Likewise.
21750 * misc/reboot.c: Likewise.
21751 * misc/remap_file_pages.c: Likewise.
21752 * misc/removexattr.c: Likewise.
21753 * misc/revoke.c: Likewise.
21754 * misc/select.c: Likewise.
21755 * misc/setdomain.c: Likewise.
21756 * misc/setegid.c: Likewise.
21757 * misc/seteuid.c: Likewise.
21758 * misc/sethostid.c: Likewise.
21759 * misc/sethostname.c: Likewise.
21760 * misc/setregid.c: Likewise.
21761 * misc/setreuid.c: Likewise.
21762 * misc/setxattr.c: Likewise.
21763 * misc/sstk.c: Likewise.
21764 * misc/stty.c: Likewise.
21765 * misc/swapoff.c: Likewise.
21766 * misc/swapon.c: Likewise.
21767 * misc/sync.c: Likewise.
21768 * misc/syncfs.c: Likewise.
21769 * misc/syscall.c: Likewise.
21770 * misc/truncate.c: Likewise.
21771 * misc/ualarm.c: Likewise.
21772 * misc/usleep.c: Likewise.
21773 * misc/ustat.c: Likewise.
21774 * misc/utimes.c: Likewise.
21775 * misc/vhangup.c: Likewise.
21776 * misc/writev.c: Likewise.
21777 * posix/_exit.c: Likewise.
21778 * posix/alarm.c: Likewise.
21779 * posix/execve.c: Likewise.
21780 * posix/fexecve.c: Likewise.
21781 * posix/fork.c: Likewise.
21782 * posix/fpathconf.c: Likewise.
21783 * posix/getaddrinfo.c: Likewise.
21784 * posix/getegid.c: Likewise.
21785 * posix/geteuid.c: Likewise.
21786 * posix/getgid.c: Likewise.
21787 * posix/getgroups.c: Likewise.
21788 * posix/getlogin.c: Likewise.
21789 * posix/getlogin_r.c: Likewise.
21790 * posix/getpgid.c: Likewise.
21791 * posix/getpid.c: Likewise.
21792 * posix/getppid.c: Likewise.
21793 * posix/getresgid.c: Likewise.
21794 * posix/getresuid.c: Likewise.
21795 * posix/getsid.c: Likewise.
21796 * posix/getuid.c: Likewise.
21797 * posix/glob64.c: Likewise.
21798 * posix/nanosleep.c: Likewise.
21799 * posix/pathconf.c: Likewise.
21800 * posix/pause.c: Likewise.
21801 * posix/posix_madvise.c: Likewise.
21802 * posix/pread.c: Likewise.
21803 * posix/pread64.c: Likewise.
21804 * posix/pwrite.c: Likewise.
21805 * posix/pwrite64.c: Likewise.
21806 * posix/sched_getaffinity.c: Likewise.
21807 * posix/sched_getp.c: Likewise.
21808 * posix/sched_gets.c: Likewise.
21809 * posix/sched_primax.c: Likewise.
21810 * posix/sched_primin.c: Likewise.
21811 * posix/sched_rr_gi.c: Likewise.
21812 * posix/sched_setaffinity.c: Likewise.
21813 * posix/sched_setp.c: Likewise.
21814 * posix/sched_sets.c: Likewise.
21815 * posix/sched_yield.c: Likewise.
21816 * posix/setgid.c: Likewise.
21817 * posix/setlogin.c: Likewise.
21818 * posix/setpgid.c: Likewise.
21819 * posix/setresgid.c: Likewise.
21820 * posix/setresuid.c: Likewise.
21821 * posix/setsid.c: Likewise.
21822 * posix/setuid.c: Likewise.
21823 * posix/sleep.c: Likewise.
21824 * posix/spawni.c: Likewise.
21825 * posix/sysconf.c: Likewise.
21826 * posix/times.c: Likewise.
21827 * posix/wait.c: Likewise.
21828 * posix/wait3.c: Likewise.
21829 * posix/wait4.c: Likewise.
21830 * posix/waitpid.c: Likewise.
21831 * resolv/gai_sigqueue.c: Likewise.
21832 * resource/getpriority.c: Likewise.
21833 * resource/getrlimit.c: Likewise.
21834 * resource/getrusage.c: Likewise.
21835 * resource/nice.c: Likewise.
21836 * resource/setpriority.c: Likewise.
21837 * resource/setrlimit.c: Likewise.
21838 * resource/ulimit.c: Likewise.
21839 * rt/aio_cancel.c: Likewise.
21840 * rt/aio_fsync.c: Likewise.
21841 * rt/aio_read.c: Likewise.
21842 * rt/aio_sigqueue.c: Likewise.
21843 * rt/aio_suspend.c: Likewise.
21844 * rt/aio_write.c: Likewise.
21845 * rt/clock_getres.c: Likewise.
21846 * rt/clock_gettime.c: Likewise.
21847 * rt/clock_nanosleep.c: Likewise.
21848 * rt/clock_settime.c: Likewise.
21849 * rt/lio_listio.c: Likewise.
21850 * rt/mq_close.c: Likewise.
21851 * rt/mq_getattr.c: Likewise.
21852 * rt/mq_notify.c: Likewise.
21853 * rt/mq_open.c: Likewise.
21854 * rt/mq_receive.c: Likewise.
21855 * rt/mq_send.c: Likewise.
21856 * rt/mq_setattr.c: Likewise.
21857 * rt/mq_timedreceive.c: Likewise.
21858 * rt/mq_timedsend.c: Likewise.
21859 * rt/mq_unlink.c: Likewise.
21860 * rt/shm_open.c: Likewise.
21861 * rt/shm_unlink.c: Likewise.
21862 * rt/timer_create.c: Likewise.
21863 * rt/timer_delete.c: Likewise.
21864 * rt/timer_getoverr.c: Likewise.
21865 * rt/timer_gettime.c: Likewise.
21866 * rt/timer_settime.c: Likewise.
21867 * setjmp/__longjmp.c: Likewise.
21868 * setjmp/setjmp.c: Likewise.
21869 * signal/kill.c: Likewise.
21870 * signal/killpg.c: Likewise.
21871 * signal/raise.c: Likewise.
21872 * signal/sigaction.c: Likewise.
21873 * signal/sigaltstack.c: Likewise.
21874 * signal/sigblock.c: Likewise.
21875 * signal/sigignore.c: Likewise.
21876 * signal/sigintr.c: Likewise.
21877 * signal/signal.c: Likewise.
21878 * signal/sigpause.c: Likewise.
21879 * signal/sigpending.c: Likewise.
21880 * signal/sigqueue.c: Likewise.
21881 * signal/sigreturn.c: Likewise.
21882 * signal/sigset.c: Likewise.
21883 * signal/sigsetmask.c: Likewise.
21884 * signal/sigstack.c: Likewise.
21885 * signal/sigsuspend.c: Likewise.
21886 * signal/sigtimedwait.c: Likewise.
21887 * signal/sigvec.c: Likewise.
21888 * signal/sigwait.c: Likewise.
21889 * signal/sigwaitinfo.c: Likewise.
21890 * signal/sysv_signal.c: Likewise.
21891 * socket/accept.c: Likewise.
21892 * socket/accept4.c: Likewise.
21893 * socket/bind.c: Likewise.
21894 * socket/connect.c: Likewise.
21895 * socket/getpeername.c: Likewise.
21896 * socket/getsockname.c: Likewise.
21897 * socket/getsockopt.c: Likewise.
21898 * socket/isfdtype.c: Likewise.
21899 * socket/listen.c: Likewise.
21900 * socket/recv.c: Likewise.
21901 * socket/recvfrom.c: Likewise.
21902 * socket/recvmsg.c: Likewise.
21903 * socket/send.c: Likewise.
21904 * socket/sendmsg.c: Likewise.
21905 * socket/sendto.c: Likewise.
21906 * socket/setsockopt.c: Likewise.
21907 * socket/shutdown.c: Likewise.
21908 * socket/sockatmark.c: Likewise.
21909 * socket/socket.c: Likewise.
21910 * socket/socketpair.c: Likewise.
21911 * stdio-common/ctermid.c: Likewise.
21912 * stdio-common/cuserid.c: Likewise.
21913 * stdio-common/remove.c: Likewise.
21914 * stdio-common/rename.c: Likewise.
21915 * stdio-common/renameat.c: Likewise.
21916 * stdio-common/tempname.c: Likewise.
21917 * stdlib/getcontext.c: Likewise.
21918 * stdlib/makecontext.c: Likewise.
21919 * stdlib/setcontext.c: Likewise.
21920 * stdlib/swapcontext.c: Likewise.
21921 * stdlib/system.c: Likewise.
21922 * streams/fattach.c: Likewise.
21923 * streams/fdetach.c: Likewise.
21924 * streams/getmsg.c: Likewise.
21925 * streams/getpmsg.c: Likewise.
21926 * streams/putmsg.c: Likewise.
21927 * streams/putpmsg.c: Likewise.
21928 * sysdeps/unix/bsd/getpt.c: Likewise.
21929 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21930 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21931 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21934 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21935 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21936 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21937 * sysvipc/msgctl.c: Likewise.
21938 * sysvipc/msgget.c: Likewise.
21939 * sysvipc/msgrcv.c: Likewise.
21940 * sysvipc/msgsnd.c: Likewise.
21941 * sysvipc/semctl.c: Likewise.
21942 * sysvipc/semget.c: Likewise.
21943 * sysvipc/semop.c: Likewise.
21944 * sysvipc/semtimedop.c: Likewise.
21945 * sysvipc/shmat.c: Likewise.
21946 * sysvipc/shmctl.c: Likewise.
21947 * sysvipc/shmdt.c: Likewise.
21948 * sysvipc/shmget.c: Likewise.
21949 * termios/tcdrain.c: Likewise.
21950 * termios/tcflow.c: Likewise.
21951 * termios/tcflush.c: Likewise.
21952 * termios/tcgetattr.c: Likewise.
21953 * termios/tcgetpgrp.c: Likewise.
21954 * termios/tcsendbrk.c: Likewise.
21955 * termios/tcsetattr.c: Likewise.
21956 * termios/tcsetpgrp.c: Likewise.
21957 * time/adjtime.c: Likewise.
21958 * time/clock.c: Likewise.
21959 * time/getitimer.c: Likewise.
21960 * time/gettimeofday.c: Likewise.
21961 * time/setitimer.c: Likewise.
21962 * time/settimeofday.c: Likewise.
21963 * time/stime.c: Likewise.
21964 * time/time.c: Likewise.
21966 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
21968 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21971 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21973 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21975 2012-11-03 Joseph Myers <joseph@codesourcery.com>
21978 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21979 FE_TONEAREST before applying Dekker multiplication and Knuth
21980 addition. Clear inexact exceptions and check for exact zero
21981 results afterwards.
21982 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21983 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21984 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21985 * math/libm-test.inc (fma_test): Add more tests.
21986 (fma_test_towardzero): Likewise.
21987 (fma_test_downward): Likewise.
21988 (fma_test_upward): Likewise.
21989 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21991 (libc_fesetround): New macro.
21992 (libc_fesetroundf): Likewise.
21993 (libc_fesetroundl): Likewise.
21994 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21996 (libc_fesetround_387): Likewise.
21997 (libc_fesetroundf): New macro.
21998 (libc_fesetround): Likewise.
21999 (libc_fesetroundl): Likewise.
22000 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22002 (libc_fesetroundf): New macro.
22003 (libc_fesetround): Likewise.
22004 (libc_fesetroundl): Likewise.
22005 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22006 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22007 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22009 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22010 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22012 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22013 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22015 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22019 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22020 integer constant usable in #if and use that to give value to enum
22022 (FE_DIVBYZERO): Likewise.
22023 (FE_UNDERFLOW): Likewise.
22024 (FE_OVERFLOW): Likewise.
22025 (FE_INVALID): Likewise.
22026 (FE_INVALID_SNAN): Likewise.
22027 (FE_INVALID_ISI): Likewise.
22028 (FE_INVALID_IDI): Likewise.
22029 (FE_INVALID_ZDZ): Likewise.
22030 (FE_INVALID_IMZ): Likewise.
22031 (FE_INVALID_COMPARE): Likewise.
22032 (FE_INVALID_SOFTWARE): Likewise.
22033 (FE_INVALID_SQRT): Likewise.
22034 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22035 (FE_TONEAREST): Likewise.
22036 (FE_TOWARDZERO): Likewise.
22037 (FE_UPWARD): Likewise.
22038 (FE_DOWNWARD): Likewise.
22039 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22040 (FE_DIVBYZERO): Likewise.
22041 (FE_OVERFLOW): Likewise.
22042 (FE_UNDERFLOW): Likewise.
22043 (FE_INEXACT): Likewise.
22044 (FE_TONEAREST): Likewise.
22045 (FE_DOWNWARD): Likewise.
22046 (FE_UPWARD): Likewise.
22047 (FE_TOWARDZERO): Likewise.
22048 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22049 (FE_UNDERFLOW): Likewise.
22050 (FE_OVERFLOW): Likewise.
22051 (FE_DIVBYZERO): Likewise.
22052 (FE_INVALID): Likewise.
22053 (FE_TONEAREST): Likewise.
22054 (FE_TOWARDZERO): Likewise.
22055 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22056 (FE_OVERFLOW): Likewise.
22057 (FE_UNDERFLOW): Likewise.
22058 (FE_DIVBYZERO): Likewise.
22059 (FE_INEXACT): Likewise.
22060 (FE_TONEAREST): Likewise.
22061 (FE_TOWARDZERO): Likewise.
22062 (FE_UPWARD): Likewise.
22063 (FE_DOWNWARD): Likewise.
22064 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22065 (FE_DIVBYZERO): Likewise.
22066 (FE_OVERFLOW): Likewise.
22067 (FE_UNDERFLOW): Likewise.
22068 (FE_INEXACT): Likewise.
22069 (FE_TONEAREST): Likewise.
22070 (FE_DOWNWARD): Likewise.
22071 (FE_UPWARD): Likewise.
22072 (FE_TOWARDZERO): Likewise.
22074 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22076 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22078 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22080 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22081 commands. Quote $PWD.
22082 (blacklist_exports): Don't use remove_newlines. Replace "declare
22084 (remove_newlines): Remove.
22086 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22088 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22089 * stdlib/stdlib.h (atof): Moved to ...
22090 * include/bits/stdlib-float.h: Here. New file.
22091 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22092 * stdlib/bits/stdlib-float.h: New file.
22093 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22095 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22098 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22100 * conform/conformtest.pl (@headers): Add fenv.h.
22101 * conform/data/fenv.h-data: New file.
22102 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22103 include of <math/fenv.h>.
22105 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22106 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22107 && !UNIX98]. Enables tests for XOPEN2K8.
22108 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22109 POSIX2008]: Likewise.
22111 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22112 (struct rusage): Do not expect type or its members.
22115 * math/math.h (FP_NAN): Define macro to integer constant usable in
22116 #if and use that to give value to enum constant.
22117 (FP_INFINITE): Likewise.
22118 (FP_ZERO): Likewise.
22119 (FP_SUBNORMAL): Likewise.
22120 (FP_NORMAL): Likewise.
22122 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22124 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22125 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22128 2012-11-02 Roland McGrath <roland@hack.frob.com>
22130 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22131 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22132 autoconf-time if not.
22133 * configure.in: Remove AC_PREREQ.
22135 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22137 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22138 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22139 of the internal implementation.
22141 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22143 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22144 except include of <misc/sys/syslog.h>.
22146 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22149 function returns with a NULL context exit with zero.
22151 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22153 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22155 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22157 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22158 (run_program_cmd): This.
22159 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22160 (tst_langinfo): New variable. Use it.
22162 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22164 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22165 floating point opcodes.
22167 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22169 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22172 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22174 * sysdeps/mach/hurd/powerpc: Remove directory.
22175 * sysdeps/mach/powerpc: Likewise.
22177 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22179 * scripts/check-local-headers.sh: Ignore c++ headers.
22181 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22183 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22184 __libc_cleanup_region_start argument.
22186 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22191 x * y using scaling, not as x * y + z.
22192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22193 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22194 * math/libm-test.inc (fma_test): Add more tests.
22195 (fma_test_towardzero): Likewise.
22196 (fma_test_downward): Likewise.
22197 (fma_test_upward): Likewise.
22199 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22201 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22203 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22205 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22208 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22210 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22212 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22219 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22222 Fix the order of the list for glibc 2.17.
22223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22226 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22230 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22233 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22234 for low part of x being zero before using __atanl (y).
22235 * math/libm-test.inc (atan2_test): Add another test.
22237 * manual/install.texi (Configuring and compiling): Document
22238 general use of test-wrapper and test-wrapper-env.
22239 * INSTALL: Regenerated.
22241 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22242 (__fma): Do not extract and scale down low bits on after-rounding
22243 systems when result rounded to normal precision would have normal
22245 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22246 (__fmal): Do not extract and scale down low bits on after-rounding
22247 systems when result rounded to normal precision would have normal
22249 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22250 (__fmal): Do not extract and scale down low bits on after-rounding
22251 systems when result rounded to normal precision would have normal
22253 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22255 (fma_test): Add more tests.
22256 (fma_test_towardzero): Likewise.
22257 (fma_test_downward): Likewise.
22258 (fma_test_upward): Likewise.
22260 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22262 * sysdeps/i386/tininess.h: Renamed to ...
22263 * sysdeps/x86/tininess.h: This.
22264 * sysdeps/x86_64/tininess.h: Removed.
22266 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22268 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22269 input. Use $(build-program-cmd).
22270 ($(objpfx)tst-array1-static.out): Likewise.
22271 ($(objpfx)tst-array2.out): Likewise.
22272 ($(objpfx)tst-array3.out): Likewise.
22273 ($(objpfx)tst-array4.out): Likewise.
22274 ($(objpfx)tst-array5.out): Likewise.
22275 ($(objpfx)tst-array5-static.out): Likewise.
22277 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22279 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22282 * nss/nsswitch.h (nss_interface_function): Provide new
22283 macro for use with NSS functions.
22284 * grp/initgroups.c: Use new macro.
22285 * nss/getXXbyYY.c: Likewise.
22286 * nss/getXXbyYY_r.c: Likewise.
22287 * nss/getXXent.c: Likewise.
22288 * nss/getXXent_r.c: Likewise.
22289 * sysdeps/posix/getaddrinfo.c: Likewise.
22291 2012-10-30 Andreas Jaeger <aj@suse.de>
22293 * po/ru.po: Update Russion translation from translation project.
22295 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22300 result and shift together with sticky bit instead of replicating
22301 round-to-nearest rounding.
22302 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22303 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22304 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22305 missing underflow exceptions.
22306 (fma_test_towardzero): Add more tests.
22307 (fma_test_downward): Likewise.
22308 (fma_test_upward): Likewise.
22311 * sysdeps/generic/tininess.h: New file.
22312 * sysdeps/i386/tininess.h: Likewise.
22313 * sysdeps/sh/tininess.h: Likewise.
22314 * sysdeps/x86_64/tininess.h: Likewise.
22315 * stdlib/tst-strtod-underflow.c: Likewise.
22316 * stdlib/tst-tininess.c: Likewise.
22317 * stdlib/strtod_l.c: Include <tininess.h>.
22318 (round_and_return): Do not set errno for exact underflow cases.
22319 Force an underflow exception when setting errno for underflow.
22320 Determine underflow based on rounding to normal precision if
22321 TININESS_AFTER_ROUNDING.
22322 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22323 ERANGE for exact underflow cases.
22324 * stdlib/Makefile (tests): Add tst-tininess and
22325 tst-strtod-underflow.
22326 ($(objpfx)tst-tininess): Use $(link-libm).
22327 ($(objpfx)tst-strtod-underflow): Likewise.
22329 2012-10-30 Andreas Jaeger <aj@suse.de>
22332 * elf/Makefile (tests): Remove conditional for have-initfini-array
22333 since this is now always required and the variable does not exist
22335 (tests-static): Likewise.
22336 (modules-names): Likewise.
22338 * po/eo.po: Add Esperanto translation from translation project.
22340 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22341 merged with constructor/destructor.
22342 (init_array): Likewise.
22343 * elf/tst-array2dep.c (fini_array): Likewise.
22344 (init_array): Likewise.
22346 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22348 * manual/message.texi: Delete @cartouche tags.
22350 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22352 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22354 * sysdeps/mach/hurd/fsync.c: Likewise.
22356 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22357 [_POSIX_REALTIME_SIGNALS]: Change condition to
22358 [_POSIX_REALTIME_SIGNALS > 0].
22360 2012-10-27 Andreas Jaeger <aj@suse.de>
22362 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22363 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22364 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22365 [__WORDSIZE != 64]: Likewise.
22367 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22369 * iconvdata/tst-table.sh: Remove ${SHELL}.
22370 * iconvdata/tst-tables.sh: Likewise.
22372 2012-10-25 David S. Miller <davem@davemloft.net>
22374 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22375 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22378 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22380 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22381 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22382 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22385 2012-10-25 Roland McGrath <roland@hack.frob.com>
22387 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22388 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22391 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22392 Jim Blandy <jimb@codesourcery.com>
22394 * scripts/cross-test-ssh.sh: New file.
22395 * manual/install.texi (Configuring and compiling): Document use of
22397 * INSTALL: Regenerated.
22399 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22401 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22404 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22406 * Makeconfig (run-program-prefix): Fix comment.
22408 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22409 Jim Blandy <jimb@codesourcery.com>
22411 * Makeconfig (test-wrapper): New variable,
22412 (test-wrapper-env): Likewise.
22413 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22414 (run-built-tests): Define to yes.
22415 (run-program-prefix): Use $(test-wrapper).
22416 (built-program-cmd): Likewise.
22417 * Rules (make-test-out): Use $(test-wrapper-env) and
22418 $(host-built-program-cmd).
22419 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22420 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22422 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22423 $(test-wrapper-env) to tst-rtld-load-self.sh.
22424 ($(objpfx)order2.out): Use $(test-wrapper).
22425 ($(objpfx)tst-initorder.out): Likewise.
22426 ($(objpfx)tst-initorder2.out): Likewise.
22427 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22428 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22429 (test_wrapper_env): New variable. Use it to run ld.so.
22430 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22431 Use it to run ld.so.
22432 (test_wrapper_env): Likewise.
22433 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22434 $(test-wrapper) to run-iconv-test.sh.
22435 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22436 (ICONV): Use $test_wrapper.
22437 * posix/Makefile ($(objpfx)globtest.out): Pass
22438 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22439 globtest.sh, not $(run-program-prefix).
22440 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22441 (test_wrapper): Likewise.
22442 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22443 set together with run_via_rtld_prefix.
22444 (run_program_prefix): Define in terms of test_wrapper and
22445 run_via_rtld_prefix.
22447 2012-10-24 Roland McGrath <roland@hack.frob.com>
22449 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22450 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22454 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22455 Declare __clock_getres, __clock_gettime, __clock_settime,
22456 __clock_nanosleep, and __clock_getcpuclockid.
22457 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22458 Remove librt_hidden_def (clock_gettime).
22459 * sysdeps/unix/clock_gettime.c: Likewise.
22460 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22461 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22462 * rt/clock_getres.c: Define __clock_getres as an alias.
22463 * sysdeps/posix/clock_getres.c: Likewise.
22464 * rt/clock_settime.c: Define __clock_settime as an alias.
22465 * sysdeps/unix/clock_settime.c: Likewise.
22466 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22467 * sysdeps/unix/clock_nanosleep.c: Likewise.
22468 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22469 * rt/clock-compat.c: New file.
22470 * rt/Makefile (librt-routines): Add clock-compat and move
22471 $(clock-routines) to ...
22472 (routines): ... here, new variable.
22473 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22474 Don't add get_clockfreq here.
22475 * rt/Versions (libc: GLIBC_2.17): New version set.
22476 Add clock_* symbols here.
22477 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22478 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22479 (GLIBC_2.17): Add clock_* symbols.
22480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22482 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22491 * NEWS: Mention the move.
22493 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22494 Use __open, __read, __close rather than their public counterparts.
22495 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22496 (__get_clockfreq_via_cpuinfo): Likewise.
22497 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22498 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22500 * config.h.in (HAVE_IFUNC): New #undef.
22501 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22503 * configure: Regenerated.
22505 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22507 * configure.in: Move READELF check to start of file.
22508 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22509 libc_cv_asm_gnu_indirect_function in the process.
22510 * configure: Regenerated.
22512 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22514 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22515 send the output to /dev/null.
22516 (libc_cv_cc_with_libunwind): Likewise.
22517 (libc_cv_as_noexecstack): Likewise.
22518 * configure: Regenerate.
22520 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22522 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22524 * posix/globtest.sh (TMPDIR): Do not set.
22525 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22526 (testout): Likewise.
22528 2012-10-24 Andreas Jaeger <aj@suse.de>
22530 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22531 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22532 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22533 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22534 posix_fadvise64, posix_fallocate64.
22536 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22537 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22538 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22540 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22542 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22544 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22545 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22546 <bits/fcntl-linux.h>.
22547 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22550 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22551 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22552 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22553 [__WORDSIZE != 64]: Likewise.
22555 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22557 * Makeconfig (run-built-tests): New variable.
22558 * Rules [$(cross-compiling) = yes]: Change condition to
22559 [$(run-built-tests) = no].
22560 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22561 to [$(run-built-tests) = yes].
22562 * elf/Makefile [$(cross-compiling) = no]: Likewise
22563 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22564 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22565 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22566 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22567 * io/Makefile [$(cross-compiling) = no]: Likewise.
22568 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22569 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22570 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22571 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22572 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22573 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22574 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22575 * string/Makefile [$(cross-compiling) = no]: Likewise.
22577 * posix/Makefile ($(objpfx)globtest.out): Pass
22578 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22579 $(rtld-installed-name).
22580 * posix/globtest.sh (elf_objpfx): Remove variable.
22581 (rtld_installed_name): Likewise.
22582 (library_path): Likewise.
22583 (run_program_prefix): New variable. Use for running globtest
22586 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22587 Joseph Myers <joseph@codesourcery.com>
22589 * Makeconfig (host-built-program-cmd): New variable.
22590 * elf/Makefile (tst-stackguard1-ARGS): Use
22591 $(host-built-program-cmd).
22592 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22593 (tst-spawn-ARGS): Likewise.
22594 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22596 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22597 Jim Blandy <jimb@codesourcery.com>
22599 * Makeconfig (run-via-rtld-prefix): New variable.
22600 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22601 (built-program-cmd): Likewise.
22603 2012-10-22 Andreas Jaeger <aj@suse.de>
22605 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22606 __O_RSYNC if it exists, otherwise to O_SYNC.
22608 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22609 Joseph Myers <joseph@codesourcery.com>
22611 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22613 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22615 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22618 2012-10-22 Andreas Jaeger <aj@suse.de>
22620 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22625 bits/fcntl-linux.h.
22627 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22628 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22630 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22632 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22635 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22636 Joseph Myers <joseph@codesourcery.com>
22638 * config.make.in (NM): New variable.
22640 2012-10-21 Andreas Jaeger <aj@suse.de>
22642 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22643 definitions and declarations that are provided by
22644 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22646 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22649 * elf/Makefile (tests-static): Add tst-leaks1-static.
22650 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22651 ($(objpfx)tst-leaks1-static): New rule.
22652 ($(objpfx)tst-leaks1-static-mem): Likewise.
22653 (tst-leaks1-static-ENV): New macro.
22654 * elf/dl-open.c (dl_open_worker): Check the main application
22655 only if SHARED is defined.
22656 * elf/tst-leaks1-static.c: New file.
22658 2012-10-20 Andreas Jaeger <aj@suse.de>
22660 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22661 generic values for Linux.
22662 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22663 and declarations that are provided by <bits/fcntl-linux.h> and
22664 include <bits/fcntl-linux.h>.
22665 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22668 2012-10-20 Roland McGrath <roland@hack.frob.com>
22670 * io/fcntl.h: Move include of <bits/types.h> to the top and
22671 include it unconditionally.
22673 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22675 * wcsmbs/Makefile (tests-ifunc): New variable.
22676 (tests): Add $(tests-ifunc).
22677 * wcsmbs/test-wcschr-ifunc.c: New file.
22678 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22679 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22680 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22681 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22682 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22684 * string/Makefile (tests-ifunc): New variable.
22685 (tests): Add $(tests-ifunc).
22686 * string/test-memccpy.c (TEST_NAME): New macro.
22687 * string/test-memchr.c (TEST_NAME): Likewise.
22688 * string/test-memcmp.c (TEST_NAME): Likewise.
22689 * string/test-memcpy.c (TEST_NAME): Likewise.
22690 * string/test-memmem.c (TEST_NAME): Likewise.
22691 * string/test-memmove.c (TEST_NAME): Likewise.
22692 * string/test-memset.c (TEST_NAME): Likewise.
22693 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22694 * string/test-stpcpy.c (TEST_NAME): Likewise.
22695 * string/test-stpncpy.c (TEST_NAME): Likewise.
22696 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22697 * string/test-strcasestr.c (TEST_NAME): Likewise.
22698 * string/test-strcat.c (TEST_NAME): Likewise.
22699 * string/test-strchr.c (TEST_NAME): Likewise.
22700 * string/test-strcmp.c(TEST_NAME): Likewise.
22701 * string/test-strcpy.c (TEST_NAME): Likewise.
22702 * string/test-strcspn.c (TEST_NAME): Likewise.
22703 * string/test-strlen.c (TEST_NAME): Likewise.
22704 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22705 * string/test-strncmp.c (TEST_NAME): Likewise.
22706 * string/test-strncpy.c (TEST_NAME): Likewise.
22707 * string/test-strnlen.c (TEST_NAME): Likewise.
22708 * string/test-strpbrk.c (TEST_NAME): Likewise.
22709 * string/test-strrchr.c (TEST_NAME): Likewise.
22710 * string/test-strspn.c (TEST_NAME): Likewise.
22711 * string/test-strstr.c (TEST_NAME): Likewise.
22712 * string/test-bcopy-ifunc.c: New file.
22713 * string/test-bzero-ifunc.c: Likewise.
22714 * string/test-memccpy-ifunc.c: Likewise.
22715 * string/test-memchr-ifunc.c: Likewise.
22716 * string/test-memcmp-ifunc.c: Likewise.
22717 * string/test-memcpy-ifunc.c: Likewise.
22718 * string/test-memmem-ifunc.c: Likewise.
22719 * string/test-memmove-ifunc.c: Likewise.
22720 * string/test-mempcpy-ifunc.c: Likewise.
22721 * string/test-memset-ifunc.c: Likewise.
22722 * string/test-rawmemchr-ifunc.c: Likewise.
22723 * string/test-stpcpy-ifunc.c: Likewise.
22724 * string/test-stpncpy-ifunc.c: Likewise.
22725 * string/test-strcasecmp-ifunc.c: Likewise.
22726 * string/test-strcasestr-ifunc.c: Likewise.
22727 * string/test-strcat-ifunc.c: Likewise.
22728 * string/test-strchr-ifunc.c: Likewise.
22729 * string/test-strchrnul-ifunc.c: Likewise.
22730 * string/test-strcmp-ifunc.c: Likewise.
22731 * string/test-strcpy-ifunc.c: Likewise.
22732 * string/test-strcspn-ifunc.c: Likewise.
22733 * string/test-strlen-ifunc.c: Likewise.
22734 * string/test-strncasecmp-ifunc.c: Likewise.
22735 * string/test-strncat-ifunc.c: Likewise.
22736 * string/test-strncmp-ifunc.c: Likewise.
22737 * string/test-strncpy-ifunc.c: Likewise.
22738 * string/test-strnlen-ifunc.c: Likewise.
22739 * string/test-strpbrk-ifunc.c: Likewise.
22740 * string/test-strrchr-ifunc.c: Likewise.
22741 * string/test-strspn-ifunc.c: Likewise.
22742 * string/test-strstr-ifunc.c: Likewise.
22744 * debug/Makefile (tests-ifunc): New variable.
22745 (tests): Add $(tests-ifunc).
22746 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22747 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22748 * debug/test-stpcpy_chk-ifunc.c: New file.
22749 * debug/test-strcpy_chk-ifunc.c: Likewise.
22751 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22754 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22755 header is not read in.
22757 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22759 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22760 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22761 directly. Pass built executable to script as
22762 $(built-program-cmd).
22763 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22764 $testprogram without using LD_LIBRARY_PATH and $ldso.
22766 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22767 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22768 $(rtld-installed-name).
22769 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22770 (rtld_installed_name): Likewise.
22771 (library_path): Likewise.
22772 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22773 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22774 $(run-program-prefix) to tst-tables.sh.
22775 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22776 it to run tst-table-from and tst-table-to.
22777 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22778 Pass it to tst-table.sh.
22779 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22780 $(run-program-prefix) to tst-gettext.sh.
22781 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22783 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22785 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22786 to run tst-gettext.
22787 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22788 to run tst-gettext2.
22789 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22790 to run tst-translit.
22791 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22792 $(run-program-prefix) to tst-mtrace.sh.
22793 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22795 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22796 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22797 $(rtld-installed-name).
22798 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22799 (rtld_installed_name): Likewise.
22800 (run_program_prefix): New variable. Use it to run wordexp-test.
22802 * Makeconfig (ARCH): Remove all definitions.
22803 (machine): Likewise.
22804 [ARCH]: Remove conditional code.
22805 [!objdir]: Give error.
22806 [!objdir] (objpfx): Remove.
22807 [!objdir] (common-objpfx): Likewise.
22808 [!objdir] (common-objdir): Likewise.
22809 * configure.in (config_makefile): Remove. Hardcode Makefile in
22810 AC_CONFIG_FILES call.
22811 * configure: Regenerated.
22814 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22816 (testout): Likewise.
22818 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22819 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22820 $(rtld-installed-name).
22821 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22822 (rtld_installed_name): Likwise.
22823 (runit): Remove function.
22824 (run_getconf): New variable, Use it for running getconf binary.
22826 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22829 * string/test-memmem.c (check_result): New function.
22830 (do_one_test): Use it.
22831 (check1): New function.
22832 (test_main): Use it.
22834 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22836 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22838 2012-10-18 Joseph Myers <joseph@codesourcery.com>
22840 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22841 (_G_LSEEK64): Likewise.
22842 (_G_MMAP64): Likewise.
22843 (_G_FSTAT64): Likewise.
22844 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22845 (_G_LSEEK64): Likewise.
22846 (_G_MMAP64): Likewise.
22847 (_G_FSTAT64): Likewise.
22848 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22849 unconditional. Call __mmap64 directly.
22850 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22851 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22852 __lseek64 directly.
22853 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22854 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22856 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22857 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22858 __lseek64 directly.
22859 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22860 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22861 __lseek64 directly.
22862 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22863 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22864 __lseek64 directly.
22865 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22866 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22867 __fxstat64 directly.
22868 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22869 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22871 (freopen64) [!_G_OPEN64]: Remove conditional code.
22872 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22874 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22875 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22877 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22878 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22880 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22881 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22883 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22884 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22886 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22887 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22889 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22890 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22892 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22894 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22897 * manual/memory.texi (Malloc Tunable Parameters): Add note
22898 about free list pointers overwriting some perturb bytes.
22899 Wording suggested by Roland McGrath.
22901 2012-10-17 Joseph Myers <joseph@codesourcery.com>
22903 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22904 (lgamma_test): Likewise.
22905 (tgamma_test): Likewise.
22907 2012-10-16 Florian Weimer <fweimer@redhat.com>
22910 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22911 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22913 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22915 * NEWS: Mention BZ #14716.
22916 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22917 when removing AVAILABLE1_USES_J macro.
22919 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22921 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22922 (__bswap_64): __uint64_t for unsigned 64-bit int.
22924 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22926 * include/string.h (memmem): Declare libc hidden alias.
22927 * string/memmem.c (memmem): Define libc hidden alias.
22928 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22929 __read, __close instead of open, read, close.
22931 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22933 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22934 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22936 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22937 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22938 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22940 (__rawmemchr_sse2): Likewise.
22941 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22942 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22943 (__strchr_sse2): Likewise.
22944 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22945 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22946 (__strcasecmp_sse2): Likewise.
22947 (__strncasecmp_sse2): Likewise.
22948 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22949 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22950 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22951 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22952 (__strrchr_sse2): Likewise.
22953 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22955 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22956 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22957 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22958 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22959 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22960 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22961 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22962 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22963 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22964 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22965 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22966 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22967 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22968 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22969 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22970 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22971 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22972 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22973 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22974 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22975 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22976 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22977 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22978 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22979 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22980 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22981 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22982 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22983 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22984 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22986 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22988 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22989 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22990 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22991 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22993 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22995 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22996 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22997 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22998 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23000 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23001 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23002 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23003 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23004 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23005 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23006 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23007 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23008 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23009 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23010 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23011 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23012 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23013 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23014 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23015 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23016 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23017 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23018 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23019 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23020 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23021 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23022 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23023 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23024 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23025 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23026 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23027 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23028 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23029 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23030 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23031 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23032 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23033 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23034 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23035 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23036 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23037 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23038 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23039 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23040 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23042 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23043 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23044 * include/ifunc-impl-list.h: New file.
23045 * misc/ifunc-impl-list.c: Likewise.
23046 * misc/Makefile (routines): Add ifunc-impl-list.
23047 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23048 * string/test-string.h: Include <ifunc-impl-list.h>.
23049 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23050 impl_array): New variables.
23051 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23053 (test_init): Call __libc_ifunc_impl_list to initialize
23054 func_list if TEST_IFUNC and TEST_NAME are defined.
23056 * string/Makefile (strop-tests): Add bcopy and bzero.
23057 * string/test-bcopy.c: New file.
23058 * string/test-bzero.c: Likewise.
23059 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23061 * string/test-memset.c: Support bzero test if TEST_BZERO is
23063 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23065 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23067 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23070 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23072 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23073 * configure: Regenerated.
23075 * Makeconfig (+link-static-before-libc): Don't include
23076 $(link-static-libc).
23078 * libio/libio.h (_IO_pos_t): Remove.
23080 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23082 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23085 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23087 * crypt/crypt-entry.c: Include fips-private.h.
23088 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23089 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23090 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23091 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23093 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23095 * crypt/crypt-private.h: Include stdbool.h.
23096 (_ufc_setup_salt_r): Return bool.
23097 * crypt/crypt-entry.c: Include errno.h.
23098 (__crypt_r): Return NULL with EINVAL for bad salt.
23099 * crypt/crypt_util.c (bad_for_salt): New.
23100 (_ufc_setup_salt_r): Check that salt is long enough and within
23101 the specified alphabet.
23102 * crypt/badsalttest.c: New file.
23103 * crypt/Makefile (tests): Add it.
23104 ($(objpfx)badsalttest): New.
23106 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23108 * NEWS: Add entry for BZ #14602.
23110 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23112 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23114 * math/libm-test.inc: Update comment listing what functions and
23116 (isgreater_test): New function.
23117 (isgreaterequal_test): Likewise.
23118 (isless_test): Likewise.
23119 (islessequal_test): Likewise.
23120 (islessgreater_test): Likewise.
23121 (isunordered_test): Likewise.
23122 (main): Call the new functions.
23124 2012-10-09 Roland McGrath <roland@hack.frob.com>
23126 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23127 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23128 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23129 * sysdeps/i386/configure: Regenerated.
23130 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23131 * sysdeps/mach/configure: Regenerated.
23132 * sysdeps/mach/hurd/configure: Regenerated.
23133 * sysdeps/powerpc/configure: Regenerated.
23134 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23135 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23136 * sysdeps/s390/s390-32/configure: Regenerated.
23137 * sysdeps/s390/s390-64/configure: Regenerated.
23138 * sysdeps/sh/configure: Regenerated.
23139 * sysdeps/sparc/configure: Regenerated.
23140 * sysdeps/unix/sysv/linux/configure: Regenerated.
23141 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23142 * sysdeps/x86_64/configure: Regenerated.
23144 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23145 defined. Don't check if MAP is NULL.
23147 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23149 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23150 (_G_stat64): Likewise.
23151 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23152 (_G_stat64): Likewise.
23153 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23154 instead of struct _G_stat64.
23155 * libio/fileops.c (mmap_remap_check): Likewise.
23156 (decide_maybe_mmap): Likewise.
23157 (_IO_new_file_seekoff): Likewise.
23158 (_IO_file_stat): Likewise.
23159 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23161 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23162 instead of struct _G_stat64.
23163 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23165 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23168 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23170 (CHECK_EOL): New macro.
23171 (two_way_short_needle): Check beginning of haystack for EOL. Use
23173 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23174 Replace with CHECK_EOL.
23175 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23176 Replace with CHECK_EOL.
23178 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23180 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23182 * math/libm-test.inc: Update comment listing what functions and
23184 (finite_test): New function.
23185 (isinf_test): Likewise.
23186 (isnan_test): Likewise.
23187 (fpclassify_test): Test subnormal input.
23188 (isfinite_test): Likewise.
23189 (isnormal_test): Likewise.
23190 (main): Call the new functions.
23192 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23195 * Makerules (%.dynsym): Force C locale when running
23196 $(OBJDUMP) --dynamic-syms.
23198 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23200 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23203 2012-10-06 David S. Miller <davem@davemloft.net>
23205 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23206 upper 32-bits of the length value in %o2 since we use branch-on-register
23207 tests which consider the entire 64-bit register.
23209 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23211 * string/test-strstr.c (check2): Add a test for page boundary.
23213 2012-10-05 David S. Miller <davem@davemloft.net>
23215 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23216 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23218 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23220 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23221 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23222 and bzero when HWCAP_SPARC_CRYPTO is present.
23224 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23227 * string/test-strstr.c (check2): New function.
23228 (test_main): Call check2.
23230 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23232 * string/bug-strcasestr1.c (do_test): Moved to ...
23233 * string/test-strcasestr.c (check1): Here. New function.
23234 (do_one_test): Break out result checking code into ...
23235 (check_result): This. New function.
23236 (do_one_test): Call check_result.
23237 (test_main): Call check1.
23238 * string/bug-strchr1.c (do_test): Moved to ...
23239 * string/test-strchr.c (check1): Here. New function.
23240 (do_one_test): Break out result checking code into ...
23241 (check_result): This. New function.
23242 (do_one_test): Call check_result.
23243 (test_main): Call check1.
23244 * string/bug-strstr1.c (main): Moved to ...
23245 * string/test-strstr.c (check1): Here. New function.
23246 (do_one_test): Break out result checking code into ...
23247 (check_result): This. New function.
23248 (do_one_test): Call check_result.
23249 (test_main): Call check1.
23250 * string/bug-strcasestr1.c: Removed.
23251 * string/bug-strchr1.c: Likewise.
23252 * string/bug-strstr1.c: Likewise.
23254 * elf/Makefile (dl-routines): Add hwcaps.
23255 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23256 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23257 (_dl_important_hwcaps): Moved to ...
23258 * elf/dl-hwcaps.c: Here. New file.
23259 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23262 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23263 if IS_IN_rtld isn't defined.
23265 * elf/dl-support.c (_dl_sysinfo_map): New.
23266 Include "get-dynamic-info.h" and "setup-vdso.h".
23267 (_dl_non_dynamic_init): Call setup_vdso.
23268 * elf/dynamic-link.h: Don't include <assert.h>.
23269 (elf_get_dynamic_info): Moved to ...
23270 * elf/get-dynamic-info.h: Here. New file.
23271 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23272 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23273 * elf/setup-vdso.h: Here. New file.
23274 * elf/rtld.c: Include "setup-vdso.h".
23275 (dl_main): Call setup_vdso.
23277 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23279 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23280 creal in comment listing functions tested. List finite, isinf,
23281 isnan, isless, islessequal, isgreater, isgreaterequal,
23282 islessgreater, isunordered, lgamma_r and pow10 as functions and
23283 macros not tested. Mention which functions not tested are aliases
23284 for other functions. Fix typo. Note that signs of NaNs are not
23287 * scripts/config.guess: Update from config.git.
23288 * scripts/config.sub: Likewise.
23290 2012-10-04 Roland McGrath <roland@hack.frob.com>
23292 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23293 * misc/madvise.c (madvise): Renamed to __madvise.
23294 Make madvise a weak alias.
23295 * include/sys/mman.h: Declare __madvise.
23296 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23297 * sysdeps/unix/syscalls.list
23298 (madvise): Make __madvise the strong name, and madvise a weak alias.
23299 * sysdeps/unix/sysv/linux/syscalls.list
23300 (madvise, mmap): Remove redundant entries.
23301 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23302 * malloc/malloc.c (mtrim): Likewise.
23303 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23305 2012-10-03 Roland McGrath <roland@hack.frob.com>
23307 * sysdeps/mach/hurd/dl-cache.c: File removed.
23308 * config.h.in (USE_LDCONFIG): New #undef.
23309 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23310 * configure: Regenerated.
23311 * elf/Makefile (dl-routines): Add dl-cache only under
23312 [$(use-ldconfig) = yes].
23313 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23314 cache on [USE_LDCONFIG].
23315 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23317 * elf/rtld.c (dl_main): Likewise.
23319 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23321 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23322 _SC_LEVEL4_CACHE_LINESIZE.
23324 2012-10-03 Roland McGrath <roland@hack.frob.com>
23326 * sysdeps/unix/bsd/confstr.h: File removed.
23328 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23330 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23333 2012-10-02 Roland McGrath <roland@hack.frob.com>
23335 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23336 Make 'mapoff' field ElfW(Off) rather than off_t.
23338 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23340 * nscd/Makefile: Remove nscd-cflags and all its users.
23341 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23342 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23345 * malloc.c (malloc_printerr): Clarify error message.
23347 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23351 Set bit_FMA_Usable if FMA is supported.
23352 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23354 (bit_FMA4_Usable): Updated.
23355 (index_FMA_Usable): New macro.
23356 (CPUID_FMA): Likewise
23357 (HAS_FMA): Defined with bit_FMA_Usable.
23359 2012-10-01 Roland McGrath <roland@hack.frob.com>
23361 * bits/types.h (__swblk_t): Type removed.
23362 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23363 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23364 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23365 (__SWBLK_T_TYPE): Likewise.
23366 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23367 (__SWBLK_T_TYPE): Likewise.
23368 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23369 (__SWBLK_T_TYPE): Likewise.
23370 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23371 (__SWBLK_T_TYPE): Likewise.
23373 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23374 Honza Horak <hhorak@redhat.com>
23376 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23377 (xdr_mapname): Use YPMAXMAP as maxsize.
23378 (xdr_peername): Use YPMAXPEER as maxsize.
23379 (xdr_keydat): Use YPAXRECORD as maxsize.
23380 (xdr_valdat): Use YPMAXRECORD as maxsize.
23382 2012-10-01 Roland McGrath <roland@hack.frob.com>
23384 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23386 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23387 * csu/init-first.c: ... here.
23388 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23389 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23390 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23391 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23392 * sysdeps/i386/init-first.c: File removed.
23393 * sysdeps/sh/init-first.c: File removed.
23395 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23399 if x * y might underflow to zero and z is zero.
23400 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23401 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23402 * math/libm-test.inc (min_subnorm_value): New variable.
23403 (fma_test): Add more tests.
23404 (fma_test_towardzero): Likewise.
23405 (fma_test_downward): Likewise
23406 (fma_test_upward): Likewise.
23407 (initialize): Set min_subnorm_value.
23409 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23414 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23415 mode for addition resulting in exact zero.
23416 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23419 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23420 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23421 * math/libm-test.inc (fma_test): Add more tests.
23422 (fma_test_towardzero): New function.
23423 (fma_test_downward): Likewise.
23424 (fma_test_upward): Likewise.
23425 (main): Call the new functions.
23427 2012-09-28 David S. Miller <davem@davemloft.net>
23429 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23431 2012-09-28 Roland McGrath <roland@hack.frob.com>
23433 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23434 instead of SIGALRM.
23436 * sysdeps/gnu/_G_config.h: Moved to ...
23437 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23438 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23439 * sysdeps/generic/_G_config.h: ... here.
23441 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23443 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23445 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23446 Conditionalize target on [libnss_test1.so-version].
23448 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23450 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23451 (elfobjdir): Move out of conditionals.
23453 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23454 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23455 (__nss_lookup_function): Conditionalize label remove_from_tree on
23456 [!DO_STATIC_NSS || SHARED], matching its only use.
23458 2012-09-28 David S. Miller <davem@davemloft.net>
23460 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23461 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23463 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23465 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23466 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23467 when HWCAP_SPARC_CRYPTO is present.
23469 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23471 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23473 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23476 * stdio-common/vfprintf.c (process_string_arg): Revert
23479 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23481 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23483 * stdio-common/tst-sprintf.c: Include <locale.h>
23484 (main): Test sprintf's handling of incomplete multibyte
23487 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23489 * elf/dl-runtime.c (VERSYMIDX): Removed.
23490 * elf/dl-version.c (VERSYMIDX): Likewise.
23491 * elf/do-rel.h (VERSYMIDX): Likewise.
23492 (VALIDX): Likewise.
23493 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23494 * elf/rtld.c (VALIDX): Likewise.
23495 (ADDRIDX): Likewise.
23496 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23497 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23498 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23499 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23500 (VALIDX): Likewise.
23501 (ADDRIDX): Likewise.
23503 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23505 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23507 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23510 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23512 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23513 addresses are in the same scope as 192.0.2/24.
23514 * posix/gai.conf: Document new scope table defaults.
23516 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23519 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23520 for ftell. Compute offsets from write pointers instead.
23521 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23523 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23526 * libio/Makefile (tests): New test case tst-fseek.
23527 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23528 combination works in wide mode.
23529 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23530 state when the external buffer state changes.
23532 2012-09-27 David S. Miller <davem@davemloft.net>
23535 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23536 pass reloc->r_addend in as the 'high' argument to
23537 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23541 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23543 * rt/tst-aio2.c: Include <pthread.h>.
23544 * rt/tst-aio3.c: Likewise.
23546 2012-09-27 Steve Ellcey <sellcey@mips.com>
23548 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23550 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23552 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23553 contents on [SHARED].
23555 2012-09-26 Marek Polacek <polacek@redhat.com>
23559 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23560 for C++ and GCC <4.3 as well as for non GCC compilers.
23562 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23566 2012-09-25 Roland McGrath <roland@hack.frob.com>
23568 * Makefile.in (all, install): Declare with .PHONY.
23569 Reported by Michael Hope <michael.hope@linaro.org>.
23571 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23573 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23574 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23576 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23578 (sydep_routines): Add the new and the internal functions.
23579 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23580 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23582 (GLIBC_2.17): Add the new function.
23583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23584 (GLIBC_2.17): Likewise.
23585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23586 (GLIBC_2.17): Likewise.
23587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23588 (GLIBC_2.17): Likewise.
23589 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23591 2012-09-25 Alan Modra <amodra@gmail.com>
23593 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23594 Add release barrier before setting once_control to say
23595 initialisation is done. Add hints on lwarx. Use macro in
23597 (clear_once_control): Add release barrier.
23599 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23602 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23604 * math/s_clog10.c (__clog10): Likewise.
23605 * math/s_clog10f.c (__clog10f): Likewise.
23606 * math/s_clog10l.c (__clog10l): Likewise.
23607 * math/s_clogf.c (__clogf): Likewise.
23608 * math/s_clogl.c (__clogl): Likewise.
23609 * math/Makefile (libm-calls): Add x2y2m1.
23610 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23611 (__x2y2m1): Likewise.
23612 (__x2y2m1l): Likewise.
23613 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23614 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23615 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23616 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23617 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23618 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23619 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23620 * sysdeps/i386/fpu/libm-test-ulps: Update.
23621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23624 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23625 int as type of variable DEPTH.
23626 (glob): Use size_t instead of int as type of variables NEWCOUNT
23629 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23631 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23632 Add s_sincosf-sse2.
23633 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23634 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23635 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23636 macros for using routine as __sincosf_ia32.
23637 Use macro for function declaration and weak_alias.
23638 * sysdeps/i386/fpu/libm-test-ulps: Update.
23640 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23643 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23644 subnormal argument.
23645 * math/s_cexpf.c (__cexpf): Likewise.
23646 * math/s_csinf.c (__csinf): Likewise.
23647 * math/s_csinhf.c (__csinhf): Likewise.
23648 * math/s_ctanf.c (__ctanf): Likewise.
23649 * math/s_ctanhf.c (__ctanhf): Likewise.
23650 * math/s_ccosh.c (__ccoshf): Likewise.
23651 * math/s_cexp.c (__cexpl): Likewise.
23652 * math/s_csin.c (__csin): Likewise.
23653 * math/s_csinh.c (__csinh): Likewise.
23654 * math/s_ctan.c (__ctan): Likewise.
23655 * math/s_ctanh.c (ctanh): Likewise.
23656 * math/s_ccoshl.c (__ccoshl): Likewise.
23657 * math/s_cexpl.c (__cexpl): Likewise.
23658 * math/s_csinl.c (__csinl): Likewise.
23659 * math/s_csinhl.c (__csinhl): Likewise.
23660 * math/s_ctanl.c (__ctanl): Likewise.
23661 * math/s_ctanhl.c (__ctanhl): Likewise.
23663 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23665 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23666 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23667 (_IO_off_t): Define to __off_t, not _G_off_t.
23668 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23669 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23670 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23671 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23672 type of __dummy and __dummy2 fields.
23673 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23674 (_G_ssize_t): Likewise.
23675 (_G_off_t): Likewise.
23676 (_G_pid_t): Likewise.
23677 (_G_uid_t): Likewise.
23678 (_G_wchar_t): Likewise.
23679 (_G_wint_t): Likewise.
23680 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23681 (_G_ssize_t): Likewise.
23682 (_G_off_t): Likewise.
23683 (_G_pid_t): Likewise.
23684 (_G_uid_t): Likewise.
23685 (_G_wchar_t): Likewise.
23686 (_G_wint_t): Likewise.
23687 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23688 (_G_ssize_t): Likewise.
23689 (_G_off_t): Likewise.
23690 (_G_pid_t): Likewise.
23691 (_G_uid_t): Likewise.
23692 (_G_wchar_t): Likewise.
23693 (_G_wint_t): Likewise.
23695 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23697 * malloc/arena.c: Include malloc-sysdep.h.
23698 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23699 is sufficient to shrink the heap or an unmap is needed.
23700 * sysdeps/generic/malloc-sysdep.h: New file. Define
23701 new function check_may_shrink_heap.
23702 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23703 new function check_may_shrink_heap.
23705 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23707 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23710 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23712 * catgets/test-gencat.sh: Add "set -e".
23713 * elf/tst-pathopt.sh: Likewise.
23714 * grp/tst_fgetgrent.sh: Likewise.
23715 * iconvdata/run-iconv-test.sh: Likewise.
23716 * intl/tst-gettext.sh: Likewise.
23717 * intl/tst-gettext2.sh: Likewise.
23718 * intl/tst-gettext4.sh: Likewise.
23719 * intl/tst-gettext6.sh: Likewise.
23720 * intl/tst-translit.sh: Likewise.
23721 * io/ftwtest-sh: Likewise.
23722 * libio/test-freopen.sh: Likewise.
23723 * malloc/tst-mtrace.sh: Likewise.
23724 * posix/globtest.sh: Likewise.
23725 * posix/tst-getconf.sh: Likewise.
23726 * posix/wordexp-tst.sh: Likewise.
23727 * stdio-common/tst-printf.sh: Likewise.
23728 * stdio-common/tst-unbputc.sh: Likewise.
23729 * stdlib/tst-fmtmsg.sh: Likewise.
23730 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23731 * catgets/Makefile: Do not specify -e option when running
23732 testsuite shell scripts.
23733 * elf/Makefile: Likewise.
23734 * grp/Makefile: Likewise.
23735 * iconvdata/Makefile: Likewise.
23736 * intl/Makefile: Likewise.
23737 * io/Makefile: Likewise.
23738 * libio/Makefile: Likewise.
23739 * malloc/Makefile: Likewise.
23740 * posix/Makefile: Likewise.
23741 * stdio-common/Makefile: Likewise.
23742 * stdlib/Makefile: Likewise.
23743 * sysdeps/x86_64/Makefile: Likewise.
23745 * io/ftwtest-sh: Add copyright header.
23746 * posix/globtest.sh: Likewise.
23747 * posix/tst-getconf.sh: Likewise.
23748 * posix/wordexp-tst.sh: Likewise.
23749 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23751 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23754 * Makeconfig (+link): Defined as $(+link-static) if
23755 $(build-shared) isn't yes.
23756 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23758 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23760 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23763 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23764 new chunk size with MALLOC_ALIGN_MASK.
23766 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23769 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23771 (__printf_fphex): Determine rounding using get_rounding_mode and
23773 * stdio-common/tst-printf-round.c (struct hex_test): New
23775 (hex_tests): New variable.
23776 (test_hex_in_one_mode): New function.
23777 (do_test): Also run tests for hex float output.
23779 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23781 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23782 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23783 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23784 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23785 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23786 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23787 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23788 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23790 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23792 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23793 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23794 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23795 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23797 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23800 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23802 * elf/tst-rtld-load-self.sh: New test.
23803 * elf/Makefile: Run it.
23805 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23807 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23808 (tst-writev-ENV): Remove.
23809 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23811 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23813 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23815 2012-09-17 Joseph Myers <joseph@codesourcery.com>
23817 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23819 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23821 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23822 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23823 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23826 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23829 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23830 * config.make.in (have-cpp-asm-debuginfo): Removed.
23831 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23832 * configure: Regenerated.
23834 2012-09-14 Joseph Myers <joseph@codesourcery.com>
23837 * stdio-common/printf_fp.c: Include <stdbool.h> and
23839 (___printf_fp): Determine rounding using get_rounding_mode and
23841 * stdio-common/tst-printf-round.c: New file.
23842 * stdio-common/Makefile (tests): Add tst-printf-round.
23843 (link-libm): New variable.
23844 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23846 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23849 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23850 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23852 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23855 2012-09-13 Joseph Myers <joseph@codesourcery.com>
23857 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23858 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23859 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23860 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23862 2012-09-12 Joseph Myers <joseph@codesourcery.com>
23865 * include/rounding-mode.h: New file.
23866 * sysdeps/generic/get-rounding-mode.h: Likewise.
23867 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23868 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23869 (MAX_VALUE): New macro.
23870 (MIN_VALUE): Likewise.
23871 (overflow_value): New function.
23872 (underflow_value): Likewise.
23873 (round_and_return): Use overflow_value and underflow_value to
23874 determine return values in overflow and underflow cases. Use
23875 round_away to determine rounding depending on rounding mode.
23876 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23877 determine return values in overflow and underflow cases.
23878 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23879 (struct test_results): New structure.
23880 (struct test): Use struct test_results to store expected results
23881 for all rounding modes.
23882 (TEST): Include expected results for all rounding modes.
23883 (test_in_one_mode): New function.
23884 (do_test): Use test_in_one_mode to compute and check results.
23885 Check results for all rounding modes.
23886 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23889 2012-12-09 Allan McRae <allan@archlinux.org>
23891 * sysdeps/i386/fpu/libm-test-ulps: Update
23893 2012-09-11 Joseph Myers <joseph@codesourcery.com>
23895 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23896 (_G_int32_t): Likewise.
23897 (_G_uint16_t): Likewise.
23898 (_G_uint32_t): Likewise.
23899 (_G_HAVE_BOOL): Likewise.
23900 (_G_HAVE_ATEXIT): Likewise.
23901 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23902 (_G_HAVE_IO_FILE_OPEN): Likewise.
23903 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23904 (_G_int32_t): Likewise.
23905 (_G_uint16_t): Likewise.
23906 (_G_uint32_t): Likewise.
23907 (_G_HAVE_BOOL): Likewise.
23908 (_G_HAVE_ATEXIT): Likewise.
23909 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23910 (_G_HAVE_IO_FILE_OPEN): Likewise.
23911 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23912 (_G_int32_t): Likewise.
23913 (_G_uint16_t): Likewise.
23914 (_G_uint32_t): Likewise.
23915 (_G_HAVE_BOOL): Likewise.
23916 (_G_HAVE_ATEXIT): Likewise.
23917 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23918 (_G_HAVE_IO_FILE_OPEN): Likewise.
23920 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23922 * csu/libc-tls.c: Update copyright years.
23924 2012-09-10 Joseph Myers <joseph@codesourcery.com>
23926 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23927 [!_G_USING_THUNKS]: Remove conditional code.
23928 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23929 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23931 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23932 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23933 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23934 (_G_VTABLE_LABEL_PREFIX): Likewise.
23935 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23936 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23937 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23938 (_G_VTABLE_LABEL_PREFIX): Likewise.
23939 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23940 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23941 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23942 (_G_VTABLE_LABEL_PREFIX): Likewise.
23943 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23945 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23947 * libio/Makefile: Include ../Makeconfig before tests.
23948 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23949 only if $(build-shared) is yes.
23951 * iconv/gconv_db.c: Update copyright years.
23953 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23955 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23956 unwind info if defined PIC. Fix special cases description.
23957 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23959 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23961 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23963 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23965 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23967 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23970 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23971 (LDLIBS-tst-chk4): This.
23972 (LDFLAGS-tst-chk5): Renamed to ...
23973 (LDLIBS-tst-chk5): This.
23974 (LDFLAGS-tst-chk6): Renamed to ...
23975 (LDLIBS-tst-chk6): This.
23976 (LDFLAGS-tst-lfschk4): Renamed to ...
23977 (LDLIBS-tst-lfschk4): This.
23978 (LDFLAGS-tst-lfschk5): Renamed to ...
23979 (LDLIBS-tst-lfschk5): This.
23980 (LDFLAGS-tst-lfschk6): Renamed to ...
23981 (LDLIBS-tst-lfschk6): This.
23983 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23984 on $(common-objpfx)soversions.mk.
23986 2012-09-07 Joseph Myers <joseph@codesourcery.com>
23989 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23992 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23994 * malloc/arena.c (arena_get_retry): New function that gets
23995 another arena for the caller to try its request on.
23996 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23997 current arena cannot fulfill the request.
23998 (__libc_memalign): Likewise.
23999 (__libc_memalign): Likewise.
24000 (__libc_pvalloc): Likewise.
24001 (__libc_calloc): Likewise.
24003 2012-09-05 John Tobey <john.tobey@gmail.com>
24006 * manual/arith.texi (Operations on Complex): Fix description
24007 of carg branch cut.
24009 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24012 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24016 * manual/memory.texi (Memory): Make order of menu items match
24019 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24021 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24022 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24023 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24025 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24027 * csu/libc-tls.c (static_dtv): Renamed to ...
24028 (_dl_static_dtv): This. Make it global.
24029 (_dl_initial_dtv): Removed.
24030 (__libc_setup_tls): Updated.
24031 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24032 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24035 2012-09-06 Petr Machata <pmachata@redhat.com>
24037 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24038 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24039 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24040 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24042 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24045 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24046 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24049 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24052 * Makeconfig (link-static-before-libc): Replace $(+prector)
24054 (link-static-after-libc): Replace $(+postctor) with
24056 (link-bounded): Replace $(+prector)/$(+postctor) with
24057 $(+prectorT)/$(+postctorT).
24058 (+prectorT): New macro.
24059 (+postctorT): Likewise.
24061 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24063 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24064 (round_str): Handle values above the maximum for IBM long double
24066 * stdlib/tst-strtod-round.c (tests): Regenerated.
24068 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24070 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24072 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24073 zarch_nohighgprs around the zarch optimized routines.
24074 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24075 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24076 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24079 2012-09-05 David S. Miller <davem@davemloft.net>
24081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24083 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24084 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24085 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24086 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24089 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24091 * malloc/arena.c: Fold copyright years.
24092 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24094 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24096 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24098 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24100 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24102 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24104 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24105 change internal state upon failure.
24107 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24109 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24110 * malloc/memusage.c (mmap): Likewise.
24111 (mmap64, mremap): Likewise. Adjust name in comment.
24113 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24115 * libio/fileops.c: Fix typos in comments.
24116 * libio/oldfileops.c: Likewise.
24117 * libio/wfileops.c: Likewise.
24119 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24122 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24123 (tst-malloc-usable-ENV): Set environment for test case.
24124 * malloc/hooks.c (malloc_check_get_size): New function to get
24126 * malloc/malloc.c (musable): Use malloc_check_get_size.
24127 * malloc/tst-malloc-usable.c: New test case.
24129 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24131 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24133 2012-09-05 Allan McRae <allan@archlinux.org>
24136 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24137 determine header location.
24138 * configure: Regenerated.
24140 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24142 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24144 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24145 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24147 (test): Regenerate.
24149 2012-09-04 David S. Miller <davem@davemloft.net>
24151 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24152 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24153 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24155 2012-09-04 Florian Weimer <fweimer@redhat.com>
24157 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24160 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24162 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24165 * libio/iogetdelim.c: Include <limits.h>.
24166 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24167 + len + 1 would overflow.
24169 2012-09-03 Andreas Jaeger <aj@suse.de>
24171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24172 * sysdeps/i386/fpu/libm-test-ulps: Update.
24174 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24176 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24177 Add s_sinf-sse2, s_conf-sse2.
24179 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24180 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24181 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24182 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24184 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24185 for using routine as __sinf_ia32.
24186 Use macro for function declaration and weak_alias.
24187 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24188 for using routine as __cosf_ia32.
24189 Use macro for function declaration and weak_alias.
24191 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24192 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24194 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24195 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24198 * math/libm-test.inc (cos_test): Add more test cases.
24199 (sin_test): Likewise.
24200 (sincos_test): Likewise.
24202 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24204 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24205 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24207 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24209 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24212 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24213 first element of the GOT.
24214 (elf_machine_load_address): Return the difference between
24215 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24217 2012-09-01 Allan McRae <allan@archlinux.org>
24220 * configure.in (AWK): Require gawk version 3.0 or later.
24221 * configure: Regenerated.
24223 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24225 * sysdeps/unix/sysv/linux/kernel-features.h
24226 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24227 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24228 [__NR_clock_getres]: Make code unconditional.
24229 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24230 (clock_getcpuclockid): Remove code left unreachable by removal of
24232 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24233 code unconditional.
24234 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24235 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24236 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24237 Make code unconditional.
24238 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24239 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24240 * sysdeps/unix/sysv/linux/clock_settime.c
24241 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24243 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24244 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24246 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24249 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24250 scripts/test-installation.pl.
24252 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24253 and $ld_so_version if it is set.
24255 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24258 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24259 failure if reading from procfs failed.
24260 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24262 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24264 * sysdeps/unix/sysv/linux/kernel-features.h
24265 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24266 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24267 Remove conditional code.
24268 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24269 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24270 Remove conditional code.
24271 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24272 * sysdeps/unix/sysv/linux/i386/fxstat.c
24273 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24274 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24275 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24276 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24277 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24278 * sysdeps/unix/sysv/linux/i386/lxstat.c
24279 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24280 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24281 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24282 Remove conditional code.
24283 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24284 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24285 Remove conditional code.
24286 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24287 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24288 <kernel-features.h>.
24289 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24291 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24292 Remove conditional code.
24293 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24294 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24295 Remove conditional.
24297 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24300 * NEWS: Add fixed bug number.
24302 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24305 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24306 underflowing exponent in case of negative sign.
24307 * stdlib/tst-strtod-round-data: Add more tests.
24308 * stdlib/tst-strtod-round.c (tests): Regenerated.
24311 * stdlib/strtod_l.c (NDIG): Remove.
24312 (HEXNDIG): Likewise.
24313 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24314 smallest representable value.
24315 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24316 lie within an exact representation of 1/2 ulp of the result.
24317 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24319 (TENS_P9_IDX): Define unconditionally.
24320 (TENS_P9_SIZE): Likewise.
24321 (TENS_P10_IDX): Likewise.
24322 (TENS_P10_SIZE): Likewise.
24323 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24324 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24325 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24326 entries for 10^2^13 and 10^2^14.
24327 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24328 (TENS_P13_IDX): Define.
24329 (TENS_P13_SIZE): Likewise.
24330 (TENS_P14_IDX): Likewise.
24331 (TENS_P14_SIZE): Likewise.
24332 (_fpioconst_pow10): Change array size to
24333 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24335 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24336 1024]: Add entries for 10^2^13 and 10^2^14.
24337 [LAST_POW10 > _LAST_POW10]: Remove #error.
24338 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24339 (_fpioconst_pow10): Change array size to
24340 FPIOCONST_POW10_ARRAY_SIZE.
24341 * stdlib/gen-fpioconst.c: New file.
24342 * stdlib/gen-tst-strtod-round.c: Likewise.
24343 * stdlib/tst-strtod-round-data: Likewise.
24344 * stdlib/tst-strtod-round.c: Likewise.
24345 * stdlib/Makefile (tests): Add tst-strtod-round.
24348 * stdlib/strtod_l.c: Include <stdint.h>.
24349 (NDEBUG): Do not define.
24350 (round_and_return): Change EXPONENT parameter to type intmax_t.
24351 Rearrange calculations to avoid internal overflow possibilities.
24352 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24353 Rearrange calculations to avoid internal overflow possibilities.
24354 Assert that number fits inside MPNSIZE limbs.
24355 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24356 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24357 calculations and add assertions to avoid internal overflow
24358 possibilities. Add casts to avoid signed/unsigned operations.
24359 * stdlib/tst-strtod-overflow.c: New file.
24360 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24362 2012-08-25 Marek Polacek <polacek@redhat.com>
24364 * time/time.h: Fix some typos in comments.
24366 2012-08-23 Roland McGrath <roland@hack.frob.com>
24368 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24369 * posix/tst-rfc3484-2.c: Likewise.
24370 * posix/tst-rfc3484-3.c: Likewise.
24372 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24374 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24375 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24377 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24379 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24380 #include of fxstatat64.c.
24382 2012-08-22 Roland McGrath <roland@hack.frob.com>
24384 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24385 * shadow/getspent_r.c: Likewise.
24386 * shadow/getspnam.c: Likewise.
24387 * shadow/getspnam_r.c: Likewise.
24388 * gshadow/getsgent.c: Likewise.
24389 * gshadow/getsgent_r.c: Likewise.
24390 * gshadow/getsgnam.c: Likewise.
24391 * gshadow/getsgnam_r.c: Likewise.
24392 * inet/getnetbyad.c: Likewise.
24393 * inet/getnetbyad_r.c: Likewise.
24394 * inet/getnetbynm.c: Likewise.
24395 * inet/getnetbynm_r.c: Likewise.
24396 * inet/getnetent.c: Likewise.
24397 * inet/getnetent_r.c: Likewise.
24398 * inet/getproto.c: Likewise.
24399 * inet/getproto_r.c: Likewise.
24400 * inet/getprtent.c: Likewise.
24401 * inet/getprtent_r.c: Likewise.
24402 * inet/getprtname.c: Likewise.
24403 * inet/getprtname_r.c: Likewise.
24404 * inet/getrpcbyname.c: Likewise.
24405 * inet/getrpcbyname_r.c: Likewise.
24406 * inet/getrpcbynumber.c: Likewise.
24407 * inet/getrpcbynumber_r.c: Likewise.
24408 * inet/getrpcent.c: Likewise.
24409 * inet/getrpcent_r.c: Likewise.
24410 * inet/getaliasent.c: Likewise.
24411 * inet/getaliasent_r.c: Likewise.
24412 * inet/getaliasname.c: Likewise.
24413 * inet/getaliasname_r.c: Likewise.
24414 * nscd/getgrgid_r.c: Likewise.
24415 * nscd/getgrnam_r.c: Likewise.
24416 * nscd/gethstbyad_r.c: Likewise.
24417 * nscd/gethstbynm3_r.c: Likewise.
24418 * nscd/getpwnam_r.c: Likewise.
24419 * nscd/getpwuid_r.c: Likewise.
24420 * nscd/getsrvbynm_r.c: Likewise.
24421 * nscd/getsrvbypt_r.c: Likewise.
24422 * nscd/gai.c: Likewise.
24424 * configure.in (build_nscd): New substituted variable, set
24425 by --disable-build-nscd and defaults to $use_nscd.
24426 * configure: Regenerated.
24427 * config.make.in (build-nscd): New substituted variable.
24428 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24429 Change conditional to require [$(build-nscd) = yes] as well.
24430 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24433 * configure.in (use_nscd): New substituted variable, set by
24434 --disable-nscd. If enabled, define USE_NSCD.
24435 * configure: Regenerated.
24436 * config.h.in: Add USE_NSCD.
24437 * config.make.in (use-nscd): New substituted variable.
24438 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24439 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24440 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24441 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24442 (CFLAGS-getgrnam_r.c): Likewise.
24443 (CFLAGS-initgroups.c): Likewise.
24444 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24445 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24447 * inet/getnetgrent_r.c
24448 (nscd_setnetgrent): New function, broken out of ...
24449 (setnetgrent): ... here. Call it.
24450 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24451 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24452 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24453 * nscd/Makefile (routines, aux): Move definitions after include of
24454 Makeconfig. Conditionalize on [$(use-nscd) != no].
24455 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24456 Conditionalize on [USE_NSCD].
24457 (is_nscd, nscd_init_cb): Likewise.
24458 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24459 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24460 * nss/nss_db/db-init.c: Likewise.
24461 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24463 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24464 (make_request): Use it.
24465 (cache_valid_p): New function.
24466 (__check_pf): Use it.
24467 * NEWS: Add item for --disable-nscd.
24469 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24471 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24472 to support sed >= 4.2.1-20-ga9bf076.
24473 * configure: Regenerated.
24475 2012-08-22 Roland McGrath <roland@hack.frob.com>
24477 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24478 Conditionalize whole body on [IREL].
24480 2012-08-22 Jeff Law <law@redhat.com>
24483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24484 if the family is PF_UNSPEC.
24486 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24488 * Makerules (lib-version): Rename from V.
24489 (install-lib-nosubdir): Change V to lib-version.
24491 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24494 * powerpc32/power6/wcschr.c: New file.
24495 * powerpc32/power6/wcscpy.c: New file.
24496 * powerpc32/power6/wcsrchr.c: New file.
24497 * powerpc64/power6/wcschr.c: New file.
24498 * powerpc64/power6/wcscpy.c: New file.
24499 * powerpc64/power6/wcsrchr.c: New file.
24501 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24503 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24504 (two_way_short_needle): Use it.
24505 * string/strstr.c (AVAILABLE1_USES_J): Define.
24506 * string/strcasestr.c: Likewise.
24508 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24510 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24513 * NEWS: Add an entry.
24514 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24515 define their defaults.
24516 (two_way_short_needle): Detect end-of-string on-the-fly.
24517 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24518 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24519 * string/bug-strcasestr1.c: New test.
24520 * string/Makefile: Run it.
24522 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24525 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24526 the first character.
24528 2012-08-21 Roland McGrath <roland@hack.frob.com>
24530 * csu/elf-init.c (__libc_csu_irel): Function removed.
24531 * csu/libc-start.c (apply_irel): New function.
24532 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24534 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24536 * sysdeps/unix/sysv/linux/kernel-features.h
24537 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24538 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24539 <kernel-features.h>.
24540 [__NR_fadvise64_64]: Make code unconditional.
24541 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24542 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24543 !__NR_fadvise64_64)]: Likewise.
24544 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24545 !__NR_fadvise64_64))]: Likewise.
24546 [__NR_fadvise64]: Make code unconditional.
24547 [!__NR_fadvise64]: Remove conditional code.
24548 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24549 <kernel-features.h>.
24550 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24552 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24555 not include <kernel-features.h>.
24556 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24558 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24560 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24561 include <kernel-features.h>.
24562 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24564 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24567 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24569 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24570 slight instruction rearrangements per scrollpipe analysis.
24571 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24573 2012-08-20 Roland McGrath <roland@hack.frob.com>
24575 * manual/syslog.texi (syslog; vsyslog, closelog):
24576 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24577 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24579 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24580 DSOCAPS to match condition on defining it.
24582 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24584 * sysdeps/unix/sysv/linux/kernel-features.h
24585 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24587 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24588 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24590 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24591 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24593 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24594 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24596 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24597 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24599 * sysdeps/unix/sysv/linux/kernel-features.h
24600 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24601 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24603 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24604 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24605 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24606 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24607 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24608 Make code unconditional.
24609 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24610 (__mmap64) [!__NR_mmap2]: Likewise.
24611 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24612 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24613 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24614 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24615 [__NR_mmap2]: Make code unconditional.
24616 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24617 (__mmap64) [!__NR_mmap2]: Likewise.
24619 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24621 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24623 2012-08-18 Andreas Jaeger <aj@suse.de>
24625 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24627 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24629 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24630 * include/unistd.h (__have_sock_cloexec): Likewise.
24631 (__have_pipe2): Likewise.
24632 (__have_dup3): Likewise.
24634 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24637 * include/unistd.h (__have_pipe2): Change define into an extern int.
24638 (__have_dup3): Likewise.
24639 * socket/have_sock_cloexec.c: Include fcntl.h.
24640 (__have_pipe2): New variable.
24641 (__have_dup3): Likewise.
24643 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24645 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24647 2012-08-17 Marek Polacek <polacek@redhat.com>
24649 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24650 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24652 2012-08-17 Roland McGrath <roland@hack.frob.com>
24654 * configure.in: Add AC_SUBST for sysheaders.
24655 * configure: Regenerated.
24656 * config.make.in (sysheaders): New substituted variable.
24658 * sysdeps/unix/mkfifo.c: Moved ...
24659 * sysdeps/posix/mkfifo.c: ... here.
24660 * sysdeps/unix/mkfifoat.c: Moved ...
24661 * sysdeps/posix/mkfifoat.c: ... here.
24663 * sysdeps/unix/utime.c: Moved ...
24664 * sysdeps/posix/utime.c: ... here.
24666 * sysdeps/unix/time.c: Moved ...
24667 * sysdeps/posix/time.c: ... here.
24668 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24669 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24671 * sysdeps/unix/nice.c: Moved ...
24672 * sysdeps/posix/nice.c: ... here.
24674 * sysdeps/unix/alarm.c: Moved ...
24675 * sysdeps/posix/alarm.c: ... here.
24677 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24679 2012-08-17 Jeff Law <law@redhat.com>
24681 * intl/Makefile (codeset_mo): New variable.
24682 ($(codeset_mo)): New target.
24683 (tst-codeset.out): Depend on that. Remove explicit rule.
24684 (tst-gettext3.out, tst-gettext5.out): Likewise.
24685 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24686 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24687 * intl/tst-codeset.sh: Remove.
24688 * intl/tst-gettext3.sh: Likewise.
24689 * intl/tst-gettext5.sh: Likewise.
24691 2012-08-17 Roland McGrath <roland@hack.frob.com>
24693 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24694 * sysdeps/unix/syscalls.list: ... here.
24696 * sysdeps/posix/getaddrinfo.c
24697 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24698 (gaiconf_init, gaiconf_reload): Use them.
24699 [!_STATBUF_ST_NSEC]
24700 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24701 Define using time_t rather than struct timespec.
24703 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24704 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24706 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24708 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24709 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24712 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24713 __libc_cleanup_push argument.
24715 * bits/param.h: New file.
24716 * misc/sys/param.h: New file.
24717 * include/sys/param.h: New file.
24718 * misc/Makefile (headers): Add bits/param.h.
24719 * sysdeps/generic/sys/param.h: File removed.
24720 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24721 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24722 * sysdeps/mach/hurd/bits/param.h: New file.
24723 * sysdeps/mach/hurd/sys/param.h: File removed.
24725 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24728 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24730 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24731 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24734 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24735 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24736 rather than -D_IO_MTSAFE_IO conditionally.
24737 * stdio-common/Makefile (CPPFLAGS): Likewise.
24738 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24739 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24740 Use $(libio-mtsafe).
24741 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24742 of -D_IO_MTSAFE_IO.
24743 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24744 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24745 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24746 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24747 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24748 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24749 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24750 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24751 (CFLAGS-fread_u_chk.c): Likewise.
24752 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24753 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24754 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24755 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24756 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24757 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24758 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24759 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24760 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24762 * libio/Makefile: Test [$(libc-reentrant) = yes]
24763 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24766 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24767 * sysdeps/pthread/configure: File removed.
24768 * sysdeps/pthread/Makeconfig: New file.
24769 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24770 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24772 2012-08-16 Gary Benson <gbenson@redhat.com>
24774 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24775 unmapping the first object in a namespace.
24777 2012-08-16 Roland McGrath <roland@hack.frob.com>
24779 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24780 (__internal_setnetgrent): ... this. Add internal_function to
24781 definition. Add libc_hidden_def.
24782 (setnetgrent): Update caller.
24783 (internal_endnetgrent): Renamed to ...
24784 (__internal_endnetgrent): ... this. Add internal_function to
24785 definition. Add libc_hidden_def.
24786 (endnetgrent): Update caller.
24787 (internal_getnetgrent_r): Renamed to ...
24788 (__internal_getnetgrent_r): ... this. Add internal_function to
24789 definition. Add libc_hidden_def.
24790 (__getnetgrent_r): Update caller.
24791 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24793 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24795 * stdlib/longlong.h: Update from GCC.
24797 2012-08-16 Roland McGrath <roland@hack.frob.com>
24799 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24800 on _QL, which is set by umul_ppmm but never used.
24801 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24802 variables, which are set by GMP macros but never used.
24803 * stdio-common/_itowa.c (_itowa): Likewise.
24804 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24805 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24807 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24809 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24810 struct La_sh_regs is not constant.
24811 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24812 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24813 and struct La_sparc64_regs are not constant.
24815 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24817 * sysdeps/unix/sysv/linux/kernel-features.h
24818 (__ASSUME_POSIX_TIMERS): Remove.
24819 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24820 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24821 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24822 Make code unconditional.
24823 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24824 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24825 Make code unconditional.
24826 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24827 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24828 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24829 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24830 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24831 Make code unconditional.
24832 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24833 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24834 (__libc_missing_posix_timers): Remove.
24836 2012-08-15 Roland McGrath <roland@hack.frob.com>
24838 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24839 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24841 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24843 * elf/dl-sym.c: Include <stdlib.h>.
24845 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24846 constants, which avoids warnings in 32-bit builds.
24848 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24849 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24851 * misc/lseek.c: File moved to ...
24852 * io/lseek.c: ... here.
24854 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24856 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24857 shifting LEN more than 31 bits at once.
24859 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24862 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24863 segmentation fault for a case of two empty input strings.
24864 * string/test-strncasecmp.c (check1): Renamed to...
24865 (bz12205): ...this.
24866 (bz14195): Add new testcase for two empty input strings and N > 0.
24867 (test_main): Call new testcase, adapt for renamed function.
24869 2012-08-15 Andreas Jaeger <aj@suse.de>
24872 * crypt/md5test2.c: New test, based on test supplied by Serge
24873 Belyshev <belyshev@depni.sinp.msu.ru>.
24874 * crypt/Makefile (xtests): Add md5test-giant..
24875 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24877 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24880 * crypt/md5.c (md5_process_block): Don't assume the buffer
24881 length is less than 2**32.
24882 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24883 length is less than 2**64.
24885 2012-08-15 Roland McGrath <roland@hack.frob.com>
24887 * string/str-two-way.h: Include <sys/param.h>.
24888 (MAX): Macro removed.
24890 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24891 Move #define and #undef of memmove to just before and after
24892 including <string.h>.
24894 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24895 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24896 and after including <string.h>. Move declarations of
24897 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24898 to before #include "string/memmove.c".
24900 * include/dirent.h: Declare __getdirentries.
24902 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24903 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24905 2012-08-14 Mike Frysinger <vapier@gentoo.org>
24907 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24908 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24909 * sysdeps/i386/configure: Regenerated.
24910 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24911 STABS_CURRENT_FILE, and STABS_FUN.
24912 (END): Remove call to STABS_FUN_END.
24913 (STABS_CURRENT_FILE1): Delete.
24914 (STABS_CURRENT_FILE): Likewise.
24915 (STABS_FUN): Likewise.
24916 (STABS_FUN_END): Likewise.
24917 (STABS_FUN2): Likewise.
24918 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24919 * sysdeps/x86_64/configure: Regenerated.
24921 2012-08-14 Roland McGrath <roland@hack.frob.com>
24923 * elf/dl-open.c: Include <atomic.h>.
24924 * elf/dl-lookup.c: Likewise.
24926 2012-08-14 Joseph Myers <joseph@codesourcery.com>
24928 * sysdeps/unix/sysv/linux/kernel-features.h
24929 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24930 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24932 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24934 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24935 condition on __ASSUME_CLONE_THREAD_FLAGS.
24937 2012-08-14 Andreas Jaeger <aj@suse.de>
24939 * sysdeps/i386/fpu/libm-test-ulps: Update.
24941 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24943 * include/atomic.h (atomic_exchange_and_add): Split into ...
24944 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24947 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24951 2012-08-13 Jeff Law <law@redhat.com>
24953 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24954 null byte in the output string.
24956 2012-08-10 Joseph Myers <joseph@codesourcery.com>
24958 * sysdeps/unix/sysv/linux/kernel-features.h
24959 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24960 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24961 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24962 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24963 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24964 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24965 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24967 2012-08-09 Jeff Law <law@redhat.com>
24970 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24971 When avoid_arena is set, don't retry in the that arena. Pick the
24972 next one, whatever it might be.
24973 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24974 (arena_lock): Pass in new parameter to arena_get2.
24975 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24977 (__libc_malloc): Unify retrying after main arena failure with
24978 __libc_memalign version.
24979 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24981 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24984 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24985 to __redirect_strstr.
24986 (__strstr_sse42): Use typeof __redirect_strstr.
24987 (__strstr_ia32): Likewise.
24988 (__libc_strstr): New prototype.
24989 (strstr): Renamed to ...
24990 (__libc_strstr): This.
24991 (strstr): New strong alias of __libc_strstr.
24992 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24993 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24996 (__libc_time): New prototype.
24997 (time_ifunc): Replace time with __libc_time.
24998 (time): New strong alias and hidden definition of __libc_time.
24999 (__GI_time): Remove strong alias.
25000 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25001 Include <stddef.h>.
25002 (memmove): Redefined to __redirect_memmove.
25003 (__memmove_sse2): Use typeof __redirect_memmove.
25004 (__memmove_ssse3): Likewise.
25005 (__memmove_ssse3_back): Likewise.
25006 (__libc_memmove): New prototype.
25007 (memmove): Renamed to ...
25008 (__libc_memmove): This.
25009 (memmove): New strong alias of __libc_memmove.
25011 2012-08-08 Mark Salter <msalter@redhat.com>
25014 (R_MN10300_TLS_GD): Define.
25015 (R_MN10300_TLS_LD): Likewise.
25016 (R_MN10300_TLS_LDO): Likewise.
25017 (R_MN10300_TLS_GOTIE): Likewise.
25018 (R_MN10300_TLS_IE): Likewise.
25019 (R_MN10300_TLS_LE): Likewise.
25020 (R_MN10300_TLS_DTPMOD): Likewise.
25021 (R_MN10300_TLS_DTPOFF): Likewise.
25022 (R_MN10300_TLS_TPOFF): Likewise.
25023 (R_MN10300_SYM_DIFF): Likewise.
25024 (R_MN10300_ALIGN): Likewise.
25025 (R_MN10300_NUM): Update.
25027 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25029 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25032 2012-08-08 Roland McGrath <roland@hack.frob.com>
25034 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25036 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25037 sysdeps/unix -> sysdeps/posix move.
25038 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25040 2012-08-07 Allan McRae <allan@archlinux.org>
25043 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25044 (SUNOS_CPP): Likewise.
25045 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25047 (open_input): Call CPP using execvp.
25049 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25051 * sysdeps/unix/sysv/linux/kernel-features.h
25052 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25053 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25054 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25055 (__ASSUME_WAITID_SYSCALL): Likewise.
25056 * sysdeps/unix/sysv/linux/dl-execstack.c
25057 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25058 code unconditional.
25059 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25061 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25062 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25063 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25065 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25067 [__ASSUME_WAITID_SYSCALL]: Likewise.
25068 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25070 2012-08-07 Roland McGrath <roland@hack.frob.com>
25072 * sysdeps/unix/closedir.c: Renamed to ...
25073 * sysdeps/posix/closedir.c: ... here.
25074 * sysdeps/unix/dirfd.c: Renamed to ...
25075 * sysdeps/posix/dirfd.c: ... here.
25076 * sysdeps/unix/dirstream.h: Renamed to ...
25077 * sysdeps/posix/dirstream.h: ... here.
25078 * sysdeps/unix/fdopendir.c: Renamed to ...
25079 * sysdeps/posix/fdopendir.c: ... here.
25080 * sysdeps/unix/opendir.c: Renamed to ...
25081 * sysdeps/posix/opendir.c: ... here.
25082 * sysdeps/unix/readdir.c: Renamed to ...
25083 * sysdeps/posix/readdir.c: ... here.
25084 * sysdeps/unix/readdir_r.c: Renamed to ...
25085 * sysdeps/posix/readdir_r.c: ... here.
25086 * sysdeps/unix/rewinddir.c: Renamed to ...
25087 * sysdeps/posix/rewinddir.c: ... here.
25088 * sysdeps/unix/seekdir.c: Renamed to ...
25089 * sysdeps/posix/seekdir.c: ... here.
25090 * sysdeps/unix/telldir.c: Renamed to ...
25091 * sysdeps/posix/telldir.c: ... here.
25092 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25093 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25094 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25095 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25097 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25098 * bits/fcntl.h: ... here.
25100 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25102 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25103 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25104 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25105 (struct flock): Move l_start, l_len to the beginning.
25106 Use __pid_t for l_pid.
25107 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25108 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25109 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25110 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25111 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25112 [__USE_LARGEFILE64] (struct flock64): New type.
25113 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25115 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25116 * bits/dirent.h: ... here.
25118 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25119 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25121 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25123 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25124 Change from 2.6.0 to 2.6.16.
25125 * sysdeps/unix/sysv/linux/configure: Regenerated.
25126 * sysdeps/unix/sysv/linux/kernel-features.h
25127 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25128 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25130 (__ASSUME_UTIMES): Likewise.
25131 (__ASSUME_CLONE_STOPPED): Remove.
25132 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25133 architectures, not kernel version.
25134 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25135 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25136 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25137 (__ASSUME_WAITID_SYSCALL): Likewise.
25138 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25139 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25140 * README: State 2.6.16 as minimum Linux kernel version. Do not
25141 refer to older versions.
25143 2012-08-06 Roland McGrath <roland@hack.frob.com>
25145 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25146 Define alphasort64 as an alias.
25147 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25148 Define versionsort64 as an alias.
25149 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25150 Define scandir64 as an alias.
25151 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25152 Define scandirat64 as an alias.
25153 * dirent/alphasort64.c (alphasort64):
25154 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25155 * dirent/versionsort64.c: Likewise.
25156 * dirent/scandir64.c: Likewise.
25157 * dirent/scandirat64.c: Likewise.
25158 * sysdeps/wordsize-64/alphasort.c: File removed.
25159 * sysdeps/wordsize-64/alphasort64.c: File removed.
25160 * sysdeps/wordsize-64/scandir.c: File removed.
25161 * sysdeps/wordsize-64/scandir64.c: File removed.
25162 * sysdeps/wordsize-64/scandirat.c: File removed.
25163 * sysdeps/wordsize-64/scandirat64.c: File removed.
25164 * sysdeps/wordsize-64/versionsort.c: File removed.
25165 * sysdeps/wordsize-64/versionsort64.c: File removed.
25166 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25167 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25168 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25169 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25170 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25171 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25172 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25173 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25175 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25176 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25177 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25178 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25179 [defined __arch64__ || defined __sparcv9]
25180 (__INO_T_MATCHES_INO64_T): New macro.
25181 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25182 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25183 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25184 * sysdeps/unix/sysv/linux/bits/dirent.h
25185 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25186 (_DIRENT_MATCHES_DIRENT64): New macro.
25188 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25189 Define lockf64 as an alias.
25190 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25191 Define fseeko64 as an alias.
25192 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25193 Define ftello64 as an alias.
25194 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25195 Define _IO_fgetpos64 and fgetpos64 as aliases.
25196 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25197 Define _IO_fsetpos64 and fsetpos64 as aliases.
25198 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25199 Conditionalize body on this.
25200 * libio/fseeko64.c: Likewise.
25201 * libio/ftello64.c: Likewise.
25202 * libio/iofgetpos64.c: Likewise.
25203 * libio/iofsetpos64.c: Likewise.
25204 * sysdeps/wordsize-64/lockf.c: File removed.
25205 * sysdeps/wordsize-64/lockf64.c: File removed.
25206 * sysdeps/wordsize-64/fseeko.c: File removed.
25207 * sysdeps/wordsize-64/fseeko64.c: File removed.
25208 * sysdeps/wordsize-64/ftello.c: File removed.
25209 * sysdeps/wordsize-64/ftello64.c: File removed.
25210 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25211 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25212 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25213 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25214 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25215 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25216 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25217 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25218 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25219 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25220 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25221 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25222 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25223 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25225 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25226 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25227 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25228 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25229 [defined __arch64__ || defined __sparcv9]
25230 (__OFF_T_MATCHES_OFF64_T): New macro.
25231 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25232 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25233 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25234 (__OFF_T_MATCHES_OFF64_T): New macro.
25236 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25238 * stdlib/secure-getenv.c (__secure_getenv): Replace
25239 GLIBC_2_16 with GLIBC_2_17.
25241 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25243 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25244 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25246 2012-08-03 David S. Miller <davem@davemloft.net>
25248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25250 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25252 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25254 (__ASSUME_CORRECT_SI_PID): Likewise.
25255 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25256 (__ASSUME_TMPFS_NAME): Likewise.
25257 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25258 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25259 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25260 (HAVE_AUX_SECURE): Make definition unconditional.
25261 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25262 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25264 2012-08-03 Roland McGrath <roland@hack.frob.com>
25266 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25267 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25268 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25269 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25270 __eloop_threshold instead of SYMLOOP_MAX.
25272 * sysdeps/generic/eloop-threshold.h: New file.
25273 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25275 * elf/chroot_canon.c (chroot_canon): Likewise.
25277 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25280 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25281 Change to 2.6.0 everywhere.
25282 * sysdeps/unix/sysv/linux/configure: Regenerated.
25283 * sysdeps/unix/sysv/linux/kernel-features.h
25284 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25285 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25287 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25288 (__ASSUME_FUTEX_REQUEUE): Remove.
25289 (__ASSUME_STATFS64): Define unconditionally.
25290 (__ASSUME_AT_SECURE): Likewise.
25291 (__ASSUME_CORRECT_SI_PID): Likewise.
25292 (__ASSUME_TGKILL): Define without depending on kernel version for
25294 (__ASSUME_UTIMES): Likewise.
25295 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25297 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25298 (__ASSUME_TMPFS_NAME): Likewise.
25299 * README: Update reference to Linux kernel versions.
25301 2012-08-02 Marek Polacek <polacek@redhat.com>
25304 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25305 libc_cv_asm_type_prefix with %.
25306 * configure: Regenerated.
25307 * include/libc-symbols.h: Remove comment about
25308 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25309 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25310 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25311 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25312 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25313 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25314 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25315 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25316 * elf/tst-unique2mod1.c: Likewise.
25317 * elf/tst-unique1mod2.c: Likewise.
25318 * elf/tst-unique1mod1.c: Likewise.
25319 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25320 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25321 Replace ASM_TYPE_DIRECTIVE with .type.
25322 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25323 * sysdeps/i386/sysdep.h: Likewise.
25324 * sysdeps/x86_64/sysdep.h: Likewise.
25325 * sysdeps/sh/sysdep.h: Likewise.
25326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25327 Do not define ASM_TYPE_DIRECTIVE.
25328 * sysdeps/powerpc/sysdep.h: Likewise.
25329 * sysdeps/powerpc/powerpc32/sysdep.h:
25330 Replace ASM_TYPE_DIRECTIVE with .type.
25331 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25332 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25333 * sysdeps/i386/fpu/e_powf.S: Likewise.
25334 * sysdeps/i386/fpu/e_expl.S: Likewise.
25335 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25336 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25337 * sysdeps/i386/fpu/e_pow.S: Likewise.
25338 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25339 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25340 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25341 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25342 * sysdeps/i386/fpu/e_log2.S: Likewise.
25343 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25344 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25345 * sysdeps/i386/fpu/e_powl.S: Likewise.
25346 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25347 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25348 * sysdeps/i386/fpu/e_logl.S: Likewise.
25349 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25350 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25351 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25352 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25353 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25354 * sysdeps/i386/fpu/e_log.S: Likewise.
25355 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25356 * sysdeps/i386/fpu/e_logf.S: Likewise.
25357 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25358 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25359 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25360 * sysdeps/i386/fpu/e_log10.S: Likewise.
25361 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25362 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25363 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25364 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25365 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25366 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25367 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25368 * sysdeps/i386/i686/strtok.S: Likewise.
25369 * sysdeps/i386/i386-mcount.S: Likewise.
25370 * sysdeps/i386/strtok.S: Likewise.
25371 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25372 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25373 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25374 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25375 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25376 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25377 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25378 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25379 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25380 * sysdeps/x86_64/_mcount.S: Likewise.
25381 * sysdeps/x86_64/strtok.S: Likewise.
25382 * sysdeps/sh/_mcount.S: Likewise.
25384 2012-08-01 Roland McGrath <roland@hack.frob.com>
25386 * libio/iofopen.c: Include <fcntl.h>.
25387 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25388 (_IO_fopen64, fopen64): Define as aliases.
25389 * libio/iofopen64.c: Include <fcntl.h>.
25390 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25391 Conditionalize body on this.
25392 * sysdeps/wordsize-64/iofopen.c: File removed.
25393 * sysdeps/wordsize-64/iofopen64.c: File removed.
25395 2012-08-01 Marek Polacek <polacek@redhat.com>
25397 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25398 Use dlfcn directly instead of a variable.
25399 (binfmt-subdir): Do not define.
25402 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25404 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25405 Remove all definitions.
25406 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25407 <kernel-features.h>.
25408 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25409 (miss_F_GETOWN_EX): Remove all definitions.
25410 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25412 [!__ASSUME_FCNTL64]: Remove conditional code.
25413 [__ASSUME_FCNTL64]: Make code unconditional.
25414 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25415 <kernel-features.h>.
25416 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25417 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25418 (lockf64) [__NR_fcntl64]: Make code unconditional.
25419 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25421 * sysdeps/unix/sysv/linux/kernel-features.h
25422 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25423 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25424 Make code unconditional.
25425 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25426 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25428 [__NR_vfork]: Make code unconditional.
25429 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25430 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25432 [__NR_vfork]: Make code unconditional.
25433 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25434 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25436 2012-08-01 Roland McGrath <roland@hack.frob.com>
25438 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25439 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25441 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25442 Define mkstemp64 as an alias.
25443 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25444 Define mkstemps64 as an alias.
25445 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25446 Define mkostemp64 as an alias.
25447 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25448 Define mkostemps64 as an alias.
25449 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25450 Conditionalize body on this.
25451 * misc/mkostemp64.c: Likewise.
25452 * misc/mkostemps64.c: Likewise.
25453 * misc/mkstemps64.c: Likewise.
25454 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25455 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25456 * sysdeps/wordsize-64/mkostemp.c: File removed.
25457 * sysdeps/wordsize-64/mkstemp.c: File removed.
25458 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25459 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25460 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25461 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25464 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25465 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25466 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25467 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25469 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25470 compat_symbol macros from <shlib-compat.h> rather than the underlying
25471 default_symbol_version and symbol_version macros, so that DEFAULT
25472 lines in shlib-versions are respected.
25473 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25475 2012-08-01 Florian Weimer <fweimer@redhat.com>
25477 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25478 Declare with warn_unused_result.
25479 (setgid, setregid, setegid, setresgid): Likewise.
25480 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25482 * WUR-REPORT: Remove set*id functions.
25484 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25486 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25488 2012-07-31 Roland McGrath <roland@hack.frob.com>
25491 * include/sys/socket.h (__libc_accept, __libc_accept4):
25492 Add attribute_hidden.
25493 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25495 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25497 * inet/getnetgrent_r.c (setup): Likewise.
25499 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25501 2012-07-31 David S. Miller <davem@davemloft.net>
25503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25505 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25508 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25509 value between 1.0 and 2.0 and smaller part has absolute value less
25511 * math/s_clog10.c (__clog10): Likewise.
25512 * math/s_clog10f.c (__clog10f): Likewise.
25513 * math/s_clog10l.c (__clog10l): Likewise.
25514 * math/s_clogf.c (__clogf): Likewise.
25515 * math/s_clogl.c (__clogl): Likewise.
25516 * math/libm-test.inc (clog_test): Add more tests.
25517 (clog10_test): Likewise.
25518 * sysdeps/i386/fpu/libm-test-ulps: Update.
25519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25521 2012-07-31 Florian Weimer <fweimer@redhat.com>
25523 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25524 Exit with zero in case no suitable GID is found, and write a
25525 message to standard error.
25527 2012-07-30 Roland McGrath <roland@hack.frob.com>
25529 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25531 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25532 (MAXPATHLEN): Removed.
25533 (NOGROUP, NODEV): New macros.
25534 (setbit, clrbit, isset, isclr): New macros.
25535 (howmany, roundup, powerof2): New macros.
25536 (DEV_BSIZE): New macro.
25538 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25539 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25541 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25542 definition on [!__NO_LONG_DOUBLE_MATH].
25544 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25545 PTR_MANGLE and PTR_DEMANGLE.
25547 * socket/accept4.c (accept4): Rename to __libc_accept4.
25548 Define accept4 as a weak alias.
25550 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25551 on [_DIRENT_HAVE_D_TYPE].
25552 * io/ftw.c (ftw_dir): Likewise.
25554 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25556 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25558 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25559 Use the BSD numbers rather than the arbitrary ones we had.
25560 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25561 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25562 (SIGXCPU, SIGXFSZ): New macros.
25565 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25566 initializer on [_LIBC_REENTRANT].
25568 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25569 definitions inside [_POSIX_MAPPED_FILES].
25571 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25573 * dirent/opendir.c: Include <fcntl.h>.
25575 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25576 (__libc_getspecific): Likewise.
25577 (__libc_key_create): Likewise.
25579 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25580 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25581 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25582 (tmpfile64): Define as alias.
25583 * sysdeps/wordsize-64/tmpfile.c: File removed.
25584 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25585 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25586 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25588 * stdio-common/vfscanf.c: Include <stdbool.h>.
25589 * nss/makedb.c: Likewise.
25590 * stdio-common/_i18n_number.h: Likewise.
25591 * argp/argp-help.c: Likewise.
25592 * posix/wordexp.c: Likewise.
25593 * sysdeps/posix/spawni.c: Likewise.
25594 * nss/nss_files/files-initgroups.c: Likewise.
25595 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25596 * nss/nss_files/files-initgroups.c: Likewise.
25597 * nss/nss_db/db-netgrp.c: Likewise.
25598 * nss/nss_db/db-initgroups.c: Likewise.
25599 * io/fchmodat.c: Include <sys/stat.h>.
25601 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25602 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25604 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25607 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25608 Add multiple inclusion protection.
25610 2012-07-27 David S. Miller <davem@davemloft.net>
25612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25614 2012-07-27 Gary Benson <gbenson@redhat.com>
25617 * elf/rtld.c: Include <stap-probe.h>.
25618 (dl_main): Added static probes "init_start" and "init_complete".
25619 * elf/dl-load.c: Include <stap-probe.h>.
25620 (lose): Take new parameter "nsid".
25621 Added static probe "map_failed".
25622 (_dl_map_object_from_fd): Pass namespace id to lose.
25623 Added static probe "map_start".
25624 (open_verify): Pass namespace id to lose.
25625 * elf/dl-open.c: Include <stap-probe.h>.
25626 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25627 and "reloc_complete".
25628 * elf/dl-close.c: Include <stap-probe.h>.
25629 (_dl_close_worker): Added static probes "unmap_start" and
25631 * elf/rtld-debugger-interface.txt: New file documenting the above.
25633 2012-07-26 Roland McGrath <roland@hack.frob.com>
25635 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25636 rather than a string variable.
25637 * sunrpc/rpc_main.c (h_output): Likewise.
25638 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25640 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25642 * inet/check_native.c: New file.
25644 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25647 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25648 if larger part has absolute value 1.0.
25649 * math/s_clog10.c (__clog10): Likewise.
25650 * math/s_clog10f.c (__clog10f): Likewise.
25651 * math/s_clog10l.c (__clog10l): Likewise.
25652 * math/s_clogf.c (__clogf): Likewise.
25653 * math/s_clogl.c (__clogl): Likewise.
25654 * math/libm-test.inc (clog_test): Add more tests.
25655 (clog10_test): Likewise.
25656 * sysdeps/i386/fpu/libm-test-ulps: Update.
25657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25659 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25660 (pltexit): Likewise.
25661 (La_regs): Likewise.
25662 (La_retval): Likewise.
25663 (int_retval): Likewise.
25664 Update #error for removed macros to refer only to definitions in
25666 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25668 (pltexit): Likewise.
25669 (La_regs): Likewise.
25670 (La_retval): Likewise.
25671 (int_retval): Likewise.
25672 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25674 (pltexit): Likewise.
25675 (La_regs): Likewise.
25676 (La_retval): Likewise.
25677 (int_retval): Likewise.
25678 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25680 (pltexit): Likewise.
25681 (La_regs): Likewise.
25682 (La_retval): Likewise.
25683 (int_retval): Likewise.
25684 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25686 (pltexit): Likewise.
25687 (La_regs): Likewise.
25688 (La_retval): Likewise.
25689 (int_retval): Likewise.
25690 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25692 (pltexit): Likewise.
25693 (La_regs): Likewise.
25694 (La_retval): Likewise.
25695 (int_retval): Likewise.
25696 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25698 (pltexit): Likewise.
25699 (La_regs): Likewise.
25700 (La_retval): Likewise.
25701 (int_retval): Likewise.
25702 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25703 macro definitions in tst-audit.h.
25704 * sysdeps/i386/tst-audit.h: New file.
25705 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25706 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25707 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25708 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25709 * sysdeps/sh/tst-audit.h: Likewise.
25710 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25711 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25712 * sysdeps/x86_64/tst-audit.h: Likewise.
25714 2012-07-26 Andreas Jaeger <aj@suse.de>
25716 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25719 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25720 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25721 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25723 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25724 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25725 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25727 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25730 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25732 (si_call_addr, si_syscall, si_arch): Define new macro.
25733 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25735 (si_call_addr, si_syscall, si_arch): Define new marcro.
25736 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25738 (si_call_addr, si_syscall, si_arch): Define new macro.
25739 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25741 (si_call_addr, si_syscall, si_arch): Define new macro.
25743 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25746 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25747 Change to 2.4.21 where previously 2.4.1.
25748 * sysdeps/unix/sysv/linux/configure: Regenerated.
25749 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25750 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25751 Linux kernel version.
25752 (__ASSUME_STD_AUXV): Remove.
25753 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25755 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25756 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25757 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25758 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25759 (__ASSUME_NETLINK_SUPPORT): Likewise.
25760 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25761 (__no_netlink_support): Remove conditional definition.
25762 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25764 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25765 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25766 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25767 (if_nameindex_ioctl): Remove.
25768 (if_nameindex_netlink): Do not handle __no_netlink_support.
25769 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25771 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25772 Remove conditional code.
25773 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25775 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25777 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25778 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25779 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25781 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25782 [!__ASSUME_STD_AUXV]: Remove conditional code.
25783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25784 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25785 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25787 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25788 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25790 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25792 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25793 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25795 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25797 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25800 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25803 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25804 code unconditional.
25805 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25807 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25809 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25812 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25814 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25817 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25818 code unconditional.
25819 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25821 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25823 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25826 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25827 code unconditional.
25828 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25830 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25832 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25835 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25837 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25838 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25839 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25840 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25841 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25842 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25843 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25844 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25845 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25846 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25847 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25848 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25849 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25850 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25851 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25852 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25853 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25854 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25855 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25856 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25857 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25858 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25859 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25861 2012-07-25 Florian Weimer <fweimer@redhat.com>
25863 * Versions.def: Add GLIBC_2.17.
25864 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25865 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25866 Introduce __libc_secure_getenv.
25867 * stdlib/Versions (2.17): Add secure_getenv
25868 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25869 * stdlib/secure-getenv.c: Rename __secure_getenv to
25870 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25871 symbol __secure_getenv for GLIBC_2.0.
25872 * stdlib/tst-secure-getenv.c: New.
25873 * stdlib/Makefile (tests): Add testcase.
25874 * manual/startup.texi (Environment Access): Document
25876 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25877 __libc_secure_getenv.
25878 * inet/ruserpass.c (ruserpass): Likewise.
25879 * malloc/mtrace.c (mtrace): Likewise.
25880 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25881 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25882 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25883 * sysdeps/posix/tempname.c: Likewise. Evaluate
25884 HAVE_SECURE_GETENV.
25885 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25886 __secure_getenv to __libc_secure_getenv.
25887 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25894 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25900 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25902 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25903 (struct La_i86_retval): Likewise.
25904 (struct La_x86_64_regs): Likewise.
25905 (struct La_x86_64_retval): Likewise.
25906 (struct La_x32_regs): Likewise.
25907 (struct La_x32_retval): Likewise.
25908 (struct La_ppc32_regs): Likewise.
25909 (struct La_ppc32_retval): Likewise.
25910 (struct La_ppc64_regs): Likewise.
25911 (struct La_ppc64_retval): Likewise.
25912 (struct La_sh_regs): Likewise.
25913 (struct La_sh_retval): Likewise.
25914 (struct La_s390_32_regs): Likewise.
25915 (struct La_s390_32_retval): Likewise.
25916 (struct La_s390_64_regs): Likewise.
25917 (struct La_s390_64_retval): Likewise.
25918 (struct La_sparc32_regs): Likewise.
25919 (struct La_sparc32_retval): Likewise.
25920 (struct La_sparc64_regs): Likewise.
25921 (struct La_sparc64_retval): Likewise.
25922 (struct audit_ifaces): Remove architecture-specific pltenter and
25924 * sysdeps/i386/ldsodefs.h: New file.
25925 * sysdeps/powerpc/ldsodefs.h: Likewise.
25926 * sysdeps/s390/ldsodefs.h: Likewise.
25927 * sysdeps/sh/ldsodefs.h: Likewise.
25928 * sysdeps/sparc/ldsodefs.h: Likewise.
25929 * sysdeps/x86_64/ldsodefs.h: Likewise.
25931 2012-07-25 Marek Polacek <polacek@redhat.com>
25934 * math/libm-test.inc (yn_test): Add another test.
25935 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25936 to ERANGE when the result is +-Inf.
25937 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25938 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25939 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25940 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25942 2012-07-24 Joseph Myers <joseph@codesourcery.com>
25944 * conform/data/time.h-data (NULL): Use macro-constant. Require
25946 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25948 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25950 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25952 * configure.in <sysdeps resolving>: Correct printing
25954 * configure: Regenerate.
25956 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25958 * math/w_ilogb.c: Include <limits.h>.
25959 * math/w_ilogbl.c: Likewise.
25961 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25963 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25964 va_copy. Document allowing for unavailable va_copy only as
25965 pre-C99 compatibility.
25966 * manual/string.texi (Copying and Concatenation): Use va_copy
25967 instead of __va_copy in concat example.
25969 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25971 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25972 (__sendto): Use create_address_port. Initialize APORT and deallocate
25975 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25976 with O_NOLINK passed to __file_name_lookup.
25978 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25979 with O_NOLINK passed to __file_name_lookup.
25981 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25982 negative N or less than NGIDS.
25984 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25985 type to string_t. Set ERANGE as errno and return it if NAME is not big
25986 enough. Use memcpy instead of strncpy.
25988 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25990 * elf/Makefile (check-data): Remove.
25991 (localplt.data): New vpath directive.
25992 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25993 instead of $(check-data).
25994 * scripts/data/localplt-generic.data: Move to ...
25995 * sysdeps/generic/localplt.data: ... here.
25996 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25997 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25998 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26001 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26004 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26007 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26010 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26013 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26017 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26019 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26020 PPC32 and PPC64 files.
26021 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26022 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26024 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26026 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26027 __makecontext_ret to ...
26028 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26029 ... here and call exit if uc_link is NULL. New file.
26030 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26031 __makecontext_ret.S.
26032 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26033 __makecontext_ret to ...
26034 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26035 ... here and call exit if uc_link is NULL. New file.
26036 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26037 __makecontext_ret.S.
26039 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26041 * elf/elf.h (R_390_IRELATIVE): New definition.
26042 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26043 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26044 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26045 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26046 (elf_machine_lazy_rel): Likewise.
26047 * sysdeps/s390/dl-irel.h: New file.
26048 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26049 * sysdeps/s390/s390-64/memset.S: New asm code.
26050 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26051 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26052 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26053 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26054 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26055 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26056 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26057 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26058 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26059 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26060 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26061 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26062 * sysdeps/s390/s390-32/memset.S: New asm code.
26063 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26065 2012-07-17 Marek Polacek <polacek@redhat.com>
26068 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26069 * sysdeps/s390/s390-64/configure.in: Likewise.
26070 * sysdeps/sparc/configure.in: Likewise.
26071 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26072 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26073 * sysdeps/i386/configure.in: Likewise.
26074 * sysdeps/x86_64/configure.in: Likewise.
26075 * sysdeps/sh/configure.in: Likewise.
26076 * sysdeps/s390/s390-32/configure: Regenerated.
26077 * sysdeps/s390/s390-64/configure: Likewise.
26078 * sysdeps/x86_64/configure: Likewise.
26079 * sysdeps/sh/configure: Likewise.
26080 * sysdeps/powerpc/powerpc64/configure: Likewise.
26081 * sysdeps/powerpc/powerpc32/configure: Likewise.
26082 * sysdeps/sparc/configure: Likwise.
26083 * sysdeps/i386/configure: Likewise.
26085 * elf/dl-open.c: Comment fixes.
26087 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26089 * Makefile [CXX] (check-data): Remove.
26090 [CXX] (c++-types.data): New vpath directive.
26091 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26092 vpath. Do not allow for C++ type data being missing.
26093 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26094 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26095 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26096 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26097 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26098 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26099 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26102 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26105 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26108 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26111 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26114 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26117 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26120 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26123 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26124 definitions to architecture-specific files.
26125 (TLS_IE): Likewise.
26126 (TLS_LD): Likewise.
26127 (TLS_GD): Likewise.
26128 * sysdeps/i386/tls-macros.h: New file.
26129 * sysdeps/powerpc/tls-macros.h: Likewise.
26130 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26131 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26132 * sysdeps/sh/tls-macros.h: Likewise.
26133 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26134 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26135 * sysdeps/x86_64/tls-macros.h: Likewise.
26137 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26139 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26140 zero value for regular exit case.
26142 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26143 (__start_context): Preserve zero value for regular exit case.
26145 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26146 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26148 * manual/setjmp.texi (setcontext): Clarify normal process
26149 termination when uc_link is the null pointer.
26150 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26153 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26155 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26156 preprocessor. Test for each exception mask separately.
26158 2012-07-16 Andreas Jaeger <aj@suse.de>
26160 * po/ru.po: Update from translation team.
26162 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26164 * conform/data/string.h-data (NULL): Use macro-constant. Require
26166 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26167 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26168 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26169 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26170 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26172 2012-07-13 Andreas Jaeger <aj@suse.de>
26174 * po/fr.po: Update from translation team.
26176 2012-07-12 Marek Polacek <polacek@redhat.com>
26179 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26180 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26183 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26186 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26187 Change to 2.4.1 where previously 2.4.0.
26188 * sysdeps/unix/sysv/linux/configure: Regenerated.
26189 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26190 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26192 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26193 (__ASSUME_AT_CLKTCK): Remove.
26194 (__ASSUME_AT_PAGESIZE): Likewise.
26195 (__ASSUME_AT_XID): Likewise.
26196 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26197 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26198 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26200 (HAVE_AUX_PAGESIZE): Likewise.
26201 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26202 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26203 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26205 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26209 the temporary buffer used to invoke __gethostbyname2_r,
26210 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26211 host_data / struct gaih_addrtuple.
26212 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26213 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26214 header file nss/nsswitch.h.
26215 * nss/nsswitch.h (global scope): Add definition of implementation
26216 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26217 resolv/nss_dns/dns-host.c).
26219 2012-07-11 Andreas Jaeger <aj@suse.de>
26221 * po/fr.po: Update from translation team.
26223 * po/sv.po: Update from translation team
26224 * po/fr.po: Another update from translation team.
26226 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26228 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26229 for subnormals or multiply small sinh result by itself.
26230 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26233 2012-07-11 David S. Miller <davem@davemloft.net>
26235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26237 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26240 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26241 (INTERNAL_MARK): Shift it here.
26243 2012-07-10 Marek Polacek <polacek@redhat.com>
26246 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26247 libc_cv_asm_global_directive with .globl.
26248 * configure: Regenerated.
26249 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26251 * sysdeps/i386/configure: Regenerated.
26252 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26254 * sysdeps/x86_64/configure: Regenerated.
26255 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26256 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26257 * elf/tst-unique2mod2.c: Likewise.
26258 * elf/tst-unique2mod1.c: Likewise.
26259 * elf/tst-unique1mod2.c: Likewise.
26260 * elf/tst-unique1mod1.c: Likewise.
26261 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26262 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26263 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26264 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26265 * sysdeps/mach/sysdep.h: Likewise.
26266 * sysdeps/i386/sysdep.h: Likewise.
26267 * sysdeps/i386/i386-mcount.S: Likewise.
26268 * sysdeps/x86_64/_mcount.S: Likewise.
26269 * sysdeps/x86_64/sysdep.h: Likewise.
26270 * sysdeps/sh/_mcount.S: Likewise.
26271 * sysdeps/sh/sysdep.h: Likewise.
26272 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26273 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26274 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26275 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26276 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26277 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26278 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26279 * locale/localeinfo.h: Likewise.
26280 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26281 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26283 2012-07-09 Roland McGrath <roland@hack.frob.com>
26286 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26288 * manual/message.texi (The Uniforum approach): Likewise.
26289 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26290 (glibc iconv Implementation): Likewise.
26292 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26295 * math/s_clog.c (__clog): Avoid scaling a value down where that
26296 could result in underflow.
26297 * math/s_clog10.c (__clog10): Likewise.
26298 * math/s_clog10f.c (__clog10f): Likewise.
26299 * math/s_clog10l.c (__clog10l): Likewise.
26300 * math/s_clogf.c (__clogf): Likewise.
26301 * math/s_clogl.c (__clogl): Likewise.
26302 * math/libm-test.inc (clog_test): Add more tests.
26303 (clog10_test): Likewise.
26304 * sysdeps/i386/fpu/libm-test-ulps: Update.
26305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26307 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26310 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26311 by 7 not 8 to examine high bit of fractional part.
26314 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26315 for call to __mcount_internal.
26316 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26317 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26318 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26320 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26323 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26324 approximation for values within 0x1p-13f of an odd multiple of
26326 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26327 exception. Add more tests.
26328 * sysdeps/i386/fpu/libm-test-ulps: Update.
26331 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26332 inputs and return -1 for them. Do not check for +Inf in case not
26333 reachable for +Inf.
26334 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26335 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26336 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26337 and return -1 for them. Do not check for +Inf in case not
26338 reachable for +Inf.
26339 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26341 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26342 and return -1 for them. Do not check for +Inf in case not
26343 reachable for +Inf.
26344 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26345 spurious underflow.
26346 * sysdeps/i386/fpu/libm-test-ulps: Update.
26347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26349 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26351 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26353 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26357 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26358 could result in spurious underflow. Scale down values above
26359 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26360 * math/s_csqrtf.c (__csqrtf): Likewise.
26361 * math/s_csqrtl.c (__csqrtl): Likewise.
26362 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26363 spurious underflow.
26364 * sysdeps/i386/fpu/libm-test-ulps: Update.
26365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26367 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26369 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26371 * catgets/xopen-msg.awk: New file.
26372 * catgets/xopen-msg.sed: Removed.
26374 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26376 * intl/po2test.awk: New file.
26377 * intl/po2test.sed: Removed.
26379 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26382 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26383 or multiply small sinh result by itself.
26384 * math/s_ctanf.c (__ctanf): Likewise.
26385 * math/s_ctanh.c (__ctanh): Likewise.
26386 * math/s_ctanhf.c (__ctanhf): Likewise.
26387 * math/s_ctanhl.c (__ctanhl): Likewise.
26388 * math/s_ctanl.c (__ctanl): Likewise.
26389 * math/libm-test.inc (ctan_test_tonearest): New function.
26390 (ctan_test_towardzero): Likewise.
26391 (ctan_test_downward): Likewise.
26392 (ctan_test_upward): Likewise.
26393 (ctanh_test_tonearest): Likewise.
26394 (ctanh_test_towardzero): Likewise.
26395 (ctanh_test_downward): Likewise.
26396 (ctanh_test_upward): Likewise.
26397 (main): Call these new functions.
26398 * sysdeps/i386/fpu/libm-test-ulps: Update.
26399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26401 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26403 * .gitignore: Delete /ports entry.
26405 2012-07-03 Andreas Jaeger <aj@suse.de>
26407 * po/bg.po: Update from translation team.
26408 * po/cs.po: Likewise.
26409 * po/de.po: Likewise.
26410 * po/hr.po: Likewise.
26411 * po/nl.pl: Likewise.
26412 * po/pl.po: Likewise.
26413 * po/vi.po: Likewise.
26415 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26417 * Makeconfig [!+link] (+link-before-libc): New variable.
26418 [!+link] (+link-after-libc): Likewise.
26419 [!+link] (+link-tests): Likewise.
26420 [!+link] (+link): Define in terms of $(+link-before-libc) and
26421 $(+link-after-libc).
26422 [!+link-static] (+link-static-before-libc): New variable.
26423 [!+link-static] (+link-static-after-libc): Likewise.
26424 [!+link-static] (+link-static-tests): Likewise.
26425 [!+link-static] (+link-static): Define in terms of
26426 $(+link-static-before-libc) and $(+link-static-after-libc).
26427 [build-shared] (link-libc-before-gnulib): New variable.
26428 [build-shared] (link-libc-tests): Likewise.
26429 [build-shared] (link-libc): Define in terms of
26430 $(link-libc-before-gnulib).
26431 [!build-shared] (link-libc-tests): New variable.
26432 (link-libc-static-tests): New variable.
26433 [!gnulib] (gnulib-arch): New variable.
26434 [!gnulib] (gnulib-tests): Likewise.
26435 [!gnulib] (static-gnulib-arch): Likewise.
26436 [!gnulib] (static-gnulib-tests): Likewise.
26437 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26438 Define with "=" instead of ":=".
26439 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26440 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26441 * Rules (binaries-all-notests): New variable.
26442 (binaries-all-tests): Likewise.
26443 (binaries-static-notests): Likewise.
26444 (binaries-static-tests): Likewise.
26445 (binaries-all): Define using $(binaries-all-notests) and
26446 $(binaries-all-tests).
26447 (binaries-static): Define using $(binaries-static-notests) and
26448 $(binaries-static-tests).
26449 (binaries-shared-tests): New variable.
26450 (binaries-shared-notests): Likewise.
26451 (binaries-shared): Remove variable.
26452 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26453 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26454 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26455 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26456 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26457 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26458 * elf/Makefile (sln-modules): New variable.
26459 (extra-objs): Add $(sln-modules:=.o).
26460 (ldconfig-modules): Add static-stubs.
26461 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26462 * elf/static-stubs.c: New file.
26465 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26466 by 7 not 8 to examine high bit of fractional part. Use volatile
26467 variables when splitting into final array of floats if
26468 __FLT_EVAL_METHOD__ != 0.
26469 * math/libm-test.inc (cos_test): Add another test.
26470 (sin_test): Likewise.
26471 * sysdeps/i386/fpu/libm-test-ulps: Update.
26474 * math/libm-test.inc (cosh_test): Add more tests.
26476 * version.h (RELEASE): Set to "development".
26477 (VERSION): Set to "2.16.90".
26479 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26481 * NEWS: Update copyright. Remove last-updated date.
26482 Mention math library bug fixes and timezone data changes.
26483 * README: Mention GNU/Hurd, x32, and HPPA support status.
26485 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26487 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26489 2012-06-27 Andreas Jaeger <aj@suse.de>
26491 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26493 2012-06-25 Andreas Jaeger <aj@suse.de>
26495 * sysdeps/s390/fpu/libm-test-ulps: Update.
26497 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26498 Thomas Schwinge <thomas@codesourcery.com>
26500 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26501 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26502 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26505 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26507 * sysdeps/mach/start.c: Remove file.
26508 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26509 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26510 * sysdeps/sh/init-first.c: Likewise.
26512 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26513 registers for frame unwinding purposes, add CFI directives.
26514 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26515 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26516 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26519 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26520 __fortify_fail returning.
26521 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26523 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26524 sysdeps/sh/____longjmp_chk.S.
26525 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26526 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26527 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26528 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26530 * sysdeps/sh/abort-instr.h: New file.
26531 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26532 process in case exit returns.
26534 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26535 initialize the GOT register before use.
26537 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26538 calculation of ARGC > 4.
26540 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26541 meaningful names to some local labels.
26543 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26544 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26546 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26547 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26548 (__arch_compare_and_exchange_val_16_acq): Likewise.
26549 (__arch_compare_and_exchange_val_32_acq): Likewise.
26550 (atomic_exchange_and_add): Fix gUSA sequence.
26551 (atomic_add): Likewise.
26552 (atomic_add_negative): Likewise.
26553 (atomic_add_zero): Likewise.
26554 (atomic_bit_test_set): Likewise.
26556 2012-06-22 Andreas Schwab <schwab@redhat.com>
26559 * include/link.h (struct link_map): Add l_free_initfini.
26560 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26562 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26563 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26564 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26567 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26569 * configure.in: Use AC_LANG_SOURCE.
26570 * configure: Regenerate.
26572 2012-06-22 Roland McGrath <roland@hack.frob.com>
26574 * configure.in (libc_cv_localstatedir): New substituted variable.
26575 * configure: Regenerated.
26576 * config.make.in (localstatedir): New variable, substituted from
26577 libc_cv_localstatedir.
26578 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26579 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26580 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26581 * sysdeps/gnu/configure: Regenerated.
26583 2012-06-21 Jeff Law <law@redhat.com>
26586 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26587 free. Simplify list management for _LIBC case.
26589 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26592 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26593 Clear sign bit of 64-bit integer value before comparing against
26596 * sysdeps/mach/configure: Regenerated.
26598 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26601 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26603 2012-06-21 Jeff Law <law@redhat.com>
26606 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26607 uint16_t for elements in the "seen" array to avoid char overflows.
26608 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26609 * elf/dl-open.c (dl_open_worker): Likewise.
26611 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26613 * scripts/list-sources.sh: Scan PORTS for translations.
26614 * po/libc.pot: Regenerated.
26616 2012-06-21 Andreas Jaeger <aj@suse.de>
26619 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26621 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26622 * bits/byteswap-16.h (__bswap_16): Likewise.
26623 * bits/byteswap.h (__bswap_constant_16): Likewise.
26625 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26628 * sysdeps/i386/fpu_control.h: Removed.
26629 * sysdeps/x86_64/fpu_control.h: Moved to ...
26630 * sysdeps/x86/fpu_control.h: Here.
26632 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26633 (_FPU_SETCW): Likewise.
26635 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26638 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26639 * sysdeps/x86/fpu/bits/mathinline.h: This.
26640 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26644 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26645 functions if __x86_64__ is defined.
26647 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26649 * string/endian.h: Add !__ASSEMBLER__ condition for including
26650 conversion interfaces.
26652 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26655 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26656 of ABS(x) in calculating zero to negative powers other than odd
26658 * math/libm-test.inc (pow_test): Add more tests.
26660 2012-06-15 Andreas Jaeger <aj@suse.de>
26662 * manual/contrib.texi (Contributors): Update entry of Liubov
26663 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26666 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26668 * string/string.h: Add __wur to GNU version of strerror_r.
26670 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26673 * string/Makefile (tests): Add tst-strtok_r.
26674 * string/tst-strtok_r.c: New file.
26675 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26676 RAX_LP/RDX_LP on SAVE_PTR.
26678 2012-06-14 Roland McGrath <roland@hack.frob.com>
26680 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26682 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26684 * libm_test.inc (csqrt_test): Allow more spurious underflow
26686 (j0_test): Likewise.
26687 (j1_test): Likewise.
26688 (y0_test): Likewise.
26689 (y1_test): Likewise.
26691 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26693 * po/Makefile (libc.pot): Use UTF-8 charset.
26695 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26698 Suppress sign-conversion warning from FD_SET.
26699 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26700 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26701 not unsigned long int.
26702 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26704 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26708 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26709 __extern_always_inline instead of __extern_inline.
26710 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26711 (__signbit): Likewise.
26712 (__signbitl): Support C++ namespace.
26713 (lrintf): New inline function.
26715 (llrintf): Likewise.
26716 (llrint): Likewise.
26726 (floorf): Likewise.
26727 (nearbyint): Likewise.
26728 (nearbyintf): Likewise.
26730 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26732 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26733 non-default versions.
26735 2012-06-11 Roland McGrath <roland@hack.frob.com>
26738 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26740 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26742 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26743 (FE_UPWARD, FE_DOWNWARD): Don't define.
26744 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26745 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26747 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26749 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26750 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26752 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26754 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26755 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26756 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26757 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26759 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26762 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26763 * sysdeps/i386/fpu/Implies: New file.
26764 * sysdeps/x86_64/fpu/Implies: Likewise.
26765 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26766 * sysdeps/x86/fpu/bits/fenv.h: This.
26768 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26771 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26774 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26775 character 0xffff that matches the last element of the
26778 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26780 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26783 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26785 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26786 values higher than 25.6283.
26788 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26790 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26791 subnormal exponent extraction and add some __builtin_expect.
26792 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26793 Fix for subnormal mantissa calculation.
26795 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26797 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26798 cpu2 is -1 and errno is not ENOSYS.
26800 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26803 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26804 * sysdeps/x86/bits/string.h: This.
26805 * sysdeps/x86_64/bits/string.h: Removed.
26807 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26808 if not compiling for x86-64, but compiling for >= i486.
26810 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26811 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26813 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26814 New macro from Linux kernel 3.4.0.
26815 (FP_XSTATE_MAGIC2): Likewise.
26816 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26817 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26818 (struct _fpx_sw_bytes): New struct.
26819 (struct _xsave_hdr): Likewise.
26820 (struct _ymmh_state): Likewise.
26821 (struct _xstate): Likewise.
26823 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26824 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26825 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26826 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26827 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26828 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26830 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26831 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26832 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26833 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26834 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26835 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26837 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26840 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26841 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26842 (sysdep_headers): Include sys/platform/ppc.h.
26843 * sysdeps/powerpc/test-gettimebase.c: Test for
26844 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26845 * manual/Makefile (appendices): Include platform.texi.
26846 * manual/contrib.texi (Contributors): Update @node pointers.
26847 * manual/maint.texi (Maintenance): Likewise.
26848 (Platform): New node.
26849 * manual/platform.texi: New file. Document the new features.
26851 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26852 Jakub Jelinek <jakub@redhat.com>
26855 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26856 where __builtin_expect is unavailable.
26858 2012-06-03 David S. Miller <davem@davemloft.net>
26860 * stdlib/longlong.h: Updated from GCC.
26862 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26865 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26866 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26869 (GLIBC_2.16): Likewise.
26871 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26873 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26875 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26878 (default-abi): New variable.
26879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26880 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26882 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26884 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26886 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26889 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26890 definition. Document in comment.
26892 2012-06-01 David S. Miller <davem@davemloft.net>
26894 * stdlib/longlong.h: Updated from GCC.
26896 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26899 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26900 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26901 sys/debugreg.h sys/io.h here.
26902 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26903 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26905 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26906 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26907 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26908 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26909 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26910 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26912 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26913 Define only if __x86_64__ is defined.
26915 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26918 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26919 Use int64_t for variable i.
26920 * math/libm-test.inc (fmod_test): Add more tests.
26922 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26923 z computation is not scheduled after fetestexcept.
26924 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26925 Use math_force_eval instead of asm to ensure calculation scheduled
26926 before exception test.
26927 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26928 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26930 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26933 computation is not scheduled after fetestexcept.
26935 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26938 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26939 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26941 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26943 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26944 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26946 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26949 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26951 (__WCHAR_MIN): Support __WORDSIZE == 64.
26952 (__WCHAR_MAX): Likewise.
26954 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26955 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26958 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26959 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26962 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26963 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26965 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26966 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26968 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26969 Defined to 1 if __x86_64__ isn't defined.
26970 (_STAT_VER_LINUX_OLD): New.
26971 (st_atime): Remove duplicate.
26972 (st_mtime): Likewise.
26973 (st_ctime): Likewise.
26975 2012-05-31 David S. Miller <davem@davemloft.net>
26977 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26980 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26982 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26986 * elf/dl-reloc.c: Include <_itoa.h>.
26987 (_dl_reloc_bad_type): Remove use of INTUSE.
26988 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26989 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26990 * stdio-common/psiginfo.c (psiginfo): Likewise.
26991 * stdio-common/psignal.c (psignal): Likewise.
26992 * string/strsignal.c (strsignal): Likewise.
26993 * include/signal.h (_sys_siglist): Declare hidden proto.
26994 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26995 INTVARDEF with libc_hidden_data_def.
26996 * stdio-common/itoa-udigits.c: Likewise.
26997 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26998 (_itoa_lower_digits_internal): Remove declaration.
26999 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27000 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27001 (_sys_sigabbrev_internal): Remove aliases.
27002 (_sys_siglist): Define hidden alias.
27004 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27006 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27009 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27012 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27013 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27015 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27016 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27017 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27018 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27019 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27020 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27022 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27023 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27024 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27026 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27034 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27035 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27036 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27038 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27039 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27040 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27041 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27042 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27043 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27045 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27046 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27048 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27049 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27051 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27052 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27053 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27055 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27056 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27058 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27060 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27061 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27062 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27064 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27066 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27068 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27070 * math/math.h (M_El): Use two more decimal places.
27071 (M_LOG2El): Likewise.
27072 (M_LOG10El): Likewise.
27073 (M_LN2l): Likewise.
27074 (M_LN10l): Likewise.
27076 (M_PI_2l): Likewise.
27077 (M_PI_4l): Likewise.
27078 (M_1_PIl): Likewise.
27079 (M_2_PIl): Likewise.
27080 (M_2_SQRTPIl): Likewise.
27081 (M_SQRT2l): Likewise.
27082 (M_SQRT1_2l): Likewise.
27084 2012-05-31 David S. Miller <davem@davemloft.net>
27086 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27087 values between float registers.
27088 * sysdeps/sparc/sparc64/memset.S: Likewise.
27089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27091 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27093 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27094 -D_FORTIFY_SOURCE=1.
27095 (CPPFLAGS-tst-longjmp_chk.c): Define.
27096 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27097 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27098 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27099 CFLAGS-tst-wchar-h.c.
27101 2012-05-31 Marek Polacek <polacek@redhat.com>
27104 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27105 __endmntent_internal): Remove declaration.
27106 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27107 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27108 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27110 2012-05-30 David S. Miller <davem@davemloft.net>
27112 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27113 (___Q_simulate_exceptions): Use real FP ops rather than writing
27115 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27118 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27121 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27122 * sysdeps/x86/bits/xtitypes.h: This.
27124 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27125 * sysdeps/x86/bits/wordsize.h: This.
27127 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27128 * sysdeps/x86/bits/huge_vall.h: This.
27130 * sysdeps/i386/bits/select.h: Removed.
27131 * sysdeps/x86_64/bits/select.h: Renamed to ...
27132 * sysdeps/x86/bits/select.h: This.
27134 * sysdeps/i386/bits/setjmp.h: Removed.
27135 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27136 * sysdeps/x86/bits/setjmp.h: This.
27138 * sysdeps/i386/bits/mathdef.h: Removed.
27139 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27140 * sysdeps/x86/bits/mathdef.h: This.
27142 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27145 * include/sys/socket.h (__connect_internal)
27146 (__libc_sa_len_internal): Remove declaration.
27147 (__connect, __libc_sa_len): Declare hidden_proto.
27148 (SA_LEN): Remove use of INTUSE.
27149 * socket/connect.c: Add libc_hidden_def.
27150 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27151 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27152 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27154 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27155 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27156 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27157 of adding _internal alias.
27159 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27162 * sysdeps/i386/bits/link.h: Removed.
27163 * sysdeps/i386/bits/linkmap.h: Likewise.
27164 * sysdeps/x86_64/bits/link.h: Renamed to ...
27165 * sysdeps/x86/bits/link.h: This.
27166 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27167 * sysdeps/x86/bits/linkmap.h: This.
27169 * sysdeps/i386/bits/endian.h: Removed.
27170 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27171 * sysdeps/x86/bits/endian.h: This.
27173 * sysdeps/i386/bits/byteswap.h: Removed.
27174 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27175 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27176 * sysdeps/x86/bits/byteswap.h: This.
27177 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27178 * sysdeps/x86/bits/byteswap-16.h: This.
27179 * sysdeps/i386/Implies: Add x86.
27180 * sysdeps/x86_64/Implies: Likewise.
27182 2012-05-30 David S. Miller <davem@davemloft.net>
27184 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27185 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27186 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27187 (FP_TRAPPING_EXCEPTIONS): Define.
27188 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27189 (FP_TRAPPING_EXCEPTIONS): Define.
27190 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27191 subnormals only when inexact has been signalled or underflow
27192 exceptions are enabled.
27193 (_FP_PACK_CANONICAL): Likewise.
27195 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27198 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27199 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27201 2012-05-30 Richard Henderson <rth@twiddle.net>
27203 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27204 with #ifndef NOT_IN_libc.
27206 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27207 marked to avoid plt entry.
27209 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27212 * Makeconfig (default-abi): New macro.
27213 (abi-includes): Likewise.
27214 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27215 $(abi-$(default-abi)-lib-soname) for soname if defined.
27216 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27218 * Makefile (installed-stubs): Likewise.
27219 * include/stubs-biarch.h: Removed.
27220 * scripts/lib-names.awk: Only handle one library at a time.
27221 * scripts/soversions.awk: Remove WORDSIZE support.
27222 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27224 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27226 (syscall-list-default-condition): Likewise.
27227 (syscall-list-default-condition): Likewise.
27228 (syscall-list-includes): Likewise.
27229 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27230 syscall-list-* with abi-*. Handle undefined abi-variants.
27231 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27232 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27233 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27234 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27235 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27236 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27238 (syscall-list-32-options): Likewise.
27239 (syscall-list-32-condition): Likewise.
27240 (syscall-list-64-options): Likewise.
27241 (syscall-list-64-condition): Likewise.
27242 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27244 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27247 (abi-64-ld-soname): New macro.
27248 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27249 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27252 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27253 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27255 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27257 * sysdeps/unix/sysv/linux/kernel-features.h
27258 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27259 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27260 include <kernel-features.h>.
27261 [!__NR_ftruncate64]: Remove conditional code.
27262 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27263 [__NR_ftruncate64]: Make code unconditional.
27264 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27265 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27266 include <kernel-features.h>.
27267 [!__NR_ftruncate64]: Remove conditional code.
27268 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27269 [__NR_ftruncate64]: Make code unconditional.
27270 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27272 include <kernel-features.h>.
27273 [!__NR_ftruncate64]: Remove conditional code.
27274 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27275 [__NR_ftruncate64]: Make code unconditional.
27276 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27278 include <kernel-features.h>.
27279 [!__NR_ftruncate64]: Remove conditional code.
27280 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27281 [__NR_ftruncate64]: Make code unconditional.
27282 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27284 * configure.in (libc_cv_fpie): Weaken to a compile test using
27285 LIBC_TRY_CC_OPTION.
27286 * configure: Regenerated.
27288 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27303 2012-05-27 David S. Miller <davem@davemloft.net>
27305 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27307 (__Q_simulate_exceptions): Return void. Change to simulate
27308 exceptions by writing into the %fsr.
27309 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27310 (__Qp_handle_exceptions): Likewise.
27312 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27313 __Qp_handle_exceptions.
27314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27315 __Qp_handle_exceptions.
27316 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27317 as unused and give dummy FP_RND_NEAREST initializer.
27318 (FP_INHIBIT_RESULTS): Define.
27319 (___Q_simulate_exceptions): Update declaration.
27320 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27322 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27323 as unused and give dummy FP_RND_NEAREST initializer.
27324 (__Qp_handle_exceptions): Update declaration.
27325 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27328 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27330 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27331 the temporary FPU control word.
27332 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27333 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27334 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27335 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27336 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27337 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27338 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27339 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27340 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27341 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27342 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27344 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27346 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27349 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27351 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27352 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27353 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27354 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27356 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27357 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27360 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27362 * po/h.po: Update from translation team.
27364 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27366 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27368 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27369 handling of denormals.
27370 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27371 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27372 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27373 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27374 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27375 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27376 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27379 2012-05-26 Marek Polacek <polacek@redhat.com>
27382 * math/libm-test.inc (fma_test): Don't always expect underflow
27385 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27388 * elf/tst-execstack.c: Include stackinfo.h.
27389 (do_test): Adjust test case to ensure that pthread_getattr_np
27390 behaviour remains the same after marking stack executable.
27392 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27394 * sysdeps/unix/sysv/linux/kernel-features.h
27395 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27396 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27398 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27399 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27400 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27402 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27403 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27405 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27407 * configure.in: Define the default includes to being none.
27408 * configure: Regenerated.
27410 2012-05-25 Roland McGrath <roland@hack.frob.com>
27412 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27413 * sysdeps/x86_64/setjmp.S: Likewise.
27414 * sysdeps/i386/bsd-setjmp.S: Likewise.
27415 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27416 * sysdeps/i386/setjmp.S: Likewise.
27417 * sysdeps/i386/__longjmp.S: Likewise.
27418 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27419 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27421 * include/stap-probe.h: New file.
27422 * configure.in: Handle --enable-systemtap.
27423 * configure: Regenerated.
27424 * config.h.in (USE_STAP_PROBE): New #undef.
27425 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27426 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27427 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27429 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27432 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27433 to 2.4.0 where earlier.
27434 * sysdeps/unix/sysv/linux/configure: Regenerated.
27435 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27436 <kernel-features.h>.
27437 [__ASSUME_32BITUIDS]: Make code unconditional.
27438 [!__ASSUME_32BITUIDS]: Remove conditional code.
27439 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27440 <kernel-features.h>.
27441 [__ASSUME_32BITUIDS]: Make code unconditional.
27442 [!__ASSUME_32BITUIDS]: Remove conditional code.
27443 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27444 [__ASSUME_32BITUIDS]: Make code unconditional.
27445 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27446 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27447 <kernel-features.h>.
27448 [__ASSUME_32BITUIDS]: Make code unconditional.
27449 [!__ASSUME_32BITUIDS]: Remove conditional code.
27450 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27451 <kernel-features.h>.
27452 [__ASSUME_32BITUIDS]: Make code unconditional.
27453 [!__ASSUME_32BITUIDS]: Remove conditional code.
27454 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27455 <kernel-features.h>.
27456 [__ASSUME_32BITUIDS]: Make code unconditional.
27457 [!__ASSUME_32BITUIDS]: Remove conditional code.
27458 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27459 <kernel-features.h>.
27460 [__ASSUME_32BITUIDS]: Make code unconditional.
27461 [!__ASSUME_32BITUIDS]: Remove conditional code.
27462 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27463 <kernel-features.h>.
27464 [__ASSUME_32BITUIDS]: Make code unconditional.
27465 [!__ASSUME_32BITUIDS]: Remove conditional code.
27466 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27467 <kernel-features.h>.
27468 [__ASSUME_32BITUIDS]: Make code unconditional.
27469 [!__ASSUME_32BITUIDS]: Remove conditional code.
27470 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27471 <kernel-features.h>.
27472 [__ASSUME_32BITUIDS]: Make code unconditional.
27473 [!__ASSUME_32BITUIDS]: Remove conditional code.
27474 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27475 <kernel-features.h>.
27476 [__ASSUME_32BITUIDS]: Make code unconditional.
27477 [!__ASSUME_32BITUIDS]: Remove conditional code.
27478 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27479 <kernel-features.h>.
27480 [__ASSUME_32BITUIDS]: Make code unconditional.
27481 [!__ASSUME_32BITUIDS]: Remove conditional code.
27482 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27483 <kernel-features.h>.
27484 [__ASSUME_32BITUIDS]: Make code unconditional.
27485 [!__ASSUME_32BITUIDS]: Remove conditional code.
27486 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27487 <kernel-features.h>.
27488 [__NR_setresgid] (__setresgid): Do not declare.
27489 [__ASSUME_32BITUIDS]: Make code unconditional.
27490 [!__ASSUME_32BITUIDS]: Remove conditional code.
27491 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27492 <kernel-features.h>.
27493 [__NR_setresuid] (__setresuid): Do not declare.
27494 [__ASSUME_32BITUIDS]: Make code unconditional.
27495 [!__ASSUME_32BITUIDS]: Remove conditional code.
27496 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.c: Do not include
27521 <kernel-features.h>.
27522 [__ASSUME_32BITUIDS]: Make code unconditional.
27523 [!__ASSUME_32BITUIDS]: Remove conditional code.
27524 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27525 <kernel-features.h>.
27526 [__ASSUME_32BITUIDS]: Make code unconditional.
27527 [!__ASSUME_32BITUIDS]: Remove conditional code.
27528 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27529 <kernel-features.h>.
27530 [__ASSUME_32BITUIDS]: Make code unconditional.
27531 [!__ASSUME_32BITUIDS]: Remove conditional code.
27532 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27533 <kernel-features.h>.
27534 [__ASSUME_32BITUIDS]: Make code unconditional.
27535 [!__ASSUME_32BITUIDS]: Remove conditional code.
27536 * sysdeps/unix/sysv/linux/kernel-features.h
27537 (__ASSUME_SETRESUID_SYSCALL): Remove.
27538 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27539 (__ASSUME_32BITUIDS): Likewise.
27540 (__ASSUME_LDT_WORKS): Likewise.
27541 (__ASSUME_O_DIRECTORY): Likewise.
27542 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27543 architecture but not kernel version.
27544 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27545 (__ASSUME_MMAP2_SYSCALL): Likewise.
27546 (__ASSUME_STAT64_SYSCALL): Likewise.
27547 (__ASSUME_IPC64): Likewise.
27548 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27549 <kernel-features.h>.
27550 [__ASSUME_32BITUIDS]: Make code unconditional.
27551 [!__ASSUME_32BITUIDS]: Remove conditional code.
27552 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27553 <kernel-features.h>.
27554 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27555 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27556 132096]: Remove conditional code.
27557 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27558 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
27567 <kernel-features.h>.
27568 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27570 (__setresgid): Do not declare.
27571 [__ASSUME_32BITUIDS]: Make code unconditional.
27572 [!__ASSUME_32BITUIDS]: Remove conditional code.
27573 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27574 <kernel-features.h>.
27575 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27577 (__setresuid): Do not declare.
27578 [__ASSUME_32BITUIDS]: Make code unconditional.
27579 [!__ASSUME_32BITUIDS]: Remove conditional code.
27580 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27581 <kernel-features.h>.
27582 [__ASSUME_32BITUIDS]: Make code unconditional.
27583 [!__ASSUME_32BITUIDS]: Remove conditional code.
27584 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27585 <kernel-features.h>.
27586 [__ASSUME_32BITUIDS]: Make code unconditional.
27587 [!__ASSUME_32BITUIDS]: Remove conditional code.
27589 2012-05-25 Richard Henderson <rth@twiddle.net>
27591 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27592 dl_hwcap to ifunc resolver.
27593 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27595 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27596 dl_hwcap to ifunc resolver.
27597 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27599 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27602 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27603 for |x| <= 2**-26, not 2**-57.
27604 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27607 2012-05-24 Jeff Law <law@redhat.com>
27609 * stdio-common/Makefile (tests): Add bug25.
27610 * stdio-common/bug25.c: New test.
27612 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27615 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27616 multiple of MALLOC_ALIGNMENT in size.
27617 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27619 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27621 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27623 (FILENAME_MAX): Use macro-int-constant.
27624 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27625 (_IOFBF): Use macro-int-constant.
27626 (_IOLBF): Likewise.
27627 (_IONBF): Likewise.
27628 (SEEK_CUR): Likewise.
27629 (SEEK_END): Likewise.
27630 (SEEK_SET): Likewise.
27631 (TMP_MAX): Likewise.
27632 (EOF): Use macro-int-constant. Require < 0.
27633 (NULL): Use macro-constant. Require == 0.
27634 (stdin): Require type to be FILE *.
27635 (stdout): Likewise.
27636 (stderr): Likewise.
27637 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27638 macro-int-constant.
27639 (EXIT_SUCCESS): Likewise.
27640 (NULL): Use macro-constant. Require == 0.
27641 (RAND_MAX): Use macro-int-constant.
27642 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27643 [C99-based standards] (strtof): Require function.
27644 [C99-based standards] (strtold): Likewise.
27645 [C99-based standards] (strtoll): Likewise.
27646 [C99-based standards] (strtoull): Likewise.
27647 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27648 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27649 [ISO || ISO99 || ISO11] (math.h): Likewise.
27650 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27651 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27652 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27654 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27657 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27658 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27659 * intl/dgettext.c (DCGETTEXT): Likewise.
27660 * intl/gettext.c (DCGETTEXT): Likewise.
27661 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27662 * posix/regex_internal.h (gettext): Likewise.
27663 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27664 Remove declaration.
27665 * include/argz.h (__argz_count_internal)
27666 (__argz_stringify_internal): Remove declaration.
27667 (__argz_count, __argz_stringify): Declare hidden proto.
27668 * intl/dcgettext.c: Remove use of INTDEF.
27669 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27670 * string/argz-stringify.c: Likewise.
27671 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27672 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27673 Declare hidden proto.
27674 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27675 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27676 Declare hidden proto.
27677 * include/stdio.h (__asprintf_internal): Don't declare.
27678 (__asprintf): Don't define as macro. Declare hidden proto.
27679 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27680 (__fsetlocking): Declare hidden proto.
27681 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27682 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27684 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27685 (_IO_setlinebuf): Remove use of INTUSE.
27686 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27687 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27688 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27689 Remove declaration.
27690 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27691 (_IO_do_flush): Remove use of INTUSE.
27692 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27693 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27694 (_IO_adjust_column, _IO_least_wmarker)
27695 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27696 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27697 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27698 (_IO_default_doallocate, _IO_wdefault_doallocate)
27699 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27700 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27701 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27702 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27703 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27704 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27705 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27706 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27707 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27708 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27709 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27710 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27711 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27713 (_IO_flush_all_internal, _IO_adjust_column_internal)
27714 (_IO_default_uflow_internal, _IO_default_finish_internal)
27715 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27716 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27717 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27718 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27719 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27720 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27721 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27722 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27723 (_IO_file_close_internal, _IO_file_close_it_internal)
27724 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27725 (_IO_file_init_internal, _IO_file_attach_internal)
27726 (_IO_file_fopen_internal, _IO_file_read_internal)
27727 (_IO_file_sync_internal, _IO_file_seek_internal)
27728 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27729 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27730 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27731 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27732 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27733 (_IO_list_all_internal, _IO_link_in_internal)
27734 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27735 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27736 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27737 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27738 (_IO_do_write_internal, _IO_padn_internal)
27739 (_IO_getline_info_internal, _IO_getline_internal)
27740 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27741 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27742 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27743 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27744 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27745 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27746 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27747 with libc_hidden_ver, remove use of INTUSE.
27748 * libio/genops.c: Likewise.
27749 * libio/freopen.c: Likewise.
27750 * libio/freopen64.c: Likewise.
27751 * libio/iofclose.c: Likewise.
27752 * libio/iofdopen.c: Likewise.
27753 * libio/iofflush.c: Likewise.
27754 * libio/iofflush_u.c: Likewise.
27755 * libio/iofgets.c: Likewise.
27756 * libio/iofgets_u.c: Likewise.
27757 * libio/iofopen.c: Likewise.
27758 * libio/iofopncook.c: Likewise.
27759 * libio/iofread.c: Likewise.
27760 * libio/iofread_u.c: Likewise.
27761 * libio/ioftell.c: Likewise.
27762 * libio/iofwrite.c: Likewise.
27763 * libio/iogetline.c: Likewise.
27764 * libio/iogets.c: Likewise.
27765 * libio/iogetwline.c: Likewise.
27766 * libio/iopadn.c: Likewise.
27767 * libio/iopopen.c: Likewise.
27768 * libio/ioseekoff.c: Likewise.
27769 * libio/ioseekpos.c: Likewise.
27770 * libio/iosetbuffer.c: Likewise.
27771 * libio/iosetvbuf.c: Likewise.
27772 * libio/ioungetc.c: Likewise.
27773 * libio/ioungetwc.c: Likewise.
27774 * libio/iovdprintf.c: Likewise.
27775 * libio/iovsprintf.c: Likewise.
27776 * libio/iovsscanf.c: Likewise.
27777 * libio/memstream.c: Likewise.
27778 * libio/obprintf.c: Likewise.
27779 * libio/oldfileops.c: Likewise.
27780 * libio/oldiofclose.c: Likewise.
27781 * libio/oldiofdopen.c: Likewise.
27782 * libio/oldiofopen.c: Likewise.
27783 * libio/oldiopopen.c: Likewise.
27784 * libio/oldstdfiles.c: Likewise.
27785 * libio/putc.c: Likewise.
27786 * libio/setbuf.c: Likewise.
27787 * libio/setlinebuf.c: Likewise.
27788 * libio/stdfiles.c: Likewise.
27789 * libio/strops.c: Likewise.
27790 * libio/vasprintf.c: Likewise.
27791 * libio/vscanf.c: Likewise.
27792 * libio/vsnprintf.c: Likewise.
27793 * libio/vswprintf.c: Likewise.
27794 * libio/wfiledoalloc.c: Likewise.
27795 * libio/wfileops.c: Likewise.
27796 * libio/wgenops.c: Likewise.
27797 * libio/wmemstream.c: Likewise.
27798 * libio/wstrops.c: Likewise.
27799 * libio/__fpurge.c: Likewise.
27800 * libio/__fsetlocking.c: Likewise.
27801 * assert/assert.c: Likewise.
27802 * debug/fgets_chk.c: Likewise.
27803 * debug/fgets_u_chk.c: Likewise.
27804 * debug/fread_chk.c: Likewise.
27805 * debug/fread_u_chk.c: Likewise.
27806 * debug/gets_chk.c: Likewise.
27807 * debug/obprintf_chk.c: Likewise.
27808 * debug/vasprintf_chk.c: Likewise.
27809 * debug/vdprintf_chk.c: Likewise.
27810 * debug/vsnprintf_chk.c: Likewise.
27811 * debug/vsprintf_chk.c: Likewise.
27812 * malloc/mtrace.c: Likewise.
27813 * misc/error.c: Likewise.
27814 * misc/syslog.c: Likewise.
27815 * stdio-common/asprintf.c: Likewise.
27816 * stdio-common/fxprintf.c: Likewise.
27817 * stdio-common/getw.c: Likewise.
27818 * stdio-common/isoc99_fscanf.c: Likewise.
27819 * stdio-common/isoc99_scanf.c: Likewise.
27820 * stdio-common/isoc99_vfscanf.c: Likewise.
27821 * stdio-common/isoc99_vscanf.c: Likewise.
27822 * stdio-common/isoc99_vsscanf.c: Likewise.
27823 * stdio-common/printf-prs.c: Likewise.
27824 * stdio-common/printf_fp.c: Likewise.
27825 * stdio-common/printf_fphex.c: Likewise.
27826 * stdio-common/printf_size.c: Likewise.
27827 * stdio-common/putw.c: Likewise.
27828 * stdio-common/scanf.c: Likewise.
27829 * stdio-common/sprintf.c: Likewise.
27830 * stdio-common/tmpfile.c: Likewise.
27831 * stdio-common/vfprintf.c: Likewise.
27832 * stdio-common/vfscanf.c: Likewise.
27833 * stdlib/strfmon_l.c: Likewise.
27834 * sunrpc/openchild.c: Likewise.
27835 * sunrpc/xdr_stdio.c: Likewise.
27836 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27837 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27839 2012-05-24 Roland McGrath <roland@hack.frob.com>
27841 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27843 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27844 in the third column, to generate for the shared library an IFUNC
27845 that uses _dl_vdso_vsym.
27846 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27847 * Makeconfig (object-suffixes-noshared): New variable.
27849 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27850 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27851 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27852 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27855 * include/sys/time.h (__gettimeofday): Remove macro.
27856 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27857 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27859 (__gettimeofday): Add libc_hidden_def.
27860 (gettimeofday): Add libc_hidden_weak.
27861 * sysdeps/mach/gettimeofday.c: Likewise.
27862 * sysdeps/posix/gettimeofday.c: Likewise.
27863 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27864 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27865 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27866 (__gettimeofday_internal): Remove strong_alias.
27867 (__gettimeofday): Add libc_hidden_def.
27868 (gettimeofday): Add libc_hidden_weak.
27869 * sysdeps/unix/syscalls.list (gettimeofday):
27870 Remove __gettimeofday_internal alias.
27872 2012-05-24 Daniel Jacobowitz <drow@false.org>
27873 H.J. Lu <hongjiu.lu@intel.com>
27876 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27877 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27878 (largebin_index_32_big): New.
27879 (largebin_index): Use it for 16-byte alignment.
27880 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27881 correction with front_misalign.
27883 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27911 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27912 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27914 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27918 * math/libm-test.inc (exp_test): Add test from bug 14036.
27919 (pow_test): Add test from bug 10846.
27921 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27923 (special_function): Do not include flags in test name.
27924 (parse_args): Likewise.
27925 * sysdeps/i386/fpu/libm-test-ulps: Update.
27926 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27927 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27928 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27931 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27933 * math/libm-test.inc ("Philosophy"): Update comment about
27935 (UNDERFLOW_EXCEPTION): New macro.
27936 (UNDERFLOW_EXCEPTION_OK): Likewise.
27937 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27938 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27939 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27940 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27941 (INVALID_EXCEPTION_OK): Update value.
27942 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27943 (OVERFLOW_EXCEPTION_OK): Likewise.
27944 (IGNORE_ZERO_INF_SIGN): Likewise.
27945 (test_exceptions): Handle underflow exceptions.
27946 (acos_test): Update for underflow exception expectations.
27947 (cexp_test): Likewise.
27948 (clog_test): Likewise.
27949 (clog10_test): Likewise.
27950 (csqrt_test): Likewise.
27951 (ctan_test): Likewise.
27952 (ctanh_test): Likewise.
27953 (exp_test): Likewise.
27954 (exp10_test): Likewise.
27955 (exp2_test): Likewise.
27956 (expm1_test): Likewise.
27957 (fma_test): Likewise.
27958 (j0_test): Likewise.
27959 (jn_test): Likewise.
27960 (nexttoward_test): Likewise.
27961 (pow_test): Likewise.
27962 (scalbn_test): Likewise.
27963 (scalbln_test): Likewise.
27964 (tan_test): Likewise.
27965 (y1_test): Likewise.
27966 * sysdeps/i386/fpu/libm-test-ulps: Update.
27967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27969 2012-05-23 David S. Miller <davem@davemloft.net>
27971 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27972 (__libc_sigaction): Remove unused local variables.
27974 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27976 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27978 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27980 mktime: avoid signed integer overflow
27981 * time/mktime.c (__mktime_internal): Do not mishandle the case
27982 where diff == INT_MIN.
27984 mktime: simplify computation of average
27985 * time/mktime.c (ranged_convert): Use new time_t_avg function
27986 instead of rolling our own (probably-slower) code.
27988 mktime: do not assume signed right shift propagates sign bit
27989 * time/mktime.c (isdst_differ): New static function.
27990 (__mktime_internal): No need to normalize tm_isdst now.
27991 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27994 mktime: merge another wrapv change from gnulib
27995 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27996 from some compilers.
27998 mktime: remove incorrect attempt at unusual arithmetics
27999 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28000 The code didn't really work on such machines anyway.
28001 (TYPE_MINIMUM): Assume two's complement.
28002 (twos_complement_arithmetic): Verify that long_int and time_t
28003 are two's complement (or unsigned, in the latter case).
28005 mktime: check signed shifts on long_int and time_t, too
28006 * time/mktime.c (SHR): Check that shifts work as desired
28007 on the types long_int and time_t too, as SHR is used on
28010 mktime: do not assume 'long' is wide enough
28011 * time/mktime.c (verify): Move decl up.
28012 (long_int): New type.
28013 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28014 to remove assumption in the code that 'long' is wide enough to
28015 store year values. This assumption is not true on x32 and on
28016 some non-glibc platforms.
28018 mktime: merge wrapv change from gnulib
28019 * time/mktime.c (WRAPV): New macro.
28020 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28021 (guess_time_tm, __mktime_internal): Do not assume that signed
28022 integer overflow wraps around; modern compilers generate code
28023 where this assumption is no longer valid.
28025 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28027 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28028 Replace "jmp L(pseudo_end)" with "ret".
28029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28032 2012-05-23 Andreas Jaeger <aj@suse.de>
28034 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28035 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28037 2012-05-23 Andreas Jaeger <aj@suse.de>
28038 Maximilian Attems <max@stro.at>
28040 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28043 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28045 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28046 code so that pseudo_end is just ret and the stack pointer is
28047 correct also for static library in error case.
28049 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28051 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28052 move to syscalls.list.
28053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28058 * manual/install.texi (Running make install): Do not mention Linux
28059 kernel version for which pt_chown is not needed.
28060 (Linux): Do not mention problems with nscd with 2.0 kernels.
28061 * INSTALL: Regenerated.
28063 2012-05-23 Andreas Jaeger <aj@suse.de>
28065 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28066 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28068 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28069 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28070 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28071 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28072 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28073 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28074 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28075 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28076 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28077 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28078 * sysdeps/unix/sysv/linux/bits/in.h
28079 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28081 2012-05-22 Roland McGrath <roland@hack.frob.com>
28083 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28084 (PREPARE_VERSION): Just use assert instead, it will be elided
28085 under [NDEBUG] anyway.
28087 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28089 * sysdeps/unix/sysv/linux/Makefile: Include
28090 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28091 (sysdep_routines): Remove sysctl.
28092 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28093 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28094 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28095 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28096 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28098 2012-05-22 Andreas Jaeger <aj@suse.de>
28100 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28101 that pseudo_end is just ret and the stack pointer is correct also
28102 for static library in error case.
28104 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28107 * nss/nsswitch.c (defconfig_entries): New variable.
28108 (__nss_database_lookup): Don't leak defconfig entries.
28109 (nss_parse_service_list): Don't leak on error paths.
28110 (free_database_entries): New function.
28111 (free_defconfig): New function.
28112 (free_mem): Move common code to free_database_entries.
28114 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28116 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28118 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28120 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28121 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28124 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28125 (INTERNAL_SYSCALL_TYPES): Likewise.
28126 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28127 (LOAD_REGS_TYPES_[1-6]): Likewise.
28128 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28129 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28131 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28133 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28134 copysignl for GLIBC_2_0.
28135 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28136 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28137 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28138 logbl for GLIBC_2_0.
28139 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28140 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28142 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28144 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28145 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28147 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28150 * time/mktime.c: Update copyright years.
28152 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28154 mktime: merge comment-quoting-style change from gnulib
28155 * time/mktime.c: Quote 'like this' in comments.
28156 The GNU coding standards suggest that we no longer quote `like this',
28157 as "`" and "'" are typically rendered asymmetrically nowadays.
28158 The typical gnulib style is to quote 'like this' when quoting
28159 code, and "like this" when quoting English.
28161 * time/mktime.c (compile-command): Add "-I.".
28163 mktime: merge mktime-internal.h change from gnulib
28164 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28166 mktime: merge time_r change from gnulib
28167 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28169 mktime: merge DEBUG change from gnulib
28170 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28171 case system <time.h> has a #define.
28173 mktime: merge <sys/types.h> change from gnulib
28174 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28175 since <time.t> is now guaranteed to define time_t.
28177 mktime: merge HAVE_CONFIG_H change from gnulib
28178 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28180 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28185 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28187 (struct rusage): Use anonymous union to pad each field to
28190 2012-05-21 David S. Miller <davem@davemloft.net>
28192 * Makefules (o-iterator): Remove .s cases.
28193 (compile-command.s): Delete.
28194 (COMPILE.s): Delete.
28195 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28197 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28199 * configure.in (libc_cv_predef_stack_protector): Only consider
28200 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28201 * configure: Regenerated.
28203 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28206 New macro. Use R*LP on int and pointer.
28207 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28208 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28209 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28210 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28212 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28213 [__WORDSIZE_TIME64_COMPAT32] instead of
28214 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28215 (struct utmp): Likewise.
28216 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28217 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28219 (__WORDSIZE_TIME64_COMPAT32): This.
28220 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28221 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28222 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28223 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28224 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28225 (__WORDSIZE_TIME64_COMPAT32): New macro.
28227 2012-05-21 Andreas Jaeger <aj@suse.de>
28229 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28230 only if [SHARED]. Add prototype for __wcschr_ia32.
28232 2012-05-21 Roland McGrath <roland@hack.frob.com>
28234 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28235 of %rbp unmolested in the jmp_buf while mangling the low bits.
28236 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28237 unmolested high bits of %rbp while demangling the low bits.
28238 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28240 2012-05-21 Andreas Jaeger <aj@suse.de>
28242 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28243 * sunrpc/svc_simple.c: Use it for registerrpc.
28244 * sunrpc/xcrypt.c: Use it for passwd2des.
28246 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28248 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28250 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28251 Don't define if [__SYSCALL_WORDSIZE != 32].
28252 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28255 2012-05-21 Bruno Haible <bruno@clisp.org>
28256 Andreas Jaeger <aj@suse.de>
28258 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28259 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28260 inptr and inend for must_buffer_ch.
28261 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28262 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28263 * stdio-common/Makefile (tests): Remove bug15.
28264 (bug15-ENV): Remove macro.
28265 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28268 2012-05-19 Andreas Jaeger <aj@suse.de>
28269 Roland McGrath <roland@hack.frob.com>
28271 * manual/contrib.texi: Completely rewritten. It contains now an
28272 alphabetical list of contributors and their contributions.
28274 2012-05-21 Richard Henderson <rth@twiddle.net>
28276 * misc/getauxval.c (__getauxval): Use unsigned long int.
28277 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28278 (getauxval): Use unsigned long int.
28280 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28282 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28284 2012-05-21 Roland McGrath <roland@hack.frob.com>
28286 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28287 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28288 __alignof__ (long double).
28290 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28294 2012-05-20 Richard Henderson <rth@twiddle.net>
28296 * misc/getauxval.c: New file.
28297 * misc/sys/auxv.h: New file.
28298 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28299 (routines): Add getauxval.
28300 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28301 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28302 * elf/dl-sysdep.c (_dl_auxv): Remove.
28303 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28304 * elf/dl-support.c (_dl_auxv): New variable.
28305 (_dl_aux_init): Initialize it.
28306 * manual/startup.texi (Auxiliary Vector): New node.
28307 * sysdeps/generic/bits/hwcap.h: New file.
28308 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28309 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28310 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28311 * sysdeps/sparc/sysdep.h: ... here. Include it.
28312 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28313 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28319 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28325 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28329 2012-05-19 David S. Miller <davem@davemloft.net>
28331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28333 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28336 * math/s_ccosh.c: Include <float.h>
28337 (__ccosh): Avoid internal overflow calculating sinh and cosh
28338 values before multiplying by sin and cos values.
28339 * math/s_ccoshf.c: Likewise.
28340 * math/s_ccoshl.c: Likewise.
28341 * math/s_csin.c: Likewise.
28342 * math/s_csinf.c: Likewise.
28343 * math/s_csinl.c: Likewise.
28344 * math/s_csinh.c: Likewise.
28345 * math/s_csinhf.c: Likewise.
28346 * math/s_csinhl.c: Likewise.
28347 * math/libm-test.inc (ccos_test): Add more tests.
28348 (ccosh_test): Likewise.
28349 (csin_test): Likewise.
28350 (csinh_test): Likewise.
28351 * sysdeps/i386/fpu/libm-test-ulps: Update.
28352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28354 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28356 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28357 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28359 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28361 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28363 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28364 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28365 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28366 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28367 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28368 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28369 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28370 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28371 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28372 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28373 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28374 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28375 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28376 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28377 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28378 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28379 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28380 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28381 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28382 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28383 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28384 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28385 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28386 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28387 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28388 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28389 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28390 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28391 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28392 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28393 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28395 2012-05-18 Andreas Jaeger <aj@suse.de>
28397 * csu/.gitignore: Delete.
28399 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28401 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28402 (timex): Use __syscall_slong_t.
28404 2012-05-18 Andreas Jaeger <aj@suse.de>
28405 Carlos O'Donell <carlos_odonell@mentor.com>
28407 * manual/install.texi (Configuring and compiling): Update
28408 description about files modified in the source directory.
28409 * INSTALL: Regenerated.
28411 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28413 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28414 value. Use "or" to set return value to -1.
28415 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28416 negate return value.
28418 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28420 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28421 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28422 failure if the compiler has Graphite support disabled.
28423 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28425 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28426 CFLAGS-memmove.c): Likewise.
28427 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28430 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28432 * sysdeps/x86_64/x32/_itoa.h: New file.
28434 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28435 getdents system call only if kernel and user dirents have the
28436 same d_ino and d_off.
28438 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28439 LLONG_MAX != LONG_MAX.
28440 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28441 (_fitoa_word): Likewise.
28443 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28445 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28446 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28447 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28449 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28450 include <bits/wordsize.h>. Check __x86_64__ instead of
28452 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28453 if __x86_64__ is defined. Use anonymous union on fpstate.
28455 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28458 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28460 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28461 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28462 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28463 Refer to _rtld_local_ro instead of _rtld_global_ro.
28464 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28466 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28468 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28470 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28471 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28472 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28474 * sysdeps/powerpc/powerpc32/dl-machine.c
28475 (__elf_machine_runtime_setup) [PROF]: Don't reference
28478 2012-05-18 Andreas Jaeger <aj@suse.de>
28480 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28481 function only available for GCCs before 3.4 since GCC 3.4
28482 introduced a builtin.
28484 (llrintf): Likewise.
28485 (llrint): Likewise.
28492 (nearbyint): Likewise.
28493 (nearbyintf): Likewise.
28497 (floorf): Likewise.
28499 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28501 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28502 on both fields and cast pointer to __syscall_ulong_t.
28504 * bits/types.h (__fsword_t): New type.
28505 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28506 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28507 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28508 (__FSWORD_T_TYPE): Likewise.
28509 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28510 (__FSWORD_T_TYPE): Likewise.
28511 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28512 (__FSWORD_T_TYPE): Likewise.
28513 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28514 (__FSWORD_T_TYPE): Likewise.
28515 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28516 __SWORD_TYPE with __fsword_t.
28517 (statfs64): Likewise.
28519 2012-05-17 David S. Miller <davem@davemloft.net>
28521 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28523 2012-05-17 Andreas Jaeger <aj@suse.de>
28525 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28528 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28530 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28532 2012-05-17 Andreas Jaeger <aj@suse.de>
28534 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28537 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28539 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28541 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28543 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28544 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28546 2012-05-17 Andreas Jaeger <aj@suse.de>
28547 Carlos O'Donell <carlos_odonell@mentor.com>
28550 * sysdeps/x86_64/multiarch/init-arch.h
28551 (bit_YMM_Usable): Rename to...
28552 (bit_AVX_Usable): ... this.
28553 (bit_FMA4_Usable): New macro.
28554 (bit_XMM_state): New macro.
28555 (bit_YMM_state): New macro.
28556 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28557 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28558 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28559 (CPUID_OSXSAVE): New macro.
28560 (CPUID_AVX): New macro.
28561 (CPUID_FMA4): New macro.
28562 (index_YMM_Usable): Rename to...
28563 (index_AVX_Usable): ... this.
28564 (HAS_AVX): Use HAS_ARCH_FEATURE.
28565 (HAS_FMA4): Likewise.
28566 (HAS_YMM_USABLE): Remove.
28567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28568 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28570 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28571 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28572 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28573 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28574 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28576 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28578 * math/libm-test.c: Support platforms without multiple rounding modes.
28579 * math/bug-nextafter.c: Support platforms without FP exceptions.
28580 * math/bug-nexttoward.c: Likewise.
28581 * math/test-fenv.c: Likewise.
28582 * math/test-misc.c: Likewise.
28583 * stdlib/bug-getcontext.c: Likewise.
28585 2012-05-17 Andreas Jaeger <aj@suse.de>
28587 * manual/examples/search.c (critter_cmp): Change signature to
28589 * manual/string.texi (Collation Functions): Likewise.
28591 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28593 * bits/types.h: Fold copyright years.
28594 * bits/typesizes.h: Likewise.
28595 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28596 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28597 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28598 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28599 * time/time.h: Likewise.
28601 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28604 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28605 in instead of returning them. Return void.
28606 (__libc_mallinfo): Accumulate over all arenas.
28607 (__malloc_stats): Adjust for change in int_mallinfo interface.
28609 2012-05-16 Roland McGrath <roland@hack.frob.com>
28612 * configure.in (NM): Add AC_CHECK_TOOL for it.
28613 (libc_extra_cflags): New substituted variable.
28614 Check for -fstack-protector being used implicitly.
28615 * configure: Regenerated.
28616 * config.make.in (config-extra-cflags): New variable,
28617 gets @libc_extra_cflags@.
28618 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28621 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28622 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28623 * configure: Regenerated.
28624 * config.make.in (CPPUNDEFS): New substituted variable.
28625 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28626 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28627 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28629 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28631 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28632 (mq_attr): Use __syscall_slong_t.
28634 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28636 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28637 Check __x86_64__ instead of __WORDSIZE.
28638 (_STAT_VER_LINUX): Likewise.
28639 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28640 __syscall_ulong_t and __syscall_slong_t.
28641 (stat64): Likewise.
28643 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28645 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28647 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28649 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28651 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28653 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28656 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28657 include <bits/wordsize.h>. Check __x86_64__ instead of
28659 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28661 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28663 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28664 include <bits/wordsize.h>. Check __x86_64__ instead of
28666 (user_regs_struct): Use "__extension__ unsigned long long"
28667 instead of "unsigned long" if __x86_64__ is defined.
28668 (user): Likewise. Pad after pointer field if __ILP32__ is
28671 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28673 * configure.in (makeinfo): Require version 4.5 or later. Allow
28675 * configure: Regenerated.
28676 * manual/install.texi (texinfo): Increase version requirement to
28678 * INSTALL: Regenerated.
28680 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28682 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28684 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28686 * sysdeps/x86_64/x32/ffs.c: New file.
28688 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28690 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28691 defined. Use __syscall_ulong_t.
28692 (shminfo): Use __syscall_ulong_t.
28693 (shm_info): Likewise.
28695 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28698 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28700 (msgqnum_t): Use __syscall_ulong_t.
28701 (msglen_t): Likewise.
28702 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28705 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28706 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28708 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28710 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28711 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28713 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28716 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28717 include <bits/wordsize.h>. Check __x86_64__ instead of
28720 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28721 "unsigned long long int" if __x86_64__ is defined.
28722 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28724 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28725 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28726 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28728 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28730 (GET_PC): Cast to uintptr_t first.
28731 (GET_FRAME): Likewise.
28732 (GET_STACK): Likewise.
28734 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28735 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28736 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28737 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28738 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28739 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28740 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28741 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28742 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28743 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28744 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28745 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28746 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28747 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28748 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28749 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28750 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28751 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28752 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28753 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28754 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28755 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28756 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28757 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28758 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28759 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28760 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28761 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28762 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28764 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28766 * Makerules (+depfiles): Also collect depfiles from .oS in
28768 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28769 .oS, $(libnldbl-routines)).
28771 * Makerules (native-compile-mkdep-flags): Define.
28772 * sunrpc/Makefile (extra-objs): Add $(addprefix
28773 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28774 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28775 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28776 calling $(make-target-directory).
28778 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28780 * bits/types.h (__snseconds_t): Removed.
28781 * time/time.h (struct timespec): Replace __snseconds_t with
28783 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28784 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28786 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28787 (__SNSECONDS_T_TYPE): Likewise.
28788 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28789 (__SNSECONDS_T_TYPE): Likewise.
28790 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28791 (__SNSECONDS_T_TYPE): Likewise.
28793 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28795 * sysdeps/mach/hurd/bits/typesizes.h
28796 (__SYSCALL_SLONG_TYPE): New macro.
28797 (__SYSCALL_ULONG_TYPE): Likewise.
28799 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28801 * bits/types.h (__syscall_slong_t): New type.
28802 (__syscall_ulong_t): Likewise.
28804 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28805 (__SYSCALL_ULONG_TYPE): Likewise.
28806 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28807 (__SYSCALL_SLONG_TYPE): Likewise.
28808 (__SYSCALL_ULONG_TYPE): Likewise.
28809 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28810 (__SYSCALL_SLONG_TYPE): Likewise.
28811 (__SYSCALL_ULONG_TYPE): Likewise.
28812 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28813 (__SYSCALL_SLONG_TYPE): Likewise.
28814 (__SYSCALL_ULONG_TYPE): Likewise.
28816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28818 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28819 Add sigaltstack-offsets.sym.
28820 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28821 <sigaltstack-offsets.h>.
28822 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28823 longjmp_msg pointer.
28824 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28825 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28827 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28829 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28831 * elf/stackguard-macros.h: Remove file.
28832 * sysdeps/generic/stackguard-macros.h: New file.
28833 * sysdeps/i386/stackguard-macros.h: Likewise.
28834 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28835 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28836 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28837 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28838 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28839 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28840 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28841 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28842 <elf/stackguard-macros.h>.
28845 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28846 __aligned__ in attribute.
28847 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28848 (gregset_t): Likewise.
28850 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28852 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28853 * sysdeps/x86_64/64/Implies-after: Here. New file.
28854 * sysdeps/x86_64/x32/Implies-after: New file.
28856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28858 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28859 and access return value for _dl_profile_fixup. Use R10_LP to
28862 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28864 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28866 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28868 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28869 * sysdeps/x86_64/x32/sysdep.h: New file.
28871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28873 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28874 * sysdeps/x86_64/setjmp.S: Likewise.
28876 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28878 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28879 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28880 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28881 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28882 remove unused global constant.
28884 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28886 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28887 include of <not-cancel.h>.
28889 2012-05-15 Roland McGrath <roland@hack.frob.com>
28891 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28893 2012-05-15 Jeff Law <law@redhat.com>
28894 Andreas Jaeger <aj@suse.de>
28897 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28899 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28900 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28901 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28902 code changing __hst_map_handle.map.
28904 2012-05-15 Roland McGrath <roland@hack.frob.com>
28906 * configure.in (sysnames): Look for Implies-before and Implies-after
28908 * configure: Regenerated.
28910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28912 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28913 8-byte data alignment with LP_SIZE alignment.
28915 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28917 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28922 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28924 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28926 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28927 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28928 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28930 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28934 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28935 (stackinfo_sub_sp): Likewise.
28937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28939 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28942 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28944 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28949 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28952 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28954 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28956 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28958 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28959 into R11_LP and load __x86_64_shared_cache_size_half into
28962 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28964 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28967 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28969 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28971 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28973 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28975 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28976 powerpc32/power7/fpu/s_logb.c via #include.
28977 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28978 powerpc32/power7/fpu/s_logbf.c via #include.
28979 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28980 powerpc32/power7/fpu/s_logbl.c via #include.
28982 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28984 * README.libm: Remove file.
28986 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28988 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28989 count for x32. Use R*_LP and omit operand-size suffix.
28991 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28993 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28994 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28995 * sysdeps/x86_64/x32/shlib-versions: New file.
28997 2012-05-14 Roland McGrath <roland@hack.frob.com>
28999 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29000 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29001 Use _dl_fatal_printf instead.
29003 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29005 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29006 set if not set by the user. Do not allow for being unset.
29007 * sysdeps/unix/sysv/linux/configure: Regenerated.
29009 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29011 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29012 the `q' suffix from lea and replace .quad with ASM_ADDR.
29014 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29016 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29017 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29019 (PTR_DEMANGLE): Likewise.
29021 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29023 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29025 (ASM_ADDR): Likewise.
29026 (RAX_LP): Likewise.
29027 (RBP_LP): Likewise.
29028 (RBX_LP): Likewise.
29029 (RCX_LP): Likewise.
29030 (RDI_LP): Likewise.
29031 (RSI_LP): Likewise.
29032 (RSP_LP): Likewise.
29035 (R10_LP): Likewise.
29036 (R10_LP): Likewise.
29037 (R11_LP): Likewise.
29038 (R12_LP): Likewise.
29039 (R13_LP): Likewise.
29040 (R14_LP): Likewise.
29041 (R15_LP): Likewise.
29043 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29045 * sysdeps/x86_64/x32/dl-machine.h: New file.
29047 2012-05-14 Andreas Jaeger <aj@suse.de>
29049 * manual/Makefile (subdir): Remove export of subdir.
29050 (all): Remove target.
29051 (.PHONY): Remove all from list.
29052 (mkinstalldirs): Remove.
29053 (.PHONY): Remove installdirs from list.
29054 ($(inst_infodir)/libc.info): Use make-target-directory.
29055 (installdirs): Remove.
29056 (subdir_%): Remove.
29057 (glibc-targets): Remove.
29060 ($(objpfx)stubs ../po/manual.pot): Remove.
29061 ($(objpfx)stamp%): Remove.
29062 (make-target-directory): Remove.
29063 (subdir_install): Remove.
29064 (routines): Remove.
29071 * manual/.gitignore: Remove, it's not needed anymore.
29072 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29074 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29076 (texis): Renamed to $(objpfx)texis.
29077 (texis-path): New, contains path to generated files.
29078 (chapters.%): Use texis-path for complete path, add extra argument
29080 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29081 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29082 (summary,texi, stamp-summary): Use complete path of
29083 files. Generate files in build dir.
29084 (dir-add.texi): Build in build dir.
29085 (libm-err.texi,stamp-libm-err): Likewise.
29086 (version.texi, stamp-version): Likewise.
29087 (.%c.texi): Likewise.
29088 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29089 (mostlyclean): Remove target.
29090 (realclean): Remove target.
29091 (generated): Add new variable with contents from mostlyclean and
29092 realclean, remove entries duplicated in common-mostlyclean, add
29093 stamp-libm-err and stamp-version.
29094 (generated-dirs): Add libc directory.
29095 ($(inst_infodir)/libc.info): Install files from build dir.
29097 * manual/install.texi (Configuring and compiling): Adjust since
29098 the info files are not part of the tar ball anymore.
29100 2012-05-14 Andreas Jaeger <aj@suse.de>
29102 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29105 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29108 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29109 to 2.2.0 where earlier.
29110 * sysdeps/unix/sysv/linux/configure: Regenerated.
29111 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29112 Remove conditional code.
29113 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29114 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29115 Remove conditional code.
29116 [!__NR_lchown]: Likewise.
29117 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29118 [__NR_lchown]: Likewise.
29119 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29120 comment referencing __ASSUME_LCHOWN_SYSCALL.
29121 * sysdeps/unix/sysv/linux/i386/sigaction.c
29122 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29123 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29124 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29125 Remove conditional code.
29126 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29127 (__protocol_available): Remove #if 0 code.
29128 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29130 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29131 * sysdeps/unix/sysv/linux/kernel-features.h
29132 (__ASSUME_GETCWD_SYSCALL): Don't define.
29133 (__ASSUME_REALTIME_SIGNALS): Likewise.
29134 (__ASSUME_PREAD_SYSCALL): Likewise.
29135 (__ASSUME_PWRITE_SYSCALL): Likewise.
29136 (__ASSUME_POLL_SYSCALL): Likewise.
29137 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29138 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29140 (__ASSUME_SIOCGIFNAME): Don't define.
29141 (__ASSUME_MSG_NOSIGNAL): Likewise.
29142 (__ASSUME_SENDFILE): Define unconditionally.
29143 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29144 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29146 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29147 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29148 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29149 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29150 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29151 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29152 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29154 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29157 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29158 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29160 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29161 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29163 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29164 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29166 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29167 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29169 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29170 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29172 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29173 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29175 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29176 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29177 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29178 Remove conditional code.
29179 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29180 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29181 Remove conditional code.
29182 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29183 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29184 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29185 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29186 Remove conditional code.
29187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29188 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29189 Remove conditional code.
29190 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29191 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29192 Remove conditional code.
29193 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29194 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29195 Remove conditional code.
29196 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29197 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29198 Remove conditional code.
29199 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29200 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29201 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29202 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29203 * sysdeps/unix/sysv/linux/sigaction.c
29204 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29205 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29206 * sysdeps/unix/sysv/linux/sigpending.c
29207 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29208 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29209 * sysdeps/unix/sysv/linux/sigprocmask.c
29210 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29211 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29212 * sysdeps/unix/sysv/linux/sigsuspend.c
29213 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29214 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29215 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29216 (__libc_missing_rt_sigs): Remove.
29217 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29218 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29219 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29220 Remove conditional code.
29221 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29222 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29224 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29225 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29226 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29227 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29229 2012-05-14 Andreas Jaeger <aj@suse.de>
29231 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29232 it's not used in glibc.
29233 (__coshm1): Likewise.
29234 (__acosh1p): Likewise.
29237 * manual/string.texi (Copying and Concatenation): Add missing
29238 variable in concat example.
29239 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29241 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29244 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29245 __builtin_clzl with __builtin_clzll.
29247 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29250 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29253 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29255 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29256 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29257 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29258 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29260 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29262 * NEWS: Update ia64 info.
29264 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29266 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29269 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29271 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29272 * sysdeps/unix/syscalls.list (dup3): Likewise.
29273 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29274 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29276 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29278 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29279 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29281 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29283 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29285 (TLS_IE): Use mov/add instead of movq/addq to load thread
29287 (TLS_GD_PREFIX): New.
29290 2012-05-11 David S. Miller <davem@davemloft.net>
29292 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29293 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29294 (_FPU_SETCW): Likewise.
29296 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29298 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29299 is 32-byte aligned.
29301 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29304 * iconvdata/gb18030.c: Update tables.
29305 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29306 characters specially.
29307 (BODY for TO_LOOP): Add encoding of missing ranges.
29309 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29312 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29313 * sysdeps/mach/hurd/dup3.c: Likewise.
29314 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29315 * sysdeps/powerpc/memmove.c:: Likewise.
29317 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29319 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29320 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29322 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29324 * elf/elf.h (R_X86_64_RELATIVE64): New.
29325 (R_X86_64_NUM): Updated.
29326 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29327 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29328 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29329 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29330 tst-quad1pie tst-quad2pie
29331 (modules-names): Add tst-quadmod1 tst-quadmod2.
29332 ($(objpfx)tst-quad1): New dependency.
29333 ($(objpfx)tst-quad2): Likewise.
29334 ($(objpfx)tst-quad1pie): Likewise.
29335 ($(objpfx)tst-quad2pie): Likewise.
29336 * sysdeps/x86_64/tst-quad1.c: New file.
29337 * sysdeps/x86_64/tst-quad1pie.c: New file.
29338 * sysdeps/x86_64/tst-quad2.c: Likewise.
29339 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29340 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29341 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29342 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29343 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29345 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29347 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29348 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29349 * streams/stropts.h (t_scalar_t): Define type.
29351 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29352 (_PATH_PRESERVE): Set to "/var/lib".
29353 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29355 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29358 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29359 if __dir_mkfile succeeded.
29361 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29362 checking for _hurd_dtablesize. Unlock it right after having
29363 finished _hurd_dtable allocation.
29365 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29367 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29368 * sysdeps/mach/hurd/configure: Regenerated.
29369 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29370 special-casing to...
29371 * sysdeps/gnu/configure.in: ... this new file.
29372 * sysdeps/unix/sysv/linux/configure: Regenerated.
29373 * sysdeps/gnu/configure: New generated file.
29375 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29376 for Linux: use nsec instead of usec, as well as:
29377 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29378 members of type struct timespec.
29379 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29381 (struct stat64): Likewise.
29382 (_STATBUF_ST_NSEC): New macro.
29383 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29385 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29386 __strtoul_internal rather than strtoul.
29388 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29390 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29393 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29395 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29396 which preserves existing values.
29397 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29399 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29401 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29402 TIMEOUT values. Return EINVAL for NFDS values either negative or
29403 greater than FD_SETSIZE.
29405 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29407 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29408 allocated, call __vm_protect to finish enabling the existing space, and
29409 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29410 allocate the remainder.
29412 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29414 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29415 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29417 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29419 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29420 sysdeps/mach/hurd/readlink.c.
29422 * posix/tst-sysconf.c (posix_options): Only use
29423 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29424 _POSIX_SYNCHRONIZED_IO when they are defined
29425 * sysdeps/mach/hurd/bits/posix_opt.h:
29426 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29427 (_XOPEN_REALTIME): Undefine macro.
29428 (_XOPEN_REALTIME_THREADS): Undefine macro.
29429 (_XOPEN_SHM): Undefine macro.
29430 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29432 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29434 (_POSIX_ASYNC_IO): Undefine macro.
29435 (_POSIX_PRIORITIZED_IO): Undefine macro.
29436 (_POSIX_SPIN_LOCKS): Define macro to -1.
29438 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29439 SA_NODEFER, SA_RESETHAND.
29440 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29441 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29444 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29446 * elf/Makefile (pldd-modules): Define unconditionally.
29448 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29450 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29452 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29454 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29455 Return ENOENT when name is empty.
29456 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29458 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29460 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29462 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29464 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29466 Fix mlock in all cases except non-readable pages.
29467 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29468 instead of VM_PROT_ALL as parameter to __vm_wire function.
29470 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29471 (__mkdir): When path is `/', just fail with EEXIST.
29472 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29474 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29476 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29477 <sys/uio.h> (for writev).
29478 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29479 and <sys/param.h> (for MIN).
29481 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29483 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29484 REQUESTED_TIME. Properly set the remaining time and return EINTR
29487 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29489 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29490 Depend on against $(link-rpcuserlibs).
29492 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29494 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29495 (__libc_stack_end): Do not use attribute_relro.
29496 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29497 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29498 to libthread-provided value.
29499 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29502 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29505 * bits/libc-lock.h (__libc_once_get): New macro.
29506 * sysdeps/mach/bits/libc-lock.h: Likewise.
29507 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29508 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29509 instead of using implementation details.
29511 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29512 * libio/freopen.c: Likewise.
29513 * libio/freopen64.c: Likewise.
29514 * misc/syslog.c: Likewise.
29515 * nscd/connections.c: Likewise.
29516 * nscd/netgroupcache.c: Likewise.
29517 * sysdeps/posix/getcwd.c: Likewise.
29519 2012-05-10 Roland McGrath <roland@hack.frob.com>
29521 * math/w_ilogbf.c: Add #include <limits.h>.
29523 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29525 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29526 path instead of returning without unlocking.
29528 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29529 immediate-write ioctls.
29530 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29532 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29534 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29535 __builtin_frame_address instead of making assumptions about the
29536 location of the return address relative to DATA. Force early load of
29537 the return address.
29538 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29539 __builtin_frame_address.
29542 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29543 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29544 implement dup3 and do some further code clean-ups.
29545 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29546 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29548 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29550 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29552 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29553 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29554 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29555 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29556 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29559 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29560 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29561 when handler == SIG_ERR, not when handler != SIG_ERR.
29563 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29565 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29566 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29569 accept4 for GNU Hurd.
29570 * include/sys/socket.h (__libc_accept4): New prototype.
29571 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29572 to implement __libc_accept4.
29573 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29575 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29577 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29578 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29579 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29580 signal-defines.sym.
29582 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29584 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29586 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29588 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29589 assertion on O_CLOEXEC flag.
29590 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29591 * hurd/intern-fd.c: Likewise.
29592 * hurd/port2fd.c: Likewise.
29594 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29597 * bits/in.h (IPV6_PKTINFO): Define new macro.
29598 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29600 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29605 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29606 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29607 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29608 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29609 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29610 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29611 * math/libm-test.inc (logb_test) : Additional logb tests.
29613 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29614 Andreas Jaeger <aj@suse.de>
29616 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29617 * configure: Regenerated.
29618 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29619 * config.make.in (link-obsolete-rpc): New substituted variable.
29620 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29621 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29622 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29623 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29624 so that libc.a contains the symbols.
29625 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29626 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29627 * sunrpc/auth_none.c: Likewise.
29628 * sunrpc/auth_unix.c: Likewise.
29629 * sunrpc/authdes_prot.c: Likewise.
29630 * sunrpc/authuxprot.c: Likewise.
29631 * sunrpc/clnt_gen.c: Likewise.
29632 * sunrpc/clnt_perr.c: Likewise.
29633 * sunrpc/clnt_raw.c: Likewise.
29634 * sunrpc/clnt_simp.c: Likewise.
29635 * sunrpc/clnt_tcp.c: Likewise.
29636 * sunrpc/clnt_udp.c: Likewise.
29637 * sunrpc/clnt_unix.c: Likewise.
29638 * sunrpc/des_crypt.c: Likewise.
29639 * sunrpc/des_soft.c: Likewise.
29640 * sunrpc/get_myaddr.c: Likewise.
29641 * sunrpc/key_call.c: Likewise.
29642 * sunrpc/key_prot.c: Likewise.
29643 * sunrpc/netname.c: Likewise.
29644 * sunrpc/pm_getmaps.c: Likewise.
29645 * sunrpc/pm_getport.c: Likewise.
29646 * sunrpc/pmap_clnt.c: Likewise.
29647 * sunrpc/pmap_prot.c: Likewise.
29648 * sunrpc/pmap_prot2.c: Likewise.
29649 * sunrpc/pmap_rmt.c: Likewise.
29650 * sunrpc/publickey.c: Likewise.
29651 * sunrpc/rpc_cmsg.c: Likewise.
29652 * sunrpc/rpc_common.c: Likewise.
29653 * sunrpc/rpc_dtable.c: Likewise.
29654 * sunrpc/rpc_prot.c: Likewise.
29655 * sunrpc/rpc_thread.c: Likewise.
29656 * sunrpc/rtime.c: Likewise.
29657 * sunrpc/svc.c: Likewise.
29658 * sunrpc/svc_auth.c: Likewise.
29659 * sunrpc/svc_raw.c: Likewise.
29660 * sunrpc/svc_run.c: Likewise.
29661 * sunrpc/svc_tcp.c: Likewise.
29662 * sunrpc/svc_udp.c: Likewise.
29663 * sunrpc/svc_unix.c: Likewise.
29664 * sunrpc/svcauth_des.c: Likewise.
29665 * sunrpc/xcrypt.c: Likewise.
29666 * sunrpc/xdr.c: Likewise.
29667 * sunrpc/xdr_array.c: Likewise.
29668 * sunrpc/xdr_float.c: Likewise.
29669 * sunrpc/xdr_intXX_t.c: Likewise.
29670 * sunrpc/xdr_mem.c: Likewise.
29671 * sunrpc/xdr_rec.c: Likewise.
29672 * sunrpc/xdr_ref.c: Likewise.
29673 * sunrpc/xdr_sizeof.c: Likewise.
29674 * sunrpc/xdr_stdio.c: Likewise.
29676 2012-05-10 Roland McGrath <roland@hack.frob.com>
29678 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29679 change. Update copyright years.
29681 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29683 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29685 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29686 Joseph Myers <joseph@codesourcery.com>
29687 Paul Pluzhnikov <ppluzhnikov@google.com>
29690 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29692 [cross-compiling] (extra-libs): Likewise.
29693 [cross-compiling] (extra-libs-others): Likewise.
29694 [cross-compiling] (librpcsvc-routines): Likewise.
29695 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29696 [cross-compiling] (omit-deps): Likewise.
29697 (sunrpc-CPPFLAGS): New variable.
29698 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29699 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29700 (cross-rpcgen-objs): New variable.
29701 (extra-objs): Append $(cross-rpcgen-objs).
29702 ($(cross-rpcgen-objs)): New rule.
29703 ($(objpfx)cross-rpcgen): Likewise.
29704 (rpcgen-cmd): Define to use $(built-program-file). Expand
29706 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29707 ($(objpfx)x%.stmp): Likewise.
29708 * sunrpc/proto.h [IS_IN_build] (_): Define.
29709 [IS_IN_build] (_libc_intl_domainname): Likewise.
29711 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29713 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29714 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29715 and R_X86_64_TPOFF64.
29717 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29719 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29720 sysdeps/unix/sysv/syscalls.list.
29723 * sysdeps/unix/sysv/syscalls.list: Remove file.
29725 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29728 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29729 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29730 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29731 (__LC_IDENTIFICATION): Make these macros useful in #if
29732 expressions, as required by C99.
29734 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29736 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29737 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29740 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29742 * stdlib/longlong.h: Updated from GCC.
29744 2012-05-09 Andreas Jaeger <aj@suse.de>
29746 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29747 default is first entry.
29748 (run_mode): Set type.
29749 (main): Remove informal message about syslog.
29750 (options): Fix typo.
29753 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29756 (llrintf): Likewise.
29757 (llrint): Likewise.
29760 (nearbyint): Likewise.
29761 (nearbyintf): Likewise.
29763 2012-05-09 Andreas Jaeger <aj@suse.de>
29764 Pedro Alves <palves@redhat.com>
29766 * nscd/nscd.c (run_mode): Use enum.
29767 (main): Cleanup coding style issue.
29769 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29770 Andreas Jaeger <aj@suse.de>
29772 * nscd/nscd.c (go_background): Replaced with...
29773 (run_mode): ... this.
29774 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29775 (options): Add -F --foreground.
29776 (main): Implement it.
29777 (parse_opt): Parse it.
29779 2012-05-09 Andreas Jaeger <aj@suse.de>
29782 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29783 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29784 -Wconversion warning.
29785 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29788 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29790 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29792 (LC_ALL): Use macro-int-constant.
29793 (LC_COLLATE): Likewise.
29794 (LC_CTYPE): Likewise.
29795 (LC_MESSAGES): Likewise.
29796 (LC_MONETARY): Likewise.
29797 (LC_NUMERIC): Likewise.
29798 (LC_TIME): Likewise.
29799 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29800 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29801 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29802 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29804 [C99-based standards] (float_t): Expect type.
29805 [C99-based standards] (double_t): Expect type.
29806 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29808 [C99-based standards] (HUGE_VALL): Likewise.
29809 [C99-based standards] (INFINITY): Likewise.
29810 [C99-based standards] (NAN): Likewise.
29811 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29812 [C99-based standards] (FP_NAN): Likewise.
29813 [C99-based standards] (FP_NORMAL): Likewise.
29814 [C99-based standards] (FP_SUBNORMAL): Likewise.
29815 [C99-based standards] (FP_ZERO): Likewise.
29816 [C99-based standards] (FP_FAST_FMA): Use
29817 optional-macro-int-constant. Specify type. Require == 1.
29818 [C99-based standards] (FP_FAST_FMAF): Likewise.
29819 [C99-based standards] (FP_FAST_FMAL): Likewise.
29820 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29821 [C99-based standards] (FP_ILOGBNAN): Likewise.
29822 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29824 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29825 [C99-based standards] (math_errhandling): Specify type.
29826 [ISO99 || ISO11] (signgam): Do not allow.
29827 [non-C99-based standards] (copysignf): Do not allow.
29828 [non-C99-based standards] (exp2f): Likewise.
29829 [non-C99-based standards] (log2f): Likewise.
29830 [non-C99-based standards] (modff): Allow.
29831 [non-C99-based standards] (erff): Do not allow.
29832 [non-C99-based standards] (erfcf): Likewise.
29833 [non-C99-based standards] (gammaf): Likewise.
29834 [non-C99-based standards] (hypotf): Likewise.
29835 [non-C99-based standards] (j0f): Likewise.
29836 [non-C99-based standards] (j1f): Likewise.
29837 [non-C99-based standards] (jnf): Likewise.
29838 [non-C99-based standards] (lgammaf): Likewise.
29839 [non-C99-based standards] (tgammaf): Likewise.
29840 [non-C99-based standards] (y0f): Likewise.
29841 [non-C99-based standards] (y1f): Likewise.
29842 [non-C99-based standards] (ynf): Likewise.
29843 [non-C99-based standards] (isnanf): Likewise.
29844 [non-C99-based standards] (acoshf): Likewise.
29845 [non-C99-based standards] (asinhf): Likewise.
29846 [non-C99-based standards] (atanhf): Likewise.
29847 [non-C99-based standards] (cbrtf): Likewise.
29848 [non-C99-based standards] (expm1f): Likewise.
29849 [non-C99-based standards] (ilogbf): Likewise.
29850 [non-C99-based standards] (log1pf): Likewise.
29851 [non-C99-based standards] (logbf): Likewise.
29852 [non-C99-based standards] (nextafterf): Likewise.
29853 [non-C99-based standards] (remainderf): Likewise.
29854 [non-C99-based standards] (rintf): Likewise.
29855 [non-C99-based standards] (scalbf): Likewise.
29856 [non-C99-based standards] (copysignl): Likewise.
29857 [non-C99-based standards] (exp2l): Likewise.
29858 [non-C99-based standards] (log2l): Likewise.
29859 [non-C99-based standards] (modfl): Allow.
29860 [non-C99-based standards] (erfl): Do not allow.
29861 [non-C99-based standards] (erfcl): Likewise.
29862 [non-C99-based standards] (gammal): Likewise.
29863 [non-C99-based standards] (hypotl): Likewise.
29864 [non-C99-based standards] (j0l): Likewise.
29865 [non-C99-based standards] (j1l): Likewise.
29866 [non-C99-based standards] (jnl): Likewise.
29867 [non-C99-based standards] (lgammal): Likewise.
29868 [non-C99-based standards] (tgammal): Likewise.
29869 [non-C99-based standards] (y0l): Likewise.
29870 [non-C99-based standards] (y1l): Likewise.
29871 [non-C99-based standards] (ynl): Likewise.
29872 [non-C99-based standards] (isnanl): Likewise.
29873 [non-C99-based standards] (acoshl): Likewise.
29874 [non-C99-based standards] (asinhl): Likewise.
29875 [non-C99-based standards] (atanhl): Likewise.
29876 [non-C99-based standards] (cbrtl): Likewise.
29877 [non-C99-based standards] (expm1l): Likewise.
29878 [non-C99-based standards] (ilogbl): Likewise.
29879 [non-C99-based standards] (log1pl): Likewise.
29880 [non-C99-based standards] (logbl): Likewise.
29881 [non-C99-based standards] (nextafterl): Likewise.
29882 [non-C99-based standards] (remainderl): Likewise.
29883 [non-C99-based standards] (rintl): Likewise.
29884 [non-C99-based standards] (scalbl): Likewise.
29885 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29886 [non-C99-based standards] (FP_*): Do not allow.
29887 [C99-based standards] (FP_*): Change to
29888 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29889 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29891 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29892 (SIG_ERR): Likewise.
29893 [X/Open-based standards] (SIG_HOLD): Likewise.
29894 (SIG_IGN): Likewise.
29895 (SIGABRT): Use macro-int-constant. Specify type. Require
29897 (SIGFPE): Likewise.
29898 (SIGILL): Likewise.
29899 (SIGINT): Likewise.
29900 (SIGSEGV): Likewise.
29901 (SIGTER): Likewise.
29902 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29903 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29904 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29905 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29906 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29907 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29908 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29909 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29910 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29911 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29912 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29913 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29914 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29915 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29916 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29917 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29918 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29919 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29920 [X/Open-based standards] (SIGTRAP): Likewise.
29921 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29922 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29923 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29924 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29925 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29928 2012-05-08 Ian Wienand <ianw@vmware.com>
29931 * time/tzset.c (__tzset_parse_tz): Update default rules for
29932 daylight time changes in the Energy Policy Act of 2005.
29934 2012-05-09 Andreas Jaeger <aj@suse.de>
29937 * elf/ldconfig.c (parse_conf): Change string to make clear that
29938 ldconfig only issued a warning if ld.so.conf does not exist.
29940 2012-05-08 David S. Miller <davem@davemloft.net>
29942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29943 movxtod instead of popping the value on the stack.
29945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29947 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29949 * config.h.in: Add HAVE_ARM_PCS_VFP.
29951 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
29954 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29955 checking but the checks are disabled for any reason.
29957 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29959 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29960 and ELF64_R_TYPE with ELFW(R_TYPE).
29962 2012-05-08 Joseph Myers <joseph@codesourcery.com>
29964 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29965 (ulimit): Likewise.
29967 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29968 (settimeofday): Likewise.
29970 2012-05-08 Mike Frysinger <vapier@gentoo.org>
29972 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29973 a struct th_u2 inside the union, and move tu_block/tu_code into
29974 a new th_u3 union of tu_block/tu_code inside of that. Move
29975 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29976 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29977 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29978 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29979 (th_stuff): Change to th_u1.tu_stuff.
29981 (th_msg): Change to th_u1.th_u2.tu_data.
29983 2012-05-07 David S. Miller <davem@davemloft.net>
29985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29988 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29989 (SETUP_PIC_REG): Use it.
29990 (SETUP_PIC_REG_LEAF): Use it.
29992 2012-05-07 Joseph Myers <joseph@codesourcery.com>
29996 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29998 (EXPL_FINITE): Likewise.
29999 (FLDLOG): Likewise.
30000 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30001 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30003 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30005 (EXPL_FINITE): Likewise.
30006 (FLDLOG): Likewise.
30007 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30008 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30010 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30011 test of -max_value argument for long double.
30012 * sysdeps/i386/fpu/libm-test-ulps: Update.
30013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30015 2012-05-06 David S. Miller <davem@davemloft.net>
30017 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30018 quad soft-float symbols whose references which are compiler
30020 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30022 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30026 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30028 (EXPL_FINITE): Likewise.
30029 (FLDLOG): Likewise.
30032 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30033 Adjust comments for base varying.
30034 (__expl_finite): Change alias to EXPL_FINITE.
30035 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30037 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30038 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30039 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30040 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30041 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30043 (EXPL_FINITE): Likewise.
30044 (FLDLOG): Likewise.
30047 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30048 Adjust comments for base varying.
30049 (__expl_finite): Change alias to EXPL_FINITE.
30050 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30055 * math/libm-test.inc (check_float_internal): Correct ulp
30056 calculation for subnormal expected results.
30058 2012-05-06 Andreas Jaeger <aj@suse.de>
30060 * Makeconfig (+math-flags): New, set to -frounding-math.
30061 (+cflags): Add +math-flags so that all of glibc gets compiled with
30064 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30066 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30068 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30074 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30075 (__ieee754_expl): Allow for and saturate large arguments.
30076 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30077 (u_threshold): Likewise.
30078 (__exp): Call __ieee754_exp before checking for overflow and
30080 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30081 (u_threshold): Likewise.
30082 (__expf): Call __ieee754_expf before checking for overflow and
30084 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30085 (u_threshold): Likewise.
30086 (__expl): Call __ieee754_expl before checking for overflow and
30088 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30089 (__ieee754_expl): Allow for and saturate large arguments.
30090 * math/libm-test.inc (exp_test): Add another test. Do not allow
30091 missing overflow exception on overflow.
30092 (expm1_test): Do not allow missing overflow exception on overflow.
30094 * sysdeps/i386/fpu/e_expl.c: Move to ...
30095 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30096 rather than using inline asm.
30097 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30098 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30099 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30101 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30104 (signal): Likewise.
30108 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30110 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30111 sysdeps/unix/common/syscalls.list.
30112 (fchmod): Likewise.
30113 (fchown): Likewise.
30114 (ftruncate): Likewise.
30115 (getrusage): Likewise.
30116 (gettimeofday): Likewise.
30117 (setpgid): Likewise.
30118 (setregid): Likewise.
30119 (setreuid): Likewise.
30120 (sigaction): Likewise.
30121 (truncate): Likewise.
30122 (vhangup): Likewise.
30123 * sysdeps/unix/common/syscalls.list: Remove file.
30124 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30125 * sysdeps/unix/sysv/linux/Implies: Likewise.
30127 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30129 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30131 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30135 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30138 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30141 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30144 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30147 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30150 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30153 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30157 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30161 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30164 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30168 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30172 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30174 * sysdeps/unix/common/bits/dirent.h: Remove file.
30175 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30177 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30178 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30179 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30180 * sysdeps/unix/bsd/isatty.c: Likewise.
30181 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30182 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30183 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30185 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30188 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30189 long double comparison inaccuracies.
30190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30193 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30195 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30196 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30198 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30201 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30202 nonzero digits before rounding a hex value.
30203 * stdlib/tst-strtod.c (tests): Add another test.
30205 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30207 * sysdeps/s390/fpu/libm-test-ulps: Update.
30209 2012-05-03 Andreas Jaeger <aj@suse.de>
30211 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30212 does not get optimized out.
30213 (malloc_opt_barrier): New.
30215 2012-05-03 Andreas Jaeger <aj@suse.de>
30216 Roland McGrath <roland@hack.frob.com>
30218 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30219 intermediate file deletion.
30220 (generated): Add .symlist files.
30222 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30225 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30226 Redirect under this condition.
30227 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30228 [__USE_GNU] (__dprintf_chk): Not under this condition.
30229 [__USE_GNU] (__vdprintf_chk): Likewise.
30230 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30231 under this condition.
30232 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30233 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30234 [__USE_XOPEN2K8] (vdprintf): Likewise.
30235 [__USE_GNU] (__dprintf_chk): Not under this condition.
30236 [__USE_GNU] (__vdprintf_chk): Likewise.
30237 [__USE_GNU] (dprintf): Likewise.
30238 [__USE_GNU] (vdprintf): Likewise.
30240 2012-05-03 Roland McGrath <roland@hack.frob.com>
30242 * elf/Makefile (common-generated): Set this instead of generated for
30243 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30244 $(all-built-dso)-derived lists.
30246 2012-05-03 Andreas Jaeger <aj@suse.de>
30248 * sysdeps/i386/fpu/libm-test-ulps: Update.
30251 * FAQ.in: Likewise.
30252 * scripts/gen-FAQ.pl: Likewise.
30253 * manual/install.texi (Installation): Point to online location of
30255 * Makefile (files-for-dist): Remove FAQ.
30258 2012-05-02 Allan McRae <allan@archlinux.org>
30260 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30261 (LDFLAGS-reldepmod5.so): Likewise.
30262 (LDFLAGS-reldep6mod1.so): Likewise.
30263 (LDFLAGS-reldep6mod4.so): Likewise.
30264 (LDFLAGS-reldep8mod3.so): Likewise.
30265 (LDFLAGS-unload4mod1.so): Likewise.
30266 (LDFLAGS-unload4mod2.so): Likewise.
30267 (LDFLAGS-tst-initorder): Likewise.
30268 (LDFLAGS-tst-initordera2.so): Likewise.
30269 (LDFLAGS-tst-initordera3.so): Likewise.
30270 (LDFLAGS-tst-initordera4.so): Likewise.
30271 (LDFLAGS-tst-initorderb2.so): Likewise.
30272 (LDFLAGS-noload): Likewise.
30273 (LDFLAGS-next): Likewise.
30274 (LDFLAGS-order2mod1.so): Likewise.
30275 (LDFLAGS-order2mod2.so): Likewise.
30276 (LDFLAGS-tst-initorder2): Likewise.
30277 (LDFLAGS-tst-initorder2a.so): Likewise.
30278 (LDFLAGS-tst-initorder2b.so): Likewise.
30279 (LDFLAGS-tst-initorder2c.so): Likewise.
30280 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30282 2012-05-02 David S. Miller <davem@davemloft.net>
30284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30286 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30289 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30291 2012-05-02 Andreas Jaeger <aj@suse.de>
30293 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30294 since we manipulate rounding mode.
30295 (CPPFLAGS-test-idouble.c): Likewise.
30296 (CPPFLAGS-test-ifloat.c): Likewise.
30297 (CFLAGS-test-ldouble.c): Likewise.
30298 (CFLAGS-test-double.c): Likewise.
30299 (CFLAGS-test-float.c): Likewise.
30300 (CFLAGS-test-misc.c): Likewise.
30301 (CFLAGS-test-test-fenv.c): Likewise.
30303 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30307 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30308 comparisons to determine direction to adjust input.
30310 2012-05-01 Roland McGrath <roland@hack.frob.com>
30312 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30313 output to the target.
30315 * scripts/localplt.awk: New file.
30316 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30317 (check-localplt-CFLAGS): Variable removed.
30318 ($(all-built-dso:=.jmprel)): New static pattern rule.
30319 (generated): Add those targets.
30320 (localplt-built-dso): New variable.
30321 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30323 * elf/check-localplt.c: File removed.
30325 * scripts/check-execstack.awk: New file.
30326 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30327 (check-execstack-CFLAGS): Variable removed.
30328 ($(objpfx)check-execstack.h): Target removed.
30329 ($(objpfx)execstack-default): New target.
30330 (generated): Add that instead of check-execstack.h.
30331 ($(all-built-dso:=.phdr)): New static pattern rule.
30332 (generated): Add those targets.
30333 * elf/check-execstack.c: File removed.
30335 * scripts/check-textrel.awk: New file.
30336 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30337 (check-textrel-CFLAGS): Variable removed.
30338 (all-built-dso): Use := to define.o
30339 ($(all-built-dso:=.dyn)): New static pattern rule.
30340 (generated): Add those targets.
30341 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30342 * config.make.in (READELF): New substituted variable.
30343 * elf/check-textrel.c: File removed.
30345 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30347 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30349 * conform/data/ctype.h-data [C99-based standards] (isblank):
30351 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30352 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30353 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30354 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30355 Specify type. Require positive value.
30356 (EILSEQ): Likewise.
30357 (ERANGE): Likewise.
30358 [ISO || POSIX] (EILSEQ): Do not expect.
30359 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30360 Specify type. Require positive value.
30361 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30362 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30363 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30364 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30365 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30366 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30367 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30368 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30369 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30370 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30371 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30372 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30373 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30374 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30375 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30376 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30377 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30378 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30379 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30380 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30381 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30382 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30383 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30384 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30385 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30386 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30387 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30388 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30389 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30390 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30391 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30392 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30393 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30394 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30395 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30396 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30397 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30398 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30399 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30400 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30401 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30402 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30403 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30404 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30405 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30406 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30407 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30408 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30409 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30410 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30411 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30412 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30413 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30414 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30415 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30416 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30417 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30418 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30419 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30420 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30421 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30422 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30423 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30424 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30425 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30426 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30427 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30428 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30429 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30430 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30431 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30432 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30433 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30434 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30435 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30436 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30437 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30439 (FLT_ROUNDS): Expect as macro, not constant.
30440 (FLT_MANT_DIG): Use macro-int-constant.
30441 (DBL_MANT_DIG): Likewise.
30442 (LDBL_MANT_DIG): Likewise.
30443 (FLT_DIG): Likewise.
30444 (DBL_DIG): Likewise.
30445 (LDBL_DIG): Likewise.
30446 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30447 (DBL_MIN_EXP): Likewise.
30448 (LDBL_MIN_EXP): Likewise.
30449 (FLT_MAX_EXP): Use macro-int-constant.
30450 (DBL_MAX_EXP): Likewise.
30451 (LDBL_MAX_EXP): Likewise.
30452 (FLT_MAX_10_EXP): Likewise.
30453 (DBL_MAX_10_EXP): Likewise.
30454 (LDBL_MAX_10_EXP): Likewise.
30455 (FLT_MAX): Use macro-constant.
30456 (DBL_MAX): Likewise.
30457 (LDBL_MAX): Likewise.
30458 (FLT_EPSILON): Use macro-constant. Give upper bound.
30459 (DBL_EPSILON): Likewise.
30460 (LDBL_EPSILON): Likewise.
30461 (FLT_MIN): Likewise.
30462 (DBL_MIN): Likewise.
30463 (LDBL_MIN): Likewise.
30464 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30465 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30466 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30467 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30468 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30469 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30470 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30471 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30472 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30473 [ISO11] (FLT_TRUE_MIN): Likewise.
30474 [ISO11] (LDBL_TRUE_MIN): Likewise.
30475 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30476 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30477 (SCHAR_MIN): Use macro-int-constant. Specify type.
30478 (SCHAR_MAX): Likewise.
30479 (UCHAR_MAX): Likewise.
30480 (CHAR_MIN): Likewise.
30481 (CHAR_MAX): Likewise.
30482 (MB_LEN_MAX): Use macro-int-constant.
30483 (SHRT_MIN): Use macro-int-constant. Specify type.
30484 (SHRT_MAX): Likewise.
30485 (USHRT_MAX): Likewise.
30486 (INT_MAX): Likewise.
30487 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30489 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30491 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30493 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30494 bound negative. Suffix upper bound with "L".
30495 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30497 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30499 [C99-based standards] (LLONG_MAX): Likewise.
30500 [C99-based standards] (ULLONG_MAX): Likewise.
30501 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30503 [ISO11] (max_align_t): Require type.
30504 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30506 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30507 from $CFLAGS, without defining away __attribute__ calls.
30508 (checknamespace): Use $CFLAGS_namespace.
30510 * conform/conformtest.pl (@keywords): Only include C99 keywords
30511 for standards based on C99 or C11.
30513 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30515 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30518 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30519 usability of symbols in #if.
30521 * conform/conformtest.pl: If macro or constant types start
30522 "promoted:", expect the symbol to be of the following type
30523 promoted by the integer promotions.
30525 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30526 in one place. Also handle "macro-constant".
30528 * conform/conformtest.pl: Only accept expected macro values with
30529 "==". Parse all "macro" lines in one place.
30530 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30532 * conform/conformtest.pl: Handle braced types on "constant" lines
30533 instead of handling "typed-constant".
30534 * conform/data/signal.h-data: Use "constant" instead of
30537 * conform/conformtest.pl: Handle "optional-" at start of lines in
30538 one place rather than duplicating several cases. Handle each
30539 format of "macro" line with initial "optional-".
30541 * conform/conformtest.pl: Only accept expected constant or
30542 optional-constant values with "==". Parse all "constant" lines in
30543 one place. Parse all "optional-constant" lines in one place.
30544 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30545 * conform/data/fmtmsg.h-data: Likewise.
30546 * conform/data/netinet/in.h-data: Likewise.
30547 * conform/data/tar.h-data: Likewise.
30548 * conform/data/limits.h-data: Use "==" form on "constant" and
30549 "optional-constant" lines.
30551 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30552 Use -std=c99 for XOPEN2K.
30553 (@knownproblems): Remove.
30554 (newtoken): Don't check %isknown.
30556 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30557 Do not expect macro.
30558 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30559 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30560 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30561 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30562 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30563 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30564 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30565 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30566 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30567 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30568 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30569 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30570 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30571 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30572 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30573 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30574 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30575 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30576 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30577 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30578 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30579 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30580 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30581 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30582 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30583 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30584 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30585 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30586 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30587 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30588 [XPG3] (acosh): Likewise.
30589 [XPG3] (asinh): Likewise.
30590 [XPG3] (atanh): Likewise.
30591 [XPG3] (cbrt): Likewise.
30592 [XPG3] (expm1): Likewise.
30593 [XPG3] (ilogb): Likewise.
30594 [XPG3] (log1p): Likewise.
30595 [XPG3] (logb): Likewise.
30596 [XPG3] (nextafter): Likewise.
30597 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30598 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30599 [XPG3] (remainder): Likewise.
30600 [XPG3] (rint): Likewise.
30601 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30602 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30603 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30604 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30605 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30606 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30607 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30608 [UNIX98 || XOPEN2K] (scalb): Expect.
30609 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30610 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30611 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30612 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30613 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30614 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30615 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30616 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30617 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30618 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30619 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30620 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30621 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30622 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30623 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30624 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30625 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30626 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30627 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30628 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30629 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30630 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30631 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30632 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30633 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30634 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30635 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30636 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30637 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30638 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30639 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30640 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30641 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30642 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30643 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30644 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30645 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30646 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30647 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30648 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30649 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30650 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30651 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30652 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30653 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30654 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30655 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30656 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30657 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30658 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30659 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30660 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30661 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30662 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30663 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30664 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30665 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30666 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30667 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30668 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30669 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30670 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30671 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30672 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30673 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30674 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30675 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30676 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30677 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30678 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30679 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30680 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30681 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30682 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30683 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30684 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30685 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30686 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30687 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30688 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30689 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30690 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30691 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30692 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30694 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30697 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30698 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30699 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30703 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30704 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30706 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30707 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30709 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30710 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30721 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30722 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30723 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30724 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30725 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30726 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30727 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30728 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30729 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30730 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30731 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30732 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30733 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30736 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30739 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30741 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30742 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30743 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30744 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30747 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30748 _XOPEN_SOURCE_EXTENDED for XPG4.
30750 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30752 * Makeconfig (localtime): Remove variable.
30753 (inst_localtime-file): Likewise.
30755 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30776 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30780 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30781 comparisons to determine direction to adjust input.
30782 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30783 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30784 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30786 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30788 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30790 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30791 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30793 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30795 * math/libm-test.inc (nexttoward_test): Add more tests.
30797 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30800 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30801 in version GLIBC_2.1, not GLIBC_2.0.
30802 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30805 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30808 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30810 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30811 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30812 * math/libm-test.inc (acos_test): Add more tests.
30813 (asin_test): Likewise.
30814 * sysdeps/i386/fpu/libm-test-ulps: Update.
30815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30818 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30820 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30821 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30822 * math/libm-test.inc (acos_test_tonearest): New function.
30823 (acos_test_towardzero): Likewise.
30824 (acos_test_downward): Likewise.
30825 (acos_test_upward): Likewise.
30826 (asin_test_tonearest): Likewise.
30827 (asin_test_towardzero): Likewise.
30828 (asin_test_downward): Likewise.
30829 (asin_test_upward): Likewise.
30830 (main): Call the new functions.
30831 * sysdeps/i386/fpu/libm-test-ulps: Update.
30832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30836 * math/e_exp10.c: Include <float.h>.
30837 (__ieee754_exp10): Handle underflow here rather than multiplying
30838 large negative argument by M_LN10.
30839 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30841 * math/e_exp10l.c: Include <float.h>.
30842 (__ieee754_exp10l): Handle underflow here rather than multiplying
30843 large negative argument by M_LN10l.
30844 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30845 spurious overflow exception on underflow.
30847 2012-04-29 Marek Polacek <polacek@redhat.com>
30849 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30850 (__fortify_function): New macro.
30851 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30852 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30853 __extern_always_inline.
30854 * libio/bits/stdio2.h: Likewise.
30855 * libio/bits/stdio.h: Likewise.
30856 * string/string.h: Likewise.
30857 * string/bits/string3.h: Likewise.
30858 * include/stdio.h: Likewise.
30859 * stdlib/bits/stdlib.h: Likewise.
30860 * stdlib/stdlib.h: Likewise.
30861 * rt/bits/mqueue2.h: Likewise.
30862 * rt/mqueue.h: Likewise.
30863 * posix/bits/unistd.h: Likewise.
30864 * posix/unistd.h: Likewise.
30865 * io/bits/poll2.h: Likewise.
30866 * io/bits/fcntl2.h: Likewise.
30867 * io/fcntl.h: Likewise.
30868 * io/sys/poll.h: Likewise.
30869 * misc/bits/syslog.h: Likewise.
30870 * misc/bits/syslog-ldbl.h: Likewise.
30871 * misc/sys/syslog.h: Likewise.
30872 * socket/bits/socket2.h: Likewise.
30873 * socket/sys/socket.h: Likewise.
30874 * debug/tst-chk1.c: Likewise.
30875 * wcsmbs/bits/wchar2.h: Likewise.
30876 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30877 * wcsmbs/wchar.h: Likewise.
30879 2012-04-29 Andreas Jaeger <aj@suse.de>
30881 * Makerules (tests): Remove enable-check-abi protection.
30882 (check-abi-warn): Remove.
30883 (check-abi-%): Remove check-abi-warn usage.
30885 * configure.in: Remove check-abi configure option.
30886 * configure: Regenerated.
30887 * config.make.in (enable-check-abi): Remove.
30889 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30892 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30893 double functions to double *_finite functions.
30896 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30897 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30899 * stdio-common/Makefile (tests): Add tst-sprintf3.
30900 * stdio-common/tst-sprintf3.c: New file.
30902 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30903 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30905 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30907 * conform/conformtest.pl: Remove duplicate typed-constant
30910 2012-04-28 David S. Miller <davem@davemloft.net>
30912 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30913 (check-abi-%): Remove AWK script prerequisite and explicit
30915 (check-abi): Rewrite to just diff the symlist with the abilist.
30916 (config-tls, config-abi-config): Delete, no longer used.
30917 (update-abi-%): Remove AWK script and explicit abilist directory.
30918 (update-abi): Rewrite to simply compare and conditionally copy the
30919 symlist and the sysdep abilist file. Remove update-abi-config
30921 * abilist/ld.abilist: Remove.
30922 * abilist/libBrokenLocale.abilist: Remove.
30923 * abilist/libanl.abilist: Remove.
30924 * abilist/libcrypt.abilist: Remove.
30925 * abilist/libdl.abilist: Remove.
30926 * abilist/librt.abilist: Remove.
30927 * abilist/libthread_db.abilist: Remove.
30928 * abilist/libutil.abilist: Remove.
30929 * scripts/extract-abilist.awk: Remove.
30930 * scripts/merge-abilist.awk: Remove.
30931 * sysdeps/generic/libcidn.abilist: New file.
30932 * sysdeps/generic/libnss_compat.abilist: New file.
30933 * sysdeps/generic/libnss_db.abilist: New file.
30934 * sysdeps/generic/libnss_dns.abilist: New file.
30935 * sysdeps/generic/libnss_files.abilist: New file.
30936 * sysdeps/generic/libnss_hesiod.abilist: New file.
30937 * sysdeps/generic/libnss_nis.abilist: New file.
30938 * sysdeps/generic/libnss_nisplus.abilist: New file.
30939 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30940 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30941 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30943 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30944 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30945 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30946 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30947 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30948 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30949 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30950 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30951 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30953 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30954 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30955 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30956 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30958 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30959 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30960 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30961 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30962 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30963 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30965 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30966 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30967 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30969 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31072 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31073 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31074 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31076 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31077 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31078 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31079 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31080 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31081 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31082 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31083 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31084 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31085 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31137 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31139 * conform/conformtest.pl: Fix typo in handling typed-constant from
31142 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31144 * README: Cut down references to pre-2.6 Linux kernels and
31145 Linuxthreads. Update lists of configurations in libc and ports
31146 and sort alphabetically. Say "or newer" with Linux kernel version
31149 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31151 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31154 * math/libm-test.inc (logb_test_downward): New test to expose
31155 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31158 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31161 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31163 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31164 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31166 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31168 * sysdeps/unix/i386/brk.S: Remove file.
31169 * sysdeps/unix/i386/dl-brk.S: Likewise.
31170 * sysdeps/unix/i386/pipe.S: Likewise.
31171 * sysdeps/unix/i386/sigreturn.S: Likewise.
31172 * sysdeps/unix/i386/syscall.S: Likewise.
31173 * sysdeps/unix/i386/vfork.S: Likewise.
31174 * sysdeps/unix/i386/wait.S: Likewise.
31176 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31177 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31179 * configure.in (arm*-none*): Do not allow without
31180 --enable-hacker-mode.
31181 (netbsd*): Remove case setting base_os.
31182 (386bsd*): Likewise.
31183 (freebsd*): Likewise.
31186 (sunos*): Likewise.
31187 (ultrix*): Likewise.
31188 (newsos*): Likewise.
31189 (dynix*): Likewise.
31195 (minix*): Likewise.
31196 (irix4*): Likewise.
31197 (irix6*): Likewise.
31198 (solaris[2-9]*): Likewise.
31200 * configure: Regenerated.
31202 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31205 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31206 overflow or cancellation in calculating denominator.
31207 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31208 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31209 down expression to avoid unexpected rounding in newer GCCs.
31210 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31212 2012-04-26 David S. Miller <davem@davemloft.net>
31214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31215 long-double compat symbols.
31216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31230 2012-04-25 David S. Miller <davem@davemloft.net>
31232 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31233 HWCAP_* values only after the memory barriers have been defined.
31234 (atomic_full_barrier): Define.
31235 (atomic_read_barrier): Define.
31236 (atomic_write_barrier): Define.
31238 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31240 * shlib-versions: Add libgcc_s version information.
31241 * sysdeps/generic/libgcc_s.h: Remove.
31242 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31244 * sysdeps/gnu/unwind-resume.c: Likewise.
31245 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31247 2012-04-25 David S. Miller <davem@davemloft.net>
31249 * sysdeps/unix/sparc/brk.S: Delete.
31250 * sysdeps/unix/sparc/dl-brk.S: Delete.
31251 * sysdeps/unix/sparc/pipe.S: Delete.
31252 * sysdeps/unix/sparc/sysdep.S: Delete.
31253 * sysdeps/unix/sparc/sysdep.h: Delete.
31254 * sysdeps/unix/sparc/vfork.S: Delete.
31255 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31256 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31257 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31258 ret_ERRVAL, r0, r1, MOVE): Define.
31259 (JUMPTARGET): Remove.
31260 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31261 sysdeps/unix/sparc/sysdep.h
31262 (ENTRY, END): Remove.
31263 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31265 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31267 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31268 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31271 * timezone/README: Update upstream location and email address for
31273 * timezone/zdump.c: Update from tzcode 2012b.
31274 * timezone/zic.c: Likewise.
31276 * configure.in (libc_cv_as_needed): Remove test.
31277 * configure: Regenerated.
31278 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31279 conditional definition.
31280 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31281 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31282 * config.make.in (have-as-needed): Remove variable.
31284 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31285 Paul Pluzhnikov <ppluzhnikov@google.com>
31287 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31290 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31292 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31293 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31294 * sysdeps/sh/strlen.S: Likewise.
31296 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31298 * sysdeps/unix/fork.S: Remove file.
31299 * sysdeps/unix/i386/fork.S: Likewise.
31300 * sysdeps/unix/sparc/fork.S: Likewise.
31302 * sysdeps/unix/system.c: Remove file.
31303 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31305 * sysdeps/unix/getegid.S: Remove file.
31306 * sysdeps/unix/geteuid.S: Likewise.
31308 2012-04-24 Roland McGrath <roland@hack.frob.com>
31310 * scripts/check-localplt.awk: New file.
31311 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31313 * scripts/data/localplt-generic.data: Add a comment.
31315 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31316 NODE when __dir_mkfile failed.
31317 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31318 Reported by Ludovic Courtès <ludo@gnu.org>.
31320 2012-04-24 Andreas Jaeger <aj@suse.de>
31322 * Makerules (common-clean): Also remove gen-as-const-headers
31325 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31327 * Makerules (native-compile): Do not change working directory for
31328 build. Use $(OUTPUT_OPTION) in command.
31329 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31331 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31334 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31335 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31336 * math/libm-test.inc (floor_test): Add more tests.
31337 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31339 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31341 * sysdeps/unix/getdents.c: Remove file.
31342 * sysdeps/unix/sysv/getdents.c: Likewise.
31343 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31345 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31346 sysdeps/unix/mman/syscalls.list.
31348 (mprotect): Likewise.
31350 (munmap): Likewise.
31351 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31352 * sysdeps/unix/mman/syscalls.list: Remove.
31353 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31355 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31356 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31357 * configure: Regenerated.
31358 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31359 $(libgcc_s_suffix).
31360 * config.make.in (libgcc_s_suffix): Remove variable.
31362 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31364 * sysdeps/unix/sysv/gethostname.c: Move to ...
31365 * sysdeps/posix/gethostname.c: ... here.
31367 * sysdeps/unix/execve.S: Remove file.
31369 * sysdeps/unix/_exit.S: Remove file.
31371 2012-04-23 Andreas Jaeger <aj@suse.de>
31374 * manual/Makefile: Remove make dist support, there's no
31375 need for a stand-alone documentation tar ball.
31376 (TEXI2DVI): Define always, it's not in Makeconfig.
31379 (edition): Removed.
31380 (glibc-doc-$(edition).tar): Removed
31384 (ETAGS): Remove, it's in Makeconfig.
31385 (move-if-change): Remove, it's in Makeconfig.
31387 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31390 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31391 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31392 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31393 (strtod_l, strtof_l, strtold_l): Remove __wur.
31394 It is not necessarily an error to ignore strtol's return value.
31395 One can reliably look at the stored endptr to decide whether
31396 the number had valid syntax.
31398 2012-04-21 Andreas Jaeger <aj@suse.de>
31401 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31403 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31405 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31406 * sysdeps/unix/sysv/Versions: Remove file.
31408 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31413 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31416 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31417 version from __vm86.
31419 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31421 * sysdeps/unix/common/lxstat.c: Remove file.
31422 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31424 * sysdeps/unix/sysv/Makefile: Remove file.
31426 * sysdeps/unix/sysv/direct.h: Remove file.
31428 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31429 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31430 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31431 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31432 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31433 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31434 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31436 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31438 * sysdeps/unix/xmknod.c: Remove file.
31439 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31441 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31443 * sysdeps/unix/sysv/i386/time.S: Remove file.
31445 * sysdeps/unix/fxstat.c: Remove file.
31446 * sysdeps/unix/xstat.c: Likewise.
31447 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31449 * sysdeps/unix/sysv/sigaction.c: Remove file.
31451 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31452 (sysdep_headers): Remove variable.
31453 [termio.h not in sysdep_headers] (generated): Likewise.
31454 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31455 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31456 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31457 * sysdeps/unix/sysv/tcflow.c: Likewise.
31458 * sysdeps/unix/sysv/tcflush.c: Likewise.
31459 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31460 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31461 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31462 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31463 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31465 * sysdeps/unix/siglist.c: Remove file.
31467 * sysdeps/unix/getppid.S: Remove file.
31469 * sysdeps/unix/mkdir.c: Remove file.
31470 * sysdeps/unix/rmdir.c: Likewise.
31472 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31474 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31476 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31477 errlist-compat value.
31479 2012-04-18 David S. Miller <davem@davemloft.net>
31481 * sysdeps/generic/memcopy.h (reg_char): Delete.
31482 * debug/strcat_chk.c: Use char, not reg_char.
31483 * debug/strcpy_chk.c: Likewise.
31484 * debug/strncat_chk.c: Likewise.
31485 * debug/strncpy_chk.c: Likewise.
31486 * string/memchr.c: Likewise.
31487 * string/memrchr.c: Likewise.
31488 * string/rawmemchr.c: Likewise.
31489 * string/strcat.c: Likewise.
31490 * string/strchr.c: Likewise.
31491 * string/strchrnul.c: Likewise.
31492 * string/strcmp.c: Likewise.
31493 * string/strcpy.c: Likewise.
31494 * string/strncat.c: Likewise.
31495 * string/strncmp.c: Likewise.
31496 * string/strncpy.c: Likewise.
31498 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31500 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31501 __builtin_memcopy is called when src and dest ranges are known to not
31504 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31506 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31507 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31508 fwd_align_merge macro call.
31509 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31510 bwd_align_merge macro call.
31511 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31513 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31515 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31516 bwd_align_merge macros.
31517 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31518 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31519 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31521 2012-04-18 David S. Miller <davem@davemloft.net>
31523 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31525 2012-04-18 Andreas Jaeger <aj@suse.de>
31528 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31529 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31530 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31532 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31533 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31534 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31536 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31537 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31538 Adjust for changed ldbl-128 files.
31540 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31541 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31542 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31544 2012-04-17 David S. Miller <davem@davemloft.net>
31546 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31548 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31550 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31551 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31552 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31553 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31554 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31555 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31557 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31560 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31561 * math/libm-test.inc: Add ilogb errno and exception tests.
31562 * math/w_ilogb.c: New file: ilogb wrapper.
31563 * math/w_ilogbf.c: New file: ilogbf wrapper.
31564 * math/w_ilogbl.c: New file: ilogbl wrapper.
31565 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31566 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31567 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31568 exception being thrown with 0.0 as argument.
31569 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31570 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31571 exception being thrown with 0.0 as argument.
31572 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31573 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31574 exception being thrown with 0.0 as argument.
31575 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31576 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31577 exception being thrown with 0.0 as argument.
31578 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31579 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31580 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31581 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31582 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31583 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31584 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31585 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31586 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31588 2012-04-17 Petr Baudis <pasky@ucw.cz>
31590 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31593 2012-04-16 Marek Polacek <polacek@redhat.com>
31595 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31597 2012-04-16 Marek Polacek <polacek@redhat.com>
31599 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31600 operands of fdivp instruction.
31602 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31604 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31605 * elf/tst-auditmod3b.c: Likewise.
31606 * elf/tst-auditmod4b.c: Likewise.
31607 * elf/tst-auditmod5b.c: Likewise.
31608 * elf/tst-auditmod6b.c: Likewise.
31609 * elf/tst-auditmod6c.c: Likewise.
31610 * elf/tst-auditmod7b.c: Likewise.
31611 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31612 * sysdeps/x86_64/preconfigure.in: Likewise.
31613 * sysdeps/x86_64/preconfigure: Regenerated.
31615 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31617 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31620 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31622 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31623 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31625 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31628 * locale/iso-639.def: Fix gl language name. Spotted by
31631 2012-04-12 Roland McGrath <roland@hack.frob.com>
31634 * libio/libio.h (__io_write_fn): Update comment.
31636 2012-04-12 Petr Baudis <pasky@ucw.cz>
31639 * stdio.texi (Hook Functions): The user provided writer function
31640 is not allowed to return -1.
31642 2012-04-11 David S. Miller <davem@davemloft.net>
31644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31646 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31648 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31649 Add a leading slash to rtkaio.
31651 2012-04-11 Jim Meyering <meyering@redhat.com>
31654 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31655 It is not necessarily an error to ignore fwrite's return
31656 value. One can reliably use ferror to test for errors after
31659 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31661 * bits/types.h (__snseconds_t): New type.
31662 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31664 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31665 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31666 (__SNSECONDS_T_TYPE): Likewise.
31667 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31668 (__SNSECONDS_T_TYPE): Likewise.
31669 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31670 (__SNSECONDS_T_TYPE): Likewise.
31672 2012-04-10 Andreas Jaeger <aj@suse.de>
31675 * manual/time.texi (Processor Time): Return type of times is
31676 elapsed real time since an arbitrary point in the past.
31677 (CPU Time): Move CLK_TCK from here...
31678 (Processor Time): ...to here. Correct description.
31679 * manual/conf.texi (Constants for Sysconf): Correct description of
31682 2012-04-10 David S. Miller <davem@davemloft.net>
31685 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31686 where the is a gap between DT_REL(A) and DT_JMPREL.
31688 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31690 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31691 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31692 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31694 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31696 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31697 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31698 (dl_main): Handle --inhibit-cache.
31699 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31701 * elf/dl-load.c (_dl_map_object): Use it.
31702 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31704 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31707 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31708 (__ieee754_powl): Saturate large exponents rather than testing for
31709 overflow of y*log2(x).
31710 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31711 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31715 * math/s_ctan.c: Include <float.h>.
31716 (__ctan): Avoid internal overflow or cancellation in calculating
31718 * math/s_ctanf.c: Likewise.
31719 * math/s_ctanl.c: Likewise.
31720 * math/s_ctanh.c: Likewise.
31721 * math/s_ctanhf.c: Likewise.
31722 * math/s_ctanhl.c: Likewise.
31723 * math/libm-test.inc (ctan_test): Add more tests.
31724 (ctanh_test): Likewise.
31725 * sysdeps/i386/fpu/libm-test-ulps: Update.
31726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31728 2012-04-09 Andreas Jaeger <aj@suse.de>
31731 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31732 is an optional BSD extension.
31735 * manual/stdio.texi (Opening Streams): Document additional fopen
31738 2012-04-09 Roland McGrath <roland@hack.frob.com>
31740 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31741 %eax without telling the compiler.
31743 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31746 * manual/install.texi: Use sourceware.org.
31748 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31751 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31752 (__ieee754_pow): Generate overflow and underflow using huge*huge
31753 and tiny*tiny rather than just returning constant infinity or zero
31754 for large exponents.
31755 * math/libm-test.inc (pow_test): Require overflow exceptions for
31756 applicable cases of large exponents.
31759 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31760 (__ieee754_pow): Use iterative multiplication algorithm only for
31761 integer exponents with absolute value below 1024. Check for odd
31762 integer exponents when using algorithm for real exponents.
31763 * math/libm-test.inc (pow_test): Add more tests.
31764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31766 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31769 * math/libm-test.inc (exp_test): Do not allow overflow exception
31772 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31775 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31776 instead of __kernel_standard_f.
31778 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31780 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31781 * sysdeps/x86_64/memset_chk.S: Likewise.
31783 2012-04-08 Andreas Jaeger <aj@suse.de>
31786 * manual/startup.texi (Environment Access): Describe return value
31787 for putenv and setenv.
31790 * manual/filesys.texi (Directory Entries): Add description for
31794 * manual/filesys.texi (Directory Entries): Clarify that it's file
31795 system not operating system in the description of DT_UNKNOWN.
31798 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31800 2012-04-08 Stephen Compall <s11@member.fsf.org>
31803 * manual/llio.texi (Opening and Closing Files): Add cross
31804 reference to explain mode argument.
31806 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31808 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31809 * sysdeps/x86_64/memset_chk.S: Likewise.
31811 2012-04-07 David S. Miller <davem@davemloft.net>
31813 * elf/elf.h (R_SPARC_WDISP10): Define.
31814 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31816 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31817 R_SPARC_SIZE64 and R_SPARC_H34.
31819 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31821 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31822 conditions and remove no longer applicable assertion.
31824 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31826 * bits/byteswap.h: Include <features.h>.
31827 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31828 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31830 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31832 * bits/byteswap.h (__bswap_16): Removed.
31833 Include <bits/byteswap-16.h> to get __bswap_16.
31834 * sysdeps/i386/bits/byteswap.h: Likewise.
31835 * sysdeps/s390/bits/byteswap.h: Likewise.
31836 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31837 * bits/byteswap-16.h: New file.
31838 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31839 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31840 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31841 * string/Makefile (headers): Add bits/byteswap-16.h.
31843 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31846 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31848 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31849 * nss/tst-nss-static.c: New.
31851 2012-04-06 Robert Millan <rmh@gnu.org>
31854 * manual/llio.texi (File Position Primitive): lseek
31855 refers to WHENCE when it really means OFFSET.
31857 2012-04-06 Andreas Jaeger <aj@suse.de>
31859 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31860 strncmp declarations.
31862 * abilist/libc.abilist: Add __poll and __ppoll.
31864 2012-04-05 David S. Miller <davem@davemloft.net>
31866 * scripts/check-local-headers.sh: Accept a host triplet in the
31867 path matched by the exclude regexp.
31869 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31871 * sysdeps/powerpc/powerpc32/dl-machine.h
31872 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31873 * sysdeps/s390/s390-32/dl-machine.h
31874 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31875 * sysdeps/sparc/sparc32/dl-machine.h
31876 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31877 * sysdeps/sparc/sparc64/dl-machine.h
31878 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31880 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31882 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31883 undefined symbol errors.
31885 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31888 2012-04-05 Michael Matz <matz@suse.de>
31891 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31893 2012-04-05 Andreas Jaeger <aj@suse.de>
31896 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31899 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31901 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31902 which ROUND is no valid rounding mode.
31904 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31906 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31908 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31910 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31912 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31913 an exception using FPU order intentionally.
31915 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31917 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31918 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31919 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31920 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31922 2012-04-05 Simon Josefsson <simon@josefsson.org>
31925 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31926 EINVAL when BUFLEN is too smal.
31928 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31931 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31932 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31934 2012-04-03 Andreas Jaeger <aj@suse.de>
31937 * manual/setjmp.texi (System V contexts): Fix sentence.
31940 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31941 New macro for this case.
31942 [!__GNUC__] (__bswap_64): New inline function for this case.
31943 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31944 * bits/byteswap.h: Likewise.
31945 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31946 ull, guard with __GLIBC_HAVE_LONG_LONG.
31948 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31949 __GLIBC_HAVE_LONG_LONG.
31951 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31952 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31954 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31957 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31958 inptr and inend, rather than using last_ch.
31960 2012-04-02 David S. Miller <davem@davemloft.net>
31962 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31963 * stdio-common/printf-parse.h (read_int): Change return type to
31964 'int', return -1 on INT_MAX overflow.
31965 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31966 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31967 overflows INT_MAX. Check for overflow of in-format-string precision
31968 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31969 SIZE_MAX not INT_MAX for integer overflow test.
31970 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31971 skip the construct in the format string but do not record anything.
31972 * stdio-common/bug22.c: Adjust to test both width/prevision
31973 INT_MAX overflow as well as total length INT_MAX overflow. Check
31974 explicitly for proper errno values.
31976 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31978 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31980 * string/test-strcmp.c [! WIDE]: Likewise.
31981 * time/tst-mktime2.c: Likewise for INT_MAX.
31982 * string/test-string.h: #include <sys/param.h> for MIN.
31984 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31985 * sysdeps/i386/init-first.c (init): Likewise.
31986 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31987 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31988 * sysdeps/sh/init-first.c (init): Likewise.
31990 2012-04-01 Ulrich Drepper <drepper@gmail.com>
31992 * po/ru.po: Update from translation team.
31993 * po/vi.po: Likewise.
31995 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31997 * resolv/nss_dns/dns-host.c: Merge copyright years.
31999 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32001 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32002 Optimize memcpy with prefetch if
32003 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32004 src, dst pointers have unequal 16 byte alignments.
32006 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32009 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32010 from a CNAME entry and return the minimum ttl for the query.
32011 (gaih_getanswer_slice): Likewise.
32013 2012-03-30 Jeff Law <law@redhat.com>
32015 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32017 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32018 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32020 * resolv/nss_dns/dns-host.c: Update copyright year.
32022 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32024 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32025 requests to save a system call. Fix check that all bytes are sent.
32027 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32028 comments for sendmmsg.
32030 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32033 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32034 with only 1 character between 0x0041 and 0x01b0.
32035 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32036 * wcsmbs/tst-mbsnrtowcs.c: New file.
32038 2012-03-29 David S. Miller <davem@davemloft.net>
32040 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32041 small copies by hand.
32043 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32046 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32047 _nss_compat_initgroups_dyn): Fall back to malloc/free
32048 for large group memberships.
32050 2012-03-28 David S. Miller <davem@davemloft.net>
32052 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32053 that branches into memcpy.
32054 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32055 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32056 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32057 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32058 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32060 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32061 implementation too.
32062 * sysdeps/sparc/mempcpy.S: New file.
32064 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32065 the IFUNC routine in the libc case.
32066 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32068 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32069 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32070 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32071 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32072 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32073 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32074 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32075 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32077 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32078 loop to 256 bytes instead of 64 bytes and fix test signedness.
32080 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32081 * sysdeps/sparc/sparc32/Makefile: rather than here...
32082 * sysdeps/sparc/sparc64/Makefile: and here.
32084 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32086 * malloc/mallocbug.c: Avoid warnings about unused variables.
32088 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32091 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32092 in the right place. Discard and retry query if response is
32093 larger than input buffer size.
32095 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32100 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32101 x for large integer exponent.
32102 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32103 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32104 sign of result as needed afterwards.
32105 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32106 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32107 result for underflowing pow the same as for overflow.
32108 (__kernel_standard_l): Handle powl overflow and underflow here
32109 rather than calling __kernel_standard.
32110 * math/libm-test.inc (pow_test): Add more tests.
32125 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32126 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32127 (__kernel_standard_l): New function.
32128 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32130 * math/w_acosl.c (__acosl): Likewise.
32131 * math/w_asinl.c (__asinl): Likewise.
32132 * math/w_atan2l.c (__atan2l): Likewise.
32133 * math/w_atanhl.c (__atanhl): Likewise.
32134 * math/w_coshl.c (__coshl): Likewise.
32135 * math/w_exp10l.c (__exp10l): Likewise.
32136 * math/w_exp2l.c (__exp2l): Likewise.
32137 * math/w_fmodl.c (__fmodl): Likewise.
32138 * math/w_hypotl.c (__hypotl): Likewise.
32139 * math/w_j0l.c (__j0l, __y0l): Likewise.
32140 * math/w_j1l.c (__j1l, __y1l): Likewise.
32141 * math/w_jnl.c (__jnl, __ynl): Likewise.
32142 * math/w_lgammal.c (__lgammal): Likewise.
32143 * math/w_log10l.c (__log10l): Likewise.
32144 * math/w_log2l.c (__log2l): Likewise.
32145 * math/w_logl.c (__logl): Likewise.
32146 * math/w_powl.c (__powl): Likewise.
32147 * math/w_remainderl.c (__remainderl): Likewise.
32148 * math/w_scalbl.c (sysv_scalbl): Likewise.
32149 * math/w_sinhl.c (__sinhl): Likewise.
32150 * math/w_sqrtl.c (__sqrtl): Likewise.
32151 * math/w_tgammal.c (__tgammal): Likewise.
32152 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32153 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32154 * math/libm-test.inc (acos_test): Add more tests.
32155 (acosh_test): Likewise.
32156 (asin_test): Likewise.
32157 (atanh_test): Likewise.
32158 (exp_test): Likewise.
32159 (exp10_test): Likewise.
32160 (exp2_test): Likewise.
32161 (expm1_test): Likewise.
32162 (lgamma_test): Likewise.
32163 (log_test): Likewise.
32164 (log10_test): Likewise.
32165 (log1p_test): Likewise.
32166 (log2_test): Likewise.
32167 (pow_test): Do not allow some spurious overflow exceptions.
32168 (sqrt_test): Add more tests.
32169 (tgamma_test): Likewise.
32170 (y0_test): Likewise.
32171 (y1_test): Likewise.
32172 (yn_test): Likewise.
32174 2012-03-27 Anton Blanchard <anton@samba.org>
32176 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32178 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32179 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32180 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32182 2012-03-27 David S. Miller <davem@davemloft.net>
32184 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32186 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32187 have-as-vis3 check.
32189 2012-03-27 Andreas Jaeger <aj@suse.de>
32191 * sysdeps/x86_64/elf/configure.in: Moved to ...
32192 * sysdeps/x86_64/configure.in: ... here.
32193 * sysdeps/x86_64/elf/start.S: Moved to ...
32194 * sysdeps/x86_64/start.S: ... here.
32195 * sysdeps/x86_64/elf/configure: Delete.
32197 * sysdeps/x86_64/configure.in: Merge contents from
32198 sysdeps/i386/configure.in (without i686 check).
32200 * sysdeps/i386/elf/Versions: Merge into ...
32201 * sysdeps/i386/Versions: ... this.
32202 * sysdeps/i386/elf/Versions: Delete file.
32203 * sysdeps/i386/elf/start.S: Moved to ...
32204 * sysdeps/i386/start.S: ...here.
32205 * sysdeps/i386/elf/configure.in: Merge into...
32206 * sysdeps/i386/configure.in: ...here.
32207 * sysdeps/i386/elf/configure.in: Delete file.
32208 * sysdeps/i386/elf/configure: Delete file.
32210 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32211 * debug/backtracesyms.c: ... here.
32212 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32213 * debug/backtracesymsfd.c: ... here.
32214 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32215 * sysdeps/generic/ifunc-sel.h: ... here.
32217 * sysdeps/unix/i386/start.c: Delete file.
32218 * sysdeps/unix/sparc/start.c: Delete file.
32219 * sysdeps/unix/start.c: Delete file.
32221 * sysdeps/sh/elf/configure.in: Moved to ...
32222 * sysdeps/sh/configure.in: ... here.
32223 * sysdeps/sh/elf/start.S: Moved to ...
32224 * sysdeps/sh/start.S: ... here.
32225 * sysdeps/sh/elf/configure: Delete file.
32227 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32228 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32229 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32230 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32231 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32232 * sysdeps/powerpc/powerpc64/start.S: here.
32233 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32234 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32235 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32236 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32237 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32239 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32240 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32241 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32242 * sysdeps/powerpc/powerpc32/start.S: ... here.
32243 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32244 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32245 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32247 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32248 * sysdeps/powerpc/ifunc-sel.h: ... here.
32249 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32250 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32252 * sysdeps/sparc/elf/configure.in: Moved to ...
32253 * sysdeps/sparc/configure.in: ... here.
32254 * sysdeps/sparc/elf/configure: Delete file.
32255 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32256 * sysdeps/sparc/sparc32/start.S: ... here.
32257 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32258 * sysdeps/sparc/sparc64/start.S: ... here.
32259 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32260 * sysdeps/sparc/sparc32/Makefile: ... this.
32261 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32262 * sysdeps/sparc/sparc64/Makefile: ... this.
32264 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32265 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32266 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32267 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32268 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32269 * sysdeps/s390/s390-32/setjmp.S: ... here.
32270 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32271 * sysdeps/s390/s390-32/configure.in: ... here.
32272 * sysdeps/s390/s390-32/elf/configure: Delete file.
32273 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32274 * sysdeps/s390/s390-32/start.S: ... here.
32276 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32277 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32278 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32279 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32280 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32281 * sysdeps/s390/s390-64/setjmp.S: ... here.
32282 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32283 * sysdeps/s390/s390-64/configure.in: ... here
32284 * sysdeps/s390/s390-64/elf/configure: Delete file.
32285 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32286 * sysdeps/s390/s390-64/start.S: ... here.
32287 * sysdeps/s390/s390-64/elf/configure: Delete.
32289 * configure.in: Remove support for elf directories in sysdeps.
32291 * configure: Regenerated.
32292 * sysdeps/i386/configure: Regenerated.
32293 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32294 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32295 * sysdeps/s390/s390-32/configure: Regenerated.
32296 * sysdeps/s390/s390-64/configure: Regenerated.
32297 * sysdeps/sh/configure: Regenerated.
32298 * sysdeps/sparc/configure: Regenerated.
32299 * sysdeps/x86_64/configure: Regenerated.
32301 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32305 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32306 denormal result into account.
32308 2012-03-25 Roland McGrath <roland@hack.frob.com>
32310 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32311 Reported by Allan McRae <allan@archlinux.org>.
32313 2012-03-23 Jeff Law <law@redhat.com>
32315 * nss/getnssent.c (__nss_getent): Fix typo.
32317 2012-03-23 David S. Miller <davem@davemloft.net>
32319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32321 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32323 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32324 to pad to uint64_t for each field.
32325 (dl_tls_index): Replace unsigned long with uint64_t.
32327 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32328 Paul Pluzhnikov <ppluzhnikov@google.com>
32331 * grp/Makefile (otherlibs): Don't set it.
32332 * inet/Makefile (otherlibs): Likewise.
32333 * login/Makefile (otherlibs): Likewise.
32334 * nscd/Makefile (otherlibs): Likewise.
32335 * posix/Makefile (otherlibs): Likewise.
32336 * pwd/Makefile (otherlibs): Likewise.
32337 * rt/Makefile (otherlibs): Likewise.
32338 * sunrpc/Makefile (otherlibs): Likewise.
32339 * nss/Makefile (otherlibs): Likewise.
32340 Add libnss_files to routines and static-only-routines.
32341 ($(objpfx)getent): Remove rule.
32342 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32343 static-only-routines.
32345 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32348 * math/s_cexp.c: Include <float.h>.
32349 (__cexp): Handle exp result overflowing not necessarily
32350 overflowing both real and imaginary parts of result.
32351 * math/s_cexpf.c: Likewise.
32352 * math/s_cexpl.c: Likewise.
32353 * math/libm-test.inc (cexp_test): Add more tests.
32354 * sysdeps/i386/fpu/libm-test-ulps: Update.
32355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32357 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32359 * include/link.h (ELFW): New macro.
32360 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32361 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32363 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32365 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32368 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32370 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32372 (struct La_x32_retval): Likewise.
32374 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32376 * sysdeps/x86_64/preconfigure.in: New file.
32377 * sysdeps/x86_64/preconfigure: New generated file.
32379 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32382 * math/e_exp2l.c: Include <float.h>.
32383 (__ieee754_exp2l): Handle overflow and underflow cases
32384 separately. Only pass fractional part of argument to
32386 * math/libm-test.inc (exp2_test): Add more tests.
32388 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32389 negating x to take absolute value.
32390 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32392 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32393 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32395 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32396 computing low part if x was negated.
32397 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32399 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32401 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32402 la_x32_gnu_pltexit.
32403 (pltexit): Cast int_retval to ptrdiff_t.
32404 * elf/tst-auditmod3b.c: Likewise.
32405 * elf/tst-auditmod4b.c: Likewise.
32406 * elf/tst-auditmod5b.c: Likewise.
32407 * elf/tst-auditmod6b.c: Likewise.
32408 * elf/tst-auditmod6c.c: Likewise.
32409 * elf/tst-auditmod7b.c: Likewise.
32411 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32412 and x32_gnu_pltexit.
32414 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32415 __ELF_NATIVE_CLASS.
32416 (La_x32_regs): New macro.
32417 (La_x32_retval): Likewise.
32418 (la_x32_gnu_pltenter): New function prototype.
32419 (la_x32_gnu_pltexit): Likewise.
32421 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32423 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32428 * configure.in (libc_cv_cc_nofma): Check for option to disable
32429 generation of FMA instructions.
32430 * configure: Regenerate.
32431 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32432 * sysdeps/ieee754/dbl-64/Makefile: New file.
32433 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32434 Remove brandred-fma4.
32435 (CFLAGS-brandred-fma4.c): Remove.
32436 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32437 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32439 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32442 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32444 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32445 LLONG_MAX != LONG_MAX.
32446 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32447 (_fitoa_word): Likewise.
32448 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32449 LLONG_MAX != LONG_MAX.
32450 * stdio-common/_itowa.h: Include <_itoa.h>.
32451 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32452 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32453 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32454 only if not defined.
32455 (_ITOA_WORD_TYPE): Likewise.
32456 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32457 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32459 2012-03-21 David S. Miller <davem@davemloft.net>
32461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32463 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32465 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32466 of x86_64 when setting libc_cv_slibdir, libdir and
32468 * sysdeps/unix/sysv/linux/configure: Regenerated.
32470 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32472 * manual/lang.texi (Old Varargs): Remove section.
32473 (How Variadic): Update menu.
32474 (va_start): Do not mention varargs.h.
32476 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32477 Joseph Myers <joseph@codesourcery.com>
32479 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32481 * configure: Regenerated.
32483 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32485 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32486 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32489 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32492 * Makefile (files-for-dist): Remove NOTES.
32493 (NOTES): Remove rule.
32494 * README: Don't refer to NOTES.
32495 * manual/creature.texi: Don't include macros.texi.
32496 * manual/intro.texi (creature.texi): Remove comment referring to
32499 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32500 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32501 * configure: Regenerated.
32502 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32503 LIBC_TRY_CC_OPTION.
32504 (libc_cv_as_i686): Likewise.
32505 (libc_cv_cc_avx): Likewise.
32506 (libc_cv_cc_sse2avx): Likewise.
32507 (libc_cv_cc_fma4): Likewise.
32508 (libc_cv_cc_novzeroupper): Likewise.
32509 * sysdeps/i386/configure: Regenerated.
32512 * sysdeps/i386/fpu/s_cexp.S: Remove.
32513 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32514 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32515 * math/libm-test.inc (cexp_test): Add more tests.
32516 * sysdeps/i386/fpu/libm-test-ulps: Update.
32517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32519 2012-03-21 Allan McRae <allan@archlinux.org>
32521 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32523 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32526 * math/w_exp2.c: Do not include <float.h>.
32527 (o_threshold, u_threshold): Remove.
32528 (__exp2): Calculate result before checking finiteness and calling
32530 * math/w_exp2f.c: Likewise.
32531 * math/w_exp2l.c: Likewise.
32532 * math/libm-test.inc (exp2_test): Require overflow exception for
32536 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32537 range of signed 64-bit integers before using fistpll. Remove
32538 checks for whether integers fit in mantissa bits.
32539 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32540 the range of signed 32-bit integers before using fistpl. Remove
32541 checks for whether integers fit in mantissa bits.
32542 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32543 (__ieee754_powl): Test for y outside the range of signed 64-bit
32544 integers before using fistpll. Reduce 64-bit values to 63-bit
32546 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32547 divide-by-zero is raised for zero to large negative powers.
32548 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32549 (__ieee754_powl): Test for y outside the range of signed 64-bit
32550 integers before using fistpll. Reduce 64-bit values to 63-bit
32552 * math/libm-test.inc (pow_test): Add more tests.
32554 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32556 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32557 <stdio-common/_itoa.h>.
32558 * debug/segfault.c: Likewise.
32559 * elf/dl-cache.c: Likewise.
32560 * elf/dl-minimal.c: Likewise.
32561 * elf/dl-misc.c: Likewise.
32562 * elf/dl-sysdep.c: Likewise.
32563 * elf/dl-version.c: Likewise.
32564 * elf/rtld.c: Likewise.
32565 * hurd/hurdsock.c: Likewise.
32566 * hurd/lookup-retry.c: Likewise.
32567 * malloc/malloc.c: Likewise.
32568 * malloc/mtrace.c: Likewise.
32569 * nscd/nscd_getgr_r.c: Likewise.
32570 * nscd/nscd_getpw_r.c: Likewise.
32571 * nscd/nscd_getserv_r.c: Likewise.
32572 * posix/getopt_init.c: Likewise.
32573 * posix/wordexp.c: Likewise.
32574 * stdio-common/_itoa.c: Likewise.
32575 * stdio-common/printf_fphex.c: Likewise.
32576 * stdio-common/vfprintf.c: Likewise.
32577 * string/_strerror.c: Likewise.
32578 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32579 * sysdeps/i386/i686/hp-timing.h: Likewise.
32580 * sysdeps/mach/_strerror.c: Likewise.
32581 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32582 * sysdeps/mach/hurd/sethostid.c: Likewise.
32583 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32584 * sysdeps/mach/xpg-strerror.c: Likewise.
32585 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32586 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32587 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32588 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32589 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32590 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32591 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32592 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32593 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32594 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32595 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32596 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32597 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32598 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32599 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32600 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32601 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32602 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32603 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32604 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32605 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32607 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32609 * stdio-common/_itoa.h: Moved to ...
32610 * sysdeps/generic/_itoa.h: Here.
32612 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32614 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32615 instead of "_itoa.h" and "_itowa.h".
32616 * stdio-common/vfprintf.: Likewise.
32618 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32620 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32622 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32623 (__signbit): Likwise.
32624 (llrintf): Likwise.
32627 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32629 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32632 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32634 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32635 OVERFLOW_EXCEPTION_OK.
32636 * math/libm-test.inc ("Philosophy"): Update comment about
32638 (OVERFLOW_EXCEPTION): Define.
32639 (OVERFLOW_EXCEPTION_OK): Likewise.
32640 (INVALID_EXCEPTION_OK): Renumber.
32641 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32642 (IGNORE_ZERO_INF_SIGN): Likewise.
32643 (test_exceptions): Handle FE_OVERFLOW.
32644 (exp10_test): Expect overflow exceptions.
32645 (exp2_test): Likewise.
32646 (expm1_test): Likewise.
32647 (nextafter_test): Likewise.
32648 (pow_test): Likewise.
32649 (scalbn_test): Likewise.
32650 (scalbln_test): Likewise.
32652 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32654 * sysdeps/x86_64/bits/atomic.h
32655 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32657 (atomic_exchange_acq): Likewise.
32658 (__arch_exchange_and_add_body): Likewise.
32659 (__arch_add_body): Likewise.
32660 (atomic_add_negative): Likewise.
32661 (atomic_add_zero): Likewise.
32663 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32665 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32666 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32668 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32670 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32671 Check __x86_64__ instead of __WORDSIZE.
32673 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32675 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32677 2012-03-19 David S. Miller <davem@davemloft.net>
32679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32681 * sysdeps/sparc/fpu/fenv_private.h: New file.
32682 * sysdeps/sparc/fpu/math_private.h: Use it.
32683 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32685 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32686 (libc_feholdexcept_setroundl): Remove.
32687 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32689 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32690 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32692 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32694 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32695 int64_t instead of long int.
32696 (INSERT_WORDS64): Likwise.
32698 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32700 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32701 _Unwind_GetCFA return to _Unwind_Ptr first.
32703 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32706 * math/s_clog.c: Include <float.h>.
32707 (__clog): Scale large or subnormal inputs.
32708 * math/s_clogf.c: Likewise.
32709 * math/s_clogl.c: Likewise.
32710 * math/s_clog10.c: Include <float.h>.
32711 (M_LOG10_2): Define.
32712 (__clog10): Scale large or subnormal inputs.
32713 * math/s_clog10f.c: Likewise.
32714 * math/s_clog10l.c: Likewise.
32715 * math/libm-test.inc (clog_test): Add more tests.
32716 (clog10_test): Likewise.
32717 * sysdeps/i386/fpu/libm-test-ulps: Update.
32718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32721 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32723 * math/libm-test.inc (atan2_test): Add another test.
32725 * Makerules (common-objdir-compile): Remove.
32726 * sysdeps/unix/Makefile (config-generated): Do not add
32727 $(unix-generated) to variable.
32728 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32729 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32731 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32733 [generic bits/local_lim.h] (before-compile): Do not append to
32735 [generic bits/local_lim.h] (common-generated): Likewise.
32736 [generic sys/param.h] (before-compile): Do not append to variable.
32737 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32738 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32739 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32740 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32742 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32743 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32744 [generic sys/param.h] ($(addprefix
32745 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32746 [generic sys/param.h] (common-generated): Do not append to
32748 [generic sys/param.h] (sysdep_headers): Likewise.
32749 [generic bits/errno.h] (before-compile): Do not append to
32751 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32753 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32754 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32755 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32756 [generic bits/errno.h] (common-generated): Do not append to
32758 [generic bits/ioctls.h] (before-compile): Do not append to
32760 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32762 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32763 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32764 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32766 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32767 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32768 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32769 [generic bits/ioctls.h] (common-generated): Do not append to
32771 [generic sys/syscall.h] (syscall.h): Remove variable.
32772 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32774 [generic sys/syscall.h] (before-compile): Do not append to
32776 [generic sys/syscall.h] (common-generated): Likewise.
32777 * sysdeps/unix/errnos-tmpl.c: Remove file.
32778 * sysdeps/unix/errnos.awk: Likewise.
32779 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32780 * sysdeps/unix/ioctls.awk: Likewise.
32781 * sysdeps/unix/mk-local_lim.c: Likewise.
32782 * sysdeps/unix/snarf-ioctls: Likewise.
32784 2012-03-19 Richard Henderson <rth@twiddle.net>
32786 * sysdeps/i386/fpu/fenv_private.h: New file.
32787 * sysdeps/i386/fpu/math_private.h: Use it.
32788 (math_opt_barrier, math_force_eval): Remove.
32789 (libc_feholdexcept_setround_53bit): Remove.
32790 (libc_feupdateenv_53bit): Remove.
32791 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32792 (math_opt_barrier, math_force_eval): Remove.
32793 (libc_feholdexcept): Remove.
32794 (libc_feholdexcept_setround): Remove.
32795 (libc_fetestexcept, libc_fesetenv): Remove.
32796 (libc_feupdateenv_test): Remove.
32797 (libc_feupdateenv, libc_feholdsetround): Remove.
32798 (libc_feresetround): Remove.
32800 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32801 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32803 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32804 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32805 (libc_feupdateenv_testl): New.
32806 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32807 (libc_feupdateenv_testf): New.
32808 (libc_feupdateenv): Use libc_feupdateenv_test.
32809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32810 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32812 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32813 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32814 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32815 (libc_feresetround_noex): New.
32816 (libc_feresetround_noexf): New.
32817 (libc_feresetround_noexl): New.
32818 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32819 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32820 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32821 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32823 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32824 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32826 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32827 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32828 SET_RESTORE_ROUND_NOEX.
32829 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32830 SET_RESTORE_ROUND_NOEXF.
32831 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32832 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32833 (libc_feholdsetroundf): New.
32834 (libc_feresetround, libc_feresetroundf): New.
32836 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32837 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32838 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32840 * sysdeps/generic/math_private.h: Include <fenv.h>.
32841 (default_libc_feholdexcept): New.
32842 (default_libc_feholdexcept_setround): New.
32843 (default_libc_fesetenv, default_libc_feupdateenv): New.
32844 (libc_feholdexcept): Only define if undefined.
32845 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32846 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32847 (libc_feholdexcept_setroundl): Likewise.
32848 (libc_feholdexcept_setround_53bit): Likewise.
32849 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32850 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32851 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32852 (libc_feupdateenv_53bit): Likewise.
32853 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32854 (libc_feholdexcept): Convert from macro to inline function.
32855 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32856 (libc_fesetenv, libc_feupdateenv): Likewise.
32858 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32859 not previously defined.
32860 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32861 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32862 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32863 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32864 * sysdeps/ieee754/flt-32/math_private.h: New file.
32865 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32866 math_private.h below SET_FLOAT_WORD.
32867 (__isnan, __isinf_ns, __finite): Remove.
32868 (__isnanf, __isinf_nsf, __finitef): Remove.
32870 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32874 2012-03-17 David S. Miller <davem@davemloft.net>
32877 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32880 2012-03-16 David S. Miller <davem@davemloft.net>
32882 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32886 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32888 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32889 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32890 sysdep_routines when subdir is sysvipc.
32891 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32892 __getshmlba helper.
32894 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32896 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32898 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32901 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32903 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32904 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32905 (__lround): Renamed to ...
32906 (__llround): This. Replace long int with long long int.
32907 Define lround functions as aliases of llround functions.
32908 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32910 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32912 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32913 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32914 adresses to uintptr_t. Replace "long int" and "unsigned long
32915 int" with "greg_t" on va_arg.
32917 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32919 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32920 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32922 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32923 Move e_machine check before EI_CLASS check. Handle x32
32924 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32925 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32926 SKIP_EM_IA_64 and include
32927 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32929 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32930 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32931 (add_system_dir): New macro.
32933 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32934 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32936 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32947 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32949 * math/w_j0f.c (j0f): Likewise.
32951 * math/w_j0l.c (__j0l): Likewise.
32953 * math/w_j1.c (j1): Likewise.
32955 * math/w_j1f.c (j1f): Likewise.
32957 * math/w_j1l.c (__j1l): Likewise.
32959 * math/w_jn.c (jn): Likewise.
32961 * math/w_jnf.c (jnf): Likewise.
32963 * math/w_jnl.c (__jnl): Likewise.
32965 * math/libm-test.inc (j0_test): Add more tests.
32966 (j1_test): Likewise.
32967 (jn_test): Likewise. Add trailing semicolon to existing test.
32968 (y0_test): Likewise.
32969 (y1_test): Likewise.
32970 * sysdeps/i386/fpu/libm-test-ulps: Update.
32971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32975 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32976 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32977 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32978 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32979 (__tanl): Set errno for infinite argument.
32980 * sysdeps/i386/fpu/mptan.c: Remove.
32981 * sysdeps/i386/fpu/s_tan.S: Likewise.
32982 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32983 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32984 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32985 * math/libm-test.inc (tan_test): Add more tests and enable more
32986 tests for double and long double.
32987 * sysdeps/i386/fpu/libm-test-ulps: Update.
32988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32990 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32992 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32993 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32995 2012-03-16 Roland McGrath <roland@hack.frob.com>
32997 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32998 * configure.in: Use it for both main tree and add-ons.
32999 * configure: Regenerated.
33001 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33003 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33005 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33007 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33011 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33012 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33013 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33014 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33015 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33017 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33018 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33019 != 0 for prec == 2.
33020 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33021 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33022 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33023 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33024 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33025 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33026 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33027 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33028 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33029 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33030 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33031 * math/libm-test.inc (cos_test): Add more tests and enable more
33032 tests for long double.
33033 (sin_test): Likewise.
33034 (sincos_test): Likewise.
33035 * sysdeps/i386/fpu/libm-test-ulps: Update.
33036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33038 2012-03-16 David S. Miller <davem@davemloft.net>
33040 * sysdeps/sparc/fpu/math_private.h: New file.
33042 2012-03-15 David S. Miller <davem@davemloft.net>
33044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33054 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33058 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33059 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33061 * sysdeps/sparc/sparc-ifunc.h: New file.
33062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33086 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33088 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33089 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33091 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33097 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33098 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33099 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33100 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33101 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33102 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33103 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33104 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33105 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33107 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33109 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33113 2012-03-15 Andreas Jaeger <aj@suse.de>
33116 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33117 ieee754/flt-32 implementation for sin, cos and sincos.
33118 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33119 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33120 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33121 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33122 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33123 ieee754/flt-32 implementation for tan.
33125 * math/libm-test.inc (cos_test): Enable some large input tests for
33127 (sin_test): Likewise.
33128 (sincos_test): Likewise.
33129 (tan_test): Add tests for large input.
33131 * sysdeps/i386/fpu/libm-test-ulps: Update.
33133 2012-03-15 Andreas Jaeger <aj@suse.de>
33136 * math/libm-test.inc (cos_test): Add more test cases.
33137 (sin_test): Likewise.
33138 (sincos_test): Likewise.
33140 2012-03-15 Andreas Jaeger <aj@suse.de>
33143 * math/libm-test.inc (cos_test): Add a test case for large input
33145 (sin_test): Likewise.
33146 (sincos_test): Likewise.
33148 2012-03-15 Andreas Jaeger <aj@suse.de>,
33149 Joseph Myers <joseph@codesourcery.com>
33152 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33153 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33154 * sysdeps/i386/fpu/branred.c: Likewise.
33155 * sysdeps/i386/fpu/dosincos.c: Likewise.
33156 * sysdeps/i386/fpu/mpa.c: Likewise.
33157 * sysdeps/i386/fpu/s_cos.S: Likewise.
33158 * sysdeps/i386/fpu/s_sin.S: Likewise.
33159 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33160 * sysdeps/i386/fpu/sincos32.c: Likewise.
33162 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33164 (libc_feupdateenv_53bit): Define.
33165 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33167 (libc_feupdateenv_53bit): Define.
33169 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33170 53 bit (without extend i386 double precision).
33172 * math/libm-test.inc (sincos_test): Add tests for large input.
33176 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33178 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33182 2012-03-15 David S. Miller <davem@davemloft.net>
33184 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33185 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33186 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33187 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33211 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33212 fmin/fmax sysdep routines.
33213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33215 2012-03-14 David S. Miller <davem@davemloft.net>
33217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33219 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33220 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33221 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33222 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33223 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33224 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33228 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33237 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33238 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33239 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33240 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33241 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33242 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33243 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33244 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33289 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33294 * sysdeps/sparc/configure.in: New file.
33295 * sysdeps/sparc/configure: Generate.
33296 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33297 * configure: Regenerate.
33298 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33299 * config.make.in (have-as-vis3): New.
33300 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33301 available use -Av9d instead of -Av9a.
33302 * sysdeps/sparc/sparc64/Makefile: Likewise.
33303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33312 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33313 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33314 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33315 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33316 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33318 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33319 fzeros/fnegs to load 0x80000000 into a float register instead of
33321 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33323 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33327 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33328 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33329 ($(inst_includedir)/bits/syscall.h): Remove rule.
33330 ($(objpfx)bits/syscall.d): Include instead of
33331 $(objpfx)syscall-list.d.
33332 (generated): Change syscall-list.h and syscall-list.d to
33333 bits/syscall.h and bits/syscall.d.
33335 2012-03-14 Roland McGrath <roland@hack.frob.com>
33338 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33340 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33343 * math/s_csqrt.c: Include <float.h>.
33344 (__csqrt): Scale large or subnormal inputs.
33345 * math/s_csqrtf.c: Likewise.
33346 * math/s_csqrtl.c: Likewise.
33347 * math/libm-test.inc (csqrt_test): Add more tests.
33348 * sysdeps/i386/fpu/libm-test-ulps: Update.
33349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33352 * math/libm-test.inc (hypot_test): Add more tests.
33354 2012-03-13 David S. Miller <davem@davemloft.net>
33357 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33358 double-precision for the calculation instead of scaling.
33360 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33362 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33363 manipulate bits before adding and subtracting TWO52[sx].
33364 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33365 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33367 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33369 2012-03-13 David S. Miller <davem@davemloft.net>
33371 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33372 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33373 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33374 rtld-global-offsets.h
33375 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33377 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33380 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33382 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33383 'err' in the ifdef scope in which it is actually used.
33385 * nss/nss_db/db-init.c: Include string.h
33387 2012-03-12 David S. Miller <davem@davemloft.net>
33389 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33390 masking out of the most significant byte of random value used.
33391 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33392 Fix coding style in previous change.
33394 * sysdeps/unix/sysv/linux/kernel-features.h
33395 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33396 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33398 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33401 2012-03-11 David S. Miller <davem@davemloft.net>
33403 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33404 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33405 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33406 for 'resultvar' otherwise things get truncated on 64-bit.
33408 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33409 Fix masking out of the most significant byte of random value used.
33411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33413 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33417 2012-03-09 David S. Miller <davem@davemloft.net>
33419 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33420 variables with appropriate CPP guards.
33421 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33422 frame pointer, not the stack pointer. Correct layout comments. Fix test
33423 on resulting framesize and the management of the outregs buffer for pltexit.
33424 Preserve floating point return values across _dl_call_pltexit call.
33425 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33426 framesize and the management of the outregs buffer for pltexit.
33427 Preserve floating point return values across _dl_call_pltexit
33429 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33430 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33431 (print_exit): Fix format string for return register value.
33433 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33435 * sunrpc/Makefile (others): Add rpcgen.
33436 ($(objpfx)rpcgen): Remove special build rule and dependency on
33438 * sunrpc/rpcgen.c: New file.
33440 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33443 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33444 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33445 * sysdeps/i386/crti.S: Likewise.
33446 * sysdeps/i386/crtn.S: Likewise.
33447 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33448 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33449 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33450 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33451 * sysdeps/sh/crti.S: Likewise.
33452 * sysdeps/sh/crtn.S: Likewise.
33453 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33456 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33458 * locale/programs/locfile-kw.gperf: Likewise.
33459 * locale/programs/charmap-kw.h: Regenerated.
33460 * locale/programs/locfile-kw.h: Likewise.
33463 * intl/plural.y: Replace FSF snail mail address with URL.
33464 * intl/plural.c: Regenerated.
33466 2012-03-09 Richard Henderson <rth@twiddle.net>
33468 * include/math_private.h: Remove file.
33469 * math/math_private.h: Move file ...
33470 * sysdeps/generic/math_private.h: ... here.
33472 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33473 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33474 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33476 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33477 and <math_private.h>.
33478 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33479 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33480 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33481 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33482 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33483 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33484 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33485 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33486 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33487 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33488 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33489 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33490 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33491 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33492 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33493 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33494 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33495 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33496 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33497 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33498 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33499 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33500 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33501 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33502 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33503 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33504 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33505 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33506 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33507 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33508 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33509 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33510 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33511 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33512 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33513 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33514 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33515 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33516 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33517 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33518 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33519 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33520 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33521 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33522 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33523 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33524 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33525 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33526 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33527 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33528 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33529 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33530 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33531 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33532 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33533 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33534 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33535 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33536 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33537 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33538 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33539 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33540 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33541 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33542 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33543 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33544 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33545 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33546 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33547 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33548 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33549 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33550 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33551 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33552 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33553 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33554 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33555 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33556 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33557 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33558 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33559 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33560 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33561 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33562 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33563 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33564 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33565 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33566 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33567 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33568 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33569 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33570 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33571 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33572 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33573 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33574 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33575 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33576 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33577 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33578 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33579 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33580 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33581 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33582 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33583 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33584 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33585 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33586 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33587 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33588 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33589 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33590 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33591 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33592 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33593 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33594 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33595 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33596 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33597 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33598 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33599 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33600 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33601 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33602 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33603 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33604 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33605 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33606 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33607 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33608 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33609 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33610 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33611 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33612 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33613 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33614 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33615 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33616 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33617 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33618 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33619 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33620 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33621 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33622 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33623 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33624 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33625 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33626 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33627 * sysdeps/ieee754/k_standard.c: Likewise.
33628 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33629 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33630 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33631 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33632 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33633 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33634 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33635 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33636 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33637 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33638 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33639 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33640 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33641 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33642 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33643 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33644 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33645 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33646 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33647 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33648 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33649 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33650 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33651 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33652 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33653 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33654 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33655 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33656 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33657 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33658 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33659 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33660 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33661 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33662 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33663 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33664 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33665 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33666 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33667 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33668 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33669 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33670 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33671 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33672 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33673 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33678 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33679 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33680 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33682 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33683 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33684 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33685 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33687 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33689 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33690 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33691 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33692 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33693 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33694 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33695 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33696 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33697 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33698 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33699 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33700 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33701 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33702 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33703 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33704 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33705 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33706 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33707 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33708 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33709 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33710 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33711 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33712 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33713 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33715 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33716 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33717 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33718 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33719 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33720 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33721 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33722 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33723 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33724 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33725 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33726 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33727 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33728 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33729 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33730 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33731 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33732 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33733 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33734 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33735 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33736 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33737 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33738 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33739 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33740 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33741 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33742 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33743 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33744 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33745 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33746 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33747 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33748 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33749 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33750 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33752 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33753 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33754 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33755 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33756 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33757 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33758 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33759 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33760 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33761 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33762 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33763 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33764 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33765 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33766 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33767 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33768 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33773 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33775 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33776 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33777 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33778 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33779 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33780 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33781 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33782 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33783 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33784 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33785 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33786 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33787 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33788 * sysdeps/ieee754/s_lib_version.c: Likewise.
33789 * sysdeps/ieee754/s_matherr.c: Likewise.
33790 * sysdeps/ieee754/s_signgam.c: Likewise.
33791 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33792 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33793 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33794 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33795 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33796 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33797 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33798 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33799 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33800 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33801 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33802 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33803 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33804 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33805 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33806 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33807 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33808 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33809 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33810 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33811 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33813 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33815 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33816 * sunrpc/rpc_main.c: Likewise.
33817 * sunrpc/rpc_svcout.c: Likewise.
33819 2012-03-09 David S. Miller <davem@davemloft.net>
33821 * include/math_private.h: New file.
33823 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33825 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33826 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33827 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33828 from <bits/socket_type.h>.
33829 (enum __socket_type): Don't define here.
33830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33832 bits/socket_type.h.
33835 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33836 checking __USE_GNU.
33838 * Makerules ($(inst_includedir)/%.h): New rule.
33839 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33840 (install-others): Remove variable setting.
33841 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33843 2012-03-08 Richard Henderson <rth@twiddle.net>
33845 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33846 from macro to inline function; merge with the
33847 !__LIBC_INTERNAL_MATH_INLINES version.
33848 (__ieee754_sqrtf): Likewise.
33850 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33851 to inline function.
33852 (__rintf, __floor, __floorf): Likewise.
33854 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33855 macro to inline function.
33856 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33858 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33859 not <math/math_private.h>.
33861 2012-03-08 David S. Miller <davem@davemloft.net>
33863 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33865 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33867 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33869 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33871 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33872 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33874 2012-03-08 Ulrich Drepper <drepper@gmail.com>
33876 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33877 be defined individually, they must be defined as a block. Define
33878 S for printing a string instead of hidint the different by using a
33879 macro for adding the 'l'.
33880 * stdio-common/tst-fphex-wide.c: Adjust.
33882 2012-03-07 Marek Polacek <polacek@redhat.com>
33884 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33886 2012-03-08 Marek Polacek <polacek@redhat.com>
33889 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33890 * stdio-common/tst-fphex.c: Define a few macros to make the
33891 test reusable. Use them.
33892 * stdio-common/tst-fphex-wide.c: New file.
33894 2012-03-08 Joseph Myers <joseph@codesourcery.com>
33897 * manual/macros.texi (gnusystems): New macro.
33898 (nongnusystems): Likewise.
33899 (gnulinuxhurdsystems): Likewise.
33900 (gnuhurdsystems): Likewise..
33901 (gnulinuxsystems): Likewise.
33902 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33903 variants of the GNU system, not "GNU system".
33904 * manual/conf.texi: Likewise.
33905 * manual/errno.texi: Likewise. Update example of errno macro
33907 * manual/filesys.texi: Likewise.
33908 (getumask): Document as specific to GNU/Hurd.
33909 * manual/install.texi: Likewise. Reword some references to
33911 * manual/intro.texi: Likewise.
33912 * manual/io.texi: Likewise.
33913 (File Name Portability): Detail which constraints are inapplicable
33914 to all GNU systems and which are only inapplicable to GNU/Hurd.
33915 * manual/job.texi: Likewise.
33916 * manual/llio.texi: Likewise.
33917 (O_NOCTTY): Document as present on GNU/Linux.
33918 * manual/maint.texi: Likewise.
33919 * manual/memory.texi: Likewise.
33920 * manual/pattern.texi: Likewise.
33921 * manual/pipe.texi: Likewise.
33922 * manual/process.texi: Likewise.
33923 * manual/resource.texi: Likewise.
33924 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33926 * manual/setjmp.texi: Likewise.
33927 * manual/signal.texi: Likewise.
33928 * manual/startup.texi: Likewise.
33929 * manual/stdio.texi: Likewise.
33930 * manual/terminal.texi: Likewise.
33931 (ONLCR): Document as POSIX.
33932 (OXTABS): Document availability on GNU/Linux as XTABS.
33933 (ONOEOT): Document availability separately from other bits.
33934 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33935 * manual/time.texi: Likewise.
33936 * manual/users.texi: Likewise.
33937 * INSTALL: Regenerated.
33938 * sysdeps/gnu/errlist.c: Regenerated.
33940 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33941 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33942 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33944 * configure: Regenerated.
33946 2012-03-07 Joseph Myers <joseph@codesourcery.com>
33948 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33949 default includes instead of AC_HEADER_CHECK.
33950 * sysdeps/i386/configure: Regenerated.
33953 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33954 * math/s_cacoshf.c (__cacoshf): Likewise.
33955 * math/s_cacoshl.c (__cacoshl): Likewise.
33956 * math/s_casinh.c (__casinh): Set signs of result from argument.
33957 * math/s_casinhf.c (__casinhf): Likewise.
33958 * math/s_casinhl.c (__casinhl): Likewise.
33959 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33960 (casinh_test): Add more tests.
33961 * sysdeps/i386/fpu/libm-test-ulps: Update.
33962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33964 2012-03-07 Ulrich Drepper <drepper@gmail.com>
33966 * po/zh_TW.po: Update from translation team.
33968 * login/Makefile (distribute): Remove variable.
33969 * catgets/Makefile: Likewise.
33970 * mach/Makefile: Likewise.
33971 * malloc/Makefile: Likewise.
33972 * misc/Makefile: Likewise.
33973 * iconv/Makefile: Likewise.
33974 * nscd/Makefile: Likewise.
33975 * hurd/Makefile: Likewise.
33976 * manual/Makefile: Likewise.
33977 * locale/Makefile: Likewise.
33978 * intl/Makefile: Likewise.
33979 * conform/Makefile: Likewise.
33980 * nss/Makefile: Likewise.
33981 * time/Makefile: Likewise.
33982 * soft-fp/Makefile: Likewise.
33983 * dirent/Makefile: Likewise.
33984 * gmon/Makefile: Likewise.
33985 * po/Makefile: Likewise.
33986 * rt/Makefile: Likewise.
33987 * socket/Makefile: Likewise.
33988 * math/Makefile: Likewise.
33989 * signal/Makefile: Likewise.
33990 * debug/Makefile: Likewise.
33991 * elf/Makefile: Likewise.
33992 * timezone/Makefile: Likewise.
33993 * stdlib/Makefile: Likewise.
33994 * iconvdata/Makefile: Likewise.
33995 * sunrpc/Makefile: Likewise.
33996 * io/Makefile: Likewise.
33997 * argp/Makefile: Likewise.
33998 * inet/Makefile: Likewise.
33999 * hesiod/Makefile: Likewise.
34000 * grp/Makefile: Likewise.
34001 * csu/Makefile: Likewise.
34002 * wctype/Makefile: Likewise.
34003 * crypt/Makefile: Likewise.
34004 * libio/Makefile: Likewise.
34005 * string/Makefile: Likewise.
34006 * nis/Makefile: Likewise.
34007 * resolv/Makefile: Likewise.
34008 * stdio-common/Makefile: Likewise.
34009 * wcsmbs/Makefile: Likewise.
34010 * dlfcn/Makefile: Likewise.
34011 * posix/Makefile: Likewise.
34014 * timezone/Makefile: Don't install timezone files, just the programs
34017 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34019 * nss/databases.def: Add missing gshadow entry.
34021 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34023 2012-03-06 Marek Polacek <polacek@redhat.com>
34026 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34027 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34028 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34029 * stdio-common/tst-long-dbl-fphex.c: New file.
34031 2012-03-06 David S. Miller <davem@davemloft.net>
34033 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34034 (set_obp_int): New function.
34035 (get_obp_int): New function.
34036 (__get_clockfreq_via_dev_openprom): Likewise.
34037 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34038 Avoid unused variable warnings on 'val' and use builtin_expect.
34039 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34041 (INLINE_CLONE_SYSCALL): Likewise.
34043 2012-03-05 David S. Miller <davem@davemloft.net>
34045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34047 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34051 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34052 only for |x| >= 40.
34053 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34055 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34057 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34058 Replace gettimeofday with __vdso_gettimeofday.
34060 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34061 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34062 __vdso_clock_gettime and __vdso_getcpu.
34064 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34065 time with __vdso_time.
34067 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34069 * manual/lang.texi (size_t): Note types to which size_t may be
34070 equivalent with the GNU C Library, but do not describe when
34071 differences between them are significant.
34073 2012-03-05 Andreas Jaeger <aj@suse.de>
34075 * sysdeps/i386/fpu/libm-test-ulps: Update.
34077 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34080 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34081 (__ieee754_pow): Save and restore rounding mode and use
34082 round-to-nearest for main computations.
34083 * math/libm-test.inc (pow_test_tonearest): New function.
34084 (pow_test_towardzero): Likewise.
34085 (pow_test_downward): Likewise.
34086 (pow_test_upward): Likewise.
34087 (main): Call the new functions.
34088 * sysdeps/i386/fpu/libm-test-ulps: Update.
34089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34092 * math/libm-test.inc (cosh_test_tonearest): New function.
34093 (cosh_test_towardzero): Likewise.
34094 (cosh_test_downward): Likewise.
34095 (cosh_test_upward): Likewise.
34096 (sinh_test_tonearest): Likewise.
34097 (sinh_test_towardzero): Likewise.
34098 (sinh_test_downward): Likewise.
34099 (sinh_test_upward): Likewise.
34100 (main): Call the new functions.
34101 * sysdeps/i386/fpu/libm-test-ulps: Update.
34102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34104 2012-03-05 Tom de Vries <tom@codesourcery.com>
34106 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34107 default stack guard is set in last bytes.
34108 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34110 2012-03-05 Kees Cook <keescook@chromium.org>
34112 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34115 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34116 possibly allocate from heap instead of stack.
34117 * stdio-common/bug-vfprintf-nargs.c: New file.
34118 * stdio-common/Makefile (tests): Add nargs overflow test.
34120 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34124 2012-03-03 Marek Polacek <polacek@redhat.com>
34126 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34127 * math/math_private.h: Likewise.
34128 * stdlib/tst-strtod.c: Likewise.
34129 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34130 * sysdeps/x86_64/bits/atomic.h: Likewise.
34132 2012-03-02 David S. Miller <davem@davemloft.net>
34134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34138 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34139 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34140 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34141 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34143 2012-03-02 Roland McGrath <roland@hack.frob.com>
34146 * manual/examples/README: New file, says the example source files
34147 can be used under GPL>=2.
34148 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34149 line containing just "*/".
34150 * manual/examples/add.c: Add copyright header (GPL>=2).
34151 * manual/examples/argp-ex1.c: Likewise.
34152 * manual/examples/argp-ex2.c: Likewise.
34153 * manual/examples/argp-ex3.c: Likewise.
34154 * manual/examples/argp-ex4.c: Likewise.
34155 * manual/examples/atexit.c: Likewise.
34156 * manual/examples/db.c: Likewise.
34157 * manual/examples/dir.c: Likewise.
34158 * manual/examples/dir2.c: Likewise.
34159 * manual/examples/execinfo.c: Likewise.
34160 * manual/examples/filecli.c: Likewise.
34161 * manual/examples/filesrv.c: Likewise.
34162 * manual/examples/fmtmsgexpl.c: Likewise.
34163 * manual/examples/genpass.c: Likewise.
34164 * manual/examples/inetcli.c: Likewise.
34165 * manual/examples/inetsrv.c: Likewise.
34166 * manual/examples/isockad.c: Likewise.
34167 * manual/examples/longopt.c: Likewise.
34168 * manual/examples/memopen.c: Likewise.
34169 * manual/examples/memstrm.c: Likewise.
34170 * manual/examples/mkfsock.c: Likewise.
34171 * manual/examples/mkisock.c: Likewise.
34172 * manual/examples/mygetpass.c: Likewise.
34173 * manual/examples/pipe.c: Likewise.
34174 * manual/examples/popen.c: Likewise.
34175 * manual/examples/rprintf.c: Likewise.
34176 * manual/examples/search.c: Likewise.
34177 * manual/examples/select.c: Likewise.
34178 * manual/examples/setjmp.c: Likewise.
34179 * manual/examples/sigh1.c: Likewise.
34180 * manual/examples/sigusr.c: Likewise.
34181 * manual/examples/stpcpy.c: Likewise.
34182 * manual/examples/strdupa.c: Likewise.
34183 * manual/examples/strftim.c: Likewise.
34184 * manual/examples/strncat.c: Likewise.
34185 * manual/examples/subopt.c: Likewise.
34186 * manual/examples/swapcontext.c: Likewise.
34187 * manual/examples/termios.c: Likewise.
34188 * manual/examples/testopt.c: Likewise.
34189 * manual/examples/testpass.c: Likewise.
34190 * manual/examples/timeval_subtract.c: Likewise.
34193 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34195 * manual/timeval_subtract.c.texi: ... here, new file.
34197 2012-03-02 David S. Miller <davem@davemloft.net>
34199 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34201 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34204 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34205 (__sin): Save and restore rounding mode and use round-to-nearest
34206 for all computations.
34207 (__cos): Save and restore rounding mode and use round-to-nearest
34208 for all computations.
34209 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34211 (tan): Save and restore rounding mode and use round-to-nearest for
34213 * math/libm-test.inc (cos_test_tonearest): New function.
34214 (cos_test_towardzero): Likewise.
34215 (cos_test_downward): Likewise.
34216 (cos_test_upward): Likewise.
34217 (sin_test_tonearest): Likewise.
34218 (sin_test_towardzero): Likewise.
34219 (sin_test_downward): Likewise.
34220 (sin_test_upward): Likewise.
34221 (tan_test_tonearest): Likewise.
34222 (tan_test_towardzero): Likewise.
34223 (tan_test_downward): Likewise.
34224 (tan_test_upward): Likewise.
34225 (main): Call the new functions.
34226 * sysdeps/i386/fpu/libm-test-ulps: Update.
34227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34230 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34231 small n, then large n, before computing and testing k+n.
34232 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34233 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34235 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34237 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34238 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34239 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34240 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34241 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34242 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34243 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34244 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34245 * math/libm-test.inc (scalbn_test): Add more tests.
34246 (scalbln_test): Likewise.
34248 * manual/filesys.texi (mode_t): Describe constraints on size and
34249 signedness, not exact equivalence to a particular type.
34251 (ino64_t): Likewise.
34253 (nlink_t): Likewise.
34254 (blkcnt_t): Likewise.
34255 (blkcnt64_t): Likewise.
34256 * manual/llio.texi (off_t): Likewise.
34259 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34260 (__ieee754_exp): Save and restore rounding mode and use
34261 round-to-nearest for all computations.
34262 * math/libm-test.inc (exp_test_tonearest): New function.
34263 (exp_test_towardzero): Likewise.
34264 (exp_test_downward): Likewise.
34265 (exp_test_upward): Likewise.
34266 (main): Call the new functions.
34267 * sysdeps/i386/fpu/libm-test-ulps: Update.
34268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34270 2012-03-01 Chris Demetriou <cgd@google.com>
34272 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34273 have predictable order.
34275 2012-03-01 David S. Miller <davem@davemloft.net>
34277 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34279 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34280 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34281 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34282 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34284 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34285 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34286 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34288 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34289 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34290 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34291 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34292 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34296 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34297 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34298 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34300 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34301 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34302 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34303 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34304 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34305 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34306 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34307 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34308 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34309 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34310 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34311 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34312 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34313 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34314 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34315 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34316 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34317 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34318 * sysdeps/sparc/elf/configure: Regenerated.
34320 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34322 * configure.in (AS, LD): Require binutils 2.20 or later.
34323 * configure: Regenerated.
34324 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34325 as required minimum version.
34326 * INSTALL: Regenerated.
34330 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34331 before squaring exponent.
34332 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34333 bottom long double and 27 bits of top long double before squaring
34335 * math/libm-test.inc (erfc_test): Add more tests.
34336 * sysdeps/i386/fpu/libm-test-ulps: Update.
34337 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34340 2012-03-01 Kai Tietz <ktietz@redhat.com>
34342 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34343 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34344 containing bit-fields.
34345 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34346 * soft-fp/single.h (_FP_UNION_S): Likewise.
34347 * soft-fp/double.h (_FP_UNION_D): Likewise.
34349 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34352 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34353 not include ../strcmp.S.
34354 [USE_AS_STRNCASECMP_L]: Likewise.
34355 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34356 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34357 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34358 (__strncasecmp_l_ia32): Define as alias to
34359 __strncasecmp_l_nonascii.
34362 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34363 * sysdeps/i386/fpu/libm-test-ulps: Update.
34364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34366 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34369 2012-02-29 Jeff Law <law@redhat.com>
34371 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34372 out of bounds read.
34374 2012-02-29 Marek Polacek <polacek@redhat.com>
34377 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34378 * elf/Makefile: Add rules to run tst-unused-dep.out.
34380 2012-02-28 David S. Miller <davem@davemloft.net>
34382 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34383 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34384 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34385 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34386 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34387 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34389 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34391 * math/libm-test.inc (llround_test): Move one test from
34392 lround_test. Use TEST_f_L in moved test.
34393 (lround_test): Move misplaced test to llround_test. Add testcase
34396 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34398 * sysdeps/x86_64/fpu/e_expf.S: New file.
34399 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34401 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34404 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34405 of remain_len that may cause incomplete multi-byte character and
34407 * posix/bug-regex33.c: New file.
34408 * posix/Makefile (tests): Add bug-regex33.
34410 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34412 * manual/macros.texi: New file.
34413 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34414 * manual/libc.texinfo: Include macros.texi.
34415 * manual/creatute.texi: Likewise.
34416 * manual/install.texi: Likewise.
34417 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34418 @glibcadj{} in references to the GNU C Library.
34419 * manual/charset.texi: Likewise.
34420 * manual/conf.texi: Likewise.
34421 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34422 when not using those macros.
34423 * manual/creature.texi: Likewise.
34424 * manual/crypt.texi: Likewise.
34425 * manual/errno.texi: Likewise.
34426 * manual/filesys.texi: Likewise.
34427 * manual/header.texi: Likewise.
34428 * manual/install.texi: Likewise.
34429 * manual/intro.texi: Likewise.
34430 * manual/io.texi: Likewise.
34431 * manual/job.texi: Likewise.
34432 * manual/lang.texi: Likewise.
34433 * manual/libc.texiinfo: Likewise.
34434 * manual/llio.texi: Likewise.
34435 * manual/locale.texi: Likewise.
34436 * manual/maint.texi: Likewise.
34437 * manual/math.texi: Likewise.
34438 * manual/memory.texi: Likewise.
34439 * manual/message.texi: Likewise.
34440 * manual/nss.texi: Likewise.
34441 * manual/pattern.texi: Likewise.
34442 * manual/process.texi: Likewise.
34443 * manual/resource.texi: Likewise.
34444 * manual/search.texi: Likewise.
34445 * manual/setjmp.texi: Likewise.
34446 * manual/signal.texi: Likewise.
34447 * manual/socket.texi: Likewise.
34448 * manual/startup.texi: Likewise.
34449 * manual/stdio.texi: Likewise.
34450 * manual/string.texi: Likewise.
34451 * manual/sysinfo.texi: Likewise.
34452 * manual/syslog.texi: Likewise.
34453 * manual/terminal.texi: Likewise.
34454 * manual/time.texi: Likewise.
34455 * manual/users.texi: Likewise.
34456 * INSTALL: Regenerated.
34457 * NOTES: Regenerated.
34458 * sysdeps/gnu/errlist.c: Regenerated.
34460 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34462 * include/dirent.h: Include <dirstream.h> before
34465 2012-02-28 David S. Miller <davem@davemloft.net>
34467 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34468 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34469 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34470 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34472 2012-02-27 David S. Miller <davem@davemloft.net>
34474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34476 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34477 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34480 frame pointer instead of stack pointer relative arg slot.
34481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34482 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34483 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34485 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34488 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34490 2012-02-27 David S. Miller <davem@davemloft.net>
34492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34496 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34497 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34498 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34499 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34501 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34503 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34504 later. Allow versions 5-9.
34505 * configure: Regenerated.
34506 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34507 required minimum version and 4.6 as recommended version. Do not
34508 mention bugs in GCC 2.7 and 2.8.
34509 * INSTALL: Regenerated.
34511 2012-02-27 David S. Miller <davem@davemloft.net>
34513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34517 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34518 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34519 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34520 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34522 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34523 manipulate bits before adding and subtracting TWO112[sx].
34524 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34526 2012-02-27 Roland McGrath <roland@hack.frob.com>
34529 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34530 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34531 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34532 being in POSIX, because they are in 1003.1-2008.
34534 * rt/tst-aio.c: Include <fcntl.h>.
34535 * rt/tst-aio7.c: Likewise.
34536 * rt/tst-aio64.c: Likewise.
34538 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34540 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34542 * manual/install.texi (--with-headers): Describe headers as
34543 interface headers, not private headers.
34544 (Specific advice for GNU/Linux systems): Describe use of headers
34545 from "make headers_install", not private headers from older
34547 * INSTALL: Regenerated.
34548 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34550 * sysdeps/unix/sysv/linux/configure: Regenerated.
34552 * manual/llio.texi (fclean): Remove documentation.
34554 * manual/Makefile (libc-texi-generated): New variable. Include
34556 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34557 $(libc-texi-generated), not duplicated list of files.
34558 (version.texi, stamp-version): New rules.
34559 (realclean): Remove $(libc-texi-generated), not individual files
34560 from that list. Do not remove dir-add.texinfo.
34561 * manual/libc.texinfo: Comment out uses of edition numbers and
34562 references to printed manual. Remove last-updated dates.
34563 (EDITION): Comment out.
34565 (VERSION, UPDATED): Remove.
34566 (version.texi): Include.
34568 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34570 * sysdeps/posix/spawni.c: Include <signal.h>.
34571 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34572 * sysdeps/pthread/aio_fsync.c: Likewise.
34574 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34576 * conform/Makefile (tests): Run only when not cross-compiling and
34577 when fast-check is not defined.
34579 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34580 * conform/data/limits.h-data: Fixes for POSIX2008.
34581 * conform/run-conformtest.sh: Run all tests.
34582 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34584 * include/bits/dlfcn.h: Likewise.
34585 * include/langinfo.h: Likewise.
34586 * include/monetary.h: Likewise.
34587 * include/sys/poll.h: Likewise.
34589 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34591 * posix/spawn.h: Define __need_sigset_t.
34592 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34593 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34594 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34595 to get sigevent_t only.
34596 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34597 only for __USE_GNU.
34598 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34599 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34600 process_vm_writev only for __USE_GNU.
34601 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34603 * conform/Makefile: For now ignore errors from run-conformtest.
34604 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34605 POSIX to avoid namespace pollution. Don't prepend headers.
34606 * conform/data/aio.h-data: Fixes for POSIX testing.
34607 * conform/data/fcntl.h-data: Likewise.
34608 * conform/data/glob.h-data: Likewise.
34609 * conform/data/grp.h-data: Likewise.
34610 * conform/data/pthread.h-data: Likewise.
34611 * conform/data/pwd.h-data: Likewise.
34612 * conform/data/signal.h-data: Likewise.
34613 * conform/data/spawn.h-data: Likewise.
34614 * conform/data/stdio.h-data: Likewise.
34615 * conform/data/stdlib.h-data: Likewise.
34616 * conform/data/stropts.h-data: Likewise.
34617 * conform/data/sys/mman.h-data: Likewise.
34618 * conform/data/sys/stat.h-data: Likewise.
34619 * conform/data/sys/types.h-data: Likewise.
34620 * conform/data/sys/wait.h-data: Likewise.
34621 * conform/data/time.h-data: Likewise.
34622 * conform/data/unistd.h-data: Likewise.
34623 * conform/data/utime.h-data: Likewise.
34625 * io/sys/stat.h: fchmod was always in POSIX.
34626 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34627 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34628 * rt/aio.h: Define __need_timespec before including <time.h>.
34629 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34630 struct. Add forward declaration of pthread_attr_t and use it in
34632 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34633 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34634 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34635 always remove CLK_TCK definition.
34637 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34639 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34641 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34643 * conform/run-conformtest.sh: New file.
34644 * conform/Makefile: Run run-conformtest for tests.
34645 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34648 * conform/data/uchar.h-data: New file.
34649 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34650 * conform/data/arpa/inet.h-data: Likewise.
34651 * conform/data/assert.h-data: Likewise.
34652 * conform/data/complex.h-data: Likewise.
34653 * conform/data/cpio.h-data: Likewise.
34654 * conform/data/ctype.h-data: Likewise.
34655 * conform/data/dirent.h-data: Likewise.
34656 * conform/data/dlfcn.h-data: Likewise.
34657 * conform/data/errno.h-data: Likewise.
34658 * conform/data/fcntl.h-data: Likewise.
34659 * conform/data/float.h-data: Likewise.
34660 * conform/data/fmtmsg.h-data: Likewise.
34661 * conform/data/fnmatch.h-data: Likewise.
34662 * conform/data/ftw.h-data: Likewise.
34663 * conform/data/glob.h-data: Likewise.
34664 * conform/data/grp.h-data: Likewise.
34665 * conform/data/iconv.h-data: Likewise.
34666 * conform/data/inttypes.h-data: Likewise.
34667 * conform/data/langinfo.h-data: Likewise.
34668 * conform/data/libgen.h-data: Likewise.
34669 * conform/data/limits.h-data: Likewise.
34670 * conform/data/locale.h-data: Likewise.
34671 * conform/data/math.h-data: Likewise.
34672 * conform/data/monetary.h-data: Likewise.
34673 * conform/data/mqueue.h-data: Likewise.
34674 * conform/data/ndbm.h-data: Likewise.
34675 * conform/data/net/if.h-data: Likewise.
34676 * conform/data/netdb.h-data: Likewise.
34677 * conform/data/netinet/in.h-data: Likewise.
34678 * conform/data/nl_types.h-data: Likewise.
34679 * conform/data/poll.h-data: Likewise.
34680 * conform/data/pthread.h-data: Likewise.
34681 * conform/data/pwd.h-data: Likewise.
34682 * conform/data/regex.h-data: Likewise.
34683 * conform/data/sched.h-data: Likewise.
34684 * conform/data/search.h-data: Likewise.
34685 * conform/data/semaphore.h-data: Likewise.
34686 * conform/data/setjmp.h-data: Likewise.
34687 * conform/data/signal.h-data: Likewise.
34688 * conform/data/spawn.h-data: Likewise.
34689 * conform/data/stdarg.h-data: Likewise.
34690 * conform/data/stdio.h-data: Likewise.
34691 * conform/data/stdlib.h-data: Likewise.
34692 * conform/data/string.h-data: Likewise.
34693 * conform/data/strings.h-data: Likewise.
34694 * conform/data/stropts.h-data: Likewise.
34695 * conform/data/sys/ipc.h-data: Likewise.
34696 * conform/data/sys/mman.h-data: Likewise.
34697 * conform/data/sys/msg.h-data: Likewise.
34698 * conform/data/sys/resource.h-data: Likewise.
34699 * conform/data/sys/select.h-data: Likewise.
34700 * conform/data/sys/sem.h-data: Likewise.
34701 * conform/data/sys/shm.h-data: Likewise.
34702 * conform/data/sys/socket.h-data: Likewise.
34703 * conform/data/sys/stat.h-data: Likewise.
34704 * conform/data/sys/statvfs.h-data: Likewise.
34705 * conform/data/sys/time.h-data: Likewise.
34706 * conform/data/sys/timeb.h-data: Likewise.
34707 * conform/data/sys/times.h-data: Likewise.
34708 * conform/data/sys/types.h-data: Likewise.
34709 * conform/data/sys/uio.h-data: Likewise.
34710 * conform/data/sys/un.h-data: Likewise.
34711 * conform/data/sys/utsname.h-data: Likewise.
34712 * conform/data/sys/wait.h-data: Likewise.
34713 * conform/data/syslog.h-data: Likewise.
34714 * conform/data/tar.h-data: Likewise.
34715 * conform/data/termios.h-data: Likewise.
34716 * conform/data/utime.h-data: Likewise.
34717 * conform/data/utmpx.h-data: Likewise.
34718 * conform/data/varargs.h-data: Likewise.
34719 * conform/data/wchar.h-data: Likewise.
34720 * conform/data/wctype.h-data: Likewise.
34721 * conform/data/wordexp.h-data: Likewise.
34723 * include/stropts.h: New file.
34724 * include/uchar.h: New file.
34725 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34726 * include/assert.h: Likewise.
34727 * include/ctype.h: Likewise.
34728 * include/dirent.h: Likewise.
34729 * include/dlfcn.h: Likewise.
34730 * include/fcntl.h: Likewise.
34731 * include/fnmatch.h: Likewise.
34732 * include/glob.h: Likewise.
34733 * include/grp.h: Likewise.
34734 * include/libio.h: Likewise.
34735 * include/locale.h: Likewise.
34736 * include/math.h: Likewise.
34737 * include/net/if.h: Likewise.
34738 * include/netdb.h: Likewise.
34739 * include/netinet/in.h: Likewise.
34740 * include/pthread.h: Likewise.
34741 * include/pwd.h: Likewise.
34742 * include/regex.h: Likewise.
34743 * include/sched.h: Likewise.
34744 * include/search.h: Likewise.
34745 * include/setjmp.h: Likewise.
34746 * include/signal.h: Likewise.
34747 * include/stdio.h: Likewise.
34748 * include/stdlib.h: Likewise.
34749 * include/string.h: Likewise.
34750 * include/sys/cdefs.h: Likewise.
34751 * include/sys/mman.h: Likewise.
34752 * include/sys/msg.h: Likewise.
34753 * include/sys/resource.h: Likewise.
34754 * include/sys/select.h: Likewise.
34755 * include/sys/socket.h: Likewise.
34756 * include/sys/stat.h: Likewise.
34757 * include/sys/statvfs.h: Likewise.
34758 * include/sys/time.h: Likewise.
34759 * include/sys/times.h: Likewise.
34760 * include/sys/uio.h: Likewise.
34761 * include/sys/utsname.h: Likewise.
34762 * include/sys/wait.h: Likewise.
34763 * include/termios.h: Likewise.
34764 * include/time.h: Likewise.
34765 * include/ulimit.h: Likewise.
34766 * include/unistd.h: Likewise.
34767 * include/utime.h: Likewise.
34768 * include/wchar.h: Likewise.
34769 * include/wctype.h: Likewise.
34770 * include/wordexp.h: Likewise.
34772 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34774 * time/time.h: TIME_UTC must be a macro.
34775 Make timespec_get available for ISO C11 only as well.
34777 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34779 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34780 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34782 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34784 * configure.in: Use -o not -a in test for unsupported multi-arch.
34786 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34788 * manual/texinfo.tex: Update to version 2012-01-19.16.
34790 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34792 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34794 2012-02-24 Roland McGrath <roland@hack.frob.com>
34797 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34798 * manual/fdl-1.3.texi: New file.
34799 * manual/fdl-1.1.texi: File removed.
34802 * manual/libc.texinfo (FDL_VERSION): New @set.
34803 Use it for mention of FDL in cover text.
34804 (Documentation License): Use it in @include file name.
34806 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34807 Roland McGrath <roland@hack.frob.com>
34810 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34811 not LONG_LONG_MAX and LONG_LONG_MIN.
34812 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34813 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34815 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34817 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34821 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34822 manipulate bits before adding and subtracting TWO23[sx].
34823 * math/libm-test.inc (nearbyint_test): Add more tests.
34825 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34828 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34829 bits before adding and subtracting TWO23[sx].
34830 * math/libm-test.inc (rint_test): Add more tests.
34831 (rint_test_tonearest): Likewise.
34832 (rint_test_towardzero): Likewise.
34833 (rint_test_downward): Likewise.
34834 (rint_test_upward: Likewise.
34836 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34839 * include/stdc-predef.h: New file. Extracted from features.h.
34840 * include/features.h: Include stdc-predef.h.
34841 * Makefile (headers): Add stdc-predef.h.
34842 * CONFORMANCE (Compiler limitations): Update.
34844 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34846 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34848 2012-02-21 David S. Miller <davem@davemloft.net>
34850 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34851 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34853 2012-02-20 David S. Miller <davem@davemloft.net>
34855 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34856 using a normal save/restore sequence, rather than allocating a
34857 dummy stack frame just to store a frame pointer and restore.
34858 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34860 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34862 * manual/install.texi: Fix stray word in line-wrapped comment.
34864 2012-02-20 David S. Miller <davem@davemloft.net>
34866 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34867 both binutils and gcc support GOTDATA.
34869 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34870 "rd %pc" in the PIC register setup sequences.
34872 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34873 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34874 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34875 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34876 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34877 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34878 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34879 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34880 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34881 (SYSCALL_ERROR_HANDLER): Likewise.
34882 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34883 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34884 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34885 (SYSCALL_ERROR_HANDLER): Likewise.
34887 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34888 (HAVE_GCC_GOTDATA): New.
34889 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34890 relocation support in both binutils and gcc.
34891 * sysdeps/sparc/elf/configure: Regenerate.
34893 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34894 * sysdeps/sparc/sparc32/elf/configure: Delete.
34895 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34896 * sysdeps/sparc/sparc64/elf/configure: Delete.
34897 * sysdeps/sparc/elf/configure.in: New file.
34898 * sysdeps/sparc/elf/configure: Generate.
34900 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34901 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34902 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34903 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34904 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34906 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34908 * manual/install.texi: Do not mention specific glibc version
34910 * manual/libc.texinfo (VERSION, UPDATED): Update.
34911 (@copying): Use @copyright{} and range of years.
34913 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34916 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34917 [crti.S not in sysdirs] (generated): Do not append.
34918 [crti.S not in sysdirs] (omit-deps): Likewise.
34919 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34920 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34921 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34922 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34923 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34925 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34926 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34927 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34928 * csu/defs.awk: Remove file.
34929 * sysdeps/generic/initfini.c: Likewise.
34930 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34932 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34935 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34937 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34938 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34939 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34940 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34941 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34942 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34944 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34945 (__EPOLL_PACKED): Define to empty if not defined by
34947 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34951 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34953 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34954 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34955 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34956 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34958 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34962 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34964 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34966 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34967 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34968 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34971 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34973 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34974 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34976 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34978 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34979 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34981 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34983 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34986 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34988 * math/w_acos.c: Use non-signaling floating-point comparisons.
34989 * math/w_acosf.c: Likewise.
34990 * math/w_acosh.c: Likewise.
34991 * math/w_acoshf.c: Likewise.
34992 * math/w_acoshl.c: Likewise.
34993 * math/w_acosl.c: Likewise.
34994 * math/w_asin.c: Likewise.
34995 * math/w_asinf.c: Likewise.
34996 * math/w_asinl.c: Likewise.
34997 * math/w_atanh.c: Likewise.
34998 * math/w_atanhf.c: Likewise.
34999 * math/w_atanhl.c: Likewise.
35000 * math/w_exp2.c: Likewise.
35001 * math/w_exp2f.c: Likewise.
35002 * math/w_exp2l.c: Likewise.
35003 * math/w_j0.c: Likewise.
35004 * math/w_j0f.c: Likewise.
35005 * math/w_j0l.c: Likewise.
35006 * math/w_j1.c: Likewise.
35007 * math/w_j1f.c: Likewise.
35008 * math/w_j1l.c: Likewise.
35009 * math/w_jn.c: Likewise.
35010 * math/w_jnf.c: Likewise.
35011 * math/w_log.c: Likewise.
35012 * math/w_log10.c: Likewise.
35013 * math/w_log10f.c: Likewise.
35014 * math/w_log10l.c: Likewise.
35015 * math/w_log2.c: Likewise.
35016 * math/w_log2f.c: Likewise.
35017 * math/w_log2l.c: Likewise.
35018 * math/w_logf.c: Likewise.
35019 * math/w_logl.c: Likewise.
35020 * math/w_sqrt.c: Likewise.
35021 * math/w_sqrtf.c: Likewise.
35022 * math/w_sqrtl.c: Likewise.
35023 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35024 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35025 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35026 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35027 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35029 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35032 * manual/string.texi (strnlen): Use correct parameter name in
35033 equivalent expression.
35035 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35038 * manual/users.texi (seteuid): Consistently use neweuid for
35041 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35044 * manual/nss.texi (Services in the NSS configuration): Correct
35045 list of services in example configuration file.
35047 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35050 * manual/arith.texi: Remove statements about negative zero
35051 behaving identically to zero.
35053 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35056 * manual/install.texi: Do not document upgrading from libc5.
35058 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35061 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35063 2012-02-18 David S. Miller <davem@davemloft.net>
35065 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35066 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35067 %o7 across the call.
35068 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35070 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35071 SETUP_PIC_REG_LEAF.
35072 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35073 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35074 * sysdeps/sparc/crtn.S: Likewise.
35076 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35078 * aout/Makefile: Remove.
35080 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35083 * manual/examples/argp-ex1.c (main): Format definition in GNU
35085 * manual/examples/argp-ex2.c (main): Likewise.
35086 * manual/examples/argp-ex3.c (main): Likewise.
35087 * manual/examples/argp-ex4.c (main): Likewise.
35088 * manual/examples/longopt.c (main): Use new-style prototype
35090 * manual/examples/strncat.c (main): Specify return type and use
35091 (void) for arguments.
35092 * manual/examples/subopt.c (main): Use char **argv argument.
35094 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35097 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35100 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35103 * manual/string.texi (strchr): Change when strchrnul is
35106 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35109 * manual/locale.texi (setlocale): Document LOCPATH.
35111 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35114 * manual/process.texi (execle): Move @dots{} before last argument.
35116 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35119 * manual/charset.texi (Generic Charset Conversion): Fix typo
35120 (LC_TYPE -> LC_CTYPE).
35122 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35125 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35126 (scalbnf): Likewise.
35127 (scalbnl): Likewise.
35128 (scalbln): Likewise.
35129 (scalblnf): Likewise.
35130 (scalblnl): Likewise.
35131 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35132 (vwarnx): Likewise.
35135 * manual/filesys.texi (telldir): Use braces around return type.
35136 * manual/llio.texi (mmap): Add space after comma.
35137 (mmap64): Likewise.
35138 * manual/math.texi (jn): Use @var{} on parameter names.
35144 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35146 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35148 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35149 (sched_get_priority_max): Likewise.
35150 * manual/signal.texi (sigvec): Add space after comma.
35151 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35153 (if_indextoname): Likewise.
35154 (if_freenameindex): Likewise.
35155 (sendto): Use ',' instead of '.' in prototype.
35156 * manual/startup.texi (syscall): Use @dots{} instead of literal
35158 * manual/stdio.texi (__fpending): Separate initial words of
35159 paragraph from @deftypefun line.
35160 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35162 (vsyslog): Use @var{} on parameter names.
35163 * manual/terminal.texi (stty): Use @var{} on parameter names.
35164 * manual/users.texi (getutmp): Use @var{} on parameter names.
35165 (getutmpx): Likewise.
35167 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35170 * manual/stdio.texi (fopen): Fix typos in description of
35173 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35176 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35177 get clock_id definition.
35179 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35182 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35183 (madvise): Cast every argument to void on its own.
35185 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35188 * manual/startup.texi (Exit Status): Fix typo.
35190 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35193 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35194 * manual/examples/argp-ex2.c: Likewise.
35195 * manual/examples/argp-ex3.c: Likewise.
35197 2012-02-16 Richard Henderson <rth@redhat.com>
35199 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35200 * sysdeps/s390/s390-32/initfini.c: Remove.
35201 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35202 * sysdeps/s390/s390-64/initfini.c: Remove.
35204 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35206 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35207 compiler output for sysdeps/generic/initfini.c.
35208 * sysdeps/sh/elf/initfini.c: Remove file.
35210 2012-02-16 David S. Miller <davem@davemloft.net>
35213 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35215 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35216 * sysdeps/sparc/crti.S: New file.
35217 * sysdeps/sparc/crtn.S: New file.
35218 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35219 * sysdeps/sparc/sparc64/Makefile: Likewise.
35221 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35224 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35226 2012-02-15 Roland McGrath <roland@hack.frob.com>
35229 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35231 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35232 (write, read, close): Likewise.
35233 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35235 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35237 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35238 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35239 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35240 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35242 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35246 2012-02-14 Marek Polacek <polacek@redhat.com>
35248 * sysdeps/x86_64/crti.S: New file.
35249 * sysdeps/x86_64/crtn.S: New file.
35250 * sysdeps/x86_64/elf/initfini.c: Remove file.
35252 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35254 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35255 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35256 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35257 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35259 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35263 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35265 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35266 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35267 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35268 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35270 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35271 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35274 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35276 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35277 __feraiseexcept instead of feraiseexcept.
35279 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35280 nanosleep invocations.
35281 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35282 strings, and add error checking for a nanosleep invocations.
35284 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35286 Replace FSF snail mail address with URLs, as per GNU coding standards.
35287 Most of the snail mail addresses were wrong anyway, and omitting
35288 them makes the source code easier to maintain. Almost all of the
35289 changes are to license notices and to locale LC_IDENTIFICATION
35290 addresses, except for this one:
35291 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35292 not its snail mail address.
35294 2012-02-09 Richard Henderson <rth@twiddle.net>
35296 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35297 of kernel-features.h.
35299 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35301 2012-02-08 Marek Polacek <polacek@redhat.com>
35303 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35304 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35305 * sysdeps/gnu/_G_config.h: Likewise.
35306 * sysdeps/generic/_G_config.h: Likewise.
35308 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35310 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35314 * sysdeps/powerpc/powerpc32/crti.S: New file.
35315 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35316 * sysdeps/powerpc/powerpc64/crti.S: New file.
35317 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35319 * Makeconfig (have-initfini): Don't set.
35320 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35321 * configure.in (nopic_initfini): Don't substitute.
35322 * config.h.in (HAVE_INITFINI): Don't #undef.
35323 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35324 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35326 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35328 Support crti.S and crtn.S provided directly by architectures.
35329 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35330 [crti.S in sysdirs] (omit-deps): Likewise.
35331 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35332 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35333 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35334 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35335 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35336 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35337 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35338 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35339 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35340 compiler output for sysdeps/generic/initfini.c.
35341 * sysdeps/i386/elf/Makefile: Remove file.
35342 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35344 2012-02-07 Marek Polacek <polacek@redhat.com>
35346 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35347 * sysdeps/gnu/_G_config.h: Likewise.
35348 * sysdeps/mach/hurd/_G_config.h: Likewise.
35350 2012-02-07 Marek Polacek <polacek@redhat.com>
35352 * math/Makefile (tests): Add tst-CMPLX2.
35353 * math/tst-CMPLX2.c: New file.
35355 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35357 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35359 * math/libm-test.inc (jn_test): Add missing L suffix.
35361 2012-02-06 Marek Polacek <polacek@redhat.com>
35363 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35364 * sysdeps/i386/fpu/e_powf.S: Likewise.
35365 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35366 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35367 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35368 * sysdeps/i386/fpu/e_pow.S: Likewise.
35369 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35370 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35371 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35372 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35373 * sysdeps/i386/fpu/e_log2.S: Likewise.
35374 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35375 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35376 * sysdeps/i386/fpu/e_powl.S: Likewise.
35377 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35378 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35379 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35380 * sysdeps/i386/fpu/e_logl.S: Likewise.
35381 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35382 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35383 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35384 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35385 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35386 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35387 * sysdeps/i386/fpu/e_log.S: Likewise.
35388 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35389 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35390 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35391 * sysdeps/i386/fpu/e_logf.S: Likewise.
35392 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35393 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35394 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35395 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35396 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35397 * sysdeps/i386/fpu/e_log10.S: Likewise.
35398 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35399 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35400 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35401 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35402 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35403 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35404 * sysdeps/i386/asm-syntax.h: Likewise.
35405 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35406 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35407 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35408 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35409 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35410 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35411 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35412 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35413 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35414 * sysdeps/powerpc/sysdep.h: Likewise.
35415 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35416 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35418 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35421 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35423 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35425 * sysdeps/i386/sysdep.h: Include <features.h>.
35426 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35429 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35431 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35433 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35436 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35438 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35439 (SETUP_PIC_REG): Use GET_PC_THUNK.
35440 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35443 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35445 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35446 for non-PIC compilation.
35447 (SETUP_PIC_REG): Add .p2align directive.
35448 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35449 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35450 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35451 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35452 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35453 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35454 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35455 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35456 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35457 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35458 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35459 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35460 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35461 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35462 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35463 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35464 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35465 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35466 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35467 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35468 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35469 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35470 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35471 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35472 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35473 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35474 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35475 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35476 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35477 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35478 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35479 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35480 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35481 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35482 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35483 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35484 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35485 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35486 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35487 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35488 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35490 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35492 * math/tst-CMPLX.c: Include <stdio.h>.
35494 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35496 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35498 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35499 * sysdeps/sparc/bits/mathdef.h: Likewise.
35501 2012-01-31 Marek Polacek <polacek@redhat.com>
35503 * libio/libio.h: Don't define _PARAMS.
35504 * locale/programs/config.h: Don't define PARAMS.
35505 * stdlib/strtol_l.c: Likewise.
35506 (__strtol_l): Remove PARAMS from the prototype.
35508 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35510 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35511 names. Just use the correct names. Remove unnecessary wrapper
35513 * malloc/arena.c: Likewise.
35514 * malloc/hooks.c: Likewise.
35516 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35517 ARENA_TEST says not to. Simplify test for creation of a new arena.
35518 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35520 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35522 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35524 (update_get_addr): New function.
35525 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35526 GET_ADDR_MODULE parameter.
35528 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35530 * crypt/cert.c: Remove __STDC__ conditionals.
35531 * crypt/crypt-entry.c: Likewise.
35532 * crypt/crypt_util.c: Likewise.
35533 * libio/filedoalloc.c: Likewise.
35534 * libio/fileops.c: Likewise.
35535 * libio/genops.c: Likewise.
35536 * libio/iofclose.c: Likewise.
35537 * libio/iofdopen.c: Likewise.
35538 * libio/iofopen.c: Likewise.
35539 * libio/iofopen64.c: Likewise.
35540 * libio/iogetdelim.c: Likewise.
35541 * libio/iopopen.c: Likewise.
35542 * libio/obprintf.c: Likewise.
35543 * libio/oldfileops.c: Likewise.
35544 * libio/oldiofclose.c: Likewise.
35545 * libio/oldiofdopen.c: Likewise.
35546 * libio/oldiofopen.c: Likewise.
35547 * libio/oldiopopen.c: Likewise.
35548 * libio/wfiledoalloc.c: Likewise.
35549 * libio/wgenops.c: Likewise.
35550 * locale/programs/xmalloc.c: Likewise.
35551 * misc/syslog.c: Likewise.
35552 * stdio-common/xbug.c: Likewise.
35553 * string/memchr.c: Likewise.
35554 * string/memcmp.c: Likewise.
35555 * string/memrchr.c: Likewise.
35556 * string/rawmemchr.c: Likewise.
35557 * sysdeps/posix/getcwd.c: Likewise.
35558 * time/strftime_l.c: Likewise.
35560 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35562 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35563 * config.make.in (config-cflags-sse2avx): Define.
35564 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35567 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35569 * scripts/config.guess: Update from upstream config git repository.
35570 * scripts/config.sub: Likewise.
35572 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35574 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35576 (R_TILEPRO_*, R_TILEGX_*): New macros.
35578 * scripts/firstversions.awk: Fix bug in version range handling.
35580 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35582 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35584 * include/sys/epoll.h: New file.
35585 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35588 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35590 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35591 Avoid unnecessary __WORDSIZE == 64 test.
35592 (fmaxf): Use VEX format if possible.
35597 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35598 * math/math_private.h: Remove libc_fegetround* and
35600 * sysdeps/i386/configure.in: Check for -msse2avx.
35601 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35602 also if SSE2AVX is defined.
35603 Remove libc_fegetround* and libc_fesetround*.
35604 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35605 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35606 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35608 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35609 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35610 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35611 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35612 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35614 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35616 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35618 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35620 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35622 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35625 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35627 * Makeconfig (libm): Define.
35628 * elf/Makefile: Add rules to build and run tst-relsort1.
35629 * elf/tst-relsort1.c: New file.
35630 * elf/tst-relsort1mod1.c: New file.
35631 * elf/tst-relsort1mod2.c: New file.
35633 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35635 * math/s_ldexp.c: Remove __STDC__ conditionals.
35636 * math/s_ldexpf.c: Likewise.
35637 * math/s_ldexpl.c: Likewise.
35638 * math/s_nextafter.c: Likewise.
35639 * math/s_nexttowardf.c: Likewise.
35640 * math/s_significand.c: Likewise.
35641 * math/s_significandf.c: Likewise.
35642 * math/s_significandl.c: Likewise.
35643 * math/w_jnl.c: Likewise.
35644 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35645 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35646 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35647 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35648 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35649 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35650 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35651 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35652 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35653 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35654 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35655 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35656 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35657 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35658 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35659 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35660 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35661 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35663 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35664 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35665 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35666 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35667 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35668 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35669 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35670 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35671 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35672 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35673 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35674 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35675 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35676 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35677 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35678 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35679 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35680 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35681 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35682 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35683 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35684 * sysdeps/ieee754/k_standard.c: Likewise.
35685 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35686 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35687 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35688 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35689 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35690 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35691 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35692 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35693 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35694 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35695 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35696 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35697 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35698 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35699 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35700 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35703 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35704 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35705 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35707 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35708 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35709 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35710 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35711 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35712 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35715 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35716 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35717 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35719 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35721 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35722 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35723 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35724 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35725 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35726 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35734 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35736 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35745 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35746 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35751 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35757 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35758 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35759 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35760 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35761 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35762 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35763 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35764 * sysdeps/ieee754/s_matherr.c: Likewise.
35765 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35766 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35767 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35768 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35770 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35772 * crypt/md5.h: Remove __STDC__ conditionals.
35773 * libio/libioP.h: Likewise.
35774 * locale/programs/config.h: Likewise.
35775 * sysdeps/generic/sysdep.h: Likewise.
35776 * sysdeps/i386/asm-syntax.h: Likewise.
35777 * sysdeps/s390/asm-syntax.h: Likewise.
35778 * sysdeps/unix/sysdep.h: Likewise.
35779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35782 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35784 * libio/libio.h: Remove __STDC__ conditionals.
35785 * malloc/obstack.h: Likewise.
35786 * math/complex.h: Likewise.
35787 * math/math.h: Likewise.
35788 * sysdeps/generic/_G_config.h: Likewise.
35789 * sysdeps/gnu/_G_config.h: Likewise.
35790 * sysdeps/mach/hurd/_G_config.h: Likewise.
35791 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35792 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35793 * sysdeps/sparc/bits/mathdef.h: Likewise.
35795 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35798 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35799 Clean up HAS_* macros.
35800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35801 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35803 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35805 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35806 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35807 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35808 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35809 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35811 2012-01-25 Joseph Myers <joseph@codesourcery.com>
35813 * elf/tst-unique3.cc (gets): Remove declaration.
35814 * elf/tst-unique3lib.cc (gets): Likewise.
35815 * elf/tst-unique3lib2.cc (gets): Likewise.
35816 * elf/tst-unique4.cc (gets): Likewise.
35818 2012-01-24 Ulrich Drepper <drepper@gmail.com>
35820 * include/stdio.h: Add C++ protection. Add gets declarations and
35822 * debug/tst-chk1.c: Don't declare gets here.
35823 * stdio-common/tst-gets.c: Likewise.
35825 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35827 * posix/glob: Remove directory.
35829 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35831 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35833 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35835 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35836 of the non-standard EPFNOSUPPORT.
35838 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35840 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35841 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35842 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35844 2012-01-21 Ulrich Drepper <drepper@gmail.com>
35846 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35848 2012-01-20 Ulrich Drepper <drepper@gmail.com>
35850 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35852 * nscd/grpcache.c (cache_addgr): Likewise.
35853 * nscd/hstcache.c (cache_addhst): Likewise.
35854 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35855 * nscd/pwdcache.c (cache_addpw): Likewise.
35856 * nscd/servicescache.c (cache_addserv): Likewise.
35858 2012-01-16 Ulrich Drepper <drepper@gmail.com>
35860 * malloc/malloc.c: Various cleanups.
35861 * malloc/hooks.c: Likewise.
35863 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35864 * stdlib/bug-fmtmsg1.c: New file.
35866 * stdlib/fmtmsg.c (init): Add missing unlock.
35867 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35869 2012-01-12 Marek Polacek <polacek@redhat.com>
35871 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35874 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35876 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35877 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35878 macro to ensure uniqueness of label name.
35879 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35880 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35882 2012-01-11 Ulrich Drepper <drepper@gmail.com>
35884 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35886 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35887 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35888 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35889 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35891 2012-01-10 Ulrich Drepper <drepper@gmail.com>
35893 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35895 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35896 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35897 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35899 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35901 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35902 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35903 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35904 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35906 * math/bits/math-finite.h: Add ldexp support.
35908 2012-01-10 Marek Polacek <polacek@redhat.com>
35910 * locale/programs/localedef.h (show_archive_content): Add noreturn
35913 2012-01-09 Ulrich Drepper <drepper@gmail.com>
35915 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35917 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35919 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35921 * io/Makefile (headers): Add bits/poll2.h.
35923 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35926 typo #include statement.
35928 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35930 * include/sys/cdefs.h: Define __attribute_alloc_size.
35931 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35932 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35933 * elf/pldd.c: Likewise.
35934 * iconv/iconv_charmap.c: Likewise.
35935 * iconv/iconvconfig.c: Likewise.
35936 * iconv/strtab.c: Likewise.
35937 * locale/programs/locale.c: Likewise.
35938 * locale/programs/localedef.h: Likewise.
35939 * locale/programs/simple-hash.c: Likewise.
35940 * nscd/nscd.h: Likewise.
35941 * nss/makedb.c: Likewise.
35942 * sysdeps/generic/ldconfig.h: Likewise.
35943 * locale/programs/localedef.c: Remove xmalloc prototype.
35944 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35946 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35948 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35951 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35953 * math/Makefile (tests): Add tst-CMPLX.
35954 * math/tst-CMPLX.c: New file.
35956 * math/complex.h (CMPLXL): Fix typo.
35958 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35959 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35961 * debug/tst-chk1.c: Add poll and ppoll tests.
35962 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35963 * include/sys/poll.h: Add hidden proto for ppoll.
35964 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35965 * sysdeps/mach/hurd/ppoll.c: Likewise.
35966 * io/ppoll.c: Likewise.
35967 * debug/poll_chk.c: New file.
35968 * debug/ppoll_chk.c: New file.
35969 * include/bits/poll2.h: New file.
35970 * io/bits/poll2.h: New file.
35973 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35975 * configure.in: static is always set to yes. Remove.
35976 * config.make.in: Don't set build-static.
35977 * Makeconfig: Remove use of build-static.
35978 * dlfcn/Makefile: Likewise.
35979 * elf/Makefile: Likewise.
35980 * math/Makefile: Likewise.
35981 * misc/Makefile: Likewise.
35982 * nptl/Makefile: Likewise.
35983 * sysdeps/mach/hurd/Makefile: Likewise.
35985 * configure.in: PWD_P is not used anymore.
35986 * config.make.in: Remove PWD_P entry.
35988 * configure.in: Remove last remnants of RANLIB.
35989 No need to check for signed size_t anymore.
35990 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35992 Remove __builtin_expect test because we require at least gcc 3.4.
35993 * aclocal.m4: Likewise.
35995 * wcsmbs/mbrtoc16.c: Implement using towc function.
35996 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35997 * wcsmbs/wcsmbsload.c: Likewise.
35998 * iconv/gconv_simple.c: Likewise.
35999 * iconv/gconv_int.h: Likewise.
36000 * iconv/gconv_builtin.h: Likewise.
36001 * iconv/iconv_prog.c: Remove CHAR16 handling.
36003 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36005 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36007 * configure.in: Remove --with-elf and --enable-bounded options.
36008 Dont set base_machine for ia64. More non-ELF conditions removed.
36009 Remove testing and setting of leading underscore information.
36010 * config.make.in (build-bounded): Set to no.
36011 * config.h.in: Remove NO_UNDERSCORES entry.
36012 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36014 * csu/start.c: Remove !NO_UNDERSCORE code.
36015 * locale/localeinfo.h: Likewise.
36016 * sysdeps/generic/machine-gmon.h: Likewise.
36017 * sysdeps/generic/sysdep.h: Likewise.
36018 * sysdeps/i386/sysdep.h: Likewise.
36019 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36020 * sysdeps/mach/sysdep.h: Likewise.
36021 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36022 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36023 * sysdeps/sh/sysdep.h: Likewise.
36024 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36025 * sysdeps/unix/i386/sysdep.S: Likewise.
36026 * sysdeps/unix/sparc/start.c: Likewise.
36027 * sysdeps/unix/sparc/sysdep.S: Likewise.
36028 * sysdeps/unix/sparc/sysdep.h: Likewise.
36029 * sysdeps/unix/start.c: Likewise.
36030 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36031 * sysdeps/x86_64/sysdep.h: Likewise.
36033 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36036 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36038 * argp/argp-fmtstream.h: Use const instead __const.
36039 * argp/argp.h: Likewise.
36040 * assert/assert.h: Likewise.
36041 * bits/fenv.h: Likewise.
36042 * bits/sched.h: Likewise.
36043 * bits/sigset.h: Likewise.
36044 * bits/sigthread.h: Likewise.
36045 * catgets/nl_types.h: Likewise.
36046 * conform/data/pthread.h-data: Likewise.
36047 * crypt/crypt-private.h: Likewise.
36048 * crypt/crypt.h: Likewise.
36049 * crypt/crypt_util.c: Likewise.
36050 * ctype/ctype.h: Likewise.
36051 * debug/execinfo.h: Likewise.
36052 * debug/mbsnrtowcs_chk.c: Likewise.
36053 * debug/mbsrtowcs_chk.c: Likewise.
36054 * debug/wcsnrtombs_chk.c: Likewise.
36055 * debug/wcsrtombs_chk.c: Likewise.
36056 * debug/wcstombs_chk.c: Likewise.
36057 * dirent/dirent.h: Likewise.
36058 * dlfcn/dlfcn.h: Likewise.
36059 * elf/neededtest4.c: Likewise.
36060 * grp/grp.h: Likewise.
36061 * gshadow/gshadow.h: Likewise.
36062 * iconv/gconv.h: Likewise.
36063 * iconv/gconv_int.h: Likewise.
36064 * iconv/gconv_simple.c: Likewise.
36065 * iconv/iconv.h: Likewise.
36066 * iconv/loop.c: Likewise.
36067 * iconv/skeleton.c: Likewise.
36068 * include/aio.h: Likewise.
36069 * include/aliases.h: Likewise.
36070 * include/argz.h: Likewise.
36071 * include/arpa/inet.h: Likewise.
36072 * include/assert.h: Likewise.
36073 * include/dirent.h: Likewise.
36074 * include/dlfcn.h: Likewise.
36075 * include/execinfo.h: Likewise.
36076 * include/fcntl.h: Likewise.
36077 * include/fenv.h: Likewise.
36078 * include/glob.h: Likewise.
36079 * include/grp.h: Likewise.
36080 * include/libintl.h: Likewise.
36081 * include/mntent.h: Likewise.
36082 * include/netdb.h: Likewise.
36083 * include/pwd.h: Likewise.
36084 * include/rpc/netdb.h: Likewise.
36085 * include/sched.h: Likewise.
36086 * include/search.h: Likewise.
36087 * include/shadow.h: Likewise.
36088 * include/signal.h: Likewise.
36089 * include/stdio.h: Likewise.
36090 * include/stdlib.h: Likewise.
36091 * include/string.h: Likewise.
36092 * include/sys/socket.h: Likewise.
36093 * include/sys/stat.h: Likewise.
36094 * include/sys/statfs.h: Likewise.
36095 * include/sys/statvfs.h: Likewise.
36096 * include/sys/syslog.h: Likewise.
36097 * include/sys/time.h: Likewise.
36098 * include/sys/uio.h: Likewise.
36099 * include/time.h: Likewise.
36100 * include/unistd.h: Likewise.
36101 * include/utmp.h: Likewise.
36102 * include/wchar.h: Likewise.
36103 * include/wctype.h: Likewise.
36104 * inet/aliases.h: Likewise.
36105 * inet/arpa/inet.h: Likewise.
36106 * inet/netinet/ether.h: Likewise.
36107 * inet/netinet/in.h: Likewise.
36108 * intl/libintl.h: Likewise.
36109 * io/bits/fcntl2.h: Likewise.
36110 * io/fcntl.h: Likewise.
36111 * io/ftw.h: Likewise.
36112 * io/sys/poll.h: Likewise.
36113 * io/sys/stat.h: Likewise.
36114 * io/sys/statfs.h: Likewise.
36115 * io/sys/statvfs.h: Likewise.
36116 * io/utime.h: Likewise.
36117 * libio/bits/stdio.h: Likewise.
36118 * libio/bits/stdio2.h: Likewise.
36119 * libio/libio.h: Likewise.
36120 * libio/libioP.h: Likewise.
36121 * libio/stdio.h: Likewise.
36122 * locale/lc-ctype.c: Likewise.
36123 * locale/locale.h: Likewise.
36124 * login/utmp.h: Likewise.
36125 * malloc/arena.c: Likewise.
36126 * malloc/malloc.c: Likewise.
36127 * malloc/malloc.h: Likewise.
36128 * malloc/mcheck.c: Likewise.
36129 * malloc/mtrace.c: Likewise.
36130 * math/bits/mathcalls.h: Likewise.
36131 * math/fenv.h: Likewise.
36132 * math/math_private.h: Likewise.
36133 * misc/bits/error.h: Likewise.
36134 * misc/bits/syslog.h: Likewise.
36135 * misc/err.h: Likewise.
36136 * misc/error.h: Likewise.
36137 * misc/fstab.h: Likewise.
36138 * misc/mntent.h: Likewise.
36139 * misc/regexp.h: Likewise.
36140 * misc/search.h: Likewise.
36141 * misc/sgtty.h: Likewise.
36142 * misc/sys/mman.h: Likewise.
36143 * misc/sys/syslog.h: Likewise.
36144 * misc/sys/uio.h: Likewise.
36145 * misc/sys/xattr.h: Likewise.
36146 * misc/ttyent.h: Likewise.
36147 * nis/rpcsvc/ypclnt.h: Likewise.
36148 * nss/nss.h: Likewise.
36149 * posix/bits/unistd.h: Likewise.
36150 * posix/fnmatch.h: Likewise.
36151 * posix/glob.h: Likewise.
36152 * posix/sched.h: Likewise.
36153 * posix/spawn.h: Likewise.
36154 * posix/sys/wait.h: Likewise.
36155 * posix/unistd.h: Likewise.
36156 * posix/wordexp.h: Likewise.
36157 * pwd/pwd.h: Likewise.
36158 * resolv/netdb.h: Likewise.
36159 * resource/sys/resource.h: Likewise.
36160 * rt/aio.h: Likewise.
36161 * rt/bits/mqueue2.h: Likewise.
36162 * rt/mqueue.h: Likewise.
36163 * shadow/shadow.h: Likewise.
36164 * signal/signal.h: Likewise.
36165 * socket/send.c: Likewise.
36166 * socket/sendto.c: Likewise.
36167 * socket/sys/socket.h: Likewise.
36168 * stdio-common/printf.h: Likewise.
36169 * stdlib/bits/stdlib.h: Likewise.
36170 * stdlib/fmtmsg.h: Likewise.
36171 * stdlib/monetary.h: Likewise.
36172 * stdlib/stdlib.h: Likewise.
36173 * stdlib/ucontext.h: Likewise.
36174 * streams/stropts.h: Likewise.
36175 * string/argz.h: Likewise.
36176 * string/bits/string2.h: Likewise.
36177 * string/string.h: Likewise.
36178 * string/strings.h: Likewise.
36179 * sunrpc/rpc/auth.h: Likewise.
36180 * sunrpc/rpc/auth_des.h: Likewise.
36181 * sunrpc/rpc/clnt.h: Likewise.
36182 * sunrpc/rpc/netdb.h: Likewise.
36183 * sunrpc/rpc/pmap_clnt.h: Likewise.
36184 * sunrpc/rpc/xdr.h: Likewise.
36185 * sysdeps/generic/inttypes.h: Likewise.
36186 * sysdeps/generic/net/if.h: Likewise.
36187 * sysdeps/generic/sys/swap.h: Likewise.
36188 * sysdeps/gnu/net/if.h: Likewise.
36189 * sysdeps/gnu/utmpx.h: Likewise.
36190 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36191 * sysdeps/i386/i486/bits/string.h: Likewise.
36192 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36193 * sysdeps/s390/bits/string.h: Likewise.
36194 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36195 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36196 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36197 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36198 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36199 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36200 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36201 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36202 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36203 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36204 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36205 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36206 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36207 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36208 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36209 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36210 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36212 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36213 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36214 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36215 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36216 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36217 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36218 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36219 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36220 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36221 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36222 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36223 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36224 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36225 * sysvipc/sys/ipc.h: Likewise.
36226 * sysvipc/sys/msg.h: Likewise.
36227 * sysvipc/sys/sem.h: Likewise.
36228 * sysvipc/sys/shm.h: Likewise.
36229 * termios/termios.h: Likewise.
36230 * time/sys/time.h: Likewise.
36231 * time/time.h: Likewise.
36232 * wcsmbs/bits/wchar2.h: Likewise.
36233 * wcsmbs/uchar.h: Likewise.
36234 * wcsmbs/wchar.h: Likewise.
36235 * wctype/wctype.h: Likewise.
36238 * Makeconfig: Remove all but ELF support including AIX support.
36239 * Makerules: Likewise.
36240 * config.h.in: Likewise.
36241 * config.make.in: Likewise.
36242 * configure: Likewise.
36243 * configure.in: Likewise.
36244 * csu/Makefile: Likewise.
36245 * csu/version.c: Likewise.
36246 * debug/Makefile: Likewise.
36247 * dlfcn/Makefile: Likewise.
36248 * elf/Makefile: Likewise.
36249 * extra-lib.mk: Likewise.
36250 * iconv/Makefile: Likewise.
36251 * include/libc-symbols.h: Likewise.
36252 * include/shlib-compat.h: Likewise.
36253 * resolv/Makefile: Likewise.
36254 * resolv/res_libc.c: Likewise.
36255 * rt/Makefile: Likewise.
36256 * sysdeps/i386/asm-syntax.h: Likewise.
36257 * sysdeps/i386/sysdep.h: Likewise.
36258 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36259 * sysdeps/mach/sysdep.h: Likewise.
36260 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36261 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36262 * sysdeps/s390/asm-syntax.h: Likewise.
36263 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36264 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36265 * sysdeps/sh/sysdep.h: Likewise.
36266 * sysdeps/unix/sparc/sysdep.h: Likewise.
36267 * sysdeps/wordsize-32/divdi3.c: Likewise.
36268 * sysdeps/x86_64/sysdep.h: Likewise.
36270 * argp/Versions: Remove _argp_unlock_xxx.
36273 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36274 * abilist/libBrokenLocale.abilist: Likewise.
36275 * abilist/libanl.abilist: Likewise.
36276 * abilist/libc.abilist: Likewise.
36277 * abilist/libcrypt.abilist: Likewise.
36278 * abilist/libdl.abilist: Likewise.
36279 * abilist/libm.abilist: Likewise.
36280 * abilist/libnsl.abilist: Likewise.
36281 * abilist/libpthread.abilist: Likewise.
36282 * abilist/libresolv.abilist: Likewise.
36283 * abilist/librt.abilist: Likewise.
36284 * abilist/libthread_db.abilist: Likewise.
36285 * abilist/libutil.abilist: Likewise.
36286 * abilist/libnss_db.abilist: New file.
36288 * scripts/abilist.awk: Add support for indirect functions.
36290 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36292 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36294 * shlib-versions: Remove entries for ports architectures.
36296 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36298 * elf/stackguard-macros.h: Remove support for IA-64.
36299 * elf/tst-auditmod1.c: Likewise.
36300 * sysdeps/generic/ldsodefs.h: Likewise.
36302 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36303 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36307 * configure.in: Remove --enable-omitfp support.
36309 * config.make.in: Likewise.
36310 * Makeconfig: Likewise.
36311 * manual/install.texi: Likewise.
36313 In case anyone cares, the IA-64 architecture could move to ports.
36314 * sysdeps/ia64/*: Removed.
36315 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36316 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36319 * configure.in: Remove entries for unsupported architectures.
36322 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36323 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36325 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36326 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36327 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36328 fall back to using wcrtomb.
36329 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36330 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36332 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36333 * wcsmbs/tst-c16c32-1.c: New file.
36335 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36338 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36340 * elf/tst-unique3.cc: Add explicit declaration of gets.
36341 * elf/tst-unique3lib.cc: Likewise.
36342 * elf/tst-unique3lib2.cc: Likewise.
36343 * elf/tst-unique4.cc: Likewise.
36345 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36347 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36350 * assert/assert.h (static_assert): Don't define for C++.
36351 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36352 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36354 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36356 * iconv/loop.c (single loop): Fix assertion in storing of
36359 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36361 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36363 * posix/getconf.c: Update copyright year.
36364 * nss/getent.c: Likewise.
36365 * nss/makedb.c: Likewise.
36366 * iconv/iconvconfig.c: Likewise.
36367 * iconv/iconv_prog.c: Likewise.
36368 * elf/ldconfig.c: Likewise.
36369 * elf/pldd.c: Likewise.
36370 * elf/sotruss.ksh: Likewise.
36371 * catgets/gencat.c: Likewise.
36372 * csu/version.c: Likewise.
36373 * elf/ldd.bash.in: Likewise.
36374 * elf/sprof.c (print_version): Likewise.
36375 * locale/programs/locale.c: Likewise.
36376 * locale/programs/localedef.c: Likewise.
36377 * login/programs/pt_chown.c: Likewise.
36378 * nscd/nscd.c (print_version): Likewise.
36379 * debug/xtrace.sh: Likewise.
36380 * malloc/memusage.sh: Likewise.
36381 * malloc/mtrace.pl: Likewise.
36382 * debug/catchsegv.sh: Likewise.
36384 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36386 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36389 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36392 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36393 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36395 * iconv/gconv_int.h: Likewise.
36396 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36397 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36398 from libc for GLIBC_2.16.
36399 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36400 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36401 * wcsmbs/uchar.h: Really define mbstate_t.
36402 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36403 * wcsmbs/c16rtomb.c: New file.
36404 * wcsmbs/mbrtoc16.c: New file.
36405 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36406 for C/POSIX locale.
36407 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36408 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36410 * wcsmbs/wchar.h: Add missing __restrict.
36412 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36415 * time/Makefile (routines): Add timespec_get.
36416 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36417 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36418 timespec for ISO C11.
36419 * time/timespec_get.c: New file.
36420 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36421 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36424 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36425 * stdlib/stdlib.h: Declare aligned_alloc.
36426 * Versions.def: Add GLIBC_2.16 for libc.
36427 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36430 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36433 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36437 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36440 * assert/assert.h (static_assert): Define.
36442 * version.h: Update for 2.16 development version.
36445 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36448 * version.h (RELEASE): Bump for 2.15 release.
36449 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36451 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36452 Patch by Marek Polacek <mpolacek@redhat.com>.
36454 * bits/byteswap.h: Protect long long constants with __extension__.
36455 * sysdeps/i386/bits/byteswap.h: Likewise.
36456 * sysdeps/ia64/bits/byteswap.h: Likewise.
36457 * sysdeps/s390/bits/byteswap.h: Likewise.
36458 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36460 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36463 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36464 destination buffer.
36465 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36467 2011-12-23 Marek Polacek <polacek@redhat.com>
36469 * elf/dl-addr.c (determine_info): Add inline keyword.
36470 * elf/tst-auditmod4b.c (check_avx): Likewise.
36471 * elf/tst-auditmod6b.c (check_avx): Likewise.
36472 * elf/tst-auditmod6c.c (check_avx): Likewise.
36473 * elf/tst-auditmod7b.c (check_avx): Likewise.
36475 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36477 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36480 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36483 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36484 processing for last bytes.
36486 2011-08-06 Bruno Haible <bruno@clisp.org>
36489 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36490 U+0385, not to U+1FEE.
36493 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36494 entry for U+00A5 U+0301.
36496 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36499 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36500 buffer for the output is too small.
36502 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36506 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36507 SSE flags if possible.
36509 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36512 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36513 processing for last bytes.
36515 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36517 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36518 (syscall-list-default-options, syscall-list-default-condition)
36519 (syscall-list-includes): Define.
36520 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36521 list of ABIs and options and #if conditions for each ABI. Do not
36522 handle common syscalls between ABIs specially.
36523 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36525 (syscall-list-variants, syscall-list-32bit-options)
36526 (syscall-list-32bit-condition, syscall-list-64bit-options)
36527 (syscall-list-64bit-condition): Define.
36528 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36529 (syscall-list-variants, syscall-list-32bit-options)
36530 (syscall-list-32bit-condition, syscall-list-64bit-options)
36531 (syscall-list-64bit-condition): Define.
36532 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36534 (syscall-list-variants, syscall-list-32bit-options)
36535 (syscall-list-32bit-condition, syscall-list-64bit-options)
36536 (syscall-list-64bit-condition): Define.
36537 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36539 (syscall-list-variants, syscall-list-32bit-options)
36540 (syscall-list-32bit-condition, syscall-list-64bit-options)
36541 (syscall-list-64bit-condition): Define.
36543 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36545 * locale/iso-639.def: Add brx entry.
36548 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36549 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36551 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36552 __feraiseexcept_renamed.
36554 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36557 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36558 EPOLLET with unsigned values.
36559 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36560 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36562 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36563 to large cancellation.
36564 * math/s_cacoshf.c: Likewise.
36565 * math/s_cacoshl.c: Likewise.
36567 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36571 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36572 * math/s_cacoshf.c: Likewise.
36573 * math/s_cacoshl.c: Likewise.
36575 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36578 * iconv/gconv.h: Define __GCONV_SWAP.
36579 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36580 * iconvdata/utf-16.c: Likewise.
36581 * iconvdata/utf-32.c: Likewise.
36583 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36586 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36587 numerator after shifting it by one limb.
36589 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36591 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36592 under [__USE_EXTERN_INLINES].
36594 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36597 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36599 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36601 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36602 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36604 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36605 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36606 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36607 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36608 for strncasecmp/strncasecmp_l compilation.
36609 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36610 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36612 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36615 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36618 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36621 * time/tzfile.c (__tzfile_read): Check values from file header.
36623 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36625 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36626 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36627 * powerpc/powerpc32/dl-start.S: Likewise.
36628 * powerpc/powerpc32/elf/start.S: Likewise.
36629 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36630 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36631 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36632 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36633 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36634 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36635 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36636 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36637 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36638 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36639 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36640 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36641 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36642 * powerpc/powerpc32/memset.S: Likewise.
36643 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36644 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36645 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36646 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36647 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36648 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36649 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36650 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36651 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36652 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36653 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36654 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36655 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36657 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36659 * math/libm-test.inc: Added more nearbyint tests.
36660 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36661 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36662 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36663 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36665 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36667 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36670 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36672 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36673 Add wcscpy-ssse3 wcscpy-c.
36674 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36675 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36676 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36677 * sysdeps/x86_64/wcschr.S: New file.
36678 * sysdeps/x86_64/wcsrchr.S: New file.
36679 * string/test-strcmp.c: Remove checking of wcscmp function for
36681 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36682 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36683 wcsrchr-sse2 wcsrchr-c.
36684 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36685 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36686 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36687 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36688 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36689 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36690 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36691 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36692 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36693 * wcsmbc/wcschr.c (WCSCHR): New macro.
36695 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36697 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36698 * wcsmbs/test-wcsrchr.c: New file.
36699 * string/test-strrchr.c: Add wcsrchr support.
36701 * wcsmbs/test-wcscpy.c: New file.
36702 * string/test-strcpy.c: Add wcscpy support.
36705 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36707 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36710 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36713 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36715 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36717 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36718 Minor optimizations.
36720 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36721 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36722 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36724 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36726 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36727 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36728 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36729 for gcc to avoid warnings.
36730 * inet/Makefile (tests): Add tst-checks.
36731 * inet/tst-checks.c: New file.
36733 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36736 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36739 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36740 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36742 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36744 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36746 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36749 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36751 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36753 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36754 conditional on GCC version.
36755 (__arch_compare_and_exchange_val_8_acq)
36756 (__arch_compare_and_exchange_val_16_acq)
36757 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36758 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36759 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36761 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36763 * sysdeps/sh/backtrace.c: New file.
36765 2011-12-02 Andreas Schwab <schwab@redhat.com>
36767 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36770 2011-12-01 Andreas Schwab <schwab@redhat.com>
36772 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36773 falling back to utime.
36775 2011-11-30 Andreas Schwab <schwab@redhat.com>
36777 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36778 expectations for float.
36780 2011-11-29 Andreas Schwab <schwab@redhat.com>
36782 * locale/weight.h (findidx): Add parameter len.
36783 * locale/weightwc.h (findidx): Likewise.
36784 * posix/fnmatch_loop.c (FCT): Adjust caller.
36785 * posix/regcomp.c (build_equiv_class): Likewise.
36786 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36787 * posix/regexec.c (check_node_accept_bytes): Likewise.
36788 * string/strcoll_l.c (STRCOLL): Likewise.
36789 * string/strxfrm_l.c (STRXFRM): Likewise.
36791 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36793 * Makefile.in: Remove CVSOPT handling.
36794 * configure.in: Remove use of AC_REVISION.
36795 * iconvdata/Makefile (distribute): No need to filter out CVS.
36796 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36799 2011-11-16 Andreas Schwab <schwab@redhat.com>
36801 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36802 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36803 [USE_AS_STRNCASECMP_L]: Likewise.
36804 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36805 NO_TLS_DIRECT_SEG_REFS.
36806 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36807 Fix argument offsets for non-PIC.
36808 [USE_AS_STRNCASECMP_L]: Likewise.
36809 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36810 NO_TLS_DIRECT_SEG_REFS.
36812 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36814 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36816 * locale/loadlocale.c (_nl_load_locale): Likewise.
36818 2011-11-15 Andreas Schwab <schwab@redhat.com>
36820 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36821 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36822 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36823 (SYSCALL_GETTIME): Set errno on error.
36825 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36826 count references to noai6ai_cached.
36828 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36830 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36832 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36833 FD_CLOEXEC for /proc/self/maps.
36835 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36836 FD_CLOEXEC for /proc/meminfo.
36838 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36841 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36842 FD_CLOEXEC for given file.
36844 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36846 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36847 FD_CLOEXEC for /etc/hosts.
36848 (_gethtent): Likewise.
36850 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36852 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36853 cancellation and set FD_CLOEXEC for /etc/netgroup.
36855 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36856 reading /etc/publickey.
36858 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36859 allow cancellation when reading /etc/group.
36861 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36863 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36865 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36866 when using data file.
36868 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36870 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36871 (write_nis_obj): Use "c" and "e" in fopen.
36873 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36875 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36877 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36879 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36881 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36884 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36886 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36888 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36890 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36891 file parsing and set FD_CLOEXEC.
36893 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36895 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36897 2011-11-14 Andreas Schwab <schwab@redhat.com>
36899 * malloc/arena.c (arena_get2): Don't call reused_arena when
36900 _int_new_arena failed.
36902 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36904 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36905 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36906 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36907 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36908 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36909 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36910 to compile strcasecmp and strncasecmp.
36911 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36912 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36914 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36916 2011-11-13 Ulrich Drepper <drepper@gmail.com>
36918 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36919 locale-defines.sym to gen-as-const-headers.
36920 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36921 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36922 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36923 to compile strcasecmp and strncasecmp.
36924 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36925 strcasecmp_l and strncasecmp_l.
36926 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36927 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36928 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36929 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36930 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36931 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36932 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36933 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36934 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36935 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36936 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36938 2011-11-12 Ulrich Drepper <drepper@gmail.com>
36940 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36941 result of SYSDEP_GETTIME_CPU to retval.
36942 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36943 parameter list to macro. Remove trailing semicolon. Adjust users.
36945 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36948 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36950 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36952 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36953 from unused variable.
36955 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36957 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36960 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36963 * sunrpc/rpc_prot.c (rejected): Fix case value.
36965 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36966 unsigned long long int to avoid warnings in shift.
36968 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36970 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36973 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36974 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36975 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36977 * nis/nis_table.c (nis_list): Use variable of correct type for
36978 result of __follow_path call.
36980 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36982 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36983 of math functions ceil, trunc, floor, round, and sqrt, when
36984 avaliable on the platform.
36985 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36987 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36988 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36989 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36991 2011-10-30 Marek Polacek <mpolacek@redhat.com>
36993 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36994 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36996 2011-11-11 Roland McGrath <roland@hack.frob.com>
36998 * include/unistd.h: Fix __readlink return type.
36999 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37001 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37003 * stdlib/ucontext.h: Undo last change for makecontext.
37005 2011-11-11 Andreas Schwab <schwab@redhat.com>
37007 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37009 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37010 * setjmp/setjmp.h: Mark functions as non-leaf.
37011 * setjmp/bits/setjmp2.h: Likewise.
37012 * stdlib/ucontext.h: Likewise.
37014 2011-11-10 Andreas Schwab <schwab@redhat.com>
37016 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37017 (reused_arena): Don't check arena limit.
37018 (arena_get2): Atomically check arena limit.
37020 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37022 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37023 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37025 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37028 2011-11-07 Andreas Schwab <schwab@redhat.com>
37030 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37031 handler when locking.
37033 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37034 Fix size of allocated buffer.
37036 2011-11-04 Andreas Schwab <schwab@redhat.com>
37039 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37040 declarations for long double functions.
37041 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37043 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37045 2011-11-03 Andreas Schwab <schwab@redhat.com>
37047 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37050 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37053 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37055 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37057 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37059 * include/alloca.h (stackinfo_alloca_round): Define.
37060 (extend_alloca): Use it.
37061 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37062 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37065 * scripts/check-local-headers.sh: Ignore libaudit.h.
37067 * nscd/Makefile (extra-objs): Make recursively expanded.
37069 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37071 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37072 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37074 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37075 * posix/tst-rfc3484-2.c: Likewise.
37076 * posix/tst-rfc3484-3.c: Likewise.
37078 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37080 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37082 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37083 process_vm_writev from libc using GLIBC_2.15 version.
37085 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37087 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37089 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37092 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37095 * nss/getent.c (initgroups_keys): Show error message in case no group
37098 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37099 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37100 __bump_nl_timestamp.
37101 * nscd/connections (nscd_init): When host database is served open
37102 netlink socket and request notification about configuration changes.
37103 (main_loop_poll): Track netlink file descriptor and bump timestamp
37104 in case data becomes available.
37105 (main_loop_epoll): Likewise.
37106 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37107 (database_pers_head): Add extra_data fileds.
37108 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37109 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37110 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37112 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37113 in6ai data, call __free_in6ai.
37114 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37115 Add -DHAVE_NETLINK.
37116 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37117 interface information. Reuse previous data if netlink timestamp
37119 (__bump_nl_timestamp): New function.
37120 (__free_in6ai): New function.
37122 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37124 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37125 close_not_cancel_no_status here.
37126 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37128 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37131 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37134 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37135 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37136 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37138 2011-07-03 Andreas Jaeger <aj@suse.de>
37141 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37142 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37143 * math/libm-test.inc (sin_test): Add test case.
37145 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37148 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37149 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37151 * elf/chroot_canon.c (chroot_canon): Cleanups.
37153 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37156 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37157 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37159 * string/test-strchr.c: Make usable for strchrnul testing.
37160 * string/test-strchrnul.c: New file.
37161 * string/Makefile (strop-tests): Add strchrnul.
37163 * po/it.po: Update from translation team.
37164 * po/es.po: Likewise.
37166 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37168 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37169 the three constants needed as parameters. Drop the others.
37170 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37171 __m128i_strloadu_tolower.
37172 Create and initialize variable zero and use it in all the places
37173 where _mm_setzero_si128 was used.
37175 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37176 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37177 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37178 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37180 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37181 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37182 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37183 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37184 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37185 __mpranred, __mptan.
37186 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37187 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37188 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37189 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37190 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37191 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37192 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37193 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37194 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37196 2011-10-28 Andreas Schwab <schwab@redhat.com>
37198 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37199 redefine if SHARED.
37200 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37203 wide char related routines to wcsmbs subdir.
37205 2011-10-27 Andreas Schwab <schwab@redhat.com>
37208 * misc/sys/cdefs.h (__THROWNL): Define.
37209 * posix/unistd.h: Use __THREADNL instead of __THREAD
37210 for memory synchronization functions.
37212 2011-10-26 Roland McGrath <roland@hack.frob.com>
37215 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37217 * manual/stdio.texi (Obstack Streams): Node removed.
37219 2011-10-26 Andreas Schwab <schwab@redhat.com>
37221 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37222 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37223 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37225 * math/math_private.h (math_force_eval): Allow non-addressable
37227 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37229 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37231 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37232 file is not needed.
37234 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37235 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37236 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37237 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37238 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37239 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37240 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37241 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37243 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37244 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37245 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37246 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37247 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37248 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37249 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37250 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37251 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37252 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37253 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37254 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37255 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37256 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37257 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37258 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37259 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37260 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37261 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37263 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37264 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37266 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37267 place. Use VEX encoding when compiling for AVX.
37269 2011-10-25 Andreas Schwab <schwab@redhat.com>
37271 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37272 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37274 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37276 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37278 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37279 useless if() expression.
37280 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37281 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37282 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37283 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37284 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37285 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37286 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37287 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37288 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37289 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37290 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37291 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37292 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37293 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37294 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37295 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37296 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37297 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37298 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37300 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37302 2011-10-25 Andreas Schwab <schwab@redhat.com>
37304 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37306 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37308 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37310 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37311 .text section. Avoid duplicate constants.
37312 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37313 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37314 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37315 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37316 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37317 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37318 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37319 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37320 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37321 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37322 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37323 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37324 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37325 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37326 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37327 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37328 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37329 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37330 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37331 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37332 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37333 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37334 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37335 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37336 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37337 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37338 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37339 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37340 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37341 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37342 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37343 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37344 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37345 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37346 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37347 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37348 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37349 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37350 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37351 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37352 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37353 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37354 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37355 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37356 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37358 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37360 * sysdeps/x86_64/dla.h: Move to ...
37361 * sysdeps/x86_64/fpu/dla.h: ...here.
37362 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37363 situations. Use __builtin_fma only for gcc 4.6 and up.
37365 * config.make.in: Add have-mfma4 entry.
37366 * configure.in: Substitute libc_cv_cc_fma4.
37367 * math/Makefile (dbl-only-routines): Add sincostab.
37368 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37369 Use __sincostab not sincos.
37370 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37372 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37373 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37377 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37378 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37379 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37380 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37382 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37383 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37385 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37386 define aliases when function name is a macro.
37387 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37388 sysdeps/ieee754/dbl-64/sincos.tbl.
37389 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37390 fma4-enabled routines.
37391 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37392 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37393 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37394 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37395 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37396 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37397 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37398 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37399 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37400 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37401 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37402 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37403 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37404 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37405 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37406 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37407 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37408 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37409 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37410 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37411 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37412 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37413 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37414 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37415 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37416 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37417 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37418 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37419 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37420 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37422 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37424 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37425 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37426 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37428 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37429 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37430 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37431 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37433 2011-10-24 Andreas Schwab <schwab@redhat.com>
37435 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37437 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37439 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37441 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37443 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37445 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37446 Remove unused variable magic_bits.
37447 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37449 * string/strnlen.c: Define and use STRNLEN macro.
37450 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37451 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37452 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37453 * wcsmbs/wcslen.c: Define and use WCSLEN.
37454 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37455 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37456 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37457 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37458 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37459 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37460 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37462 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37465 strnlen-sse2-no-bsf.
37466 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37467 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37468 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37469 Add strnlen support.
37470 (USE_AS_STRNLEN): New macro.
37471 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37472 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37473 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37474 * sysdeps/x86_64/wcslen.S: New file.
37476 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37478 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37479 XMM-moves are used for copying on small sizes.
37481 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37483 * wcsmbs/Makefile (strop-tests): Add wcschr.
37484 * wcsmbs/test-wcschr.c: New file.
37485 * string/test-strchr.c: Update.
37486 Add wcschr support.
37489 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37491 * wcsmbs/Makefile (strop-tests): Add wcslen.
37492 * wcsmbs/test-wcslen.c: New file.
37493 * string/test-strlen.c: Update.
37494 Add wcslen support.
37497 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37499 * po/it.po: Update from translation team.
37501 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37503 * sysdeps/x86_64/wcscmp.S: Update.
37504 Fix wrong comparison semantics.
37505 wcscmp shall use signed comparison not unsigned.
37506 Don't use substraction to avoid overflow bug.
37507 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37508 * wcsmbc/wcscmp.c: Likewise.
37509 * string/test-strcmp.c: Likewise.
37510 Add new tests to check cases with negative values.
37512 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37514 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37515 * sysdeps/x86_64/dla.h: ...here. New file.
37516 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37517 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37518 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37521 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37523 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37524 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37526 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37528 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37529 __ynl_finite aliases.
37531 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37535 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37537 [DLA_FMA] (EMULV): Use DLA_FMA.
37538 [DLA_FMA] (MUL12): Use EMULV.
37539 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37540 that are not needed.
37541 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37542 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37543 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37544 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37545 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37546 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37547 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37549 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37551 * math/s_nan.c: Undef __nan.
37552 * math/s_nanf.c: Undef __nanf.
37553 * math/s_nanl.c: Undef __nanl.
37554 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37557 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37559 * math/s_catan.c: Add branch predictions.
37560 * math/s_catanf.c: Likewise.
37561 * math/s_catanh.c: Likewise.
37562 * math/s_catanhf.c: Likewise.
37563 * math/s_catanhl.c: Likewise.
37564 * math/s_catanl.c: Likewise.
37565 * math/s_cexp.c: Likewise.
37566 * math/s_cexpf.c: Likewise.
37567 * math/s_cexpl.c: Likewise.
37568 * math/s_clog.c: Likewise.
37569 * math/s_clog10.c: Likewise.
37570 * math/s_clog10f.c: Likewise.
37571 * math/s_clog10l.c: Likewise.
37572 * math/s_clogf.c: Likewise.
37573 * math/s_clogl.c: Likewise.
37574 * math/s_csqrt.c: Likewise.
37575 * math/s_csqrtf.c: Likewise.
37576 * math/s_csqrtl.c: Likewise.
37577 * math/s_ctanf.c: Likewise.
37578 * math/s_ctanh.c: Likewise.
37579 * math/s_ctanhf.c: Likewise.
37580 * math/s_ctanhl.c: Likewise.
37581 * math/s_ctanl.c: Likewise.
37583 * math/math_private.h: Define __nan, __nanf, __nanl.
37584 * math/s_cacosh.c: Include <math_private.h>.
37585 * math/s_cacoshl.c: Likewise.
37586 * math/s_casinh.c: Likewise.
37587 * math/s_casinhf.c: Likewise.
37588 * math/s_casinhl.c: Likewise.
37589 * math/s_ccos.c: Rely entire on ccosh.
37590 * math/s_ccosf.c: Rely entire on ccoshf.
37591 * math/s_ccosl.c: Rely entirely on ccoshl.
37592 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37593 Remove tests for FE_INVALID.
37594 * math/s_ccoshf.c: Likewise.
37595 * math/s_ccoshl.c: Likewise.
37596 * math/s_csin.c: Likewise.
37597 * math/s_csinf.c: Likewise.
37598 * math/s_csinh.c Likewise.
37599 * math/s_csinhf.c: Likewise.
37600 * math/s_csinhl.c: Likewise.
37601 * math/s_csinl.c: Likewise.
37602 * math/s_ctan.c: Likewise.
37603 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37604 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37605 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37607 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37610 compilation problems.
37612 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37615 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37617 * sysdeps/i386/configure.in: Test for -mfma4 option.
37618 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37619 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37620 COMMON_CPUID_INDEX_80000001.
37621 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37622 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37623 use it if FMA3 is not supported.
37624 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37626 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37627 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37629 2011-10-20 Andreas Schwab <schwab@redhat.com>
37632 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37633 it would create a cycle with a link time dependency.
37635 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37637 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37639 * string/Makefile (strop-tests): Add rawmemchr.
37640 * string/test-rawmemchr.c: New file.
37642 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37643 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37644 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37645 when compiling str{,n}casecmp and when AVX is available. Hook up
37646 new optimized code in initializers.
37648 2011-10-19 Andreas Schwab <schwab@redhat.com>
37650 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37651 __feraiseexcept instead of feraiseexcept.
37653 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37655 * math/math_private.h: Define defaults for libc_fetestexcept and
37657 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37658 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37659 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37660 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37661 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37662 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37663 libc_fetestexcept and libc_feupdateenv.
37665 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37666 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37667 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37668 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37669 libc_feholdexcept_setround.
37671 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37672 Add s_nearbyint-c and s_nearbyintf-c.
37673 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37674 nearbyintf inlines.
37675 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37676 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37677 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37678 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37680 * math/math_private.h: Define defaults for libc_fegetround,
37681 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37682 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37683 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37684 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37685 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37686 standard functions.
37687 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37688 Remove comments and hacks for old compiler versions.
37689 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37690 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37691 libc_feholdexceptl.
37693 2011-10-18 Andreas Schwab <schwab@redhat.com>
37695 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37696 (__feraiseexcept_renamed): Add __NTH.
37697 (feraiseexcept): Add __NTH. Rename local variables to fix
37698 namespace violations.
37700 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37702 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37704 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37706 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37707 recently added interfaces.
37708 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37710 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37711 about macro parameter expansion.
37713 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37714 __NO_MATH_INLINES is defined. Cleanups.
37716 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37717 and __floorf is target has SSE4.1.
37718 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37719 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37720 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37721 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37723 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37725 (floorf): Likewise.
37727 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37729 2011-10-17 Andreas Schwab <schwab@redhat.com>
37731 * misc/sys/cdefs.h: Fix last change.
37733 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37736 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37738 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37740 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37741 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37742 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37743 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37744 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37745 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37746 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37747 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37748 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37749 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37750 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37751 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37752 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37753 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37754 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37755 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37756 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37757 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37758 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37759 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37760 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37761 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37763 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37764 ceil, ceilf, floor, floorf.
37766 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37767 Perform IRELATIVE relocations last.
37769 * elf/do-rel.h: Add another parameter nrelative, replacing the
37770 local variable with the same name. Change name of the function
37771 to end in Rel or Rela (uppercase).
37772 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37773 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37774 elf_dynamic_do_##reloc function.
37776 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37778 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37779 is sufficient, at least on modern CPUs.
37781 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37783 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37784 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37786 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37788 * math/bits/math-finite.h: Add entries for exp.
37789 * math/e_expl.c: Add __*_finite alias.
37790 * sysdeps/i386/fpu/e_exp.S: Likewise.
37791 * sysdeps/i386/fpu/e_expf.S: Likewise.
37792 * sysdeps/i386/fpu/e_expl.c: Likewise.
37793 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37794 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37795 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37796 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37797 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37798 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37799 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37801 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37802 is sufficient, at least on modern CPUs.
37804 * ctype/ctype-info.c (__ctype_init): Define.
37805 * include/ctype.h (__ctype_init): Declare.
37806 (__ctype_b_loc): The variable is always initialized.
37807 (__ctype_toupper_loc): Likewise.
37808 (__ctype_tolower_loc): Likewise.
37809 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37810 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37812 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37814 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37816 * configure.in: Also look in $cxxmachine/include for C++ system
37819 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37821 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37822 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37823 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37824 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37825 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37826 (USE_AS_WMEMCMP): New macro.
37828 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37829 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37830 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37831 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37832 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37833 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37834 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37835 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37836 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37837 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37838 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37839 (USE_AS_WMEMCMP): New macro.
37840 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37841 * sysdeps/string/test-memcmp.c: Update.
37842 Fix simple_wmemcmp.
37844 * wcsmbs/wmemcmp.c: Update.
37845 (WMEMCMP): New macro.
37848 2011-10-12 Andreas Jaeger <aj@suse.de>
37851 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37853 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37855 * libio/iofwide.c (do_length): Avoid warning.
37857 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37859 2011-10-14 Ulrich Drepper <drepper@gmail.com>
37861 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37863 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37864 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37865 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37866 * sysdeps/i386/i686/fpu/e_log.S: New file.
37867 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37868 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37870 * ctype/ctype.h: Add support for inlined isXXX functions when
37871 compiling C++ code.
37873 2011-10-14 Andreas Schwab <schwab@redhat.com>
37875 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37877 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37879 2011-10-13 Roland McGrath <roland@hack.frob.com>
37882 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37884 2011-10-13 Andreas Schwab <schwab@redhat.com>
37886 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37887 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37890 * sysdeps/x86_64/memrchr.S: Check for zero size.
37892 * string/stratcliff.c: Add memrchr tests.
37894 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37897 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37898 rawmemchr-sse2 rawmemchr-sse2-bsf.
37899 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37900 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37901 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37902 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37903 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37904 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37905 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37906 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37907 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37908 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37909 * string/memrchr.c (MEMRCHR): New macro.
37911 2011-10-12 Ulrich Drepper <drepper@gmail.com>
37913 Add integration with gcc's -ffinite-math-only and optimize wrapper
37915 * Versions.def: Define GLIBC_2.15 version for libm.
37916 * math/Makefile (headers): Add bits/math-finite.h.
37917 * math/bits/math-finite.h: New file.
37918 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37919 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37920 * math/e_acoshl.c: Add __*_finite alias.
37921 * math/e_acosl.c: Likewise.
37922 * math/e_asinl.c: Likewise.
37923 * math/e_atan2l.c: Likewise.
37924 * math/e_atanhl.c: Likewise.
37925 * math/e_coshl.c: Likewise.
37926 * math/e_exp10.c: Likewise.
37927 * math/e_exp10f.c: Likewise.
37928 * math/e_exp10l.c: Likewise.
37929 * math/e_exp2l.c: Likewise.
37930 * math/e_fmodl.c: Likewise.
37931 * math/e_gammal_r.c: Likewise.
37932 * math/e_hypotl.c: Likewise.
37933 * math/e_j0l.c: Likewise.
37934 * math/e_j1l.c: Likewise.
37935 * math/e_jnl.c: Likewise.
37936 * math/e_lgammal_r.c: Likewise.
37937 * math/e_log10l.c: Likewise.
37938 * math/e_log2l.c: Likewise.
37939 * math/e_logl.c: Likewise.
37940 * math/e_powl.c: Likewise.
37941 * math/e_sinhl.c: Likewise.
37942 * math/e_sqrtl.c: Likewise.
37943 * math/e_scalb.c: Completely rewritten and optimized.
37944 * math/e_scalbf.c: Likewise.
37945 * math/e_scalbl.c: Likewise.
37946 * math/w_acos.c: Likewise.
37947 * math/w_acosf.c: Likewise.
37948 * math/w_acosl.c: Likewise.
37949 * math/w_acosh.c: Likewise.
37950 * math/w_acoshf.c: Likewise.
37951 * math/w_acoshl.c: Likewise.
37952 * math/w_asin.c: Likewise.
37953 * math/w_asinf.c: Likewise.
37954 * math/w_asinl.c: Likewise.
37955 * math/w_atan2.c: Likewise.
37956 * math/w_atan2f.c: Likewise.
37957 * math/w_atan2l.c: Likewise.
37958 * math/w_atanh.c: Likewise.
37959 * math/w_atanhf.c: Likewise.
37960 * math/w_atanhl.c: Likewise.
37961 * math/w_exp10.c: Likewise.
37962 * math/w_exp10f.c: Likewise.
37963 * math/w_exp10l.c: Likewise.
37964 * math/w_fmod.c: Likewise.
37965 * math/w_fmodf.c: Likewise.
37966 * math/w_fmodl.c: Likewise.
37967 * math/w_j0.c: Likewise.
37968 * math/w_j0f.c: Likewise.
37969 * math/w_j0l.c: Likewise.
37970 * math/w_j1.c: Likewise.
37971 * math/w_j1f.c: Likewise.
37972 * math/w_j1l.c: Likewise.
37973 * math/w_jn.c: Likewise.
37974 * math/w_jnf.c: Likewise.
37975 * math/w_log.c: Likewise.
37976 * math/w_logf.c: Likewise.
37977 * math/w_logl.c: Likewise.
37978 * math/w_log10.c: Likewise.
37979 * math/w_log10f.c: Likewise.
37980 * math/w_log10l.c: Likewise.
37981 * math/w_log2.c: Likewise.
37982 * math/w_log2f.c: Likewise.
37983 * math/w_log2l.c: Likewise.
37984 * math/w_pow.c: Likewise.
37985 * math/w_powf.c: Likewise.
37986 * math/w_powl.c: Likewise.
37987 * math/w_remainder.c: Likewise.
37988 * math/w_remainderf.c: Likewise.
37989 * math/w_remainderl.c: Likewise.
37990 * math/w_scalb.c: Likewise.
37991 * math/w_scalbf.c: Likewise.
37992 * math/w_scalbl.c: Likewise.
37993 * math/w_sqrt.c: Likewise.
37994 * math/w_sqrtf.c: Likewise.
37995 * math/w_sqrtl.c: Likewise.
37996 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37997 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37999 * math/math_private.h: Declare __kernel_standard_f.
38000 * math/w_cosh.c: Remove cruft and optimize a bit.
38001 * math/w_coshf.c: Likewise.
38002 * math/w_coshl.c: Likewise.
38003 * math/w_exp2.c: Likewise.
38004 * math/w_exp2f.c: Likewise.
38005 * math/w_exp2l.c: Likewise.
38006 * math/w_hypot.c: Likewise.
38007 * math/w_hypotf.c: Likewise.
38008 * math/w_hypotl.c: Likewise.
38009 * math/w_lgamma.c: Likewise.
38010 * math/w_lgamma_r.c: Likewise.
38011 * math/w_lgammaf.c: Likewise.
38012 * math/w_lgammaf_r.c: Likewise.
38013 * math/w_lgammal.c: Likewise.
38014 * math/w_lgammal_r.c: Likewise.
38015 * math/w_sinh.c: Likewise.
38016 * math/w_sinhf.c: Likewise.
38017 * math/w_sinhl.c: Likewise.
38018 * math/w_tgamma.c: Likewise.
38019 * math/w_tgammaf.c: Likewise.
38020 * math/w_tgammal.c: Likewise.
38021 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38022 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38023 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38024 Minor optimizations. Pretty printing. Remove cruft.
38025 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38026 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38027 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38028 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38029 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38030 * sysdeps/i386/fpu/e_asin.S: Likewise.
38031 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38032 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38033 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38034 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38035 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38036 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38037 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38038 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38039 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38040 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38041 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38042 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38043 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38044 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38045 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38046 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38047 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38048 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38049 * sysdeps/i386/fpu/e_log.S: Likewise.
38050 * sysdeps/i386/fpu/e_log10.S: Likewise.
38051 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38052 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38053 * sysdeps/i386/fpu/e_log2.S: Likewise.
38054 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38055 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38056 * sysdeps/i386/fpu/e_logf.S: Likewise.
38057 * sysdeps/i386/fpu/e_logl.S: Likewise.
38058 * sysdeps/i386/fpu/e_pow.S: Likewise.
38059 * sysdeps/i386/fpu/e_powf.S: Likewise.
38060 * sysdeps/i386/fpu/e_powl.S: Likewise.
38061 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38062 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38063 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38064 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38065 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38066 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38067 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38068 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38069 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38070 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38071 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38072 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38073 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38074 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38075 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38076 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38077 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38078 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38079 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38080 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38081 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38083 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38084 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38085 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38086 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38087 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38088 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38089 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38090 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38091 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38092 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38093 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38094 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38095 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38096 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38097 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38098 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38099 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38100 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38101 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38102 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38103 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38104 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38105 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38106 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38107 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38108 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38109 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38110 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38111 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38112 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38113 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38114 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38115 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38116 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38117 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38118 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38119 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38120 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38121 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38122 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38123 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38124 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38125 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38126 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38127 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38128 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38129 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38130 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38131 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38132 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38133 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38134 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38135 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38136 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38137 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38138 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38139 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38140 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38141 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38142 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38143 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38144 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38145 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38146 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38147 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38148 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38149 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38150 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38151 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38152 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38153 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38154 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38155 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38156 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38157 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38158 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38159 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38160 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38161 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38162 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38163 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38164 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38165 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38166 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38167 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38168 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38169 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38170 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38171 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38172 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38173 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38174 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38175 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38176 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38177 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38178 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38179 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38180 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38181 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38182 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38183 (__isnanf): Likewise.
38184 (__isinf_ns): Likewise.
38185 (__isinf_nsf): Likewise.
38186 (__finite): Likewise.
38187 (__finitef): Likewise.
38188 (__ieee754_sqrt): Define as macro.
38189 (__ieee754_sqrtf): Define as macro.
38190 (__ieee754_sqrtl): Define as macro.
38191 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38193 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38194 __FINITE_MATH_ONLY__ consistent.
38195 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38197 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38199 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38202 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38204 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38206 * po/ja.po: Update from translation team.
38208 2011-10-08 Roland McGrath <roland@hack.frob.com>
38210 * locale/programs/locarchive.c (prepare_address_space): New function.
38211 (create_archive, enlarge_archive, open_archive): Use it.
38213 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38214 inside [SHARED], where it is used.
38216 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38218 * nss/getent.c (netgroup_keys): Remove unused variable.
38219 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38221 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38223 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38224 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38225 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38226 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38227 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38228 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38229 * math/Makefile (libm-calls): Add s_isinf_ns.
38230 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38231 * math/multc3.c: Likewise.
38232 * math/s_casin.c: Likewise.
38233 * math/s_casinf.c: Likewise.
38234 * math/s_casinl.c: Likewise.
38235 * math/s_ccos.c: Likewise.
38236 * math/s_ccosf.c: Likewise.
38237 * math/s_ccosl.c: Likewise.
38238 * math/s_ctan.c: Likewise.
38239 * math/s_ctanf.c: Likewise.
38240 * math/s_ctanh.c: Likewise.
38241 * math/s_ctanhf.c: Likewise.
38242 * math/s_ctanhl.c: Likewise.
38243 * math/s_ctanl.c: Likewise.
38244 * math/w_fmod.c: Likewise.
38245 * math/w_fmodf.c: Likewise.
38246 * math/w_fmodl.c: Likewise.
38247 * math/w_remainder.c: Likewise.
38248 * math/w_remainderf.c: Likewise.
38249 * math/w_remainderl.c: Likewise.
38250 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38251 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38252 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38253 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38254 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38255 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38256 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38257 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38259 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38261 * stdio-common/printf_fphex.c: Likewise.
38262 * stdio-common/printf_size.c: Likewise.
38264 * math/e_exp10.c: Include math_private.h using <...> not "...".
38265 * math/e_exp10f.c: Likewise.
38266 * math/e_exp10l.c: Likewise.
38267 * math/e_exp2l.c: Likewise.
38268 * math/e_j0l.c: Likewise.
38269 * math/e_j1l.c: Likewise.
38270 * math/e_jnl.c: Likewise.
38271 * math/e_lgammal_r.c: Likewise.
38272 * math/e_rem_pio2l.c: Likewise.
38273 * math/e_scalb.c: Likewise.
38274 * math/e_scalbf.c: Likewise.
38275 * math/e_scalbl.c: Likewise.
38276 * math/k_cosl.c: Likewise.
38277 * math/k_sinl.c: Likewise.
38278 * math/k_tanl.c: Likewise.
38279 * math/s_cacoshf.c: Likewise.
38280 * math/s_catan.c: Likewise.
38281 * math/s_catanf.c: Likewise.
38282 * math/s_catanh.c: Likewise.
38283 * math/s_catanhf.c: Likewise.
38284 * math/s_catanhl.c: Likewise.
38285 * math/s_catanl.c: Likewise.
38286 * math/s_ccosh.c: Likewise.
38287 * math/s_ccoshf.c: Likewise.
38288 * math/s_ccoshl.c: Likewise.
38289 * math/s_cexp.c: Likewise.
38290 * math/s_cexpf.c: Likewise.
38291 * math/s_cexpl.c: Likewise.
38292 * math/s_clog.c: Likewise.
38293 * math/s_clog10.c: Likewise.
38294 * math/s_clog10f.c: Likewise.
38295 * math/s_clog10l.c: Likewise.
38296 * math/s_clogf.c: Likewise.
38297 * math/s_clogl.c: Likewise.
38298 * math/s_csin.c: Likewise.
38299 * math/s_csinf.c: Likewise.
38300 * math/s_csinh.c: Likewise.
38301 * math/s_csinhf.c: Likewise.
38302 * math/s_csinhl.c: Likewise.
38303 * math/s_csinl.c: Likewise.
38304 * math/s_csqrt.c: Likewise.
38305 * math/s_csqrtf.c: Likewise.
38306 * math/s_csqrtl.c: Likewise.
38307 * math/s_ctan.c: Likewise.
38308 * math/s_ctanf.c: Likewise.
38309 * math/s_ctanh.c: Likewise.
38310 * math/s_ctanhf.c: Likewise.
38311 * math/s_ctanhl.c: Likewise.
38312 * math/s_ctanl.c: Likewise.
38313 * math/s_ldexp.c: Likewise.
38314 * math/s_ldexpf.c: Likewise.
38315 * math/s_ldexpl.c: Likewise.
38316 * math/s_significand.c: Likewise.
38317 * math/s_significandf.c: Likewise.
38318 * math/s_significandl.c: Likewise.
38319 * math/w_acos.c: Likewise.
38320 * math/w_acosf.c: Likewise.
38321 * math/w_acosh.c: Likewise.
38322 * math/w_acoshf.c: Likewise.
38323 * math/w_acoshl.c: Likewise.
38324 * math/w_acosl.c: Likewise.
38325 * math/w_asin.c: Likewise.
38326 * math/w_asinf.c: Likewise.
38327 * math/w_asinl.c: Likewise.
38328 * math/w_atan2.c: Likewise.
38329 * math/w_atan2f.c: Likewise.
38330 * math/w_atan2l.c: Likewise.
38331 * math/w_atanh.c: Likewise.
38332 * math/w_atanhf.c: Likewise.
38333 * math/w_atanhl.c: Likewise.
38334 * math/w_cosh.c: Likewise.
38335 * math/w_coshf.c: Likewise.
38336 * math/w_coshl.c: Likewise.
38337 * math/w_dremf.c: Likewise.
38338 * math/w_exp10.c: Likewise.
38339 * math/w_exp10f.c: Likewise.
38340 * math/w_exp10l.c: Likewise.
38341 * math/w_exp2.c: Likewise.
38342 * math/w_exp2f.c: Likewise.
38343 * math/w_fmod.c: Likewise.
38344 * math/w_fmodf.c: Likewise.
38345 * math/w_fmodl.c: Likewise.
38346 * math/w_hypot.c: Likewise.
38347 * math/w_hypotf.c: Likewise.
38348 * math/w_hypotl.c: Likewise.
38349 * math/w_j0.c: Likewise.
38350 * math/w_j0f.c: Likewise.
38351 * math/w_j0l.c: Likewise.
38352 * math/w_j1.c: Likewise.
38353 * math/w_j1f.c: Likewise.
38354 * math/w_j1l.c: Likewise.
38355 * math/w_jn.c: Likewise.
38356 * math/w_jnf.c: Likewise.
38357 * math/w_jnl.c: Likewise.
38358 * math/w_lgamma.c: Likewise.
38359 * math/w_lgamma_r.c: Likewise.
38360 * math/w_lgammaf.c: Likewise.
38361 * math/w_lgammaf_r.c: Likewise.
38362 * math/w_lgammal.c: Likewise.
38363 * math/w_lgammal_r.c: Likewise.
38364 * math/w_log.c: Likewise.
38365 * math/w_log10.c: Likewise.
38366 * math/w_log10f.c: Likewise.
38367 * math/w_log10l.c: Likewise.
38368 * math/w_log2.c: Likewise.
38369 * math/w_log2f.c: Likewise.
38370 * math/w_log2l.c: Likewise.
38371 * math/w_logf.c: Likewise.
38372 * math/w_logl.c: Likewise.
38373 * math/w_pow.c: Likewise.
38374 * math/w_powf.c: Likewise.
38375 * math/w_powl.c: Likewise.
38376 * math/w_remainder.c: Likewise.
38377 * math/w_remainderf.c: Likewise.
38378 * math/w_remainderl.c: Likewise.
38379 * math/w_scalb.c: Likewise.
38380 * math/w_scalbf.c: Likewise.
38381 * math/w_scalbl.c: Likewise.
38382 * math/w_sinh.c: Likewise.
38383 * math/w_sinhf.c: Likewise.
38384 * math/w_sinhl.c: Likewise.
38385 * math/w_sqrt.c: Likewise.
38386 * math/w_sqrtf.c: Likewise.
38387 * math/w_sqrtl.c: Likewise.
38388 * math/w_tgamma.c: Likewise.
38389 * math/w_tgammaf.c: Likewise.
38390 * math/w_tgammal.c: Likewise.
38392 * po/ja.po: Update from translation team.
38394 2011-09-29 Andreas Jaeger <aj@suse.de>
38397 * sunrpc/netname.c (netname2host): Fix logic.
38401 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38403 * math/w_remainder.c (__remainder): Likewise.
38404 * math/w_remainderf.c (__remainderf): Likewise.
38405 * math/libm-test.inc (remainder_test): Add test cases.
38407 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38409 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38412 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38414 * string/test-memcmp.c: Avoid unncessary #defines.
38415 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38417 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38419 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38420 Use new sse2 version for core i3 - i7 as it's faster
38421 than sse42 version.
38422 (bit_Prefer_PMINUB_for_stringop): New.
38423 * sysdeps/x86_64/rawmemchr.S: Update.
38424 Replace with faster SSE2 version.
38425 * sysdeps/x86_64/memrchr.S: New file.
38426 * sysdeps/x86_64/memchr.S: Update.
38427 Replace with faster SSE2 version.
38429 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38431 * elf/dl-load.c (lose): Add cast to avoid warning.
38433 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38435 * po/ca.po: Update from translation team.
38437 * inet/getnetgrent_r.c: Hook up nscd.
38438 * nscd/Makefile (routines): Add nscd_netgroup.
38439 (nscd-modules): Add netgroupcache.
38440 (CFLAGS-netgroupcache.c): Define.
38441 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38442 (cache_search): Add const to second parameter.
38443 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38445 (dbs): Add netgrdb entry.
38446 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38447 (verify_persistent_db): Handle netgrdb.
38448 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38449 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38451 (netgroup_response_header): Define.
38452 (innetgroup_response_header): Define.
38453 (datahead): Add netgroup_response_header and innetgroup_response_header
38455 * nscd/nscd.conf: Add entries for netgroup cache.
38456 * nscd/nscd.h (dbtype): Add netgrdb.
38457 (_PATH_NSCD_NETGROUP_DB): Define.
38458 (netgroup_iov_disabled): Declare.
38459 (xmalloc, xcalloc, xrealloc): Move declarations here.
38460 (cache_search): Adjust prototype.
38461 Add netgroup-related prototypes.
38462 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38463 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38464 (__nscd_innetgr): Declare.
38465 * nscd/selinux.c (perms): Use access_vector_t as element type and
38466 add netgroup-related initializers.
38467 * nscd/netgroupcache.c: New file.
38468 * nscd/nscd_netgroup.c: New file.
38469 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38470 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38471 For four parameters use innetgr.
38472 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38473 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38474 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38475 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38477 * nscd/connections.c (register_traced_file): Don't register file
38478 for disabled databases.
38480 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38482 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38484 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38485 from tree and freeing node.
38487 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38489 * nss/nsswitch.c (__nss_database_lookup): Handle
38490 nss_parse_service_list out of memory case.
38492 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38494 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38495 out of memory case.
38497 2011-10-04 Andreas Schwab <schwab@redhat.com>
38499 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38500 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38502 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38503 elf_machine_rela, elf_machine_lazy_rel.
38504 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38505 (ELF_DYNAMIC_DO_REL): Likewise.
38506 (ELF_DYNAMIC_DO_RELA): Likewise.
38507 (ELF_DYNAMIC_RELOCATE): Likewise.
38508 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38509 to ELF_DYNAMIC_DO_REL.
38510 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38511 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38512 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38514 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38515 skip_ifunc, don't call ifunc function if non-zero.
38516 (elf_machine_rela): Likewise.
38517 (elf_machine_lazy_rel): Likewise.
38518 (elf_machine_lazy_rela): Likewise.
38519 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38520 (elf_machine_lazy_rel): Likewise.
38521 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38523 (elf_machine_lazy_rel): Likewise.
38524 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38526 (elf_machine_lazy_rel): Likewise.
38527 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38528 (elf_machine_lazy_rel): Likewise.
38529 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38530 (elf_machine_lazy_rel): Likewise.
38531 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38532 (elf_machine_lazy_rel): Likewise.
38533 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38534 (elf_machine_lazy_rel): Likewise.
38535 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38536 (elf_machine_lazy_rel): Likewise.
38537 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38538 (elf_machine_lazy_rel): Likewise.
38540 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38542 * nss/nss_files/files-init.c (_nss_files_init): Use static
38543 initialization for all the *_traced_file variables.
38545 2011-09-28 Andreas Schwab <schwab@redhat.com>
38547 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38549 2011-09-27 Roland McGrath <roland@hack.frob.com>
38552 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38554 2011-09-27 Andreas Schwab <schwab@redhat.com>
38556 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38557 Reread the line before reparsing it.
38559 2011-09-26 Andreas Schwab <schwab@redhat.com>
38561 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38563 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38564 Maxim Kuvyrkov <maxim@codesourcery.com>
38565 Joseph Myers <joseph@codesourcery.com>
38567 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38568 if needed for __stack_chk_guard.
38570 2011-09-19 Roland McGrath <roland@hack.frob.com>
38572 * sysdeps/posix/spawni.c (script_execute): Always define it.
38573 It will be optimized away if unused.
38574 (maybe_script_execute): New function.
38575 (__spawni): Call it.
38577 * Makerules: Don't include tls.make.
38578 (config-tls): Always set to thread.
38579 * tls.make.c: File removed.
38581 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38583 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38584 * config.make.in (CPPFLAGS-config): New substituted variable.
38586 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38588 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38591 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38592 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38594 2011-09-15 Roland McGrath <roland@hack.frob.com>
38596 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38597 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38598 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38599 (CALL_FAIL): Likewise.
38600 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38601 (CALL_FAIL): Macro removed.
38602 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38604 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38606 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38607 for __FINITE_MATH_ONLY__ == 1.
38609 2011-09-15 Andreas Schwab <schwab@redhat.com>
38611 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38612 __ieee754_sqrt instead of sqrt.
38613 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38614 __ieee754_sqrtf instead of sqrtf.
38615 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38616 __floorf instead of floorf.
38617 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38618 __floorf, __truncf instead of floorf, truncf.
38620 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38622 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38624 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38625 __extern_always_inline.
38626 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38629 2011-09-14 Andreas Schwab <schwab@redhat.com>
38631 * elf/rtld.c (dl_main): Also relocate in dependency order when
38632 doing symbol dependency testing.
38634 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38636 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38637 Always define `refsym'.
38639 2011-09-13 Andreas Schwab <schwab@redhat.com>
38641 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38642 (__FD_ELT): Renamed from __FDELT.
38643 * misc/bits/select2.h (__FD_ELT): Likewise.
38644 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38645 __FD_MASK instead of __FDELT, __FDMASK.
38646 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38648 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38651 * elf/Makefile (gen-ldd): Fix pattern.
38653 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38654 (init_tls): Likewise.
38656 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38658 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38660 2011-09-12 Andreas Schwab <schwab@redhat.com>
38662 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38663 `struct cmsghdr *' instead of `void *'.
38664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38667 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38669 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38671 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38672 ldd_rewrite_script.
38674 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38676 * configure.in: Remove --with-tls option.
38677 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38678 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38679 out in case it is missing.
38680 * sysdeps/ia64/elf/configure.in: Likewise.
38681 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38682 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38683 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38684 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38685 * sysdeps/sh/elf/configure.in: Likewise.
38686 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38687 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38688 * sysdeps/x86_64/elf/configure.in: Likewise.
38689 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38690 * sysdeps/mach/hurd/tls.h: Likewise.
38693 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38696 * configure.in: Fix use of AC_INIT.
38698 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38700 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38702 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38704 * malloc/hooks.c: Likewise.
38707 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38708 variables statically.
38709 (narenas): Initialize.
38710 (list_lock): Initialize.
38711 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38712 initializtion of main_arena and list_lock. Small cleanups.
38713 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38714 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38715 Add initializers to main_arena and mp_.
38716 (malloc_state): Remove pagesize member. Change all users to use
38719 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38720 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38721 is always initialized.
38723 * malloc/malloc.c: Removed unused configurations and dead code.
38724 * malloc/arena.c: Likewise.
38725 * malloc/hooks.c: Likewise.
38726 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38728 * include/tls.h: Removed. USE___THREAD must always be defined.
38729 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38730 * elf/dl-libc.c: Likewise.
38731 * elf/dl-tsd.c: Likewise.
38732 * include/errno.h: Likewise.
38733 * include/netdb.h: Likewise.
38734 * include/resolv.h: Likewise.
38735 * inet/herrno-loc.c: Likewise.
38736 * inet/herrno.c: Likewise.
38737 * malloc/arena.c: Likewise.
38738 * malloc/hooks.c: Likewise.
38739 * malloc/malloc.c: Likewise.
38740 * resolv/res-state.c: Likewise.
38741 * resolv/res_libc.c: Likewise.
38742 * sysdeps/i386/dl-machine.h: Likewise.
38743 * sysdeps/ia64/dl-machine.h: Likewise.
38744 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38745 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38746 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38747 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38748 * sysdeps/sh/dl-machine.h: Likewise.
38749 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38750 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38751 * sysdeps/unix/i386/sysdep.S: Likewise.
38752 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38753 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38754 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38755 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38756 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38757 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38758 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38759 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38760 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38761 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38762 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38763 * sysdeps/x86_64/dl-machine.h: Likewise.
38764 * tls.make.c: Likewise.
38766 * configure.in: Remove --with-__thread option. Make tests for
38767 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38768 tls_model attribute fail if no support is available. Remove
38770 * Makeconfig: Adjust for dropped configure option. All features are
38772 * Makerules: Likewise.
38773 * Versions.def: Likewise.
38774 * argp/argp-fmtstream.c: Likewise.
38775 * argp/argp-fmtstream.h: Likewise.
38776 * argp/argp-help.c: Likewise.
38777 * assert/assert.c: Likewise.
38778 * config.h.in: Likewise.
38779 * config.make.in: Likewise.
38780 * configure: Likewise.
38781 * configure.in: Likewise.
38782 * csu/Versions: Likewise.
38783 * csu/init.c: Likewise.
38784 * elf/tst-audit2.c: Likewise.
38785 * elf/tst-tls10.c: Likewise.
38786 * elf/tst-tls10.h: Likewise.
38787 * elf/tst-tls11.c: Likewise.
38788 * elf/tst-tls12.c: Likewise.
38789 * elf/tst-tls14.c: Likewise.
38790 * elf/tst-tlsmod11.c: Likewise.
38791 * elf/tst-tlsmod12.c: Likewise.
38792 * elf/tst-tlsmod13.c: Likewise.
38793 * elf/tst-tlsmod13a.c: Likewise.
38794 * elf/tst-tlsmod14a.c: Likewise.
38795 * elf/tst-tlsmod15b.c: Likewise.
38796 * elf/tst-tlsmod16a.c: Likewise.
38797 * elf/tst-tlsmod16b.c: Likewise.
38798 * elf/tst-tlsmod7.c: Likewise.
38799 * elf/tst-tlsmod8.c: Likewise.
38800 * elf/tst-tlsmod9.c: Likewise.
38801 * gmon/gmon.c: Likewise.
38802 * grp/fgetgrent_r.c: Likewise.
38803 * grp/putgrent.c: Likewise.
38804 * hurd/fopenport.c: Likewise.
38805 * include/libc-symbols.h: Likewise.
38806 * include/tls.h: Likewise.
38807 * intl/gettextP.h: Likewise.
38808 * intl/loadinfo.h: Likewise.
38809 * locale/global-locale.c: Likewise.
38810 * locale/localeinfo.h: Likewise.
38811 * mach/devstream.c: Likewise.
38812 * malloc/arena.c: Likewise.
38813 * malloc/set-freeres.c: Likewise.
38814 * misc/err.c: Likewise.
38815 * misc/getttyent.c: Likewise.
38816 * misc/mntent_r.c: Likewise.
38817 * posix/getopt.c: Likewise.
38818 * posix/wordexp.c: Likewise.
38819 * pwd/fgetpwent_r.c: Likewise.
38820 * resolv/Versions: Likewise.
38821 * resolv/res_hconf.c: Likewise.
38822 * shadow/fgetspent_r.c: Likewise.
38823 * shadow/putspent.c: Likewise.
38824 * stdio-common/printf_fphex.c: Likewise.
38825 * stdio-common/tmpfile.c: Likewise.
38826 * stdlib/abort.c: Likewise.
38827 * stdlib/fmtmsg.c: Likewise.
38828 * sunrpc/auth_unix.c: Likewise.
38829 * sunrpc/clnt_perr.c: Likewise.
38830 * sunrpc/clnt_tcp.c: Likewise.
38831 * sunrpc/clnt_udp.c: Likewise.
38832 * sunrpc/clnt_unix.c: Likewise.
38833 * sunrpc/openchild.c: Likewise.
38834 * sunrpc/svc_simple.c: Likewise.
38835 * sunrpc/svc_tcp.c: Likewise.
38836 * sunrpc/svc_udp.c: Likewise.
38837 * sunrpc/svc_unix.c: Likewise.
38838 * sunrpc/xdr.c: Likewise.
38839 * sunrpc/xdr_array.c: Likewise.
38840 * sunrpc/xdr_rec.c: Likewise.
38841 * sunrpc/xdr_ref.c: Likewise.
38842 * sunrpc/xdr_stdio.c: Likewise.
38844 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38846 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38848 2011-07-03 Andreas Jaeger <aj@suse.de>
38850 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38851 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38852 regenerate with gen-libm-tests.pl.
38854 2010-05-12 Petr Baudis <pasky@suse.cz>
38857 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38858 around j0() zero points by switching to j1().
38859 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38860 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38861 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38862 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38864 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38866 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38868 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38870 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38871 Patch in part by Pavel Roskin <proski@gnu.org>.
38874 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38876 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38877 Free memory block if necessary.
38880 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38881 be NULL. Don't lock in this case.
38883 2011-09-09 Roland McGrath <roland@hack.frob.com>
38885 * elf/elf.h (ELFOSABI_GNU): New macro.
38886 (ELFOSABI_LINUX): Define to that.
38888 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38890 * string/strncat.c (strncat): Undef the symbol in case it has been
38891 defined in bits/string.h.
38893 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38895 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38897 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38900 2011-08-17 Andreas Jaeger <aj@suse.de>
38902 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38904 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38905 Ian Lance Taylor <iant@google.com>
38907 * math/libm-test.inc (lround_test): New testcase.
38908 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38910 2011-09-08 Ulrich Drepper <drepper@gmail.com>
38912 * Makefile: Remove support for automatic cvs check-ins.
38913 * Makerules: Likewise.
38914 * config.make.in: Likewise.
38915 * configure.in: Likewise.
38916 * intl/Makefile: Likewise.
38917 * locale/Makefile: Likewise.
38918 * po/Makefile: Likewise.
38919 * posix/Makefile: Likewise.
38920 * sysdeps/gnu/Makefile: Likewise.
38921 * sysdeps/mach/hurd/Makefile: Likewise.
38922 * sysdeps/sparc/sparc32/Makefile: Likewise.
38925 * posix/Makefile (bug-regex32-ENV): Define.
38926 Patch by John Stanley <jpsinthemix@verizon.net>.
38928 * misc/Makefile (headers): Add bits/select2.h.
38929 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38930 * misc/bits/select2.h: New file.
38931 * include/bits/select2.h: New file.
38932 * debug/Makefile (routines): Add fdelt_chk.
38933 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38934 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38936 * debug/fdelt_chk.c: New file.
38938 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38939 * wcsmbs/test-wmemcmp.c: Likewise.
38940 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38941 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38943 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38945 * string/Makefile (strop-tests): Add memcmp.
38946 * string/test-wmemcmp.c: New file.
38947 * string/test-memcmp.c: Add wmemcmp support.
38949 2011-09-08 Roland McGrath <roland@hack.frob.com>
38952 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38955 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38956 garbage value in a __mach_port_mod_refs call in the cases of the
38957 task-self and thread-self ports.
38959 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38961 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38963 2011-09-08 Andreas Schwab <schwab@redhat.com>
38965 * elf/dl-load.c (lose): Check for non-null L.
38967 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38969 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38971 * elf/dl-libc.c (dlerror_run): Pass back error code from
38975 * elf/dl-load.c (lose): Free l_origin if it is valid.
38977 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38979 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38980 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38981 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38982 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38983 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38984 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38986 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38988 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38989 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38990 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38991 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38992 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38993 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38994 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38995 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38996 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38997 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38999 2011-08-15 Alan Modra <amodra@gmail.com>
39002 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39003 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39004 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39005 ppc_mcount to static-only-routines.
39006 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39008 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39009 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39011 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39013 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39014 for finite and infinity parameters.
39016 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39018 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39019 and add nop instructions for throughput optimization.
39020 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39022 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39024 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39025 aligned copy for power7 with vector-scalar instructions.
39026 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39028 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39030 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39033 2011-09-07 Andreas Schwab <schwab@redhat.com>
39036 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39039 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39041 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39042 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39043 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39044 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39047 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39049 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39050 Forgot to demangle the pointer.
39052 * sysdeps/i386/sysdep.h: Define atom_text_section.
39053 * sysdeps/x86_64/sysdep.h: Likewise.
39054 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39055 section with atom_text_section.
39056 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39057 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39058 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39059 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39060 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39062 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39063 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39064 already be defined. Change to take two parameters and don't assign
39065 result to variable. Adjust all users.
39066 Define INTERNAL_GETTIME if not already defined.
39067 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39070 HAVE_CLOCK_GETTIME_VSYSCALL.
39071 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39073 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39074 gettimeofday vsyscall, just use time.
39076 2011-09-06 Andreas Schwab <schwab@redhat.com>
39078 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39081 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39083 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39085 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39087 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39088 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39089 syscall if possible.
39091 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39093 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39094 e_ident. Don't pass to find_mapsXX.
39095 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39097 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39100 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39101 * sysdeps/x86_64/multiarch/strchr.S: Update.
39102 Check bit_slow_BSF bit.
39103 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39104 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39105 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39107 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39110 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39112 (tryshell): Define.
39113 (__spawni): Change last parameter to be flag. Test
39114 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39115 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39116 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39117 * posix/spawni.c: Likewise.
39118 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39119 * posix/spawnp.c: Likewise. Change normal version to use
39120 SPAWN_XFLAGS_USE_PATH.
39121 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39122 SPAWN_XFLAGS_TRY_SHELL.
39125 * posix/glob.h: Remove gcc 1.x support.
39128 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39130 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39132 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39133 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39135 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39136 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39137 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39138 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39139 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39140 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39142 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39144 * sysdeps/x86_64/wcscmp.S: New file.
39146 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39147 wcscmp-c wcscmp-sse2
39148 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39149 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39150 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39151 * wcsmbs/wcscmp.c: Allow renaming.
39153 2011-09-05 David S. Miller <davem@davemloft.net>
39155 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39156 stack slot, rather than the struct return pointer slot.
39157 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39158 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39160 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39162 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39164 * po/ja.po: Update from translation team.
39167 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39168 kernel in 64-bit binaries.
39170 2011-09-01 David S. Miller <davem@davemloft.net>
39172 * elf/elf.h (HWCAP_SPARC_*): Move to..
39173 * sysdeps/sparc/sysdep.h: this new file and add new values.
39174 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39175 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39176 _DL_HWCAP_COUNT to 24.
39177 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39179 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39180 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39181 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39182 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39183 instead of magic constants.
39184 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39186 2011-08-31 David S. Miller <davem@davemloft.net>
39188 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39189 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39190 Reimplement to do errno handling inline.
39191 (SYSCALL_ERROR_HANDLER): New macro.
39192 (__SYSCALL_STRING): Do not do errno handling in asm.
39193 (__CLONE_SYSCALL_STRING): Delete.
39194 (__INTERNAL_SYSCALL_STRING): Delete.
39195 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39196 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39197 (PSEUDO): Reimplement to do errno handling inline.
39198 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39199 (SYSCALL_ERROR_HANDLER): New macro.
39200 (__SYSCALL_STRING): Do not do errno handling in asm.
39201 (__CLONE_SYSCALL_STRING): Delete.
39202 (__INTERNAL_SYSCALL_STRING): Delete.
39203 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39204 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39206 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39207 (inline_syscall*): Add 'err' argument.
39208 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39209 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39210 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39211 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39213 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39214 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39216 2011-08-30 Andreas Schwab <schwab@redhat.com>
39218 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39220 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39222 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39225 2011-08-24 David S. Miller <davem@davemloft.net>
39227 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39229 2011-08-24 Andreas Schwab <schwab@redhat.com>
39231 * elf/Makefile: Add rules to build and run unload8 test.
39232 * elf/unload8.c: New file.
39233 * elf/unload8mod1.c: New file.
39234 * elf/unload8mod1x.c: New file.
39235 * elf/unload8mod2.c: New file.
39236 * elf/unload8mod3.c: New file.
39238 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39241 2011-08-23 David S. Miller <davem@davemloft.net>
39243 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39244 subtract stack bias.
39245 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39246 %sp not %fp in calculations.
39247 (_JMPBUF_UNWINDS_ADJ): Likewise.
39249 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39250 (aio_suspend): Call it to force an exception region around the
39251 AIO_MISC_WAIT() invocation.
39253 2011-08-23 Andreas Schwab <schwab@redhat.com>
39255 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39258 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39260 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39262 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39263 and <dl-machine.h>.
39264 (Elf64_FuncDesc): Remove.
39266 2011-08-22 David S. Miller <davem@davemloft.net>
39268 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39269 sigaltstack check, add missing cfi directives.
39270 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39271 missing cfi directives, and sigaltstack handling.
39273 2011-08-16 Andreas Schwab <schwab@redhat.com>
39276 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39277 object is seen twice.
39278 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39280 * elf/Makefile (distribute): Add tst-initorder2.c.
39281 (tests): Add tst-initorder2.
39282 (modules-names): Add tst-initorder2a tst-initorder2b
39283 tst-initorder2c tst-initorder2d. Add rules to build them.
39284 ($(objpfx)tst-initorder2.out): New rule.
39285 * elf/tst-initorder2.c: New file.
39286 * elf/tst-initorder2.exp: New file.
39288 2011-08-22 Andreas Schwab <schwab@redhat.com>
39290 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39292 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39293 dependencies back to end of function.
39295 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39296 $(elfobjdir)/ld.so.
39298 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39300 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39301 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39302 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39303 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39304 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39305 of __vdso_gettimeofday.
39306 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39307 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39309 (_libc_vdso_platform_setup): Remove initialization of
39310 __vdso_gettimeofday and __vdso_time.
39312 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39314 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39315 and fgetc_unlocked.
39316 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39319 * elf/dl-open.c (add_to_global): Report additions to the global scope
39320 for LD_DEBUG=scopes.
39321 (dl_open_worker): Also print scope of newly loaded dependencies.
39322 (_dl_show_scope): Indicate if there is no scope.
39325 * stdio-common/Makefile (tests): Add bug24.
39326 * stdio-common/bug24.c: New file.
39328 2011-08-19 Andreas Jaeger <aj@suse.de>
39331 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39332 non-existant file when using close-on-exec mode.
39334 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39337 the very first instruction.
39339 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39340 the CFI state in the end.
39341 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39342 inclusion of dl-trampoline.h.
39343 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39345 2011-08-19 Andreas Schwab <schwab@redhat.com>
39347 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39348 expectations for long double.
39350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39351 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39353 2011-08-14 David S. Miller <davem@davemloft.net>
39355 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39356 artificual limit depends upon the system page size.
39358 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39360 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39361 * resolv/Makefile: Define CFLAGS-libresolv.
39363 2011-08-17 Andreas Schwab <schwab@redhat.com>
39365 * nss/makedb.c (compute_tables): Make variables used in nested
39368 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39370 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39371 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39372 if buffer was too small.
39374 * elf/pldd.c (main): Attach to all threads in the process.
39375 Rewrite /proc handling to use *at functions.
39377 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39379 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39380 specifies first scope to show.
39381 (dl_open_worker): Update callers. Move printing scope of new
39382 object to before the relocation.
39383 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39384 * sysdeps/generic/ldsodefs.h: Update declaration.
39386 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39387 string for the scope number.
39389 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39391 * nscd/servicescache.c (cache_addserv): Make sure written is always
39394 2011-08-14 Roland McGrath <roland@hack.frob.com>
39396 * sysdeps/i386/i486/bits/atomic.h
39397 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39398 statement expression, so as to suppress "set but not used" warning.
39399 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39401 * string/strncat.c (STRNCAT): Use prototype definition.
39403 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39404 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39406 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39407 (localedef-modules): Add localedef.
39408 (locale-modules): Add locale.
39410 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39411 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39412 to avoid a warning.
39414 2011-08-14 David S. Miller <davem@davemloft.net>
39416 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39417 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39419 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39421 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39422 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39423 * elf/rtld.c (dl_main): Set l_name of vDSO.
39424 Call _dl_show_scope when DL_DEBUG_SCOPES.
39425 (process_dl_debug): Recognize scopes flag and also set it for all.
39426 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39427 Declare _dl_show_scope.
39429 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39430 (do_dlopen): Pass caller_dlopen to dl_open.
39431 (__libc_dlopen_mode): Initialize caller_dlopen.
39433 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39434 of libc. Make tolower call locale-independent. Optimize a bit by
39435 using isdigit instead of isalnum.
39436 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39438 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39440 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39441 was a dependency or dynamically loaded.
39443 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39445 * intl/l10nflist.c: Allow architecture-specific pop function.
39446 * sysdeps/x86_64/l10nflist.c: New file.
39448 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39451 2011-08-10 Andreas Schwab <schwab@redhat.com>
39453 * include/dirent.h: Add libc_hidden_proto for scandirat and
39454 scandirat64. Don't declare __scandirat64.
39455 * dirent/scandirat.c: Add libc_hidden_def.
39456 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39457 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39459 2011-08-10 David S. Miller <davem@davemloft.net>
39461 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39463 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39464 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39465 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39467 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39469 * Versions.def [libc]: Add GLIBC_2.15.
39470 * dirent/Makefile (routines): Add scandirat and scandirat64.
39471 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39473 * dirent/dirent.h: Declare scandirat and scandirat64.
39474 * dirent/scandirat.c: New file.
39475 * dirent/scandirat64.c: New file.
39476 * sysdeps/wordsize-64/scandirat.c: New file.
39477 * sysdeps/wordsize-64/scandirat64.c: New file.
39478 * dirent/opendir.c: Define opendirat.
39479 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39481 * dirent/scandir64.c: Adjust for scandir.c change.
39482 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39483 __scandirat64, and __scandir_cancel_handler.
39484 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39485 additional parameter and use openat instead of open (outside of ld.so).
39486 Add new __opendir as wrapper around __opendirat.
39487 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39488 here without requiring old scandirat implementation.
39490 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39492 * dirent/scandir.c (cancel_handler): Renamed to
39493 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39494 defined. Adjust users.
39495 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39496 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39498 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39500 * string/test-string.h (IMPL): Use __STRING to expand name and then
39503 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39506 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39508 * string/Makefile: Update.
39509 (strop-tests): Append strncat.
39510 * string/test-wcscmp.c: New file.
39511 New comprehensive test for wcscmp.
39512 * string/test-strcmp.c: Update.
39513 (WIDE): New define.
39515 2011-07-22 Andreas Schwab <schwab@redhat.com>
39517 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39520 2011-07-26 Andreas Schwab <schwab@redhat.com>
39522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39523 encoding to ACE if AI_IDN.
39525 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39527 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39528 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39530 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39532 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39533 Fix overflow bug in strncat.
39534 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39536 * string/test-strncat.c: Update.
39537 Add new tests for checking overflow bugs.
39539 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39541 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39542 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39543 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39544 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39545 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39546 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39547 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39548 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39549 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39551 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39552 (USE_AS_STRCAT): Define.
39553 Add strcat and strncat support.
39554 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39556 2011-07-25 Andreas Schwab <schwab@redhat.com>
39558 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39559 __n bigger than INT_MAX+1.
39560 (__strncmp_g): Likewise.
39562 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39564 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39565 * libio/stido.h: Likewise.
39567 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39569 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39572 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39573 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39574 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39575 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39576 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39579 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39582 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39584 (_dl_x86_64_save_sse): Likewise.
39586 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39588 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39590 (_dl_x86_64_save_sse): Likewise.
39592 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39594 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39596 2011-07-21 Andreas Schwab <schwab@redhat.com>
39598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39600 (_dl_x86_64_save_sse): Use correct AVX check.
39602 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39604 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39605 bug in strncpy/strncat.
39606 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39608 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39610 * string/tester.c (test_strcat): Add tests for different alignments
39611 of source and destination.
39612 (test_strncat): Likewise.
39614 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39617 * posix/glob.c (glob): Check passed in values before using them in
39618 expressions to avoid some overflows.
39619 (glob_in_dir): Likewise.
39622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39623 check for AVX enablement so that we don't crash with old kernels and
39625 * elf/tst-audit4.c: Add same checks here.
39626 * elf/tst-audit6.c: Likewise.
39628 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39630 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39632 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39634 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39636 * po/cs.po: Update from translation team.
39637 * po/bg.po: Likewise.
39639 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39641 * misc/sys/cdefs.h: Add support for const attribute.
39642 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39643 to gnu_dev_{major,minor,makedev} functions.
39645 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39647 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39649 2011-07-20 Andreas Schwab <schwab@redhat.com>
39651 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39654 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39656 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39657 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39658 register in order to avoid conflicts with the soft frame pointer
39659 being held in r11 when necessary.
39660 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39661 (INTERNAL_VSYSCALL_NCS): Likewise.
39663 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39665 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39666 * elf/dl-fini.c (_dl_fini): Adjust caller.
39667 * elf/dl-close.c (_dl_close_worker): Likewise.
39668 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39670 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39672 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39673 "aux_cache->nlibs < 0".
39675 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39676 in the reload-count case.
39678 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39681 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39682 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39683 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39684 * sysdeps/x86_64/multiarch/strcat.S: New file.
39685 * sysdeps/x86_64/multiarch/strncat.S: New file.
39686 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39687 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39688 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39689 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39690 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39691 (USE_AS_STRCAT): Define.
39692 Add strcat and strncat support.
39693 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39694 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39695 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39696 * string/strncat.c: Update.
39697 (USE_AS_STRNCAT): Define.
39698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39699 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39701 * sysdeps/x86_64/multiarch/init-arch.h
39702 (bit_Prefer_PMINUB_for_stringop): New.
39703 (index_Prefer_PMINUB_for_stringop): Likewise.
39704 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39705 bit_Prefer_PMINUB_for_stringop.
39707 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39709 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39711 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39712 of casting of buffer.
39713 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39714 buffer32 and buffer64.
39715 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39716 writes instead of casting of buffer.
39717 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39719 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39722 2011-07-19 Andreas Schwab <schwab@redhat.com>
39724 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39726 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39728 * nscd/nscd.c (termination_handler): Don't do anything for a database
39729 if it has not yet been initialized.
39731 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39733 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39735 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39737 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39739 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39741 * po/nl.po: Update from translation team.
39742 * po/sv.po: Likewise.
39744 2011-07-16 Roland McGrath <roland@hack.frob.com>
39746 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39747 now disallowed by GCC.
39749 * configure.in (use-default-link): Default to yes if a test -shared
39750 link meets our qualifications.
39751 * configure: Regenerated.
39753 * config.make.in (output-format): New variable.
39754 * configure.in: Check for ld --print-output-format support.
39755 * configure: Regenerated.
39756 * Makerules ($(common-objpfx)format.lds)
39757 [$(output-format) != unknown]: Just use $(output-format),
39758 instead of the linker-script munging.
39760 2011-07-14 Roland McGrath <roland@hack.frob.com>
39762 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39763 of $(common-objpfx)shlib.lds.
39764 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39766 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39767 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39769 * configure.in (-z relro check): Adjust test code to add a large
39770 writable data section after it.
39771 * configure: Regenerated.
39773 2011-07-11 Roland McGrath <roland@hack.frob.com>
39775 * configure.in (-z relro check): Fix test code to make the variable
39777 * configure: Regenerated.
39779 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39781 * nscd/nscd.h (struct traced_file): Define.
39782 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39783 elements. Add traced_files.
39784 (inotify_fd): Declare.
39785 (register_traced_file): Declare.
39786 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39787 (inotify_fd): Export.
39788 (resolv_conf_descr): Remove.
39789 (nscd_init): Move inotify descriptor creation to main.
39790 Don't register files for notification here.
39791 (register_traced_file): New function.
39792 (invalidate_cache): Don't use reset_res to determine whether to call
39793 res_init, go through the list of registered files.
39794 (main_loop_poll): The inotify descriptors are now stored in the
39795 structures for the traced files.
39796 (main_loop_epoll): Likewise
39797 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39798 to __nss_disable_nscd.
39799 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39800 for a database anymore. Check the records for all the registered
39802 * nss/Makefile (libnss_files-routines): Add files-init.
39803 (libnss_db-routines): Add db-init.
39804 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39805 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39806 * nss/nss_db/db-init.c: New file.
39807 * nss/nss_files/files-init.c: New file.
39808 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39809 __nss_lookup_function.
39810 (__nss_lookup_function): Call nss_load_library.
39811 (nss_load_all_libraries): New function.
39812 (__nss_disable_nscd): Take parameter with callback function for files
39813 to register. Set is_nscd. Load all the DSOs for the NSS modules
39814 used for the cached services.
39815 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39816 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39817 options for features to all the files in nscd.
39819 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39821 2011-07-10 Roland McGrath <roland@hack.frob.com>
39823 * csu/elf-init.c (__libc_csu_init): Comment typo.
39825 2011-07-09 Ulrich Drepper <drepper@gmail.com>
39827 * po/pl.po: Update from translation team.
39828 * po/ja.po: Likewise.
39829 * po/ru.po: Likewise.
39830 * po/ko.po: Likewise.
39831 * po/fr.po: Likewise.
39833 2011-07-09 Roland McGrath <roland@hack.frob.com>
39835 * configure.in (.ctors/.dtors header and trailer check):
39836 Use an empirical test on a built program.
39837 * configure: Regenerated.
39839 * configure.in (-z relro check): Use an empirical test on a built DSO.
39840 Detect, but do not require, on ia64.
39841 * configure: Regenerated.
39843 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39844 Update tests that use readelf to use $READELF instead.
39845 * configure: Regenerated.
39847 2011-07-08 Ulrich Drepper <drepper@gmail.com>
39849 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39850 if the result is not used.
39852 2011-07-05 Andreas Jaeger <aj@suse.de>
39855 * stdlib/tst-strtod.c: Add testcase.
39857 2011-07-07 Ulrich Drepper <drepper@gmail.com>
39859 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39860 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39861 The latter has a higher limit. Take additional parameter to pass to
39863 (__pathconf): Pass file to __statfs_link_max.
39864 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39866 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39870 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39871 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39873 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39874 (__statfs_filesize_max): Likewise.
39875 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39877 2011-07-05 Andreas Jaeger <aj@suse.de>
39879 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39881 2011-07-06 Marek Polacek <mpolacek@redhat.com>
39883 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39885 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39888 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39890 * Makefile (strop-tests): Add strncat.
39891 * string/test-strncat.c: New file.
39893 2011-06-30 Marek Polacek <mpolacek@redhat.com>
39895 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39897 2011-06-21 Andreas Jaeger <aj@suse.de>
39899 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39900 Copy rule from iconvdata/Makefile.
39902 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39905 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39906 but no long options are defined, just return 'W'.
39908 2011-06-22 Marek Polacek <mpolacek@redhat.com>
39911 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39913 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39915 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39917 (innetgr): Likewise.
39919 2011-07-05 Roland McGrath <roland@hack.frob.com>
39921 * config.make.in (install_root): Default to $(DESTDIR).
39923 2011-07-05 Ulrich Drepper <drepper@gmail.com>
39925 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39927 2011-07-02 Roland McGrath <roland@hack.frob.com>
39929 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39931 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39932 containing directory rather than embedding absolute directory names.
39934 * scripts/check-local-headers.sh: Rewritten using awk.
39935 Match by word, not by line. Print error messages for matches.
39936 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39938 * Makerules [shlib-lds-flags empty]:
39939 ($(common-objpfx)libc_pic.opts): New target.
39940 ($(common-objpfx)libc_pic.os.clean): New target.
39941 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39943 * config.make.in (OBJCOPY): New variable.
39944 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39945 * configure: Regenerated.
39947 * config.make.in (use-default-link): New variable.
39948 * configure.in (use_default_link): Grok --with-default-link to set it.
39949 * configure: Regenerated.
39950 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39951 (shlib-lds, shlib-lds-flags): Define to empty.
39953 * Makerules (shlib-lds): New variable.
39954 (shlib-lds-flags): New variable.
39955 (build-shlib, build-moduile, build-module-asneeded): Use it.
39956 ($(common-objpfx)libc.so): Use $(shlib-lds).
39957 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39958 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39960 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39961 DT_FLAGS/DT_FLAGS_1 with zero flags.
39963 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39964 linker script munging.
39966 2011-07-02 Ulrich Drepper <drepper@gmail.com>
39968 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39970 * crypt/sha512.c (sha512_process_block): Perform total addition using
39971 128-bit if possible.
39972 (__sha512_finish_ctx): Likewise.
39973 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39975 * crypt/sha256.c (SWAP64): Define.
39976 (sha256_process_block): Perform total addition using 64-bit if
39978 (__sha256_finish_ctx): Likewise.
39980 2011-07-01 Ulrich Drepper <drepper@gmail.com>
39982 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39983 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39984 * nscd/hstcache.c (cache_addhst): Likewise.
39985 * nscd/grpcache.c (cache_addgr): Likewise.
39986 * nscd/aicache.c (addhstaiX): Likewise
39987 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39989 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
39991 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39992 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39993 * nscd/hstcache.c (cache_addhst): Likewise.
39994 * nscd/grpcache.c (cache_addgr): Likewise.
39995 * nscd/aicache.c (addhstaiX): Likewise
39997 2011-07-01 Andreas Schwab <schwab@redhat.com>
39999 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40000 domain only when needed.
40002 2011-06-30 Andreas Schwab <schwab@redhat.com>
40004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40005 is always restored.
40007 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40009 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40010 are re-adding the entry.
40011 * nscd/servicescache.c (cache_addserv): Likewise.
40013 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40015 * sysdeps/generic/dl-irel.h: fix protection against multiple
40017 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40019 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40022 * malloc/memusage.sh: Fix quoting in message.
40023 * debug/xtrace.sh: Likewise.
40025 * configure.in: Remove support for --experimental-malloc option, make
40027 * config.make.in: Likewise.
40028 * malloc/Makefile: Likewise.
40030 2011-06-27 Andreas Schwab <schwab@redhat.com>
40032 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40033 two-byte characters.
40035 2011-06-27 Roland McGrath <roland@hack.frob.com>
40037 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40038 AC_CACHE_CHECK invocation.
40039 * configure: Regenerated.
40041 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40043 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40046 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40047 bit from old_res_options.
40049 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40051 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40052 value type for setfct.
40054 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40056 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40057 __gettimeofday instead of gettimeofday.
40059 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40061 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40063 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40065 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40067 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40070 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40072 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40073 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40074 strcpy-sse2-unaligned strncpy-sse2-unaligned
40075 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40076 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40077 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40078 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40079 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40080 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40081 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40082 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40083 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40084 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40085 (STRCPY): Support SSE2 and SSSE3 versions.
40087 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40090 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40091 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40092 kernels which artificially limit size of requests.
40094 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40097 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40098 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40099 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40100 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40101 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40102 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40103 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40104 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40105 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40106 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40107 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40108 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40109 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40110 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40112 Enable unaligned load optimization for Intel Core i3, i5 and i7
40114 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40116 (index_Fast_Unaligned_Load): Define.
40117 (HAS_FAST_UNALIGNED_LOAD): Define.
40119 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40121 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40123 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40126 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40127 until it is clear that the information is realy needed.
40128 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40130 2011-06-22 Andreas Schwab <schwab@redhat.com>
40132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40134 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40137 /sys/devices/system/cpu/online if it is usable.
40139 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40140 reading the information from the /proc filesystem to once a second.
40142 2011-06-21 Andreas Jaeger <aj@suse.de>
40144 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40145 NULL after inclusion of kernel headers.
40147 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40149 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40150 calls to internal_setent.
40153 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40154 addresses using gethostbyname4_r ignore IPv4 addresses.
40156 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40157 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40159 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40161 2011-06-20 David S. Miller <davem@davemloft.net>
40163 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40165 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40167 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40168 (elf_irel): Use it.
40169 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40170 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40171 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40172 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40173 * sysdeps/x86_64/dl-irel.h: Likewise.
40175 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40176 * elf/dl-sym.c: Likewise.
40178 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40180 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40181 need to dereference resplen2.
40183 2011-06-14 Andreas Schwab <schwab@redhat.com>
40185 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40187 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40189 * Makeconfig: Define vardbdir and inst_vardbdir.
40190 * nss/Makefile: Add rules to install db-Makefile.
40192 * nss/nss_db/db-XXX.c: Cleanup.
40194 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40195 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40197 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40198 * nss/makedb.c: Implement -g option to specify that value strings
40199 are generated and should not be added to table iterated over for
40201 * nss/nss_db/db-initgroups.c: New file.
40203 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40206 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40207 (internal_getgrouplist): Adjust to name change.
40208 Update use_initgroups_entry if this is not the first call.
40209 * nss/databases.def: Add initgroups entry.
40211 * nss/makedb.c (compute_tables): Check result of multiple hash table
40212 sizes to minimize maximum chain length.
40214 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40216 * Versions.def: Add entry for libnss_db.
40217 * shlib-versions: Likewise.
40218 * nss/Makefile: Add rules to build libnss_db.
40219 * nss/Versions: Add libnss_db information. Organize libnss_files
40221 * nss/db-Makefile: Add gshadow support. Change rules for the new
40222 makedb progra. Some minor improvements to generate smaller files.
40223 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40225 * nss/makedb.c: ...here.
40226 Improve database format to be smaller and require less memory at
40228 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40230 * nss/nss_db/db-netgrp.c: Likewise.
40231 * nss/nss_db/db-open.c: Likewise.
40232 * nss/nss_files/flies-XXX.x: Adjust comments.
40233 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40234 * nss/nss_files/files-grp.c: Likewise.
40235 * nss/nss_files/files-hosts.c: Likewise.
40236 * nss/nss_files/files-network.c: Likewise.
40237 * nss/nss_files/files-proto.c: Likewise.
40238 * nss/nss_files/files-pwd.c: Likewise.
40239 * nss/nss_files/files-rpc.c: Likewise.
40240 * nss/nss_files/files-service.c: Likewise.
40241 * nss/nss_files/files-sgrp.c: Likewise.
40242 * nss/nss_files/files-spwd.c: Likewise.
40243 * nss/nss_db/db-alias.c: Removed.
40244 * nss/nss_db/dummy-db.h: Removed.
40246 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40248 * nss/makedb.c: Rewritten to not use database library.
40249 * nss/Makefile: Update to build new makedb program.
40251 2011-06-14 Andreas Jaeger <aj@suse.de>
40253 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40254 memset declaration.
40256 2011-06-10 Andreas Schwab <schwab@redhat.com>
40258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40261 2011-06-10 Roland McGrath <roland@hack.frob.com>
40263 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40264 * elf/Makefile ($(objpfx)ld.so): Likewise.
40266 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40267 Don't list ld.so twice in dependencies.
40269 * posix/bug-regex31.c: Include <stdlib.h>.
40271 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40273 * nis/nss_compat/compat-spwd.c
40274 (getspent_next_nss_netgr): Remove unused variable.
40275 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40277 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40278 nonmembers" output to use the right array.
40280 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40282 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40284 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40285 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40286 * catgets/gencat.c (read_input_file): Likewise.
40287 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40289 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40290 variable definition inside #if's controlling its use.
40292 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40294 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40296 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40298 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40301 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40303 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40304 * configure: Regenerated.
40306 * Makerules: Revert last change.
40307 * elf/Makefile: Likewise.
40309 2011-06-09 Roland McGrath <roland@hack.frob.com>
40311 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40312 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40313 (reloc-link): Likewise.
40315 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40317 * elf/Makefile: Add rules to build pldd.
40318 * elf/pldd.c: New file.
40319 * elf/pldd-xx.c: New file.
40321 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40323 * version.h: Update for 2.15 development version.
40325 2011-06-07 David S. Miller <davem@davemloft.net>
40327 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40329 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40330 elf_machine_lazy_rel): Likewise.
40331 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40332 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40333 elf_machine_lazy_rel): Likewise.
40334 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40335 dl_hwcap via passed in argument.
40336 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40339 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40341 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40343 2011-06-06 Roland McGrath <roland@hack.frob.com>
40346 * manual/fdl-1.1.texi: New file, verbatim from:
40347 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40348 * manual/lgpl-2.1.texi: New file, verbatim from:
40349 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40350 * manual/Makefile (licenses): New variable, list those new file names.
40352 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40354 * manual/fdl.texi: File removed.
40355 * manual/lesser.texi: File removed.
40356 * manual/libc.texinfo (Copying, Documentation License):
40357 Use new @include file names, put @appendix directive before @include.
40359 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40362 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40363 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40364 (mq_open): Add __NTH.
40366 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40369 Assume Intel Core i3/i5/i7 processor if AVX is available.
40371 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40373 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40376 2011-05-31 Andreas Schwab <schwab@redhat.com>
40378 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40379 memory. Use alloca_account. Fix memory leak when retrying.
40381 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40383 * version.h (RELEASE): Bump for 2.14 release.
40384 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40386 * config.make.in (RANLIB): Remove entry.
40388 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40390 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40391 (libc.pot): Work around missing support for .ksh extension in xgettext.
40394 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40395 if both request failed.
40396 (send_dg): In case of server errors clear resplen or *resplen2.
40399 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40400 when there are multiple maps.
40401 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40402 (_dl_fini): Remove test here.
40404 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40406 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40409 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40410 bit from old_res_options.
40411 (gaih_inet): Likewise.
40414 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40417 * resolv/res_init.c (res_setoptions): Make the code more compact.
40420 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40424 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40426 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40429 * malloc/malloc.h: Declare malloc hook variables as volatile.
40431 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40435 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40436 raise in the comment.
40437 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40438 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40439 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40441 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40444 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40445 grow the buffers more if it already has to be sufficient.
40446 (build_wcs_upper_buffer): Likewise.
40447 * posix/regexec.c (check_matching): Likewise.
40448 (clean_state_log_if_needed): Likewise.
40449 (extend_buffers): Don't enlarge buffers beyond size of the input
40451 Patches mostly by Emil Wojak <emil@wojak.eu>.
40452 * posix/bug-regex32.c: New file.
40453 * posix/Makefile (tests): Add bug-regex32.
40455 * locale/findlocale.c (_nl_find_locale): Return right away if
40456 _nl_explode_name failed.
40457 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40459 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40461 * debug/xtrace.sh: Unify messages.
40462 * malloc/memusage.sh: Likewise.
40465 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40466 time symbol from vDSO. Substitute with vsyscall if not available.
40467 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40470 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40471 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40472 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40473 Add sendmmsg and internal_sendmmsg.
40474 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40475 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40476 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40478 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40479 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40480 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40482 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40485 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40486 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40488 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40492 * iconvdata/Makefile (tests): Add bug-iconv9.
40493 * iconvdata/bug-iconv9.c: New file.
40495 2011-05-27 Andreas Schwab <schwab@redhat.com>
40498 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40500 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40502 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40503 (struct user_regs_struct): Change intcs field back to cs.
40505 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40507 * po/ja.po: Update from translation team.
40509 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40512 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40513 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40515 2011-05-20 Andreas Schwab <schwab@redhat.com>
40517 * stdlib/longlong.h: Update from GCC.
40519 2011-05-23 Andreas Schwab <schwab@redhat.com>
40521 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40523 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40524 Add parameter name.
40525 (__sysconf): Pass it down.
40527 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40530 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40532 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40533 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40534 add in in __libc_use_alloca calls. Adjust callers.
40535 (glob): Use malloc in some situations.
40537 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40538 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40541 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40543 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40544 and CLOCK_BOOTTIME_ALARM.
40547 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40550 * string/_strerror.c (__strerror_r): Print negative errors as signed
40554 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40555 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40556 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40558 * configure.in: Fix typo in redirection and correct removal of test
40559 files in two cases.
40562 * locale/setlocale.c (new_composite_name): Fix test to check for
40563 identical name of all categories.
40566 * libio/filedoalloc.c (local_isatty): New function.
40567 (_IO_file_doallocate): Use local_isatty.
40568 * stdio-common/perror.c (perror): In case a new stream is used
40569 forward the stream error.
40570 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40573 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40578 * include/alloca.h (extend_alloca_account): Define.
40581 * posix/regex.h: Fix comments with documentation of user-accessible
40582 fields after compilation and describe correct free'ing of pattern
40583 after re_compile_pattern.
40584 Patch by Reuben Thomas <rrt@sc3d.org>.
40586 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40588 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40589 and -mno-altivec to prevent the compiler from using Altivec and/or
40590 VSX instructions when the corresponding registers are not available.
40592 2011-05-19 Andreas Schwab <schwab@redhat.com>
40594 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40596 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40598 * libio/freopen.c (freopen): Use __dup2, not dup2.
40599 * libio/freopen64.c (freopen64): Likewise.
40601 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40604 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40605 * math/Makefile (tests): Add test-powl.
40606 (CFLAGS-test-powl.c): Define.
40607 * math/test-powl.c: New file.
40609 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40611 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40613 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40616 * iconvdata/gb18030.c: Update to GB18020-2005.
40618 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40620 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40621 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40622 Patch by Aharon Robbins <arnold@skeeve.com>.
40625 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40629 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40630 through underflows.
40633 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40634 point to strings before performing equality test for error_one_per_line
40638 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40641 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40642 (struct user_fpregs_struct): Avoid __uint*_t types.
40645 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40646 symbol info. Use it instead of calling _dl_addr locally.
40647 (lock_and_info): New function.
40648 (tr_freehook): Call lock_and_info and pass symbol info as additional
40649 parameter to tr_where.
40650 (tr_mallochook): Likewise.
40651 (tr_reallochook): Likewise.
40652 (tr_memalignhook): Likewise.
40654 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40655 used and couldn't be at all thread-safe.
40657 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40659 * libio/freopen.c (freopen): Don't close old file descriptor
40660 before the new one is opened. Instead dup the new file descriptor
40661 to the old one after the new stream is created.
40662 * libio/freopen64.c (freopen64): Likewise.
40663 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40664 * libio/fileops.c (_IO_new_file_close_it): Handle new
40665 _IO_FLAGS2_NOCLOSE flag.
40666 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40667 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40668 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40669 _IO_FLAGS2_NOCLOSE flag.
40670 * include/unistd.h: Add hidden_proto for dup3.
40671 Define __have_dup3.
40672 * io/dup3.c: Define hidden symbol.
40673 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40676 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40677 when an incomplete long option is used.
40678 * posix/tst-getopt_long1.c: New file.
40679 * posix/Makefile (tests): Add tst-getopt_long1.
40682 * scripts/config.guess: Update from autoconf-2.68.
40683 * scripts/config.sub: Likewise.
40686 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40688 (has_cpuclock): ...this. New function.
40689 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40690 macro here based on has_cpuclock code.
40693 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40694 First byte (not low byte) is now always NUL.
40695 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40697 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40698 Use non-cancelable interfaces.
40701 * locale/iso-639.def: Add entry for Sorani.
40704 * include/stdlib.h: Move include protection to the right place.
40705 Define abort_msg_s. Declare __abort_msg with it.
40706 * stdlib/abort.c (__abort_msg): Adjust type.
40707 * assert/assert.c (__assert_fail_base): New function. Majority
40708 of code from __assert_fail. Allocate memory for __abort_msg with
40710 (__assert_fail): Now call __assert_fail_base.
40711 * assert/assert-perr.c: Remove bulk of implementation. Use
40712 __assert_fail_base.
40713 * include/assert.hL Declare __assert_fail_base.
40714 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40716 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40718 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40722 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40723 until all modules are registered in the DTV.
40724 * elf/Makefile: Add rules to build and run tst-tls19.
40725 * elf/tst-tls19.c: New file.
40726 * elf/tst-tls19mod1.c: New file.
40727 * elf/tst-tls19mod2.c: New file.
40728 * elf/tst-tls19mod3.c: New file.
40729 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40732 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40736 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40737 two-byte sequence errors.
40738 * iconvdata/Makefile (tests): Add bug-iconv8.
40739 * iconvdata/bug-iconv8.c: New file.
40742 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40745 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40748 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40749 (dummy_getcfa): New function.
40750 (init): Get _Unwind_GetCFA address, use dummy if not found.
40751 (backtrace_helper): In recursion check, also check whether CFA changes.
40752 (__backtrace): Completely initialize arg.
40754 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40755 storing incomplete byte sequence in state object. Avoid testing for
40756 guaranteed too small input if we know there is enough data available.
40758 2011-05-11 Andreas Schwab <schwab@redhat.com>
40760 * Makeconfig (+link-pie): Indent.
40761 * Rules (binaries-pie): Define if $(have-fpie) and
40763 (binaries-shared): Also filter out $(binaries-pie).
40764 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40765 * nscd/Makefile (others-pie): Add nscd.
40766 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40767 ($(objpfx)nscd): Remove command override.
40768 * login/Makefile (others-pie): Add pt_chown.
40769 ($(objpfx)pt_chown): Remove command override.
40770 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40771 remove command overrides.
40773 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40775 * libio/tst_putwc.c: Fix error messages.
40778 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40779 currently writing and seek to current position when not.
40780 * libio/Makefile (tests): Add bug-fclose1.
40781 * libio/bug-fclose1.c: New file.
40783 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40786 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40787 don't set DF_1_NODELETE here.
40788 (do_lookup_x): When entering new entry test for copy relocation
40789 and if necessary set DF_1_NODELETE flag.
40790 * elf/tst-unique4.cc: New file.
40791 * elf/tst-unique4.h: New file.
40792 * elf/tst-unique4lib.cc: New file.
40793 * elf/Makefile: Add rules to build and run tst-unique4.
40794 Patch by Piotr Bury <pbury@goahead.com>.
40796 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40799 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40802 * misc/mntent_r.c (addmntent): Flush the stream after the output
40805 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40806 (is_trusted_path_normalize): Skip initial colon. Append slash
40807 to empty buffer. Duplicate is_trusted_path code but allow
40808 constructed patch to be prefix.
40809 (is_dst): Allow $ORIGIN followed by /.
40810 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40811 Correct testing of result of is_trusted_path_normalize
40812 (decompose_rpath): Fix warning.
40814 2011-05-10 Ulrich Drepper <drepper@gmail.com>
40817 * grp/initgroups.c (internal_getgrouplist): When we found the service
40818 list through the initgroups entry in nsswitch.conf do not always
40819 continue on a successful lookup. Don't always use the
40820 __nss_group_database value if it is set.
40821 * nss/nsswitch.conf (initgroups): Change action for successful db
40822 lookup to continue for compatibility.
40824 2011-05-09 Ulrich Drepper <drepper@gmail.com>
40827 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40829 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40831 * iconvdata/tst-tables.sh: Likewise.
40832 * iconvdata/cp770.c: New file.
40833 * iconvdata/cp771.c: New file.
40834 * iconvdata/cp772.c: New file.
40835 * iconvdata/cp773.c: New file.
40836 * iconvdata/cp774.c: New file.
40837 * iconvdata/testdata/CP770: New file.
40838 * iconvdata/testdata/CP770..UTF8: New file.
40839 * iconvdata/testdata/CP771: New file.
40840 * iconvdata/testdata/CP771..UTF8: New file.
40841 * iconvdata/testdata/CP772: New file.
40842 * iconvdata/testdata/CP772..UTF8: New file.
40843 * iconvdata/testdata/CP773: New file.
40844 * iconvdata/testdata/CP773..UTF8: New file.
40845 * iconvdata/testdata/CP774: New file.
40846 * iconvdata/testdata/CP774..UTF8: New file.
40848 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40850 * iconvdata/gen-8bit-gap.sh: Likewise.
40851 * iconvdata/gen-8bit.sh: Likewise.
40853 * locale/iso-639.def: Add ary entry.
40856 * locale/C-translit.h.in: Add U20A1 transliteration.
40859 * locale/iso-639.def: Add wae entry.
40860 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40863 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40867 * locale/C-translit.h.in: Add entry for U20B9.
40868 Patch by pravin.d.s@gmail.com.
40870 2011-05-08 Ulrich Drepper <drepper@gmail.com>
40873 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40874 ENAMETOOLONG use generic getcwd.
40875 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40876 in rtld. Use *stat64.
40877 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40878 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40879 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40880 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40881 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40882 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40883 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40884 __fstatat64 macros.
40885 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40886 * dirent/rewinddir.c: Add libc_hidden_def.
40887 * sysdeps/mach/hurd/rewinddir.c: Likewise.
40888 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
40890 * include/dirent.h (__alloc_dir): Add flags parameter.
40891 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40892 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40894 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40895 from fdopendir if O_CLOEXEC is already set.
40897 2011-03-15 Alan Modra <amodra@gmail.com>
40899 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40900 l_tls_firstbyte_offset non-zero. Save padding offset in
40901 l_tls_firstbyte_offset for later use.
40902 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40903 freeing static tls block.
40905 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40907 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40908 where #ifdef was intended. The intent is to prevent ARG_MAX from
40909 being defined by the kernel headers.
40911 2011-05-07 Ulrich Drepper <drepper@gmail.com>
40914 * resolv/resolv.h: Define RES_NOTLDQUERY.
40915 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40916 no-tld-query and set RES_NOTLDQUERY.
40917 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40918 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40919 modern BIND to search name as TLD unless forbidden.
40921 2011-05-07 Petr Baudis <pasky@suse.cz>
40922 Ulrich Drepper <drepper@gmail.com>
40925 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40926 (is_trusted_path): ...to here.
40927 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40928 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40929 using is_trusted_path_normalize() in setuid scripts.
40931 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40933 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40934 __BEGIN/__END_DECLS.
40936 2011-05-06 Ulrich Drepper <drepper@gmail.com>
40938 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40939 NSS_STATUS_NOTFOUND if no record was found.
40941 2011-05-05 Andreas Schwab <schwab@redhat.com>
40943 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40944 (headers-not-in-tirpc): Remove rpc/netdb.h
40945 * resolv/netdb.h: Revert last change.
40947 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40949 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40950 circular dependency between libgcc.a and libc.a.
40952 2011-05-05 Andreas Schwab <schwab@redhat.com>
40954 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40955 * nis/Makefile: Don't install rpcsvc/*.
40956 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40957 instead of <rpc/types.h>.
40958 (MAXHOSTNAMELEN): Define.
40960 2011-05-03 Andreas Schwab <schwab@redhat.com>
40962 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40964 2011-04-28 Maciej Babinski <mbabinski@google.com>
40967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40968 gethostbyname4_r when IPv6 results are possible.
40970 2011-05-02 Ulrich Drepper <drepper@gmail.com>
40973 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40974 _PC_PIPE_BUF handling.
40976 2011-04-30 Bruno Haible <bruno@clisp.org>
40979 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40980 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40982 * inet/getnameinfo.c (getnameinfo): Likewise.
40984 2011-04-29 Ulrich Drepper <drepper@gmail.com>
40986 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40987 to groups setting in database lookup.
40988 * nss/nsswitch.conf: Add initgroups entry.
40990 2011-04-22 Ulrich Drepper <drepper@gmail.com>
40993 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40995 Patch by Eric Blake <eblake@redhat.com>.
40997 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40999 * sunrpc/Makefile (need-export-routines): Add svc_run.
41000 (routines): Remove svc_run.
41001 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41002 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41003 * sunrpc/svc_run.c (svc_run): Likewise.
41004 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41006 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41008 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41009 problem in reallocation in last patch.
41011 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41013 * sunrpc/Makefile: Move inclusion of Rules.
41015 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41017 * nss/nss_files/files-initgroups.c: New file.
41018 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41019 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41020 _nss_files_initgroups_dyn.
41022 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41024 * elf/elf.h (R_ARM_IRELATIVE): Define.
41026 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41028 * po/ru.po: Update from translation team.
41030 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41032 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41035 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41038 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41039 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41040 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41041 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41042 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41044 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41046 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41048 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41049 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41050 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41052 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41055 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41057 * stdlib/bug-getcontext.c: New file.
41058 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41060 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41062 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41063 instructions into .machine "z9-109".
41064 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41065 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41067 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41069 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41070 between environment variables and auxiliary vector.
41072 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41074 * Makefile: Add rules to build linkobj/libc.so.
41075 * include/libc-symbols.h: Define libc_hidden_nolink.
41076 * include/rpc/auth.h: Mark functions which are to be hidden.
41077 * include/rpc/auth_des.h: Likewise.
41078 * include/rpc/auth_unix.h: Likewise.
41079 * include/rpc/clnt.h: Likewise.
41080 * include/rpc/des_crypt.h: Likewise.
41081 * include/rpc/key_prot.h: Likewise.
41082 * include/rpc/pmap_clnt.h: Likewise.
41083 * include/rpc/pmap_prot.h: Likewise.
41084 * include/rpc/pmap_rmt.h: Likewise.
41085 * include/rpc/rpc_msg.h: Likewise.
41086 * include/rpc/svc.h: Likewise.
41087 * include/rpc/svc_auth.h: Likewise.
41088 * include/rpc/xdr.h: Likewise.
41089 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41090 * nss/Makefile: Likewise.
41091 * sunrpc/Makefile: Don't install headers. Build library with normal
41092 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41093 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41094 for the compat linking library. Remove use of INTDEF/INTUSE.
41095 * sunrpc/auth_none.c: Likewise.
41096 * sunrpc/auth_unix.c: Likewise.
41097 * sunrpc/authdes_prot.c: Likewise.
41098 * sunrpc/authuxprot.c: Likewise.
41099 * sunrpc/clnt_gen.c: Likewise.
41100 * sunrpc/clnt_perr.c: Likewise.
41101 * sunrpc/clnt_raw.c: Likewise.
41102 * sunrpc/clnt_simp.c: Likewise.
41103 * sunrpc/clnt_tcp.c: Likewise.
41104 * sunrpc/clnt_udp.c: Likewise.
41105 * sunrpc/clnt_unix.c: Likewise.
41106 * sunrpc/des_crypt.c: Likewise.
41107 * sunrpc/des_soft.c: Likewise.
41108 * sunrpc/get_myaddr.c: Likewise.
41109 * sunrpc/key_call.c: Likewise.
41110 * sunrpc/key_prot.c: Likewise.
41111 * sunrpc/netname.c: Likewise.
41112 * sunrpc/pm_getmaps.c: Likewise.
41113 * sunrpc/pm_getport.c: Likewise.
41114 * sunrpc/pmap_clnt.c: Likewise.
41115 * sunrpc/pmap_prot.c: Likewise.
41116 * sunrpc/pmap_prot2.c: Likewise.
41117 * sunrpc/pmap_rmt.c: Likewise.
41118 * sunrpc/publickey.c: Likewise.
41119 * sunrpc/rpc_cmsg.c: Likewise.
41120 * sunrpc/rpc_common.c: Likewise.
41121 * sunrpc/rpc_dtable.c: Likewise.
41122 * sunrpc/rpc_prot.c: Likewise.
41123 * sunrpc/rpc_thread.c: Likewise.
41124 * sunrpc/rtime.c: Likewise.
41125 * sunrpc/svc.c: Likewise.
41126 * sunrpc/svc_auth.c: Likewise.
41127 * sunrpc/svc_authux.c: Likewise.
41128 * sunrpc/svc_raw.c: Likewise.
41129 * sunrpc/svc_run.c: Likewise.
41130 * sunrpc/svc_simple.c: Likewise.
41131 * sunrpc/svc_tcp.c: Likewise.
41132 * sunrpc/svc_udp.c: Likewise.
41133 * sunrpc/svc_unix.c: Likewise.
41134 * sunrpc/svcauth_des.c: Likewise.
41135 * sunrpc/xcrypt.c: Likewise.
41136 * sunrpc/xdr.c: Likewise.
41137 * sunrpc/xdr_array.c: Likewise.
41138 * sunrpc/xdr_float.c: Likewise.
41139 * sunrpc/xdr_intXX_t.c: Likewise.
41140 * sunrpc/xdr_mem.c: Likewise.
41141 * sunrpc/xdr_rec.c: Likewise.
41142 * sunrpc/xdr_ref.c: Likewise.
41143 * sunrpc/xdr_sizeof.c: Likewise.
41144 * sunrpc/xdr_stdio.c: Likewise.
41146 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41149 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41150 * sysdeps/ia64/dl-tls.h: Likewise.
41151 * sysdeps/powerpc/dl-tls.h: Likewise.
41152 * sysdeps/s390/dl-tls.h: Likewise.
41153 * sysdeps/sh/dl-tls.h: Likewise.
41154 * sysdeps/sparc/dl-tls.h: Likewise.
41155 * sysdeps/x86_64/dl-tls.h: Likewise.
41156 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41158 2011-03-14 Andreas Schwab <schwab@redhat.com>
41160 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41161 rpath element also skip the following colon.
41162 (expand_dynamic_string_token): Add is_path parameter and pass
41163 down to DL_DST_REQUIRED and _dl_dst_substitute.
41164 (decompose_rpath): Call expand_dynamic_string_token with
41165 non-zero is_path. Ignore empty rpaths.
41166 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41169 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41174 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41177 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41178 Patch by Filipe David Manana <fdmanana@apache.org>.
41180 2011-04-07 Andreas Schwab <schwab@redhat.com>
41182 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41183 Maintain aligned stack.
41184 (CHECK_RSP): Remove unused macro.
41186 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41188 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41189 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41191 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41193 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41195 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41197 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41200 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41201 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41202 * sysdeps/x86_64/memmove.c: New file.
41203 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41204 (memcpy): Renamed to ...
41205 (__new_memcpy): This.
41206 (memcpy): Provide GLIBC_2_14 memcpy.
41207 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41208 (memcpy): Provide GLIBC_2_2_5 memcpy.
41210 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41213 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41215 2011-03-30 Andreas Schwab <schwab@redhat.com>
41217 * misc/syncfs.c: New file.
41218 * misc/Makefile (routines): Add syncfs.
41219 * posix/unistd.h: Declare syncfs.
41220 * sysdeps/unix/syscalls.list: Add syncfs.
41222 2011-04-01 Andreas Schwab <schwab@redhat.com>
41224 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41226 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41227 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41228 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41229 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41230 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41231 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41232 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41234 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41236 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41237 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41238 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41239 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41240 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41242 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41244 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41245 sync_file_range.c with -fexceptions.
41246 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41247 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41248 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41249 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41250 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41251 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41252 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41253 sync_file_range as cancellation point
41254 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41255 now a wrapper around __call_sync_file_range with cancellation handling.
41256 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41257 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41258 function name to __call_sync_file_range.
41259 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41260 Add call_sync_file_range.
41262 2011-04-01 Andreas Schwab <schwab@redhat.com>
41264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41267 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41269 * iconv/iconv.h: Fix typo in comment.
41270 * io/fcntl.h: Likewise.
41271 * libio/stdio.h: Likewise.
41272 * posix/spawn.h: Likewise.
41273 * posix/unistd.h: Likewise.
41274 * stdlib/stdlib.h: Likewise.
41275 * time/time.h: Likewise.
41276 * wcsmbs/wchar.h: Likewise.
41278 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41279 open_by_handle): Add.
41280 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41281 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41282 Augment a few comments.
41283 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41284 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41285 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41286 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41287 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41288 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41291 * io/fcntl.h (AT_EMPTY_PATH): Define.
41293 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41295 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41296 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41297 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41299 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41300 * Versions.def: Add GLIBC_2.14.
41301 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41304 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41306 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41308 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41310 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41313 * string/test-strncmp.c (do_page_test): New function.
41314 (check2): Likewise.
41315 (test_main): Call check2.
41316 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41318 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41321 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41322 Handle cache information in CPU leaf 4.
41323 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41325 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41328 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41329 character representation.
41330 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41332 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41334 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41335 END(__isnan) to END(__isnanf) to match function entry point/label
41336 EALIGN(__isnanf,...).
41338 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41340 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41342 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41345 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41346 copy from the symbol referenced in the relocation to initialize the
41348 Patch by Piotr Bury <pbury@goahead.com>.
41349 * elf/Makefile: Add rules to build and tst-unique3.
41350 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41351 * elf/tst-unique3.cc: New file.
41352 * elf/tst-unique3.h: New file.
41353 * elf/tst-unique3lib.cc: New file.
41354 * elf/tst-unique3lib2.cc: New file.
41356 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41358 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41360 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41361 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41364 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41366 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41367 to-be-loaded object along a path to loader is ld.so.
41369 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41370 Ulrich Drepper <drepper@gmail.com>
41372 * sysdeps/x86_64/memset.S: After aligning destination, code
41373 branches to different locations depending on the value of
41374 misalignment, when multiarch is enabled. Fix this.
41376 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41378 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41379 Set _x86_64_preferred_memory_instruction for AMD processsors.
41380 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41381 Set bit_Prefer_SSE_for_memop for AMD processors.
41383 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41385 * libio/fmemopen.c (fmemopen): Optimize a bit.
41387 2011-03-03 Andreas Schwab <schwab@redhat.com>
41389 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41391 2011-03-03 Roland McGrath <roland@redhat.com>
41393 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41395 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41397 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41398 __bzero_ultra1 instead of __memset_ultra1.
41400 2011-02-23 Andreas Schwab <schwab@redhat.com>
41401 Ulrich Drepper <drepper@gmail.com>
41404 * include/link.h (struct link_map): Add l_orig_initfini.
41405 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41406 returning unsuccessfully.
41407 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41408 close of a file loaded at startup, restore the original l_initfini
41410 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41411 list, store the pointer.
41412 * elf/Makefile ($(objpfx)noload-mem): New rule.
41413 (noload-ENV): Define.
41414 (tests): Add $(objpfx)noload-mem.
41415 * elf/noload.c: Include <memcheck.h>.
41416 (main): Call mtrace. Close all opened handles.
41418 2011-02-17 Andreas Schwab <schwab@redhat.com>
41421 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41422 dependencies are missing.
41424 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41426 Fix __if_freereq crash: Unlike the generic version which uses free,
41428 * sysdeps/mach/hurd/ifreq.h: New file.
41430 2011-01-27 Petr Baudis <pasky@suse.cz>
41431 Ulrich Drepper <drepper@gmail.com>
41434 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41435 to extend_alloca().
41436 * stdio-common/bug23.c: New file.
41437 * stdio-common/Makefile (tests): Add bug23.
41439 2010-09-28 Andreas Schwab <schwab@redhat.com>
41440 Ulrich Drepper <drepper@gmail.com>
41443 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41444 before performing relro protection. At old place add assertion
41445 to make sure nothing changed.
41447 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41448 Glauber de Oliveira Costa <glommer@gmail.com>
41450 * elf/elf.h: Add new ARM TLS relocs.
41452 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41455 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41457 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41459 * sysdeps/wordsize-64/tst-writev.c: New file.
41461 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41463 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41464 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41465 insns in _dl_start to prevent a TOC reference before relocs are
41468 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41471 * Makeconfig: Remove RANLIB definition.
41472 * Makerules: Don't use RANLIB.
41473 * aclocal.m4: Remove ranlib test.
41474 * configure.in: No need to check for ranlib.
41475 * elf/rtld-Rules: Don't use RANLIB.
41477 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41479 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41481 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41482 inclusion protection macro.
41484 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41485 SIGRTMIN and SIGRTMAX and print information in that case only when
41486 SIGRTMIN is defined.
41488 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41490 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41491 arginfo fn returning -1.
41493 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41494 and thousands string is zero terminated.
41496 2011-02-03 Andreas Schwab <schwab@redhat.com>
41498 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41499 sysdeps/unix/sysv/linux/bits/socket.h.
41501 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41503 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41504 (__CPU_COUNT): Remove old macros.
41505 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41506 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41507 (__CPU_ALLOC, __CPU_FREE): Add macros.
41508 (__sched_cpualloc, __sched_cpufree): Add declarations.
41510 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41512 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41513 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41514 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41515 (readdhstai): Return value of addhstaiX call.
41516 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41517 (addgrbyX): Return value returned by cache_addgr.
41518 (readdgrbyname): Return value returned by addgrbyX.
41519 (readdgrbygid): Likewise.
41520 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41521 (addpwbyX): Return value returned by cache_addpw.
41522 (readdpwbyname): Return value returned by addhstbyX.
41523 (readdpwbyuid): Likewise.
41524 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41525 (addservbyX): Return value returned by cache_addserv.
41526 (readdservbyname): Return value returned by addservbyX:
41527 (readdservbyport): Likewise.
41528 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41529 (addhstbyX): Return value returned by cache_addhst.
41530 (readdhstbyname): Return value returned by addhstbyX.
41531 (readdhstbyaddr): Likewise.
41532 (readdhstbynamev6): Likewise.
41533 (readdhstbyaddrv6): Likewise.
41534 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41535 (readdinitgroups): Return value returned by addinitgroupsX.
41536 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41537 (prune_cache): Keep track of timeout value of re-added entries.
41538 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41539 * nscd/nscd.h: Adjust prototypes of readd* functions.
41541 2011-02-04 Roland McGrath <roland@redhat.com>
41543 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41544 (nis_stats): Likewise.
41545 * nis/nis_modify.c (nis_modify): Likewise.
41546 * nis/nis_remove.c (nis_remove): Likewise.
41547 * nis/nis_add.c (nis_add): Likewise.
41549 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41551 * posix/fnmatch_loop.c: Add some consts.
41553 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41555 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41558 * config.make.in (config-cflags-novzeroupper): Define.
41559 * configure.in: Substitute libc_cv_cc_novzeroupper.
41560 * elf/Makefile (AVX-CFLAGS): Define.
41561 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41562 (CFLAGS-tst-auditmod4a.c): Likewise.
41563 (CFLAGS-tst-auditmod4b.c): Likewise.
41564 (CFLAGS-tst-auditmod6b.c): Likewise.
41565 (CFLAGS-tst-auditmod6c.c): Likewise.
41566 (CFLAGS-tst-auditmod7b.c): Likewise.
41567 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41569 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41571 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41572 function to the callback.
41573 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41575 2011-02-02 Andreas Schwab <schwab@redhat.com>
41577 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41580 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41583 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41585 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41587 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41590 * elf/Makefile: Add rules to build and run new test.
41591 * elf/tst-initorder.c: New file.
41592 * elf/tst-initorder.exp: New file.
41593 * elf/tst-initordera1.c: New file.
41594 * elf/tst-initordera2.c: New file.
41595 * elf/tst-initordera3.c: New file.
41596 * elf/tst-initordera4.c: New file.
41597 * elf/tst-initorderb1.c: New file.
41598 * elf/tst-initorderb2.c: New file.
41599 * elf/tst-order-a1.c: New file.
41600 * elf/tst-order-a2.c: New file.
41601 * elf/tst-order-a3.c: New file.
41602 * elf/tst-order-a4.c: New file.
41603 * elf/tst-order-b1.c: New file.
41604 * elf/tst-order-b2.c: New file.
41605 * elf/tst-order-main.c: New file.
41606 New test case by George Gensure <werkt0@gmail.com>.
41608 2010-10-01 Andreas Schwab <schwab@redhat.com>
41610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41611 decoding ACE if AI_CANONIDN.
41613 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41615 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41617 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41619 * version.h (RELEASE): Bump for 2.13 release.
41620 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41622 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41624 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41626 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41627 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41628 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41629 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41630 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41631 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41633 * posix/getconf.c: Update copyright year.
41634 * catgets/gencat.c: Likewise.
41635 * csu/version.c: Likewise.
41636 * debug/catchsegv.sh: Likewise.
41637 * debug/xtrace.sh: Likewise.
41638 * elf/ldconfig.c: Likewise.
41639 * elf/ldd.bash.in: Likewise.
41640 * elf/sprof.c (print_version): Likewise.
41641 * iconv/iconv_prog.c: Likewise.
41642 * iconv/iconvconfig.c: Likewise.
41643 * locale/programs/locale.c: Likewise.
41644 * locale/programs/localedef.c: Likewise.
41645 * malloc/memusage.sh: Likewise.
41646 * malloc/mtrace.pl: Likewise.
41647 * nscd/nscd.c (print_version): Likewise.
41648 * nss/getent.c: Likewise.
41650 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41651 PF_CAIF, and PF_ALG.
41652 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41654 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41656 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41657 (modules-names): Use them.
41658 (ifunc-test-modules, ifunc-pie-tests): Define.
41659 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41660 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41661 (test-extras): Likewise.
41662 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41663 $(compile-command.c).
41664 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41665 (all-built-dso): Define.
41666 (check-textrel.out, check-execstack.out): Depend on it.
41668 * configure.in: Don't override --enable-multi-arch.
41670 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41673 * nscd/hstcache.c (tryagain): Define.
41674 (cache_addhst): Return tryagain not notfound for temporary errors.
41675 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41678 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41681 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41682 to make the syscall.
41683 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41686 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41687 and fall back to matching as normal character if the string ends before
41688 the matching ']' is found. This is what POSIX requires.
41689 * posix/testfnm.c: Adjust test result.
41690 * posix/globtest.sh: Adjust test result. Add new test.
41691 * posix/tst-fnmatch.input: Likewise.
41692 * posix/tst-fnmatch2.c: Add new test.
41694 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41696 * elf/Makefile (check-execstack): Revert last change. Depend on
41698 (check-execstack.h): New target.
41699 (generated): Add check-execstack.h.
41700 * elf/check-execstack.c: Include "check-execstack.h".
41701 (main): Revert last change.
41702 (handle_file): Return zero if GNU_STACK is absent and
41703 DEFAULT_STACK_PERMS doesn't include PF_X.
41705 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41707 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41708 in child fails because the descriptor is already closed.
41709 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41710 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41711 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41714 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41718 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41719 temporary buffer used to handle multi lookups locally.
41720 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41722 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41724 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41727 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41729 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41730 alignment for SSE2.
41732 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41735 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41736 characters. When rounding increased number of integer digits recompute
41738 * stdio-common/tst-grouping.c: New file.
41739 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41741 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41743 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41744 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41746 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41748 * bits/select.h: Likewise.
41750 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41752 * po/ja.po: Update from translation team.
41754 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41757 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41758 implementation just like for lxstat, fxstatat, et al.
41760 2010-12-27 Jim Meyering <meyering@redhat.com>
41763 * posix/regexec.c (build_trtable): Return failure indication upon
41764 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41766 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41769 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41770 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41771 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41772 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41775 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41778 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41779 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41781 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41783 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41784 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41785 script has SORT_BY_INIT_PRIORITY.
41786 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41787 NO_CTORS_DTORS_SECTIONS is defined.
41788 * elf/soinit.c: Likewise.
41789 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41790 NO_CTORS_DTORS_SECTIONS is defined.
41791 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41792 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41793 * sysdeps/sh/init-first.c: Likewise.
41794 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41796 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41798 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41799 always use the slow path.
41801 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41803 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41804 similar rule which adds the sysdep directories to the header search in
41805 order to pick up the correct platform stackinfo.h.
41806 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41807 perform test if it is, otherwise return successfully without testing.
41808 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41809 DEFAULT_STACK_PERMS define in stackinfo.h.
41810 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41811 defined in stackinfo.h.
41812 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41813 DEFAULT_STACK_PERMS defined in stackinfo.h.
41814 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41815 * sysdeps/ia64/stackinfo.h: Likewise.
41816 * sysdeps/s390/stackinfo.h: Likewise.
41817 * sysdeps/sh/stackinfo.h: Likewise.
41818 * sysdeps/sparc/stackinfo.h: Likewise.
41819 * sysdeps/x86_64/stackinfo.h: Likewise.
41820 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41821 PF_X for powerpc64. Retain PF_X for powerpc32.
41823 2010-12-19 Ulrich Drepper <drepper@gmail.com>
41825 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41827 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41828 GETDENTS_64BIT_ALIGNED.
41830 2010-12-14 Ulrich Drepper <dreper@gmail.com>
41832 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41834 2010-12-10 Andreas Schwab <schwab@redhat.com>
41836 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41839 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41840 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41842 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41843 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41845 2010-12-09 Ulrich Drepper <drepper@gmail.com>
41848 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41851 2010-12-09 Jakub Jelinek <jakub@redhat.com>
41853 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41855 2010-12-03 Ulrich Drepper <drepper@gmail.com>
41857 * po/it.po: Update from translation team.
41859 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41861 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41864 2010-11-30 Ulrich Drepper <drepper@gmail.com>
41866 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41868 2010-11-24 Andreas Schwab <schwab@redhat.com>
41870 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41872 (gaih_getanswer_slice): Likewise.
41874 2010-10-20 Jakub Jelinek <jakub@redhat.com>
41876 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41878 2010-05-31 Petr Baudis <pasky@suse.cz>
41881 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41882 silently even in the chroot mode.
41884 2010-11-22 Ulrich Drepper <drepper@gmail.com>
41886 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41887 last patch a bit. Pretty printing
41889 2010-05-31 Petr Baudis <pasky@suse.cz>
41892 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41893 initialization of skip_initgroups_dyn.
41895 2010-11-19 Ulrich Drepper <drepper@gmail.com>
41897 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41898 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41900 2010-11-16 Ulrich Drepper <drepper@gmail.com>
41902 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41904 2010-11-11 Andreas Schwab <schwab@redhat.com>
41906 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41907 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41908 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41909 ($(objpfx)tst-fnmatch-mem): New rule.
41910 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41911 * posix/tst-fnmatch.c (main): Call mtrace.
41913 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41916 Support Intel processor model 6 and model 0x2c.
41918 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
41920 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41923 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41926 * string/test-strncasecmp.c (check_result): New function.
41927 (do_one_test): Use it.
41928 (check1): New function.
41929 (test_main): Use it.
41930 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41931 Support strcasecmp and strncasecmp.
41933 2010-11-08 Ulrich Drepper <drepper@gmail.com>
41936 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41937 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41939 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41941 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41945 * sysdeps/x86_64/multiarch/bzero.S: New file.
41946 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41947 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41948 * sysdeps/x86_64/multiarch/memset.S: New file.
41949 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41951 Set bit_Prefer_SSE_for_memop for Intel processors.
41952 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41954 (index_Prefer_SSE_for_memop): Define.
41955 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41957 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
41959 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41960 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41962 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41965 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41966 (__x86_64_raw_data_cache_size_half): Likewise.
41967 (__x86_64_raw_shared_cache_size): Likewise.
41968 (__x86_64_raw_shared_cache_size_half): Likewise.
41970 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41971 (__x86_64_raw_data_cache_size_half): Likewise.
41972 (__x86_64_raw_shared_cache_size): Likewise.
41973 (__x86_64_raw_shared_cache_size_half): Likewise.
41974 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41975 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41976 and __x86_64_raw_shared_cache_size_half. Round
41977 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41978 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41979 to multiple of 256 bytes.
41981 2010-11-03 Ulrich Drepper <drepper@gmail.com>
41984 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41985 of inacessible symlinks. Verify result of symlink before returning it.
41986 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41987 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41989 2010-10-28 Erich Ritz <erichritz@gmail.com>
41991 * math/math.h (isinf): Fix typo in comment.
41993 2010-11-01 Ulrich Drepper <drepper@gmail.com>
41995 * po/da.po: Update from translation team.
41997 2010-10-26 Ulrich Drepper <drepper@gmail.com>
41999 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42000 is added to the list.
42002 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42003 Ulrich Drepper <drepper@gmail.com>
42005 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42006 the global list here. Move code to...
42007 (_dl_add_to_namespace_list): ...here. New function.
42008 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42009 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42010 * elf/dl-load.c (lose): Don't remove the element from the list.
42011 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42012 (_dl_map_object): Likewise.
42014 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42017 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42018 into all bytes of SSE register.
42019 Patch by Richard Li <richardpku@gmail.com>.
42021 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42024 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42027 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42029 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42030 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42031 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42032 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42037 2010-10-22 Andreas Schwab <schwab@redhat.com>
42039 * include/dlfcn.h (__RTLD_SECURE): Define.
42040 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42041 mode & __RTLD_SECURE instead.
42042 (open_path): Rename preloaded parameter to secure.
42043 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42044 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42045 * elf/dl-deps.c (openaux): Likewise.
42046 * elf/rtld.c (struct map_args): Remove is_preloaded.
42047 (map_doit): Don't use it.
42048 (dl_main): Likewise.
42049 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42050 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42052 2010-09-09 Andreas Schwab <schwab@redhat.com>
42054 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42055 (sysd-rules-targets): Remove duplicates.
42056 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42057 rtld-%.$o dependency.
42059 2010-10-18 Andreas Schwab <schwab@redhat.com>
42061 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42062 _dl_map_object do it.
42064 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42066 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42067 fast fma builtins, define the macros in the C99 standard.
42068 (FP_FAST_FMAF): Likewise.
42069 (FP_FAST_FMAL): Likewise.
42070 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42072 * bits/mathdef.h: Update copyright year.
42073 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42075 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42077 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42078 builtins, define the macros in the C99 standard.
42079 (FP_FAST_FMAF): Likewise.
42080 (FP_FAST_FMAL): Likewise.
42081 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42083 (FP_FAST_FMAF): Likewise.
42085 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42088 * math/libm-test.inc (fma_test): Some new testcases.
42089 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42090 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42091 y and infinite z. Do multiplication by C already in long double.
42092 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42093 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42094 y and infinite z. Do bitwise or of inexact bit into u.d.
42095 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42096 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42097 * sysdeps/i386/fpu/s_fma.S: Removed.
42098 * sysdeps/i386/fpu/s_fmal.S: Removed.
42100 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42103 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42104 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42105 computation is not scheduled after fetestexcept. Fix value
42106 of minimum denormal long double.
42108 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42111 * math/libm-test.inc (fma_test): Add some more tests.
42112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42115 2010-10-15 Andreas Schwab <schwab@redhat.com>
42117 * scripts/data/localplt-s390-linux-gnu.data: New file.
42118 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42120 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42123 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42124 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42126 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42128 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42129 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42130 if one of x and y is very large and the other is subnormal.
42131 * sysdeps/s390/fpu/s_fmaf.c: New file.
42132 * sysdeps/s390/fpu/s_fma.c: New file.
42133 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42134 * sysdeps/powerpc/fpu/s_fma.S: New file.
42135 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42136 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42137 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42139 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42142 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42144 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42145 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42146 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42147 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42148 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42149 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42150 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42152 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42155 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42156 * posix/bug-regex31.input: Add test case.
42158 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42160 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42161 * posix/bug-regex31.input: New file.
42164 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42165 (parse_sub_exp): Fix last change, use postorder.
42167 * posix/bug-regex31.c: New file.
42168 * posix/Makefile: Add rules to build and run bug-regex31.
42170 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42173 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42176 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42177 to have entries in sys_siglist.
42180 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42183 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42186 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42187 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42188 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42189 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42190 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42191 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42192 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42193 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42194 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42195 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42196 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42197 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42198 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42199 * math/ftestexcept.c (fetestexcept): Likewise.
42200 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42201 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42202 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42203 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42204 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42205 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42206 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42208 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42211 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42214 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42216 * string/bug-strstr1.c: New file.
42217 * string/Makefile: Add rules to build and run bug-strstr1.
42219 2010-10-05 Eric Blake <eblake@redhat.com>
42222 * string/str-two-way.h (two_way_long_needle): Always clear memory
42223 when skipping input due to the shift table.
42225 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42228 * malloc/mcheck.c: Handle large requests.
42231 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42232 for strncmp and strncasecmp.
42233 * string/stratcliff.c: Add tests for strcmp and strncmp.
42234 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42236 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42238 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42241 2010-09-30 Andreas Jaeger <aj@suse.de>
42243 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42244 (CGROUP_SUPER_MAGIC): Define.
42245 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42246 Handle btrfs and cgroup file systems.
42247 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42250 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42252 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42253 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42255 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42258 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42259 trying to locate the ELF header.
42261 2010-09-27 Andreas Schwab <schwab@redhat.com>
42264 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42265 Mask out sign-bit copies when constructing f_fsid.
42267 2010-09-24 Petr Baudis <pasky@suse.cz>
42269 * debug/stack_chk_fail_local.c: Add missing licence exception.
42270 * debug/warning-nop.c: Likewise.
42272 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42274 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42275 implementing getdents64 using getdents syscall, set d_type if
42276 __ASSUME_GETDENTS32_D_TYPE.
42278 2010-09-16 Andreas Schwab <schwab@redhat.com>
42280 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42281 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42283 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42286 * posix/unistd.h: Undo change of feature selection for ftruncate from
42289 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42291 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42294 2010-09-20 Andreas Schwab <schwab@redhat.com>
42296 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42298 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42300 2010-09-14 Andreas Schwab <schwab@redhat.com>
42302 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42303 variables after CHECK_SP call.
42304 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42306 2010-09-13 Andreas Schwab <schwab@redhat.com>
42307 Ulrich Drepper <drepper@redhat.com>
42309 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42310 re-relocationg ld.so.
42311 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42312 _dl_init_paths call.
42313 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42316 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42318 * resolv/res_init.c (__res_vinit): Count the default server we added.
42320 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42321 Ulrich Drepper <drepper@redhat.com>
42324 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42325 (____longjmp_chk): Use %ebx for saving value across system call.
42328 2010-09-06 Andreas Schwab <schwab@redhat.com>
42330 * manual/Makefile: Don't mix pattern rules with normal rules.
42332 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42334 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42336 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42337 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42338 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42339 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42340 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42343 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42346 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42347 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42349 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42351 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42352 * sysdeps/x86_64/addmul_1.S: Likewise.
42353 * sysdeps/x86_64/lshift.S: Likewise.
42354 * sysdeps/x86_64/mul_1.S: Likewise.
42355 * sysdeps/x86_64/rshift.S: Likewise.
42356 * sysdeps/x86_64/sub_n.S: Likewise.
42357 * sysdeps/x86_64/submul_1.S: Likewise.
42359 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42361 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42362 Define __sched_param instead of SCHED_* and sched_param when
42363 <bits/sched.h> is included with __need_schedparam defined.
42364 * bits/sched.h [__need_schedparam]
42365 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42366 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42367 (__defined_schedparam): Define to 1.
42368 (__sched_param): New structure, identical to sched_param.
42369 (__need_schedparam): Undefine.
42371 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42373 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42374 (epoll_create1): Declare.
42376 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42378 2010-08-31 Andreas Schwab <schwab@redhat.com>
42381 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42382 shifting retval into place.
42384 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42386 * nis/rpcsvc/nis.h: Update copyright notice.
42387 * nis/rpcsvc/nis.x: Likewise.
42388 * nis/rpcsvc/nis_callback.h: Likewise.
42389 * nis/rpcsvc/nis_callback.x: Likewise.
42390 * nis/rpcsvc/nis_object.x: Likewise.
42391 * nis/rpcsvc/nis_tags.h: Likewise.
42392 * nis/rpcsvc/yp.h: Likewise.
42393 * nis/rpcsvc/yp.x: Likewise.
42394 * nis/rpcsvc/ypupd.h: Likewise.
42395 * nis/yp_xdr.c: Likewise.
42396 * nis/ypupdate_xdr.c: Likewise.
42398 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42399 mainly the body of pmap_getport. Add parameters to specify timeouts.
42400 (pmap_getport): Use __libc_rpc_getport.
42401 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42402 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42403 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42405 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42410 2010-08-27 Roland McGrath <roland@redhat.com>
42412 * sysdeps/i386/i686/multiarch/Makefile
42413 (CFLAGS-varshift.c): New variable.
42415 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42417 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42418 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42420 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42422 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42424 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42426 * sysdeps/x86_64/strlen.S: Unroll the loop.
42427 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42428 strlen-sse2 strlen-sse2-bsf.
42429 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42430 __strlen_no_bsf if bit_Slow_BSF is set.
42431 (__strlen_sse42): Removed.
42432 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42433 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42435 2010-08-25 Roland McGrath <roland@redhat.com>
42437 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42438 * sysdeps/x86_64/multiarch/varshift.c: New file.
42439 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42440 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42441 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42442 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42444 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42446 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42447 strlen-sse2 strlen-sse2-bsf.
42448 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42449 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42450 (__strlen_sse2): Removed.
42451 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42452 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42454 bit_Slow_BSF for Atom.
42455 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42456 (index_Slow_BSF): Define.
42457 (HAS_SLOW_BSF): Define.
42459 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42462 * resolv/res_init.c (__res_vinit): When no server address at all
42463 is given default to loopback.
42465 2010-08-24 Roland McGrath <roland@redhat.com>
42467 * configure.in: Remove config-name.h generation.
42468 * configure: Regenerated.
42469 * config-name.in: File removed.
42470 * scripts/config-uname.sh: New file.
42471 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42472 ($(objdir)config-name.h): New target.
42474 * sunrpc/rpc_parse.h: Avoid nested comment.
42476 2010-08-24 Richard Henderson <rth@redhat.com>
42477 Ulrich Drepper <drepper@redhat.com>
42478 H.J. Lu <hongjiu.lu@intel.com>
42480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42482 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42483 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42484 _mm_alignr_epi8 with _mm_loadu_si128.
42485 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42486 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42487 (__m128i_shift_right): Removed.
42488 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42489 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42490 * sysdeps/x86_64/multiarch/varshift.h: New file.
42491 * sysdeps/x86_64/multiarch/varshift.S: New file.
42493 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42495 * configure.in: Move assembler checks to before sysdep dir checking.
42497 2010-08-20 Petr Baudis <pasky@suse.cz>
42499 * LICENSES: Sync the sunrpc license.
42501 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42503 * sunrpc/auth_des.c: Update copyright notice once again.
42504 * sunrpc/auth_none.c: Likewise.
42505 * sunrpc/auth_unix.c: Likewise.
42506 * sunrpc/authdes_prot.c: Likewise.
42507 * sunrpc/authuxprot.c: Likewise.
42508 * sunrpc/bindrsvprt.c: Likewise.
42509 * sunrpc/clnt_gen.c: Likewise.
42510 * sunrpc/clnt_perr.c: Likewise.
42511 * sunrpc/clnt_raw.c: Likewise.
42512 * sunrpc/clnt_simp.c: Likewise.
42513 * sunrpc/clnt_tcp.c: Likewise.
42514 * sunrpc/clnt_udp.c: Likewise.
42515 * sunrpc/clnt_unix.c: Likewise.
42516 * sunrpc/des_crypt.c: Likewise.
42517 * sunrpc/des_soft.c: Likewise.
42518 * sunrpc/get_myaddr.c: Likewise.
42519 * sunrpc/getrpcport.c: Likewise.
42520 * sunrpc/key_call.c: Likewise.
42521 * sunrpc/key_prot.c: Likewise.
42522 * sunrpc/openchild.c: Likewise.
42523 * sunrpc/pm_getmaps.c: Likewise.
42524 * sunrpc/pm_getport.c: Likewise.
42525 * sunrpc/pmap_clnt.c: Likewise.
42526 * sunrpc/pmap_prot.c: Likewise.
42527 * sunrpc/pmap_prot2.c: Likewise.
42528 * sunrpc/pmap_rmt.c: Likewise.
42529 * sunrpc/rpc/auth.h: Likewise.
42530 * sunrpc/rpc/auth_unix.h: Likewise.
42531 * sunrpc/rpc/clnt.h: Likewise.
42532 * sunrpc/rpc/des_crypt.h: Likewise.
42533 * sunrpc/rpc/key_prot.h: Likewise.
42534 * sunrpc/rpc/netdb.h: Likewise.
42535 * sunrpc/rpc/pmap_clnt.h: Likewise.
42536 * sunrpc/rpc/pmap_prot.h: Likewise.
42537 * sunrpc/rpc/pmap_rmt.h: Likewise.
42538 * sunrpc/rpc/rpc.h: Likewise.
42539 * sunrpc/rpc/rpc_des.h: Likewise.
42540 * sunrpc/rpc/rpc_msg.h: Likewise.
42541 * sunrpc/rpc/svc.h: Likewise.
42542 * sunrpc/rpc/svc_auth.h: Likewise.
42543 * sunrpc/rpc/types.h: Likewise.
42544 * sunrpc/rpc/xdr.h: Likewise.
42545 * sunrpc/rpc_clntout.c: Likewise.
42546 * sunrpc/rpc_cmsg.c: Likewise.
42547 * sunrpc/rpc_common.c: Likewise.
42548 * sunrpc/rpc_cout.c: Likewise.
42549 * sunrpc/rpc_dtable.c: Likewise.
42550 * sunrpc/rpc_hout.c: Likewise.
42551 * sunrpc/rpc_main.c: Likewise.
42552 * sunrpc/rpc_parse.c: Likewise.
42553 * sunrpc/rpc_parse.h: Likewise.
42554 * sunrpc/rpc_prot.c: Likewise.
42555 * sunrpc/rpc_sample.c: Likewise.
42556 * sunrpc/rpc_scan.c: Likewise.
42557 * sunrpc/rpc_scan.h: Likewise.
42558 * sunrpc/rpc_svcout.c: Likewise.
42559 * sunrpc/rpc_tblout.c: Likewise.
42560 * sunrpc/rpc_util.c: Likewise.
42561 * sunrpc/rpc_util.h: Likewise.
42562 * sunrpc/rpcinfo.c: Likewise.
42563 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42564 * sunrpc/rpcsvc/key_prot.x: Likewise.
42565 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42566 * sunrpc/rpcsvc/mount.x: Likewise.
42567 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42568 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42569 * sunrpc/rpcsvc/rex.x: Likewise.
42570 * sunrpc/rpcsvc/rstat.x: Likewise.
42571 * sunrpc/rpcsvc/rusers.x: Likewise.
42572 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42573 * sunrpc/rpcsvc/spray.x: Likewise.
42574 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42575 * sunrpc/rtime.c: Likewise.
42576 * sunrpc/svc.c: Likewise.
42577 * sunrpc/svc_auth.c: Likewise.
42578 * sunrpc/svc_authux.c: Likewise.
42579 * sunrpc/svc_raw.c: Likewise.
42580 * sunrpc/svc_run.c: Likewise.
42581 * sunrpc/svc_simple.c: Likewise.
42582 * sunrpc/svc_tcp.c: Likewise.
42583 * sunrpc/svc_udp.c: Likewise.
42584 * sunrpc/svc_unix.c: Likewise.
42585 * sunrpc/svcauth_des.c: Likewise.
42586 * sunrpc/xcrypt.c: Likewise.
42587 * sunrpc/xdr.c: Likewise.
42588 * sunrpc/xdr_array.c: Likewise.
42589 * sunrpc/xdr_float.c: Likewise.
42590 * sunrpc/xdr_mem.c: Likewise.
42591 * sunrpc/xdr_rec.c: Likewise.
42592 * sunrpc/xdr_ref.c: Likewise.
42593 * sunrpc/xdr_sizeof.c: Likewise.
42594 * sunrpc/xdr_stdio.c: Likewise.
42596 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42599 2010-08-19 Andreas Schwab <schwab@redhat.com>
42601 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42603 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42605 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42606 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42607 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42608 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42609 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42610 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42611 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42612 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42613 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42614 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42615 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42616 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42617 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42618 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42620 2010-07-26 Anton Blanchard <anton@samba.org>
42622 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42623 * malloc/arena.c (heap_trim): Likewise.
42625 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42627 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42629 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42630 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42632 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42634 * sysdeps/i386/elf/Makefile: New file.
42636 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42638 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42639 from fanotify_init.
42640 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42641 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42643 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42645 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42647 * sysdeps/multiarch/strcmp.S: Likewise.
42649 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42651 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42652 strncase_l-nonascii.
42653 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42654 Add strncase_l-ssse3.
42655 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42656 * sysdeps/x86_64/strcmp.S: Likewise.
42657 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42658 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42659 * sysdeps/x86_64/strncase.S: New file.
42660 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42661 * sysdeps/x86_64/strncase_l.S: New file.
42662 * string/Makefile (strop-tests): Add strncasecmp.
42663 * string/test-strncasecmp.c: New file.
42665 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42668 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42669 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42671 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42673 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42675 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42677 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42678 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42679 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42681 2010-05-01 Alan Modra <amodra@gmail.com>
42683 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42684 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42685 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42686 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42687 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42688 tidying. Don't tail-call __sigjmp_save for static lib.
42689 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42691 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42692 (CALL_MCOUNT): Add eh info, and nop after bl.
42693 (TAIL_CALL_SYSCALL_ERROR): New macro.
42694 (PSEUDO_RET): Use it.
42695 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42696 Correct save location of integer regs and cr.
42697 (_dl_profile_resolve): Correct cr save location. Delete nops
42698 after bl when SHARED. Reduce cfi size a little by better
42699 placement of cfi directives.
42700 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42701 make a stack frame. Instead use parm save area as a temp.
42702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42703 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42705 Don't make a stack frame for parent, use parm save area.
42706 Increase child stack frame to 112 bytes. Don't save unused reg,
42707 and adjust reg usage. Set up cfi on error recovery and
42708 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42710 (__makecontext): Add dummy nop after jump to exit.
42711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42712 Use correct parm save area and cr save, reduce stack frame.
42713 Correct cfi for possible PSEUDO_RET frame setup.
42714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42715 Branch to local label emitted by PSEUDO_RET rather than
42718 2010-08-12 Andreas Schwab <schwab@redhat.com>
42721 * locale/programs/locale.c (print_assignment): New function.
42722 (show_locale_vars): Use it.
42724 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42726 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42728 (struct statfs64): Likewise.
42729 (_STATFS_F_FLAGS): Define.
42730 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42731 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42732 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42733 (ST_VALID): Define locally.
42734 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42735 __statvfs_getflags, use the provided value.
42736 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42737 __ASSUME_STATFS_F_FLAGS.
42739 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42741 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42742 Add sys/fanotify.h.
42743 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42744 fanotify_mask for GLIBC_2.13.
42745 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42746 fanotify_init and fanotify_mark.
42747 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42748 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42750 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42752 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42753 prlimit64 for GLIBC_2.13.
42754 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42756 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42759 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42760 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42761 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42762 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42764 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42767 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42768 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42770 * nss/Makefile: Add rules to build and run tst-nss-test1.
42771 * shlib-versions: Add entry for libnss_test1.
42772 * nss/nss_test1.c: New file.
42773 * nss/tst-nss-test1.c: New file.
42775 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42776 (__nss_configure_lookup): Set appropriate entry in
42777 __nss_configure_lookup to true.
42778 * nss/nsswitch.h: Define enum with indeces of databases in
42779 databases and __nss_database_custom arrays. Declare
42780 __nss_database_custom.
42781 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42782 to avoid using nscd when custom rules are installed.
42783 * nss/getXXbyYY_r.c: Likewise.
42784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42786 * nss/nss_files/files-parse.c: Whitespace fixes.
42788 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42791 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42792 * posix/fnmatch_loop.c: Likewise.
42794 2010-07-17 Andi Kleen <ak@linux.intel.com>
42796 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42797 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42798 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42799 * Versions.def [GLIBC_2.13]: Add.
42801 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42803 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42804 Also fail if tpwd after pwuid call is NULL.
42806 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42808 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42809 when converting to ms.
42811 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42813 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42814 EOPNOTSUPP errors with ENOTTY.
42815 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42816 EOPNOTSUPP errors with ENOTTY.
42818 2010-07-31 Ulrich Drepper <drepper@redhat.com>
42820 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42821 Add strcasecmp_l-ssse3.
42822 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42824 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42825 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42826 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42828 2010-07-30 Ulrich Drepper <drepper@redhat.com>
42830 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42832 * string/Makefile (strop-tests): Add strcasecmp.
42833 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42834 strcasecmp_l-nonascii.
42835 (gen-as-const-headers): Add locale-defines.sym.
42836 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42837 * sysdeps/x86_64/strcasecmp.S: New file.
42838 * sysdeps/x86_64/strcasecmp_l.S: New file.
42839 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42840 * sysdeps/x86_64/locale-defines.sym: New file.
42841 * string/test-strcasecmp.c: New file.
42843 * string/test-strcasestr.c: Test both ends of the range of characters.
42844 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42846 2010-07-29 Roland McGrath <roland@redhat.com>
42849 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42851 2010-07-27 Ulrich Drepper <drepper@redhat.com>
42853 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42856 2010-07-27 Andreas Schwab <schwab@redhat.com>
42858 * manual/memory.texi (Malloc Tunable Parameters): Document
42861 2010-07-26 Roland McGrath <roland@redhat.com>
42864 * configure.in (-fgnu89-inline check): Set and substitute
42865 gnu89_inline, not libc_cv_gnu89_inline.
42866 * configure: Regenerated.
42867 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42869 2010-07-26 Ulrich Drepper <drepper@redhat.com>
42871 * string/test-strnlen.c: New file.
42872 * string/Makefile (strop-tests): Add strnlen.
42873 * string/tester.c (test_strnlen): Add a few more test cases.
42874 * string/tst-strlen.c: Better error reporting.
42876 * sysdeps/x86_64/strnlen.S: New file.
42878 2010-07-24 Ulrich Drepper <drepper@redhat.com>
42880 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42881 lower-latency instructions.
42883 2010-07-23 Ulrich Drepper <drepper@redhat.com>
42885 * string/test-strcasestr.c: New file.
42886 * string/test-strstr.c: New file.
42887 * string/Makefile (strop-tests): Add strstr and strcasestr.
42888 * string/str-two-way.h: Don't undefine MAX.
42889 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42891 2010-07-21 Andreas Schwab <schwab@redhat.com>
42893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42894 strcasestr-nonascii.
42895 (CFLAGS-strcasestr-nonascii.c): Define.
42896 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42897 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42898 Remove unused attribute.
42900 2010-07-20 Roland McGrath <roland@redhat.com>
42902 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42903 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42904 ld.so.cache was broken. With it, there is no way to disable dsocaps
42905 like LD_HWCAP_MASK can disable hwcaps.
42907 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42909 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42911 2010-07-16 Ulrich Drepper <drepper@redhat.com>
42913 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42914 call in strcasestr.
42915 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42916 __strcasestr_sse42_nonascii.
42917 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42918 strcasestr-nonascii.c.
42919 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42921 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
42923 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42924 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42925 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42926 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42928 2010-07-09 Ulrich Drepper <drepper@redhat.com>
42930 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42933 2010-07-06 Andreas Schwab <schwab@redhat.com>
42936 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42939 2010-07-06 Ulrich Drepper <drepper@redhat.com>
42941 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42942 _PC_PIPE_BUF using F_GETPIPE_SZ.
42944 2010-07-05 Roland McGrath <roland@redhat.com>
42946 * manual/arith.texi (Rounding Functions): Fix rint description
42947 implicit in round description.
42949 2010-07-02 Ulrich Drepper <drepper@redhat.com>
42951 * elf/Makefile: Fix linking for a few tests to make recent linker
42954 2010-06-30 Andreas Schwab <schwab@redhat.com>
42956 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42957 $(common-objpfx)libc_nonshared.a.
42959 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
42961 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42962 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42963 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42964 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42965 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42966 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42967 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42968 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42983 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42984 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42985 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42986 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42987 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42988 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42989 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42990 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42991 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42992 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42993 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42994 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43010 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43012 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43013 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43014 * string/memmove.c (memmove): Renamed to ...
43015 (MEMMOVE): ...this. Default to memmove.
43016 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43017 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43019 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43020 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43021 mempcpy-ssse3-back memmove-ssse3-back.
43022 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43023 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43024 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43025 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43026 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43027 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43028 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43029 * sysdeps/x86_64/multiarch/memmove.c: New file.
43030 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43031 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43032 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43033 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43034 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43035 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43037 (index_Fast_Copy_Backward): Define.
43038 (HAS_ARCH_FEATURE): Define.
43039 (HAS_FAST_REP_STRING): Define.
43040 (HAS_FAST_COPY_BACKWARD): Define.
43042 2010-06-21 Andreas Schwab <schwab@redhat.com>
43044 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43045 Restore proper fallback handling.
43047 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43050 * posix/group_member.c (__group_member): Correct checking loop.
43052 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43053 OOM in getpwuid_r correctly. Return error number when the caller
43054 should return, otherwise -1.
43055 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43056 call returning > 0 value.
43057 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43059 2010-06-07 Andreas Schwab <schwab@redhat.com>
43061 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43062 libc_nonshared.a from targets in modules-names.
43064 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43066 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43069 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43071 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43072 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43073 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43074 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43076 2010-06-02 Andreas Schwab <schwab@redhat.com>
43078 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43080 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43082 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43084 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43085 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43086 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43087 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43088 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43089 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43091 2010-06-14 Roland McGrath <roland@redhat.com>
43093 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43095 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43097 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43098 __REDIRECT followed by __THROW.
43099 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43100 * posix/getopt.h (getopt): Likewise.
43102 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43104 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43105 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43106 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43108 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43109 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43111 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43113 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43115 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43119 Properly check family and model.
43121 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43123 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43125 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43127 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43129 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43131 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43134 2010-05-19 Andreas Schwab <schwab@redhat.com>
43136 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43139 2010-05-21 Andreas Schwab <schwab@redhat.com>
43141 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43142 and internal_recvmmsg.
43143 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43144 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43145 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43146 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43148 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43149 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43150 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43152 2010-05-20 Andreas Schwab <schwab@redhat.com>
43154 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43156 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43158 POWER7 optimizations.
43159 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43160 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43162 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43164 * version.h: Update for 2.13 development version.
43166 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43168 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43169 exceptions. Return 0.
43171 2010-05-07 Roland McGrath <roland@redhat.com>
43173 * elf/ldconfig.c (main): Add a const.
43175 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43177 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43178 (args_options): Add no-idn option.
43179 (ahosts_keys_int): Add idn_flags to ai_flags.
43180 (parse_option): Handle 'i' option to clear idn_flags.
43182 * malloc/malloc.c (_int_free): Possible race in the most recently
43183 added check. Only act on the data if no current modification
43186 See ChangeLog.17 for earlier changes.