1 2014-04-11 Will Newton <will.newton@linaro.org>
3 * benchtests/Makefile (extra-objs): Add json-lib.o.
4 (bench-func): Tidy up JSON output.
5 * benchtests/bench-skeleton.c: Include json-lib.h.
6 (main): Use JSON library functions to do output of
8 * benchtests/bench-timing-type.c (main): Output the
9 timing type simply, leaving formatting to the user.
10 * benchtests/json-lib.c: New file.
11 * benchtests/json-lib.h: Likewise.
13 2014-04-11 Torvald Riegel <triegel@redhat.com>
16 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18 memory barriers. Add comments.
19 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
24 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
26 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
28 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29 * sysdeps/s390/s390-64/configure.ac: ... this ...
30 * sysdeps/s390/configure.ac: ... to here.
31 * sysdeps/s390/s390-32/configure: Delete file.
32 * sysdeps/s390/s390-64/configure: Delete file.
33 * sysdeps/s390/configure: Regenerate.
35 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
37 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
39 2014-04-11 Will Newton <will.newton@linaro.org>
41 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42 to zero if it is not defined elsewhere. (mtrim): Test
43 the value of MALLOC_DEBUG with #if rather than #ifdef.
45 2014-04-10 Torvald Riegel <triegel@redhat.com>
47 * benchtests/pthread_once-inputs: New file.
48 * benchtests/pthread_once-source.c: New file.
49 * benchtests/README: Update documentation.
51 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
52 H.J. Lu <hongjiu.lu@intel.com>
54 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
55 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
56 * sysdeps/x86_64/configure: Regenerated.
57 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
59 (REGISTER_SAVE_RAX): Likewise.
60 (REGISTER_SAVE_RCX): Likewise.
61 (REGISTER_SAVE_RDX): Likewise.
62 (REGISTER_SAVE_RSI): Likewise.
63 (REGISTER_SAVE_RDI): Likewise.
64 (REGISTER_SAVE_R8): Likewise.
65 (REGISTER_SAVE_R9): Likewise.
66 (REGISTER_SAVE_BND0): Likewise.
67 (REGISTER_SAVE_BND1): Likewise.
68 (REGISTER_SAVE_BND2): Likewise.
69 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
70 bound registers when calling _dl_fixup.
72 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
75 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
77 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
78 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
79 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
80 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
81 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
82 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
83 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
85 2014-04-09 Peter Brett <peter@peter-b.co.uk>
88 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
89 pathconf(_PC_NAME_MAX).
91 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
93 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
95 (__PTHREAD_SPINS): Move definition to ...
96 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
97 (__PTHREAD_SPINS): ... here.
98 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
99 (__PTHREAD_SPIN): Likewise.
100 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
101 (__PTHREAD_SPIN): Likewise.
102 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
103 (__PTHREAD_SPIN): Likewise.
104 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
105 (__PTHREAD_SPIN): Likewise.
106 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
107 (__PTHREAD_SPIN): Likewise.
108 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
109 (__PTHREAD_SPIN): Likewise.
110 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
111 (__PTHREAD_SPIN): Likewise.
112 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
113 (__PTHREAD_SPIN): Likewise.
114 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
115 (__PTHREAD_SPIN): Likewise.
116 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
117 (__PTHREAD_SPIN): Likewise.
118 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
119 (__PTHREAD_SPIN): Likewise.
120 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
121 (__PTHREAD_SPIN): Likewise.
123 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
125 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
126 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
127 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
128 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
130 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
131 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
132 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
133 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
135 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
136 strlen symbol for non multi-arch builds.
137 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
138 missing hidden_def and weak_alias.
140 2014-04-08 Carlos O'Donell <carlos@redhat.com>
142 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
144 2014-04-07 Will Newton <will.newton@linaro.org>
146 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
147 and contents. [!_LIBC] Remove #ifndef and contents.
148 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
149 * string/memccpy.c (__memccpy): Use ANSI prototype.
150 * string/memfrob.c (memfrob): Likewise.
151 * string/strcoll.c (STRCOLL): Likewise.
152 * string/strlen.c (strlen): Likewise.
153 * string/strtok.c (STRTOK): Likewise.
154 * string/strcat.c: Remove unused #include of memcopy.h.
155 (strcat): Use ANSI prototype.
156 * string/strchr.c: Remove unused #include of memcopy.h.
157 (strchr): Use ANSI prototype.
158 * string/strcmp.c: Remove unused #include of memcopy.h.
159 (strcmp): Use ANSI prototype.
160 * string/strcpy.c: Remove unused #include of memcopy.h.
161 (strcpy): Use ANSI prototype.
163 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
165 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
166 * config.make.in (config-extra-cppflags): Set it from
168 * configure.ac (libc_extra_cflags): Make it accumulate over
170 (libc_extra_cppflags): New flag.
171 * configure. Regenerate.
172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
173 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
174 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
177 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
180 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
181 result for FE_DOWNWARD rounding mode.
182 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
186 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
188 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
189 in function argument name.
191 2014-04-03 David Svoboda <svoboda@cert.org>
194 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
197 2014-04-03 Roland McGrath <roland@hack.frob.com>
199 * elf/dl-unmap-segments.h: New file.
200 * sysdeps/generic/ldsodefs.h
201 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
202 * elf/dl-close.c: Include <dl-unmap-segments.h>.
203 * elf/dl-fptr.c: Likewise.
204 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
205 * sysdeps/aarch64/tlsdesc.c: Likewise.
206 * sysdeps/arm/tlsdesc.c: Likewise.
207 * sysdeps/i386/tlsdesc.c: Likewise.
208 * sysdeps/tile/dl-runtime.c: Likewise.
209 * sysdeps/x86_64/tlsdesc.c: Likewise.
210 * elf/dl-load.h: New file.
211 * elf/dl-load.c: Include it.
212 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
213 Macros moved to dl-load.h.
214 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
215 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
216 Use _dl_unmap_segments in place of __munmap.
217 Break out segment-mapping loop into ...
218 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
220 2014-04-03 Will Newton <will.newton@linaro.org>
222 * elf/dl-lookup.c (do_lookup_x): Remove comment
223 referring to nested function and move variable
224 declarations down to before first use.
226 2014-04-02 Joseph Myers <joseph@codesourcery.com>
230 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
232 * math/s_catanf.c (__catanf): Likewise.
233 * math/s_catanh.c (__catanh): Likewise.
234 * math/s_catanhf.c (__catanhf): Likewise.
235 * math/s_catanhl.c (__catanhl): Likewise.
236 * math/s_catanl.c (__catanl): Likewise.
237 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
238 by positive zero when computing -Inf result.
239 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
240 (catanh_test): Likewise.
241 * sysdeps/i386/fpu/libm-test-ulps: Update.
242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
245 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
246 instead of using underflowing value in computing result.
247 * math/s_clog10.c (__clog10): Likewise.
248 * math/s_clog10f.c (__clog10f): Likewise.
249 * math/s_clog10l.c (__clog10l): Likewise.
250 * math/s_clogf.c (__clogf): Likewise.
251 * math/s_clogl.c (__clogl): Likewise.
252 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
253 (clog10_test): Likewise.
254 * sysdeps/i386/fpu/libm-test-ulps: Update.
255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
257 2014-04-02 Alan Modra <amodra@gmail.com>
260 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
261 output when value is near a power of two. Use int64_t for lx and
262 remove casts. Use decimal rather than hex exponent constants.
263 Don't use long double multiplication when double will suffice.
264 * math/libm-test.inc (nextafter_test_data): Add tests.
265 * NEWS: Add 16739 and 16786 to bug list.
267 2014-04-02 Alan Modra <amodra@gmail.com>
269 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
271 2014-04-02 Alan Modra <amodra@gmail.com>
273 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
275 2014-04-01 Will Newton <will.newton@linaro.org>
277 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
278 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
280 2014-04-01 Florian Weimer <fweimer@redhat.com>
283 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
284 * nptl/tst-setuid2.c: New file.
285 * nptl/Makefile (xtests): Add tst-setuid2.
287 2014-04-01 Alan Modra <amodra@gmail.com>
290 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
292 2014-03-31 Joseph Myers <joseph@codesourcery.com>
296 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
297 set errno as appropriate.
298 * math/w_scalbf.c (__scalbf): Likewise.
299 * math/w_scalbl.c (__scalbl): Likewise.
300 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
301 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
302 * math/libm-test.inc (scalb_test_data): Add errno expectations.
306 * math/w_atan2.c: Include <errno.h>.
307 (__atan2): Set errno for result underflowing to zero.
308 * math/w_atan2f.c: Include <errno.h>.
309 (__atan2f): Set errno for result underflowing to zero.
310 * math/w_atan2l.c: Include <errno.h>.
311 (__atan2l): Set errno for result underflowing to zero.
312 * math/auto-libm-test-in: Don't allow missing errno for some atan2
314 * math/auto-libm-test-out: Regenerated.
316 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
318 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
319 Encode instruction correctly in little endian.
320 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
322 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
324 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
326 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
329 2014-03-31 Joseph Myers <joseph@codesourcery.com>
332 * sysdeps/unix/sysv/linux/kernel-features.h
333 [__sparc__ && !__arch64__ && !__sparc_v9__]
334 (__ASSUME_SET_ROBUST_LIST): Do not define.
335 [__sparc__ && !__arch64__ && !__sparc_v9__]
336 (__ASSUME_FUTEX_LOCK_PI): Likewise.
337 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
339 * sysdeps/unix/sysv/linux/arm/kernel-features.h
340 (__ASSUME_FUTEX_LOCK_PI): Undefine.
341 (__ASSUME_REQUEUE_PI): Likewise.
342 (__ASSUME_SET_ROBUST_LIST): Likewise.
343 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
344 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
346 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
347 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
349 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
351 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
353 * sysdeps/unix/sysv/linux/mips/kernel-features.h
354 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
356 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
357 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
361 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
362 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
363 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
365 2014-03-31 Will Newton <will.newton@linaro.org>
367 * benchtests/Makefile (bench): Add ffs and ffsll to list
369 * benchtests/ffs-inputs: New file.
370 * benchtests/ffsll-inputs: Likewise.
372 2014-03-29 Joseph Myers <joseph@codesourcery.com>
375 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
376 too large before casting to int.
377 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
378 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
379 * math/libm-test.inc (scalb_test_data): Add more tests.
381 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
383 * benchtests/Makefile (DETAILED_OPT): New make option.
384 (bench-func): Run benchmark program with -d if DETAILED_OPT is
386 * benchtests/bench-skeleton.c: Include stdbool.h.
387 (main): Store and print timings per input.
388 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
389 member to each argument value.
390 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
391 (_print_arg_data): Initialize per-input timing to 0.
393 * benchtests/Makefile (timing-type): New binary.
394 (bench-clean): Also remove bench-timing-type.
395 (bench): New target for timing-type.
396 (bench-func): Print output in JSON format.
397 * benchtests/bench-skeleton.c (main): Print output in JSON
399 * benchtests/bench-timing-type.c: New file.
400 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
401 (TIMING_PRINT_STATS): Remove.
402 * benchtests/scripts/bench.py (_print_arg_data): Store variant
405 * benchtests/bench-modf.c: Remove.
406 * benchtests/modf-inputs: New inputs file.
408 2014-03-28 Joseph Myers <joseph@codesourcery.com>
411 * math/s_clog10.c (M_PI_LOG10E): New macro.
412 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
413 imaginary parts are 0.
414 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
415 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
416 imaginary parts are 0.
417 * math/s_clog10l.c (M_PI_LOG10El): New macro.
418 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
419 imaginary parts are 0.
420 * math/libm-test.inc (clog10_test_data): Update expected results
421 for when real and imaginary parts are 0.
423 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
425 * elf/dl-load.c: Finish conversion of __builtin_expect into
428 2014-03-27 Joseph Myers <joseph@codesourcery.com>
431 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
432 1+x for argument with exponent below -67.
433 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
435 * math/auto-libm-test-in: Add more tests of exp.
436 * math/auto-libm-test-out: Regenerated.
438 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
441 * inet/getnetgrent_r.c (get_nonempty_val): New function.
442 (nscd_getnetgrent): Use it.
445 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
448 2014-03-27 Andi Kleen <ak@linux.intel.com>
450 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
451 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
452 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
453 Remove out of line section. Use cfi intrinsics.
454 (LLL_STUB_UNWIND_INFO*): Remove.
455 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
456 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
457 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
458 Remove out of line section. Use cfi intrinsics.
459 (LLL_STUB_UNWIND_INFO*): Remove.
461 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
464 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
467 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
469 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
471 2014-03-26 Joseph Myers <joseph@codesourcery.com>
474 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
476 * math/test-fenv-preserve.c: New file.
477 * math/Makefile (tests): Add test-fenv-preserve.
479 2014-03-26 Will Newton <will.newton@linaro.org>
481 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
483 2014-03-25 Roland McGrath <roland@hack.frob.com>
485 * scripts/versionlist.awk: Partition the version sets and emit all
486 GLIBC_* (sorted) before all others (sorted).
488 2014-03-25 Joseph Myers <joseph@codesourcery.com>
490 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
493 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
495 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
498 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
500 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
503 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
507 2014-03-25 Andreas Schwab <schwab@suse.de>
509 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
510 label to be used after in6ailist is initialized.
512 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
514 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
515 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
517 2014-03-25 Joseph Myers <joseph@codesourcery.com>
521 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
523 (fp_formats): Update initializers.
524 (init_fp_formats): Initialize new field.
525 (output_for_one_input_case): Allow underflow for results up to
527 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
528 * math/auto-libm-test-in: Don't mark some underflows from asin and
530 * math/auto-libm-test-out: Regenerated.
531 * sysdeps/i386/fpu/libm-test-ulps: Update.
532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
534 2014-03-25 Andreas Schwab <schwab@suse.de>
536 * libio/Makefile (tst-ftell-partial-wide-ENV)
537 (tst-ftell-active-handler-ENV): Define.
539 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
541 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
543 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
545 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
547 2014-03-24 Joseph Myers <joseph@codesourcery.com>
549 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
550 * sysdeps/x86_64/fpu/multiarch/e_exp.c
551 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
553 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
556 * elf/dl-load.c (open_verify): Add mode parameter.
557 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
558 (open_path): Change from boolean 'secure' to complete flag 'mode'
559 (_dl_map_object): Adjust.
560 * elf/Makefile (tests): Add tst-dlopen-aout.
561 * elf/tst-dlopen-aout.c: New test.
563 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
566 * sysdeps/unix/sysv/linux/s390/bits/stat.h
567 (struct stat): Rename member pad0 to __glibc_reserved0.
569 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
572 * sysdeps/s390/s390-32/bits/wordsize.h
573 (__WORDSIZE32_SIZE_ULONG): New define.
574 * sysdeps/s390/s390-64/bits/wordsize.h
575 (__WORDSIZE32_SIZE_ULONG): Likewise.
576 * sysdeps/generic/stdint.h (SIZE_MAX):
577 Define as UL if __WORDSIZE32_SIZE_ULONG.
579 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
582 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
583 (__glibc_reserved0): New variable.
584 (sa_flags): Change type to int.
586 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
588 * posix/Makefile (before-compile): Use += before-compile instead
591 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
593 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
594 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
596 2014-03-20 Andreas Schwab <schwab@suse.de>
599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
600 non-matching result from nscd.
602 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
604 * scripts/bench.py: Moved to ...
605 * benchtests/scripts/bench.py: ... here.
606 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
608 2014-03-24 Andreas Schwab <schwab@suse.de>
611 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
612 alloca_account and account alloca use for struct in6ailist.
614 2014-03-24 Joseph Myers <joseph@codesourcery.com>
617 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
618 rounding mode to recompute results that overflow to infinity or
620 * math/auto-libm-test-in: Don't mark tests as expected to fail for
622 * math/auto-libm-test-out: Regenerated.
623 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
624 (ccosh_test): Likewise.
625 (csin_test_data): Use plus_oflow.
626 (csin_test): Use ALL_RM_TEST.
627 (csinh_test_data): Use plus_oflow.
628 (csinh_test): Use ALL_RM_TEST.
629 * sysdeps/i386/fpu/libm-test-ulps: Update.
630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
632 2014-03-21 Joseph Myers <joseph@codesourcery.com>
634 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
635 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
636 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
639 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
641 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
642 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
643 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
644 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
646 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
647 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
649 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
650 * sysdeps/i386/fpu/libm-test-ulps: Update.
651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
653 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
655 * scripts/bench.pl: Remove file.
656 * scripts/bench.py: New benchmark script.
657 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
658 * benchtests/README: Mention python dependency.
659 * scripts/pylintrc: New file.
660 * scripts/pylint: New file.
662 * bits/mathdef.h: Use #ifdef instead of #if.
663 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
664 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
665 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
666 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
667 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
668 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
670 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
671 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
673 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
675 and strpbrk-ppc64 objects.
676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
677 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
678 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
679 multiarch strpbrk for POWER7.
680 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
681 multiarch strpbrk for PPC64.
682 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
684 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
687 2014-03-20 Joseph Myers <joseph@codesourcery.com>
689 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
690 (atan_test): Likewise.
691 (atanh_test_data): Use NO_TEST_INLINE for two tests.
692 (atanh_test): Use ALL_RM_TEST.
693 (atan2_test_data): Likewise.
694 (cabs_test): Likewise.
695 (cacosh_test): Likewise.
696 (carg_test): Likewise.
697 (casin_test): Likewise.
698 (casinh_test): Likewise.
699 (cbrt_test): Likewise.
700 (csqrt_test): Likewise.
701 (erf_test): Likewise.
702 (erfc_test): Likewise.
703 (pow10_test): Likewise.
704 (exp2_test): Likewise.
705 (hypot_test): Likewise.
708 (lgamma_test): Likewise.
709 (gamma_test): Likewise.
710 (sincos_test): Likewise.
711 (tanh_test): Likewise.
714 * sysdeps/i386/fpu/libm-test-ulps: Update.
715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
717 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
719 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
721 and strcspn-ppc64 objects.
722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
723 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
724 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
725 multiarch strcspn for POWER7.
726 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
727 multiarch strcspn for PPC64.
728 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
730 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
733 2014-03-20 Joseph Myers <joseph@codesourcery.com>
735 * math/gen-libm-test.pl (generate_testfile): Expect only function
736 name as argument to AUTO_TESTS_* and pass results for all rounding
738 (parse_auto_input): Separate inputs of automatic tests from
739 outputs before storing in %auto_tests.
740 * math/libm-test.inc (acos_test_data): Update call to
742 (acos_test): Use ALL_RM_TEST.
743 (acos_tonearest_test_data): Remove.
744 (acos_test_tonearest): Likewise.
745 (acos_towardzero_test_data): Likewise.
746 (acos_test_towardzero): Likewise.
747 (acos_downward_test_data): Likewise.
748 (acos_test_downward): Likewise.
749 (acos_upward_test_data): Likewise.
750 (acos_test_upward): Likewise.
751 (acosh_test_data): Update call to AUTO_TESTS_f_f.
752 (asin_test_data): Likewise.
753 (asin_test): Use ALL_RM_TEST.
754 (asin_tonearest_test_data): Remove.
755 (asin_test_tonearest): Likewise.
756 (asin_towardzero_test_data): Likewise.
757 (asin_test_towardzero): Likewise.
758 (asin_downward_test_data): Likewise.
759 (asin_test_downward): Likewise.
760 (asin_upward_test_data): Likewise.
761 (asin_test_upward): Likewise.
762 (asinh_test_data): Update call to AUTO_TESTS_f_f.
763 (atan_test_data): Likewise.
764 (atanh_test_data): Likewise.
765 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
766 (cabs_test_data): Update call to AUTO_TESTS_c_f.
767 (carg_test_data): Likewise.
768 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
769 (ccos_test_data): Update call to AUTO_TESTS_c_c.
770 (ccosh_test_data): Likewise.
771 (cexp_test_data): Likewise.
772 (clog_test_data): Likewise.
773 (clog10_test_data): Likewise.
774 (cos_test_data): Update call to AUTO_TESTS_f_f.
775 (cos_test): Use ALL_RM_TEST.
776 (cos_tonearest_test_data): Remove.
777 (cos_test_tonearest): Likewise.
778 (cos_towardzero_test_data): Likewise.
779 (cos_test_towardzero): Likewise.
780 (cos_downward_test_data): Likewise.
781 (cos_test_downward): Likewise.
782 (cos_upward_test_data): Likewise.
783 (cos_test_upward): Likewise.
784 (cosh_test_data): Update call to AUTO_TESTS_f_f.
785 (cosh_test): Use ALL_RM_TEST.
786 (cosh_tonearest_test_data): Remove.
787 (cosh_test_tonearest): Likewise.
788 (cosh_towardzero_test_data): Likewise.
789 (cosh_test_towardzero): Likewise.
790 (cosh_downward_test_data): Likewise.
791 (cosh_test_downward): Likewise.
792 (cosh_upward_test_data): Likewise.
793 (cosh_test_upward): Likewise.
794 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
795 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
796 (ctan_test_data): Likewise.
797 (ctan_test): Use ALL_RM_TEST.
798 (ctan_tonearest_test_data): Remove.
799 (ctan_test_tonearest): Likewise.
800 (ctan_towardzero_test_data): Likewise.
801 (ctan_test_towardzero): Likewise.
802 (ctan_downward_test_data): Likewise.
803 (ctan_test_downward): Likewise.
804 (ctan_upward_test_data): Likewise.
805 (ctan_test_upward): Likewise.
806 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
807 (ctanh_test): Use ALL_RM_TEST.
808 (ctanh_tonearest_test_data): Remove.
809 (ctanh_test_tonearest): Likewise.
810 (ctanh_towardzero_test_data): Likewise.
811 (ctanh_test_towardzero): Likewise.
812 (ctanh_downward_test_data): Likewise.
813 (ctanh_test_downward): Likewise.
814 (ctanh_upward_test_data): Likewise.
815 (ctanh_test_upward): Likewise.
816 (erf_test_data): Update call to AUTO_TESTS_f_f.
817 (erfc_test_data): Likewise.
818 (exp_test_data): Likewise.
819 (exp_test): Use ALL_RM_TEST.
820 (exp_tonearest_test_data): Remove.
821 (exp_test_tonearest): Likewise.
822 (exp_towardzero_test_data): Likewise.
823 (exp_test_towardzero): Likewise.
824 (exp_downward_test_data): Likewise.
825 (exp_test_downward): Likewise.
826 (exp_upward_test_data): Likewise.
827 (exp_test_upward): Likewise.
828 (exp10_test_data): Update call to AUTO_TESTS_f_f.
829 (exp10_test): Use ALL_RM_TEST.
830 (exp10_tonearest_test_data): Remove.
831 (exp10_test_tonearest): Likewise.
832 (exp10_towardzero_test_data): Likewise.
833 (exp10_test_towardzero): Likewise.
834 (exp10_downward_test_data): Likewise.
835 (exp10_test_downward): Likewise.
836 (exp10_upward_test_data): Likewise.
837 (exp10_test_upward): Likewise.
838 (exp2_test_data): Update call to AUTO_TESTS_f_f.
839 (expm1_test_data): Likewise.
840 (expm1_test): Use ALL_RM_TEST.
841 (expm1_tonearest_test_data): Remove.
842 (expm1_test_tonearest): Likewise.
843 (expm1_towardzero_test_data): Likewise.
844 (expm1_test_towardzero): Likewise.
845 (expm1_downward_test_data): Likewise.
846 (expm1_test_downward): Likewise.
847 (expm1_upward_test_data): Likewise.
848 (expm1_test_upward): Likewise.
849 (fma_test_data): Update call to AUTO_TESTS_fff_f.
850 (fma_test): Use ALL_RM_TEST.
851 (fma_towardzero_test_data): Remove.
852 (fma_test_towardzero): Likewise.
853 (fma_downward_test_data): Likewise.
854 (fma_test_downward): Likewise.
855 (fma_upward_test_data): Likewise.
856 (fma_test_upward): Likewise.
857 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
858 (j0_test_data): Update call to AUTO_TESTS_f_f.
859 (j1_test_data): Likewise.
860 (jn_test_data): Update call to AUTO_TESTS_if_f.
861 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
862 (log_test_data): Update call to AUTO_TESTS_f_f.
863 (log10_test_data): Likewise.
864 (log1p_test_data): Likewise.
865 (log2_test_data): Likewise.
866 (pow_test_data): Update call to AUTO_TESTS_ff_f.
867 (pow_tonearest_test_data): Likewise.
868 (sin_test_data): Update call to AUTO_TESTS_f_f.
869 (sin_test): Use ALL_RM_TEST.
870 (sin_tonearest_test_data): Remove.
871 (sin_test_tonearest): Likewise.
872 (sin_towardzero_test_data): Likewise.
873 (sin_test_towardzero): Likewise.
874 (sin_downward_test_data): Likewise.
875 (sin_test_downward): Likewise.
876 (sin_upward_test_data): Likewise.
877 (sin_test_upward): Likewise.
878 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
879 (sinh_test_data): Update call to AUTO_TESTS_f_f.
880 (sinh_test): Use ALL_RM_TEST.
881 (sinh_tonearest_test_data): Remove.
882 (sinh_test_tonearest): Likewise.
883 (sinh_towardzero_test_data): Likewise.
884 (sinh_test_towardzero): Likewise.
885 (sinh_downward_test_data): Likewise.
886 (sinh_test_downward): Likewise.
887 (sinh_upward_test_data): Likewise.
888 (sinh_test_upward): Likewise.
889 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
890 (sqrt_test): Use ALL_RM_TEST.
891 (sqrt_tonearest_test_data): Remove.
892 (sqrt_test_tonearest): Likewise.
893 (sqrt_towardzero_test_data): Likewise.
894 (sqrt_test_towardzero): Likewise.
895 (sqrt_downward_test_data): Likewise.
896 (sqrt_test_downward): Likewise.
897 (sqrt_upward_test_data): Likewise.
898 (sqrt_test_upward): Likewise.
899 (tan_test_data): Update call to AUTO_TESTS_f_f.
900 (tan_test): Use ALL_RM_TEST.
901 (tan_tonearest_test_data): Remove.
902 (tan_test_tonearest): Likewise.
903 (tan_towardzero_test_data): Likewise.
904 (tan_test_towardzero): Likewise.
905 (tan_downward_test_data): Likewise.
906 (tan_test_downward): Likewise.
907 (tan_upward_test_data): Likewise.
908 (tan_test_upward): Likewise.
909 (tanh_test_data): Update call to AUTO_TESTS_f_f.
910 (tgamma_test_data): Likewise.
911 (y0_test_data): Likewise.
912 (y1_test_data): Likewise.
913 (yn_test_data): Update call to AUTO_TESTS_if_f.
914 (main): Do not call removed functions.
916 2014-03-19 Joseph Myers <joseph@codesourcery.com>
918 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
919 (ldexp_test_data): Remove.
920 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
922 (scalb_test): Use ALL_RM_TEST.
924 2014-03-19 Andreas Schwab <schwab@suse.de>
926 * nscd/nscd.service: Also invalidate netgroup cache on reload.
928 2014-03-19 Joseph Myers <joseph@codesourcery.com>
931 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
932 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
933 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
934 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
935 (__ASSUME_PREADV): Undefine.
936 (__ASSUME_PWRITEV): Likewise.
938 2014-03-18 Roland McGrath <roland@hack.frob.com>
940 * bits/mman-linux.h: Add comment about non-Linux use.
941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
942 bits/mman-linux.h resting place.
944 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
945 * bits/mman-linux.h: ... here.
947 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
949 * conform/conformtest.pl: Add standard definition when calling C
950 preprocessor on data files.
951 (checknamespace): Remove unused variable.
953 2014-03-18 Joseph Myers <joseph@codesourcery.com>
955 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
956 minus_oflow, plus_uflow and minus_uflow in expected results.
957 * math/libm-test.inc (scalbn_test_data): Add more tests of
958 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
960 (scalbn_test): Use ALL_RM_TEST.
961 (scalbln_test_data): Add more tests of negative arguments. Use
962 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
963 (scalbln_test): Use ALL_RM_TEST.
965 2014-03-18 Roland McGrath <roland@hack.frob.com>
967 * scripts/abilist.awk: Ignore symbols marked with .hidden.
969 2014-03-18 Will Newton <will.newton@linaro.org>
971 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
974 2014-03-18 Joseph Myers <joseph@codesourcery.com>
976 * Makerules [!subdir] (check-abi): Exit with error status if a
979 2014-03-17 Joseph Myers <joseph@codesourcery.com>
981 * math/libm-test.inc (nearbyint_test_data): Include all tests used
982 for rint. Include results for all rounding modes.
983 (nearbyint_test): Use ALL_RM_TEST.
984 (rint_test_data): Include all tests used for nearbyint.
986 2014-03-17 Will Newton <will.newton@linaro.org>
988 * nptl/sysdeps/pthread/pthread.h: Revert previous
991 * sysdeps/generic/ldsodefs.h: Revert previous
994 * libio/genops.c: Revert previous change.
995 * libio/libioP.h: Likewise.
996 * stdio-common/vfprintf.c: Likewise.
998 * sysdeps/generic/math_private.h: Revert previous
1001 * sysdeps/generic/math_private.h: Check whether
1002 HAVE_RM_CTX is defined with #ifdef rather
1005 * argp/argp-fmtstream.h: Check whether
1006 __STRICT_ANSI__ is defined with #ifdef rather
1008 * argp/argp.h: Likewise.
1010 * libio/genops.c: Check whether
1011 _IO_JUMPS_OFFSET is defined with #ifdef rather
1013 * libio/libioP.h: Likewise.
1014 * stdio-common/vfprintf.c: Likewise.
1016 * sysdeps/generic/ldsodefs.h: Check whether
1017 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1020 * nptl/sysdeps/pthread/pthread.h: Check
1021 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1024 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1026 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1028 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1032 * libio/fileops.c (_IO_file_open): Seek to end of file but
1033 don't cache the offset.
1034 (get_file_offset): Remove function.
1035 (do_ftell): Use cached offset when available.
1036 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1037 don't cache the offset.
1038 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1040 (do_one_test): Call it.
1041 (do_ftell_test): Fix up expected old offset for a+ mode.
1042 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1045 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1046 up test status with function return status.
1047 (do_write_test): Likewise.
1048 (do_append_test): Likewise.
1050 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1051 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1054 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1056 * math/gen-libm-test.pl (parse_args): Handle results specified for
1057 each rounding mode separately.
1058 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1059 tests and results from lrint_tonearest_test_data,
1060 lrint_towardzero_test_data, lrint_downward_test_data and
1061 lrint_upward_test_data.
1062 (lrint_test): Use ALL_RM_TEST.
1063 (lrint_tonearest_test_data): Remove.
1064 (lrint_test_tonearest): Likewise.
1065 (lrint_towardzero_test_data): Likewise.
1066 (lrint_test_towardzero): Likewise.
1067 (lrint_downward_test_data): Likewise.
1068 (lrint_test_downward): Likewise.
1069 (lrint_upward_test_data): Likewise.
1070 (lrint_test_upward): Likewise.
1071 (llrint_test_data): Merge in per-rounding-mode tests and results
1072 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1073 llrint_downward_test_data and llrint_upward_test_data.
1074 (llrint_test): Use ALL_RM_TEST.
1075 (llrint_tonearest_test_data): Remove.
1076 (llrint_test_tonearest): Likewise.
1077 (llrint_towardzero_test_data): Likewise.
1078 (llrint_test_towardzero): Likewise.
1079 (llrint_downward_test_data): Likewise.
1080 (llrint_test_downward): Likewise.
1081 (llrint_upward_test_data): Likewise.
1082 (llrint_test_upward): Likewise.
1083 (rint_test_data): Merge in per-rounding-mode tests and results
1084 from rint_tonearest_test_data, rint_towardzero_test_data,
1085 rint_downward_test_data and rint_upward_test_data. Add
1086 per-rounding-mode results for tests not in those arrays.
1087 (rint_test): Use ALL_RM_TEST.
1088 (rint_tonearest_test_data): Remove.
1089 (rint_test_tonearest): Likewise.
1090 (rint_towardzero_test_data): Likewise.
1091 (rint_test_towardzero): Likewise.
1092 (rint_downward_test_data): Likewise.
1093 (rint_test_downward): Likewise.
1094 (rint_upward_test_data): Likewise.
1095 (rint_test_upward): Likewise.
1096 (main): Don't call removed functions.
1098 2014-03-14 Roland McGrath <roland@hack.frob.com>
1100 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1101 "Compiled on ..." crapola. It is anti-useful.
1103 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1105 * scripts/evaluate-test.sh: Handle fourth argument to determine
1106 whether test run should stop on failure.
1107 * Makeconfig (stop-on-test-failure): New variable.
1108 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1109 $(stop-on-test-failure).
1110 * Makefile (tests): Give a summary of results from testing and
1111 exit with failure status if they include an ERROR or FAIL.
1113 * manual/install.texi (Configuring and compiling): Mention
1114 stop-on-test-failure=y.
1115 * INSTALL: Regenerated.
1117 2014-03-14 Roland McGrath <roland@hack.frob.com>
1119 * scripts/versionlist.awk: New file.
1120 * Makerules [$(build-shared) = yes]
1121 (postclean-generated): Add Versions.def, not Versions.def.v and
1123 ($(common-objpfx)Versions.def.v.i): Target removed.
1124 ($(common-objpfx)Versions.def): New target.
1125 ($(common-objpfx)Versions.all): Depend on that rather that
1126 $(common-objpfx)Versions.def.v.
1127 * Versions.def: File removed.
1129 * Makeconfig (+gccwarn): Add -Wundef.
1130 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1131 a dl-sysdep.h breaking its contract.
1132 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1133 * include/stackinfo.h: New file.
1134 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1135 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1136 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1137 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1138 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1139 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1140 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1141 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1142 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1143 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1144 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1145 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1146 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1147 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1148 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1150 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1153 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1155 * math/libm-test.inc (round_test_data): Add more tests.
1157 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1162 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1164 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1167 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1169 * math/libm-test.inc (ceil_test_data): Add more tests.
1171 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1173 * math/libm-test.inc (trunc_test_data): Add more tests related to
1176 2014-03-14 Roland McGrath <roland@hack.frob.com>
1178 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1179 with #if rather than #ifdef.
1180 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1182 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1184 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1185 first. Disable AVX-512 GCC support if assembler doesn't support
1187 * sysdeps/x86_64/configure: Regenerated.
1189 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1191 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1192 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1193 (__old_pthread_attr_setstack): Likewise.
1194 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1195 [!_STACK_GROWS_DOWN]: Likewise.
1197 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1199 * config.make.in (have-bash2): Delete.
1200 * configure.ac (libc_cv_have_bash2): Delete.
1201 * configure: Regenerate.
1202 * elf/Makefile (common-ldd-rewrite): Rename to ...
1203 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1204 (sh-ldd-rewrite): Delete.
1205 (bash-ldd-rewrite): Delete.
1206 (have-bash2): Delete checks.
1207 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1209 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1211 * config.make.in (have-ksh): Delete.
1213 * configure.ac (libc_cv_have_ksh): Delete.
1214 * configure: Regenerate.
1216 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1218 * elf/Makefile: Delete $(have-ksh) check.
1219 ($(objpfx)sotruss): Change KSH to BASH.
1220 * elf/sotruss.ksh: Rename to ...
1221 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1222 function style to match POSIX. Drop ksh vim mode setting.
1224 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1226 * manual/time.texi (Specifying the Time Zone with TZ): Change
1227 Tuesday to Thursday.
1229 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1231 * debug/tst-longjmp_chk2.c: Update header comment.
1232 (stackoverflow_handler): Add comment. Call assert on pass value.
1234 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1236 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1237 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1238 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1239 (La_x86_64_vector): Add zmm.
1240 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1241 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1242 ($(objpfx)tst-audit10): New target.
1243 ($(objpfx)tst-audit10.out): Likewise.
1244 (tst-audit10-ENV): New.
1245 (AVX512-CFLAGS): Likewise.
1246 (CFLAGS-tst-audit10.c): Likewise.
1247 (CFLAGS-tst-auditmod10a.c): Likewise.
1248 (CFLAGS-tst-auditmod10b.c): Likewise.
1249 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1250 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1251 * sysdeps/x86_64/configure: Regenerated.
1252 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1253 AVX-512 zmm register support.
1254 (_dl_x86_64_save_sse): Likewise.
1255 (_dl_x86_64_restore_sse): Likewise.
1256 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1257 size vector registers.
1258 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1259 (ZMM_SIZE): Likewise.
1260 * sysdeps/x86_64/tst-audit10.c: New file.
1261 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1262 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1264 2014-03-13 Roland McGrath <roland@hack.frob.com>
1266 * configure.ac (HAVE_EHDR_START): New check.
1267 * configure: Regenerated.
1268 * config.h.in (HAVE_EHDR_START): New #undef.
1269 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1270 assuming the lowest-addressed segment maps the start of the file.
1272 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1274 * INSTALL: Regenerated.
1276 2014-03-13 Will Newton <will.newton@linaro.org>
1278 * manual/setjmp.texi (System V contexts): Improve
1279 clarity and grammar of documentation.
1281 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1284 * elf/Makefile (tests): Add tst-pie2.
1285 (tests-pie): Add tst-pie2.
1286 * elf/tst-pie2.c: New file.
1287 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1289 * elf/rtld.c (map_doit): Load executable as lt_executable.
1290 (dl_main): Likewise.
1292 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1295 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1296 (__ASSUME_PSELECT): Undefine.
1298 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1301 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1302 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1304 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1305 selector for static builds.
1307 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1310 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1313 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1315 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1316 selector for static builds.
1318 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1320 * sysdeps/mips/math_private.h [__mips_hard_float]
1321 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1322 libc_feresetround_mips_ctx.
1323 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1324 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1325 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1328 * math/s_nextafter.c (__nextafter): Do not return value from
1329 overflowing computation.
1330 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1331 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1332 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1334 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1336 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1337 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1339 2014-03-11 Roland McGrath <roland@hack.frob.com>
1341 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1342 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1343 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1344 the new mov targetting sp.
1346 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1349 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1350 Define it for static builds as well.
1351 (NO_BZERO_IMPL): Likewise.
1353 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1355 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1356 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1357 multiarch strspn for PPC64.
1358 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1359 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1361 (__libc_ifunc_impl_list): Likewise.
1362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1363 multiarch optimizations
1364 * string/strspn.c (strspn): Using macro to redefine symbol name.
1366 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1367 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1369 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1370 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1371 multiarch strncat for PPC64.
1372 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1373 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1375 (__libc_ifunc_impl_list): Likewise.
1376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1377 multiarch optimizations
1379 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1382 * nscd/nscd.service: Make service type forking.
1384 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1386 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1387 sign in non default rounding modes.
1388 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1390 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1392 * math/libm-test.inc (ALL_RM_TEST): New macro.
1393 (ceil_test): Use ALL_RM_TEST.
1394 (cimag_test): Likewise.
1395 (conj_test): Likewise.
1396 (copysign_test): Likewise.
1397 (cproj_test): Likewise.
1398 (creal_test): Likewise.
1399 (fabs_test): Likewise.
1400 (floor_test): Likewise.
1401 (fmax_test): Likewise.
1402 (fmin_test): Likewise.
1403 (fmod_test): Likewise.
1404 (fpclassify_test): Likewise.
1405 (frexp_test): Likewise.
1406 (ilogb_test): Likewise.
1407 (isfinite_test): Likewise.
1408 (finite_test): Likewise.
1409 (isgreater_test): Likewise.
1410 (isgreaterequal_test): Likewise.
1411 (isinf_test): Likewise.
1412 (isless_test): Likewise.
1413 (islessequal_test): Likewise.
1414 (islessgreater_test): Likewise.
1415 (isnan_test): Likewise.
1416 (isnormal_test): Likewise.
1417 (issignaling_test): Likewise.
1418 (isunordered_test): Likewise.
1419 (logb_test): Likewise.
1420 (logb_downward_test_data): Remove.
1421 (logb_test_downward): Likewise.
1422 (lround_test): Use ALL_RM_TEST.
1423 (llround_test): Likewise.
1424 (modf_test): Likewise.
1425 (nexttoward_test): Likewise.
1426 (remainder_test): Likewise.
1427 (drem_test): Likewise.
1428 (remainder_tonearest_test_data): Likewise.
1429 (remainder_test_tonearest): Likewise.
1430 (drem_test_tonearest): Likewise.
1431 (remainder_towardzero_test_data): Likewise.
1432 (remainder_test_towardzero): Likewise.
1433 (drem_test_towardzero): Likewise.
1434 (remainder_downward_test_data): Likewise.
1435 (remainder_test_downward): Likewise.
1436 (drem_test_downward): Likewise.
1437 (remainder_upward_test_data): Likewise.
1438 (remainder_test_upward): Likewise.
1439 (drem_test_upward): Likewise.
1440 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1441 (round_test): Use ALL_RM_TEST.
1442 (signbit_test): Likewise.
1443 (trunc_test): Likewise.
1444 (significand_test): Likewise.
1445 (main): Don't call removed functions.
1447 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1450 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1452 (ILL_ILLOPN): Likewise.
1453 (ILL_ILLADR): Likewise.
1454 (ILL_ILLTRP): Likewise.
1455 (ILL_PRVOPC): Likewise.
1456 (ILL_PRVREG): Likewise.
1457 (ILL_COPROC): Likewise.
1458 (ILL_BADSTK): Likewise.
1459 (FPE_INTDIV): Likewise.
1460 (FPE_INTOVF): Likewise.
1461 (FPE_FLTDIV): Likewise.
1462 (FPE_FLTOVF): Likewise.
1463 (FPE_FLTUND): Likewise.
1464 (FPE_FLTRES): Likewise.
1465 (FPE_FLTINV): Likewise.
1466 (FPE_FLTSUB): Likewise.
1467 (SEGV_MAPERR): Likewise.
1468 (SEGV_ACCERR): Likewise.
1469 (BUS_ADRALN): Likewise.
1470 (BUS_ADRERR): Likewise.
1471 (BUS_OBJERR): Likewise.
1472 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1473 (TRAP_TRACE): Likewise.
1474 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1476 (CLD_KILLED): Likewise.
1477 (CLD_DUMPED): Likewise.
1478 (CLD_TRAPPED): Likewise.
1479 (CLD_STOPPED): Likewise.
1480 (CLD_CONTINUED): Likewise.
1481 (POLL_IN): Likewise.
1482 (POLL_OUT): Likewise.
1483 (POLL_MSG): Likewise.
1484 (POLL_ERR): Likewise.
1485 (POLL_PRI): Likewise.
1486 (POLL_HUP): Likewise.
1487 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1489 (ILL_ILLOPN): Likewise.
1490 (ILL_ILLADR): Likewise.
1491 (ILL_ILLTRP): Likewise.
1492 (ILL_PRVOPC): Likewise.
1493 (ILL_PRVREG): Likewise.
1494 (ILL_COPROC): Likewise.
1495 (ILL_BADSTK): Likewise.
1496 (FPE_INTDIV): Likewise.
1497 (FPE_INTOVF): Likewise.
1498 (FPE_FLTDIV): Likewise.
1499 (FPE_FLTOVF): Likewise.
1500 (FPE_FLTUND): Likewise.
1501 (FPE_FLTRES): Likewise.
1502 (FPE_FLTINV): Likewise.
1503 (FPE_FLTSUB): Likewise.
1504 (SEGV_MAPERR): Likewise.
1505 (SEGV_ACCERR): Likewise.
1506 (BUS_ADRALN): Likewise.
1507 (BUS_ADRERR): Likewise.
1508 (BUS_OBJERR): Likewise.
1509 (BUS_MCEERR_AR): Likewise.
1510 (BUS_MCEERR_AO): Likewise.
1511 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1512 (TRAP_TRACE): Likewise.
1513 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1515 (CLD_KILLED): Likewise.
1516 (CLD_DUMPED): Likewise.
1517 (CLD_TRAPPED): Likewise.
1518 (CLD_STOPPED): Likewise.
1519 (CLD_CONTINUED): Likewise.
1520 (POLL_IN): Likewise.
1521 (POLL_OUT): Likewise.
1522 (POLL_MSG): Likewise.
1523 (POLL_ERR): Likewise.
1524 (POLL_PRI): Likewise.
1525 (POLL_HUP): Likewise.
1526 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1527 (ILL_ILLOPN): Likewise.
1528 (ILL_ILLADR): Likewise.
1529 (ILL_ILLTRP): Likewise.
1530 (ILL_PRVOPC): Likewise.
1531 (ILL_PRVREG): Likewise.
1532 (ILL_COPROC): Likewise.
1533 (ILL_BADSTK): Likewise.
1534 (FPE_INTDIV): Likewise.
1535 (FPE_INTOVF): Likewise.
1536 (FPE_FLTDIV): Likewise.
1537 (FPE_FLTOVF): Likewise.
1538 (FPE_FLTUND): Likewise.
1539 (FPE_FLTRES): Likewise.
1540 (FPE_FLTINV): Likewise.
1541 (FPE_FLTSUB): Likewise.
1542 (SEGV_MAPERR): Likewise.
1543 (SEGV_ACCERR): Likewise.
1544 (BUS_ADRALN): Likewise.
1545 (BUS_ADRERR): Likewise.
1546 (BUS_OBJERR): Likewise.
1547 (BUS_MCEERR_AR): Likewise.
1548 (BUS_MCEERR_AO): Likewise.
1549 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1550 (TRAP_TRACE): Likewise.
1551 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1553 (CLD_KILLED): Likewise.
1554 (CLD_DUMPED): Likewise.
1555 (CLD_TRAPPED): Likewise.
1556 (CLD_STOPPED): Likewise.
1557 (CLD_CONTINUED): Likewise.
1558 (POLL_IN): Likewise.
1559 (POLL_OUT): Likewise.
1560 (POLL_MSG): Likewise.
1561 (POLL_ERR): Likewise.
1562 (POLL_PRI): Likewise.
1563 (POLL_HUP): Likewise.
1564 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1566 (ILL_ILLOPN): Likewise.
1567 (ILL_ILLADR): Likewise.
1568 (ILL_ILLTRP): Likewise.
1569 (ILL_PRVOPC): Likewise.
1570 (ILL_PRVREG): Likewise.
1571 (ILL_COPROC): Likewise.
1572 (ILL_BADSTK): Likewise.
1573 (ILL_BADIADDR): Likewise.
1574 (ILL_BREAK): Likewise.
1575 (FPE_INTDIV): Likewise.
1576 (FPE_INTOVF): Likewise.
1577 (FPE_FLTDIV): Likewise.
1578 (FPE_FLTOVF): Likewise.
1579 (FPE_FLTUND): Likewise.
1580 (FPE_FLTRES): Likewise.
1581 (FPE_FLTINV): Likewise.
1582 (FPE_FLTSUB): Likewise.
1583 (FPE_DECOVF): Likewise.
1584 (FPE_DECDIV): Likewise.
1585 (FPE_DECERR): Likewise.
1586 (FPE_INVASC): Likewise.
1587 (FPE_INVDEC): Likewise.
1588 (SEGV_MAPERR): Likewise.
1589 (SEGV_ACCERR): Likewise.
1590 (SEGV_PSTKOVF): Likewise.
1591 (BUS_ADRALN): Likewise.
1592 (BUS_ADRERR): Likewise.
1593 (BUS_OBJERR): Likewise.
1594 (BUS_MCEERR_AR): Likewise.
1595 (BUS_MCEERR_AO): Likewise.
1596 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1597 (TRAP_TRACE): Likewise.
1598 (TRAP_BRANCH): Likewise.
1599 (TRAP_HWBKPT): Likewise.
1600 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1602 (CLD_KILLED): Likewise.
1603 (CLD_DUMPED): Likewise.
1604 (CLD_TRAPPED): Likewise.
1605 (CLD_STOPPED): Likewise.
1606 (CLD_CONTINUED): Likewise.
1607 (POLL_IN): Likewise.
1608 (POLL_OUT): Likewise.
1609 (POLL_MSG): Likewise.
1610 (POLL_ERR): Likewise.
1611 (POLL_PRI): Likewise.
1612 (POLL_HUP): Likewise.
1613 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1614 (ILL_ILLOPN): Likewise.
1615 (ILL_ILLADR): Likewise.
1616 (ILL_ILLTRP): Likewise.
1617 (ILL_PRVOPC): Likewise.
1618 (ILL_PRVREG): Likewise.
1619 (ILL_COPROC): Likewise.
1620 (ILL_BADSTK): Likewise.
1621 (FPE_INTDIV): Likewise.
1622 (FPE_INTOVF): Likewise.
1623 (FPE_FLTDIV): Likewise.
1624 (FPE_FLTOVF): Likewise.
1625 (FPE_FLTUND): Likewise.
1626 (FPE_FLTRES): Likewise.
1627 (FPE_FLTINV): Likewise.
1628 (FPE_FLTSUB): Likewise.
1629 (SEGV_MAPERR): Likewise.
1630 (SEGV_ACCERR): Likewise.
1631 (BUS_ADRALN): Likewise.
1632 (BUS_ADRERR): Likewise.
1633 (BUS_OBJERR): Likewise.
1634 (BUS_MCEERR_AR): Likewise.
1635 (BUS_MCEERR_AO): Likewise.
1636 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1637 (TRAP_TRACE): Likewise.
1638 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1640 (CLD_KILLED): Likewise.
1641 (CLD_DUMPED): Likewise.
1642 (CLD_TRAPPED): Likewise.
1643 (CLD_STOPPED): Likewise.
1644 (CLD_CONTINUED): Likewise.
1645 (POLL_IN): Likewise.
1646 (POLL_OUT): Likewise.
1647 (POLL_MSG): Likewise.
1648 (POLL_ERR): Likewise.
1649 (POLL_PRI): Likewise.
1650 (POLL_HUP): Likewise.
1651 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1652 (ILL_ILLOPN): Likewise.
1653 (ILL_ILLADR): Likewise.
1654 (ILL_ILLTRP): Likewise.
1655 (ILL_PRVOPC): Likewise.
1656 (ILL_PRVREG): Likewise.
1657 (ILL_COPROC): Likewise.
1658 (ILL_BADSTK): Likewise.
1659 (FPE_INTDIV): Likewise.
1660 (FPE_INTOVF): Likewise.
1661 (FPE_FLTDIV): Likewise.
1662 (FPE_FLTOVF): Likewise.
1663 (FPE_FLTUND): Likewise.
1664 (FPE_FLTRES): Likewise.
1665 (FPE_FLTINV): Likewise.
1666 (FPE_FLTSUB): Likewise.
1667 (SEGV_MAPERR): Likewise.
1668 (SEGV_ACCERR): Likewise.
1669 (BUS_ADRALN): Likewise.
1670 (BUS_ADRERR): Likewise.
1671 (BUS_OBJERR): Likewise.
1672 (BUS_MCEERR_AR): Likewise.
1673 (BUS_MCEERR_AO): Likewise.
1674 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1675 (TRAP_TRACE): Likewise.
1676 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1678 (CLD_KILLED): Likewise.
1679 (CLD_DUMPED): Likewise.
1680 (CLD_TRAPPED): Likewise.
1681 (CLD_STOPPED): Likewise.
1682 (CLD_CONTINUED): Likewise.
1683 (POLL_IN): Likewise.
1684 (POLL_OUT): Likewise.
1685 (POLL_MSG): Likewise.
1686 (POLL_ERR): Likewise.
1687 (POLL_PRI): Likewise.
1688 (POLL_HUP): Likewise.
1689 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1690 (ILL_ILLOPN): Likewise.
1691 (ILL_ILLADR): Likewise.
1692 (ILL_ILLTRP): Likewise.
1693 (ILL_PRVOPC): Likewise.
1694 (ILL_PRVREG): Likewise.
1695 (ILL_COPROC): Likewise.
1696 (ILL_BADSTK): Likewise.
1697 (FPE_INTDIV): Likewise.
1698 (FPE_INTOVF): Likewise.
1699 (FPE_FLTDIV): Likewise.
1700 (FPE_FLTOVF): Likewise.
1701 (FPE_FLTUND): Likewise.
1702 (FPE_FLTRES): Likewise.
1703 (FPE_FLTINV): Likewise.
1704 (FPE_FLTSUB): Likewise.
1705 (SEGV_MAPERR): Likewise.
1706 (SEGV_ACCERR): Likewise.
1707 (BUS_ADRALN): Likewise.
1708 (BUS_ADRERR): Likewise.
1709 (BUS_OBJERR): Likewise.
1710 (BUS_MCEERR_AR): Likewise.
1711 (BUS_MCEERR_AO): Likewise.
1712 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1713 (TRAP_TRACE): Likewise.
1714 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1716 (CLD_KILLED): Likewise.
1717 (CLD_DUMPED): Likewise.
1718 (CLD_TRAPPED): Likewise.
1719 (CLD_STOPPED): Likewise.
1720 (CLD_CONTINUED): Likewise.
1721 (POLL_IN): Likewise.
1722 (POLL_OUT): Likewise.
1723 (POLL_MSG): Likewise.
1724 (POLL_ERR): Likewise.
1725 (POLL_PRI): Likewise.
1726 (POLL_HUP): Likewise.
1727 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1728 (ILL_ILLOPN): Likewise.
1729 (ILL_ILLADR): Likewise.
1730 (ILL_ILLTRP): Likewise.
1731 (ILL_PRVOPC): Likewise.
1732 (ILL_PRVREG): Likewise.
1733 (ILL_COPROC): Likewise.
1734 (ILL_BADSTK): Likewise.
1735 (ILL_DBLFLT): Likewise.
1736 (ILL_HARDWALL): Likewise.
1737 (FPE_INTDIV): Likewise.
1738 (FPE_INTOVF): Likewise.
1739 (FPE_FLTDIV): Likewise.
1740 (FPE_FLTOVF): Likewise.
1741 (FPE_FLTUND): Likewise.
1742 (FPE_FLTRES): Likewise.
1743 (FPE_FLTINV): Likewise.
1744 (FPE_FLTSUB): Likewise.
1745 (SEGV_MAPERR): Likewise.
1746 (SEGV_ACCERR): Likewise.
1747 (BUS_ADRALN): Likewise.
1748 (BUS_ADRERR): Likewise.
1749 (BUS_OBJERR): Likewise.
1750 (BUS_MCEERR_AR): Likewise.
1751 (BUS_MCEERR_AO): Likewise.
1752 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1753 (TRAP_TRACE): Likewise.
1754 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1756 (CLD_KILLED): Likewise.
1757 (CLD_DUMPED): Likewise.
1758 (CLD_TRAPPED): Likewise.
1759 (CLD_STOPPED): Likewise.
1760 (CLD_CONTINUED): Likewise.
1761 (POLL_IN): Likewise.
1762 (POLL_OUT): Likewise.
1763 (POLL_MSG): Likewise.
1764 (POLL_ERR): Likewise.
1765 (POLL_PRI): Likewise.
1766 (POLL_HUP): Likewise.
1767 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1768 (ILL_ILLOPN): Likewise.
1769 (ILL_ILLADR): Likewise.
1770 (ILL_ILLTRP): Likewise.
1771 (ILL_PRVOPC): Likewise.
1772 (ILL_PRVREG): Likewise.
1773 (ILL_COPROC): Likewise.
1774 (ILL_BADSTK): Likewise.
1775 (FPE_INTDIV): Likewise.
1776 (FPE_INTOVF): Likewise.
1777 (FPE_FLTDIV): Likewise.
1778 (FPE_FLTOVF): Likewise.
1779 (FPE_FLTUND): Likewise.
1780 (FPE_FLTRES): Likewise.
1781 (FPE_FLTINV): Likewise.
1782 (FPE_FLTSUB): Likewise.
1783 (SEGV_MAPERR): Likewise.
1784 (SEGV_ACCERR): Likewise.
1785 (BUS_ADRALN): Likewise.
1786 (BUS_ADRERR): Likewise.
1787 (BUS_OBJERR): Likewise.
1788 (BUS_MCEERR_AR): Likewise.
1789 (BUS_MCEERR_AO): Likewise.
1790 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1791 (TRAP_TRACE): Likewise.
1792 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1794 (CLD_KILLED): Likewise.
1795 (CLD_DUMPED): Likewise.
1796 (CLD_TRAPPED): Likewise.
1797 (CLD_STOPPED): Likewise.
1798 (CLD_CONTINUED): Likewise.
1799 (POLL_IN): Likewise.
1800 (POLL_OUT): Likewise.
1801 (POLL_MSG): Likewise.
1802 (POLL_ERR): Likewise.
1803 (POLL_PRI): Likewise.
1804 (POLL_HUP): Likewise.
1805 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1806 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1809 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1810 before #include of <time.h>.
1811 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1812 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1813 (test-xfail-UNIX98/sched.h/conform): Likewise.
1815 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1817 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1818 error absence of trapping exception support.
1819 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1821 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1823 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1824 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1825 * timezone/Makefile (testdata): Move definition above include of
1827 (test-zones): New variable.
1828 (tests-special): Add zone files.
1829 (build-testdata): Use $(evaluate-test).
1831 * elf/Makefile (tests-special): Rename tests to end with .out.
1832 ($(objpfx)noload-mem): Likewise.
1833 ($(objpfx)tst-leaks1-mem): Likewise.
1834 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1835 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1836 $(objpfx)test-iconvconfig.out.
1837 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1838 set -e inside subshell and redirect output to file.
1839 * iconvdata/Makefile (generated): Rename tests to end with .out.
1841 (tests-special): Rename tests to end with .out.
1842 ($(objpfx)mtrace-tst-loading): Likewise.
1843 * intl/Makefile (generated): Likewise.
1844 (tests-special): Likewise.
1845 ($(objpfx)mtrace-tst-gettext): Likewise.
1846 * misc/Makefile (generated): Likewise.
1847 (tests-special): Likewise.
1848 ($(objpfx)tst-error1-mem): Likewise.
1849 * nptl/Makefile (tests-special): Likewise.
1850 ($(objpfx)tst-stack3-mem): Likewise.
1851 (generated): Likewise.
1852 * posix/Makefile (generated): Likewise.
1853 (tests-special): Likewise.
1854 (xtests-special): Likewise.
1855 ($(objpfx)tst-fnmatch-mem): Likewise.
1856 ($(objpfx)bug-regex2-mem): Likewise.
1857 ($(objpfx)bug-regex14-mem): Likewise.
1858 ($(objpfx)bug-regex21-mem): Likewise.
1859 ($(objpfx)bug-regex31-mem): Likewise.
1860 ($(objpfx)tst-vfork3-mem): Likewise.
1861 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1862 ($(objpfx)tst-pcre-mem): Likewise.
1863 ($(objpfx)tst-boost-mem): Likewise.
1864 ($(objpfx)bug-ga2-mem): Likewise.
1865 ($(objpfx)bug-glob2-mem): Likewise.
1866 * resolv/Makefile (generate): Likewise.
1867 (tests-special): Likewise.
1868 (xtests-special): Likewise.
1869 (generated): Likewise.
1870 ($(objpfx)mtrace-tst-leaks): Likewise.
1871 ($(objpfx)mtrace-tst-leaks2): Likewise.
1873 * scripts/merge-test-results.sh: New file.
1874 * Makefile (tests-special-notdir): New variable.
1875 (tests): Run merge-test-results.sh.
1877 * Rules (tests-special-notdir): New variable.
1878 (xtests-special-notdir): Likewise.
1879 (tests): Run merge-test-results.sh
1882 * Makeconfig (test-xfail-name): New variable.
1883 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1884 compute variable name for expected failures.
1885 * conform/Makefile (conformtest-headers-data): New variable.
1886 (conformtest-standards): Likewise.
1887 (conformtest-headers-ISO): Likewise.
1888 (conformtest-headers-ISO99): Likewise.
1889 (conformtest-headers-ISO11): Likewise.
1890 (conformtest-headers-POSIX): Likewise.
1891 (conformtest-headers-XPG3): Likewise.
1892 (conformtest-headers-XPG4): Likewise.
1893 (conformtest-headers-UNIX98): Likewise.
1894 (conformtest-headers-XOPEN2K): Likewise.
1895 (conformtest-headers-POSIX2008): Likewise.
1896 (conformtest-headers-XOPEN2K8): Likewise.
1897 (conformtest-header-list-base): Likewise.
1898 (conformtest-header-list-tests): Likewise.
1899 (conformtest-header-base): Likewise.
1900 (conformtest-header-tests): Likewise.
1901 (tests-special): Add $(conformtest-header-list-tests). If
1902 [$(fast-check) && !$(cross-compiling)], add
1903 $(conformtest-header-tests) instead of
1904 $(objpfx)run-conformtest.out.
1905 (generated): Add $(conformtest-header-list-base). If
1906 [$(fast-check) && !$(cross-compiling)], add
1907 $(conformtest-header-base). Remove previous setting.
1908 ($(conformtest-header-list-tests)): New target.
1909 (test-xfail-run-conformtest): Remove variable.
1910 ($(objpfx)run-conformtest.out): Remove target.
1911 (test-xfail-ISO11/complex.h/conform): New variable.
1912 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1913 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1914 (test-xfail-XPG3/varargs.h/conform): Likewise.
1915 (test-xfail-XPG4/varargs.h/conform): Likewise.
1916 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1917 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1918 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1919 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1920 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1921 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1922 (test-xfail-XPG3/ftw.h/conform): Likewise.
1923 (test-xfail-XPG3/grp.h/conform): Likewise.
1924 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1925 (test-xfail-XPG3/limits.h/conform): Likewise.
1926 (test-xfail-XPG3/pwd.h/conform): Likewise.
1927 (test-xfail-XPG3/search.h/conform): Likewise.
1928 (test-xfail-XPG3/signal.h/conform): Likewise.
1929 (test-xfail-XPG3/stdio.h/conform): Likewise.
1930 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1931 (test-xfail-XPG3/string.h/conform): Likewise.
1932 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1933 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1934 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1935 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1936 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1937 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1938 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1939 (test-xfail-XPG3/termios.h/conform): Likewise.
1940 (test-xfail-XPG3/time.h/conform): Likewise.
1941 (test-xfail-XPG3/unistd.h/conform): Likewise.
1942 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1943 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1944 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1945 (test-xfail-XPG4/netdb.h/conform): Likewise.
1946 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1947 (test-xfail-XPG4/signal.h/conform): Likewise.
1948 (test-xfail-XPG4/stdio.h/conform): Likewise.
1949 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1950 (test-xfail-XPG4/stropts.h/conform): Likewise.
1951 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1952 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1953 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1954 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1955 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1956 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1957 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1958 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1959 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1960 (test-xfail-XPG4/termios.h/conform): Likewise.
1961 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1962 (test-xfail-XPG4/unistd.h/conform): Likewise.
1963 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1964 (test-xfail-POSIX/sched.h/conform): Likewise.
1965 (test-xfail-POSIX/signal.h/conform): Likewise.
1966 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1967 (test-xfail-POSIX/tar.h/conform): Likewise.
1968 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1969 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1970 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1971 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1972 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1973 (test-xfail-UNIX98/sched.h/conform): Likewise.
1974 (test-xfail-UNIX98/signal.h/conform): Likewise.
1975 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1976 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1977 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1978 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1979 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1980 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1981 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1982 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1983 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1984 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1985 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1986 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1987 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1988 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1989 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1990 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1991 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1992 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1993 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1994 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1995 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1996 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1997 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1998 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1999 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2000 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2001 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2002 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2003 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2004 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2005 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2006 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2007 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2008 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2009 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2010 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2011 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2012 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2013 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2014 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2015 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2016 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2017 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2018 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2019 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2020 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2021 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2022 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2023 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2024 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2025 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2026 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2027 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2028 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2029 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2030 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2031 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2032 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2033 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2034 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2035 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2036 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2037 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2038 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2039 (conformtest-cc-flags): Likewise.
2040 ($(conformtest-header-tests): New target.
2041 * conform/check-header-lists.sh: New file.
2042 * conform/run-conformtest.sh: Remove.
2044 * conform/conformtest.pl: Allow ' and \ in values given for
2046 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2048 [POSIX] (sys/types.h): Likewise.
2049 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2051 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2053 * conform/data/signal.h-data (SIGIO): Remove expectation.
2054 [XPG3] (SIGBUS): Do not expect.
2055 [POSIX || XPG3] (SIGPOLL): Likewise.
2056 [POSIX || XPG3] (SIGPROF): Likewise.
2057 [POSIX || XPG3] (SIGSYS): Likewise.
2058 [XPG3] (SIGTRAP): Likewise.
2059 [POSIX || XPG3] (SIGURG): Likewise.
2060 [POSIX || XPG3] (SIGVTALRM): Likewise.
2061 [POSIX || XPG3] (SIGXCPU): Likewise.
2062 [POSIX || XPG3] (SIGXFSZ): Likewise.
2063 [POSIX] (SA_SIGINFO): Expect.
2064 [XPG3] (siginfo_t): Do not expect type or contents.
2065 [POSIX] (si_pid): Do not expect element.
2066 [POSIX] (si_uid): Likewise.
2067 [POSIX] (si_addr): Likewise.
2068 [POSIX] (si_status): Likewise.
2069 [POSIX] (si_band): Likewise.
2070 [XPG4] (si_value): Likewise.
2071 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2072 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2073 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2074 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2075 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2076 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2077 [POSIX || XPG3] (ILL_COPROC): Likewise.
2078 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2079 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2080 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2081 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2082 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2083 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2084 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2085 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2086 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2087 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2088 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2089 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2090 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2091 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2092 [POSIX || XPG3] (CLD_EXITED): Likewise.
2093 [POSIX || XPG3] (CLD_KILLED): Likewise.
2094 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2095 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2096 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2097 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2098 [POSIX || XPG3] (POLL_IN): Likewise.
2099 [POSIX || XPG3] (POLL_OUT): Likewise.
2100 [POSIX || XPG3] (POLL_MSG): Likewise.
2101 [POSIX || XPG3] (POLL_ERR): Likewise.
2102 [POSIX || XPG3] (POLL_PRI): Likewise.
2103 [POSIX || XPG3] (POLL_HUP): Likewise.
2104 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2105 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2106 (SIG*): Do not allow.
2107 [XPG3] (si_*): Likewise.
2108 [XPG3] (SI_*): Likewise.
2109 [XPG3 || XPG4] (sigev_*): Likewise.
2110 [XPG3 || XPG4] (SIGEV_*): Likewise.
2111 [XPG3 || XPG4] (sival_*): Likewise.
2112 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2113 [POSIX || XPG3] (BUS_*): Likewise.
2114 [POSIX || XPG3] (CLD_*): Likewise.
2115 [POSIX || XPG3] (FPE_*): Likewise.
2116 [POSIX || XPG3] (ILL_*): Likewise.
2117 [POSIX || XPG3] (POLL_*): Likewise.
2118 [POSIX || XPG3] (SEGV_*): Likewise.
2119 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2120 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2121 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2122 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2123 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2124 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2125 Specify type and value.
2126 (TVERSLEN): Likewise.
2127 (REGTYPE): Likewise.
2128 (AREGTYPE): Likewise.
2129 (LNKTYPE): Likewise.
2130 (SYMTYPE): Likewise.
2131 (CHRTYPE): Likewise.
2132 (BLKTYPE): Likewise.
2133 (DIRTYPE): Likewise.
2134 (FIFOTYPE): Likewise.
2135 (CONTTYPE): Likewise.
2140 (TUWRITE): Likewise.
2143 (TGWRITE): Likewise.
2146 (TOWRITE): Likewise.
2148 [POSIX] (TSVTX): Expect constant.
2150 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2152 * Makefile (tests): Change dependencies to ....
2153 (tests-special): ... additions to this variable.
2154 (tests): Depend on $(tests-special).
2155 * Makerules (check-abi-list): New variable.
2156 (check-abi): Depend on $(check-abi-list).
2157 [$(subdir) = elf] (tests-special): Add
2158 $(objpfx)check-abi-libc.out.
2159 [$(build-shared) = yes && subdir] (tests-special): Add
2161 [$(build-shared) = yes && subdir] (tests): Do not depend on
2163 * Rules (tests): Depend on $(tests-special).
2164 (xtests): Depend on $(xtests-special).
2165 * catgets/Makefile (tests): Change dependencies to ....
2166 (tests-special): ... additions to this variable.
2167 * conform/Makefile (tests): Change dependencies to ....
2168 (tests-special): ... additions to this variable.
2169 * elf/Makefile (tests): Change dependencies to ....
2170 (tests-special): ... additions to this variable.
2171 * grp/Makefile (tests): Change dependencies to ....
2172 (tests-special): ... additions to this variable.
2173 * iconv/Makefile (xtests): Change dependencies to ....
2174 (xtests-special): ... additions to this variable.
2175 * iconvdata/Makefile (tests): Change dependencies to ....
2176 (tests-special): ... additions to this variable.
2177 * intl/Makefile (tests): Change dependencies to ....
2178 (tests-special): ... additions to this variable. Also add
2179 $(objpfx)tst-gettext.out.
2180 * io/Makefile (tests): Change dependencies to ....
2181 (tests-special): ... additions to this variable.
2182 * libio/Makefile (tests): Change dependencies to ....
2183 (tests-special): ... additions to this variable.
2184 * malloc/Makefile (tests): Change dependencies to ....
2185 (tests-special): ... additions to this variable.
2186 * misc/Makefile (tests): Change dependencies to ....
2187 (tests-special): ... additions to this variable.
2188 * nptl/Makefile (tests): Change dependencies to ....
2189 (tests-special): ... additions to this variable.
2190 * nptl_db/Makefile (tests): Change dependencies to ....
2191 (tests-special): ... additions to this variable.
2192 * posix/Makefile (tests): Change dependencies to ....
2193 (tests-special): ... additions to this variable.
2194 (xtests): Change dependencies to ....
2195 (xtests-special): ... additions to this variable.
2196 * resolv/Makefile (tests): Change dependencies to ....
2197 (tests-special): ... additions to this variable.
2198 (xtests): Change dependencies to ....
2199 (xtests-special): ... additions to this variable.
2200 * stdio-common/Makefile (tests): Change dependencies to ....
2201 (tests-special): ... additions to this variable.
2202 (do-tst-unbputc): Remove target.
2203 (do-tst-printf): Likewise.
2204 * stdlib/Makefile (tests): Change dependencies to ....
2205 (tests-special): ... additions to this variable.
2206 * string/Makefile (tests): Change dependencies to ....
2207 (tests-special): ... additions to this variable.
2208 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2209 (tests-special): ... additions to this variable.
2211 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2213 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2215 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2216 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2218 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2219 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2220 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2221 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2222 * conform/data/libgen.h-data [XPG3]: Likewise.
2223 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2224 * conform/data/ndbm.h-data [XPG3]: Likewise.
2225 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2226 * conform/data/netdb.h-data [XPG3]: Likewise.
2227 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2228 * conform/data/poll.h-data [XPG3]: Likewise.
2229 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2230 * conform/data/strings.h-data [XPG3]: Likewise.
2231 * conform/data/stropts.h-data [XPG3]: Likewise.
2232 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2233 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2234 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2236 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2237 * conform/data/sys/time.h-data [XPG3]: Likewise.
2238 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2239 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2240 * conform/data/sys/un.h-data [XPG3]: Likewise.
2241 * conform/data/syslog.h-data [XPG3]: Likewise.
2242 * conform/data/ucontext.h-data [XPG3]: Likewise.
2243 * conform/data/utmpx.h-data [XPG3]: Likewise.
2244 * conform/data/varargs.h-data [UNIX98]: Enable file.
2246 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2248 * math/libm-test.inc (struct test_f_f_data): Move expected results
2249 into structure for each rounding mode.
2250 (struct test_ff_f_data): Likewise.
2251 (struct test_ff_f_data_nexttoward): Likewise.
2252 (struct test_fi_f_data): Likewise.
2253 (struct test_fl_f_data): Likewise.
2254 (struct test_if_f_data): Likewise.
2255 (struct test_fff_f_data): Likewise.
2256 (struct test_c_f_data): Likewise.
2257 (struct test_f_f1_data): Likewise.
2258 (struct test_fF_f1_data): Likewise.
2259 (struct test_ffI_f1_data): Likewise.
2260 (struct test_c_c_data): Likewise.
2261 (struct test_cc_c_data): Likewise.
2262 (struct test_f_i_data): Likewise.
2263 (struct test_ff_i_data): Likewise.
2264 (struct test_f_l_data): Likewise.
2265 (struct test_f_L_data): Likewise.
2266 (struct test_fFF_11_data): Likewise.
2268 (RM_FE_DOWNWARD): Likewise.
2269 (RM_FE_TONEAREST): Likewise.
2270 (RM_FE_TOWARDZERO): Likewise.
2271 (RM_FE_UPWARD): Likewise.
2272 (RUN_TEST_LOOP_f_f): Update references to expected results.
2273 (RUN_TEST_LOOP_2_f): Likewise.
2274 (RUN_TEST_LOOP_fff_f): Likewise.
2275 (RUN_TEST_LOOP_c_f): Likewise.
2276 (RUN_TEST_LOOP_f_f1): Likewise.
2277 (RUN_TEST_LOOP_fF_f1): Likewise.
2278 (RUN_TEST_LOOP_fI_f1): Likewise.
2279 (RUN_TEST_LOOP_ffI_f1): Likewise.
2280 (RUN_TEST_LOOP_c_c): Likewise.
2281 (RUN_TEST_LOOP_cc_c): Likewise.
2282 (RUN_TEST_LOOP_f_i): Likewise.
2283 (RUN_TEST_LOOP_f_i_tg): Likewise.
2284 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2285 (RUN_TEST_LOOP_f_b): Likewise.
2286 (RUN_TEST_LOOP_f_b_tg): Likewise.
2287 (RUN_TEST_LOOP_f_l): Likewise.
2288 (RUN_TEST_LOOP_f_L): Likewise.
2289 (RUN_TEST_LOOP_fFF_11): Likewise.
2290 * math/gen-libm-test.pl (parse_args): Output four copies of
2291 expected results for each test.
2293 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2294 (__ASSUME_UTIMES): Remove.
2295 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2296 (__ASSUME_UTIMES): Likewise.
2298 * math/gen-auto-libm-tests.c: Update comment on output format.
2299 (output_for_one_input_case): Generate before-rounding and
2300 after-rounding information as conditions on output flags not
2301 floating-point format.
2302 * math/auto-libm-test-out: Regenerated.
2303 * math/gen-libm-test.pl (cond_value): New function.
2304 (or_cond_value): Use cond_value.
2305 (generate_testfile): Handle conditional exceptions.
2307 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2309 * math/libm-test.inc (max_valid_error): New variable.
2310 (init_max_error): Take new argument specifying whether function
2311 results are exactly determined. Set max_valid_error and bound
2312 other variables for errors based on this argument.
2313 (set_max_error): Do not record results above max_valid_error.
2314 (check_float_internal): Only accept errors of up to 0.5ulps if
2315 also at most max_valid_error.
2316 (START): Take new argument EXACT and pass it to init_max_error.
2317 (acos_test): Update call to START.
2318 (acos_test_tonearest): Likewise.
2319 (acos_test_towardzero): Likewise.
2320 (acos_test_downward): Likewise.
2321 (acos_test_upward): Likewise.
2322 (acosh_test): Likewise.
2323 (asin_test): Likewise.
2324 (asin_test_tonearest): Likewise.
2325 (asin_test_towardzero): Likewise.
2326 (asin_test_downward): Likewise.
2327 (asin_test_upward): Likewise.
2328 (asinh_test): Likewise.
2329 (atan_test): Likewise.
2330 (atanh_test): Likewise.
2331 (atan2_test): Likewise.
2332 (cabs_test): Likewise.
2333 (cacos_test): Likewise.
2334 (cacosh_test): Likewise.
2335 (carg_test): Likewise.
2336 (casin_test): Likewise.
2337 (casinh_test): Likewise.
2338 (catan_test): Likewise.
2339 (catanh_test): Likewise.
2340 (cbrt_test): Likewise.
2341 (ccos_test): Likewise.
2342 (ccosh_test): Likewise.
2343 (ceil_test): Likewise.
2344 (cexp_test): Likewise.
2345 (cimag_test): Likewise.
2346 (clog_test): Likewise.
2347 (clog10_test): Likewise.
2348 (conj_test): Likewise.
2349 (copysign_test): Likewise.
2350 (cos_test): Likewise.
2351 (cos_test_tonearest): Likewise.
2352 (cos_test_towardzero): Likewise.
2353 (cos_test_downward): Likewise.
2354 (cos_test_upward): Likewise.
2355 (cosh_test): Likewise.
2356 (cosh_test_tonearest): Likewise.
2357 (cosh_test_towardzero): Likewise.
2358 (cosh_test_downward): Likewise.
2359 (cosh_test_upward): Likewise.
2360 (cpow_test): Likewise.
2361 (cproj_test): Likewise.
2362 (creal_test): Likewise.
2363 (csin_test): Likewise.
2364 (csinh_test): Likewise.
2365 (csqrt_test): Likewise.
2366 (ctan_test): Likewise.
2367 (ctan_test_tonearest): Likewise.
2368 (ctan_test_towardzero): Likewise.
2369 (ctan_test_downward): Likewise.
2370 (ctan_test_upward): Likewise.
2371 (ctanh_test): Likewise.
2372 (ctanh_test_tonearest): Likewise.
2373 (ctanh_test_towardzero): Likewise.
2374 (ctanh_test_downward): Likewise.
2375 (ctanh_test_upward): Likewise.
2376 (erf_test): Likewise.
2377 (erfc_test): Likewise.
2378 (exp_test): Likewise.
2379 (exp_test_tonearest): Likewise.
2380 (exp_test_towardzero): Likewise.
2381 (exp_test_downward): Likewise.
2382 (exp_test_upward): Likewise.
2383 (exp10_test): Likewise.
2384 (exp10_test_tonearest): Likewise.
2385 (exp10_test_towardzero): Likewise.
2386 (exp10_test_downward): Likewise.
2387 (exp10_test_upward): Likewise.
2388 (pow10_test): Likewise.
2389 (exp2_test): Likewise.
2390 (expm1_test): Likewise.
2391 (expm1_test_tonearest): Likewise.
2392 (expm1_test_towardzero): Likewise.
2393 (expm1_test_downward): Likewise.
2394 (expm1_test_upward): Likewise.
2395 (fabs_test): Likewise.
2396 (fdim_test): Likewise.
2397 (floor_test): Likewise.
2398 (fma_test): Likewise.
2399 (fma_test_towardzero): Likewise.
2400 (fma_test_downward): Likewise.
2401 (fma_test_upward): Likewise.
2402 (fmax_test): Likewise.
2403 (fmin_test): Likewise.
2404 (fmod_test): Likewise.
2405 (fpclassify_test): Likewise.
2406 (frexp_test): Likewise.
2407 (hypot_test): Likewise.
2408 (ilogb_test): Likewise.
2409 (isfinite_test): Likewise.
2410 (finite_test): Likewise.
2411 (isgreater_test): Likewise.
2412 (isgreaterequal_test): Likewise.
2413 (isinf_test): Likewise.
2414 (isless_test): Likewise.
2415 (islessequal_test): Likewise.
2416 (islessgreater_test): Likewise.
2417 (isnan_test): Likewise.
2418 (isnormal_test): Likewise.
2419 (issignaling_test): Likewise.
2420 (isunordered_test): Likewise.
2421 (j0_test): Likewise.
2422 (j1_test): Likewise.
2423 (jn_test): Likewise.
2424 (ldexp_test): Likewise.
2425 (lgamma_test): Likewise.
2426 (gamma_test): Likewise.
2427 (lrint_test): Likewise.
2428 (lrint_test_tonearest): Likewise.
2429 (lrint_test_towardzero): Likewise.
2430 (lrint_test_downward): Likewise.
2431 (lrint_test_upward): Likewise.
2432 (llrint_test): Likewise.
2433 (llrint_test_tonearest): Likewise.
2434 (llrint_test_towardzero): Likewise.
2435 (llrint_test_downward): Likewise.
2436 (llrint_test_upward): Likewise.
2437 (log_test): Likewise.
2438 (log10_test): Likewise.
2439 (log1p_test): Likewise.
2440 (log2_test): Likewise.
2441 (logb_test): Likewise.
2442 (logb_test_downward): Likewise.
2443 (lround_test): Likewise.
2444 (llround_test): Likewise.
2445 (modf_test): Likewise.
2446 (nearbyint_test): Likewise.
2447 (nextafter_test): Likewise.
2448 (nexttoward_test): Likewise.
2449 (pow_test): Likewise.
2450 (pow_test_tonearest): Likewise.
2451 (pow_test_towardzero): Likewise.
2452 (pow_test_downward): Likewise.
2453 (pow_test_upward): Likewise.
2454 (remainder_test): Likewise.
2455 (drem_test): Likewise.
2456 (remainder_test_tonearest): Likewise.
2457 (drem_test_tonearest): Likewise.
2458 (remainder_test_towardzero): Likewise.
2459 (drem_test_towardzero): Likewise.
2460 (remainder_test_downward): Likewise.
2461 (drem_test_downward): Likewise.
2462 (remainder_test_upward): Likewise.
2463 (drem_test_upward): Likewise.
2464 (remquo_test): Likewise.
2465 (rint_test): Likewise.
2466 (rint_test_tonearest): Likewise.
2467 (rint_test_towardzero): Likewise.
2468 (rint_test_downward): Likewise.
2469 (rint_test_upward): Likewise.
2470 (round_test): Likewise.
2471 (scalb_test): Likewise.
2472 (scalbn_test): Likewise.
2473 (scalbln_test): Likewise.
2474 (signbit_test): Likewise.
2475 (sin_test): Likewise.
2476 (sin_test_tonearest): Likewise.
2477 (sin_test_towardzero): Likewise.
2478 (sin_test_downward): Likewise.
2479 (sin_test_upward): Likewise.
2480 (sincos_test): Likewise.
2481 (sinh_test): Likewise.
2482 (sinh_test_tonearest): Likewise.
2483 (sinh_test_towardzero): Likewise.
2484 (sinh_test_downward): Likewise.
2485 (sinh_test_upward): Likewise.
2486 (sqrt_test): Likewise.
2487 (sqrt_test_tonearest): Likewise.
2488 (sqrt_test_towardzero): Likewise.
2489 (sqrt_test_downward): Likewise.
2490 (sqrt_test_upward): Likewise.
2491 (tan_test): Likewise.
2492 (tan_test_tonearest): Likewise.
2493 (tan_test_towardzero): Likewise.
2494 (tan_test_downward): Likewise.
2495 (tan_test_upward): Likewise.
2496 (tanh_test): Likewise.
2497 (tgamma_test): Likewise.
2498 (trunc_test): Likewise.
2499 (y0_test): Likewise.
2500 (y1_test): Likewise.
2501 (yn_test): Likewise.
2502 (significand_test): Likewise.
2504 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2505 individual tests in comment.
2506 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2507 (prev_max_error): New variable.
2508 (prev_real_max_error): Likewise.
2509 (prev_imag_max_error): Likewise.
2510 (compare_ulp_data): Don't refer to test names in comment.
2511 (find_test_ulps): Remove function.
2512 (find_function_ulps): Likewise.
2513 (find_complex_function_ulps): Likewise.
2514 (init_max_error): Take function name as argument. Look up ulps
2516 (print_ulps): Remove function.
2517 (print_max_error): Use prev_max_error instead of calling
2519 (print_complex_max_error): Use prev_real_max_error and
2520 prev_imag_max_error instead of calling find_complex_function_ulps.
2521 (check_float_internal): Take max_ulp parameter instead of calling
2522 find_test_ulps. Don't call print_ulps.
2523 (check_float): Update call to check_float_internal.
2524 (check_complex): Update calls to check_float_internal.
2525 (START): Pass argument to init_max_error.
2526 * math/gen-libm-test.pl (%results): Don't include "kind"
2528 (parse_ulps): Don't handle ulps of individual tests.
2529 (print_ulps_file): Likewise.
2530 (output_ulps): Likewise.
2531 * math/README.libm-test: Update.
2532 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2534 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2535 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2536 * sysdeps/arm/libm-test-ulps: Likewise.
2537 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2538 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2539 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2540 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2541 * sysdeps/microblaze/libm-test-ulps: Likewise.
2542 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2543 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2544 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2545 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2546 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2547 * sysdeps/sh/libm-test-ulps: Likewise.
2548 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2549 * sysdeps/tile/libm-test-ulps: Likewise.
2550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2552 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2554 * math/libm-test.inc (print_complex_max_error): Check separately
2555 whether real and imaginary errors are within allowed range and
2556 pass 0 to print_complex_function_ulps instead of value within
2559 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2561 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2563 (get_handles_fopen): Likewise.
2564 (do_write_test): Likewise.
2566 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2568 * libio/fileops.c (do_ftell): Use cached offset when
2570 * libio/iofwide.c (do_ftell_wide): Likewise.
2571 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2573 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2576 * libio/libioP.h (get_file_offset): New function.
2577 * libio/fileops.c (get_file_offset): Likewise.
2578 (do_ftell): Likewise.
2579 (_IO_new_file_seekoff): Split out ftell logic.
2580 * libio/wfileops.c (do_ftell_wide): Likewise.
2581 (_IO_wfile_seekoff): Split out ftell logic.
2582 * libio/tst-ftell-active-handler.c: New test case.
2583 * libio/Makefile (tests): Add it.
2585 2014-03-03 Roland McGrath <roland@hack.frob.com>
2587 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2588 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2590 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2593 * nscd/connections.c (nscd_init): Call do_exit.
2594 (start_threads): Call do_exit and notify_parent.
2595 (begin_drop_privileges): Call do_exit.
2596 (finish_drop_privileges): Likewise.
2597 * nscd/selinux.c (preserve_capabilities): Likewise.
2598 (install_real_capabilities): Likewise.
2599 (nscd_selinux_enabled): Likewise.
2600 (avc_create_thread): Likewise.
2601 (avc_alloc_lock): Likewise.
2602 (nscd_avc_init): Likewise.
2603 * nscd/nscd.c (parent_fd): New static variable.
2604 (main): Create a pipe between parent and child processes.
2605 Skip closing parent_fd.
2606 (monitor_child): New function.
2607 (do_exit): Likewise.
2608 (notify_parent): Likewise.
2609 * nscd/nscd.h (notify_parent): Likewise.
2610 (do_exit): Likewise.
2612 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2614 * malloc/malloc.c (__libc_calloc): Revert last change.
2616 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2620 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2622 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2626 (__libc_ifunc_impl_list): Likewise.
2627 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2628 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2629 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2630 * string/strrchr.c: Define STRRCHR.
2632 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2634 * benchtest/bench-strtok.c (simple_strtok): Delete.
2635 (strtok_string): Use as benchmark.
2636 * string/strtok (STRTOK): New macro.
2638 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2640 * manual/threads.texi: Add header and standard comments to all
2643 * elf/dl-lookup.c (check_match): New function.
2644 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2645 (do_lookup_x): Remove nested function check_match. Use non-nested
2646 function check_match.
2648 2014-02-28 Roland McGrath <roland@hack.frob.com>
2650 * csu/Makefile (generated, before-compile): Use += rather than =.
2651 * catgets/Makefile (generated, generated-dirs): Likewise.
2652 * debug/Makefile (generated): Likewise.
2653 * dlfcn/Makefile (generated): Likewise.
2654 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2655 * iconvdata/Makefile (before-compile, generated): Likewise.
2656 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2657 * libio/Makefile (generated): Likewise.
2658 * malloc/Makefile (generated): Likewise.
2659 * manual/Makefile (generated, generated-dirs): Likewise.
2660 * misc/Makefile (generated): Likewise.
2661 * posix/Makefile (generated): Likewise.
2662 * resolv/Makefile (generated): Likewise.
2663 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2664 * timezone/Makefile (generated, generated-dirs): Likewise.
2666 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2668 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2670 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2673 POWER8 llround ifunc implementation.
2674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2675 POWER8 implementation.
2676 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2677 POWER8 llround implementation.
2679 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2681 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2684 POWER8 llrint ifunc implementation.
2685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2686 POWER8 implementation.
2687 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2688 POWER8 llrint implementation.
2690 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2692 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2695 POWER8 finite ifunc implementation.
2696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2697 POWER8 implementation.
2698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2700 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2701 POWER8 finite implementation.
2702 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2704 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2706 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2709 POWER8 isinf ifunc implementation.
2710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2711 POWER8 implementation.
2712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2714 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2715 POWER8 isinf implementation.
2716 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2718 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2720 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2721 Add hwcap2 initialization.
2722 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2725 POWER8 isnan ifunc implementation.
2726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2727 POWER8 implementation.
2728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2730 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2731 POWER8 isnan implementation.
2732 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2734 2014-02-27 Joey Ye <joey.ye@arm.com>
2736 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2737 (_FP_NANFRAC_Q): Set to zero.
2739 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2742 * math/auto-libm-test-in: New test inputs.
2743 * math/auto-libm-test-out: Regenerate.
2744 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2747 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2749 2014-02-27 Joseph Myers <joseph@codesourcery.com>
2751 * scripts/evaluate-test.sh: Take new argument indicating whether
2752 failure is expected.
2753 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2754 indicating whether failure is expected.
2755 * conform/Makefile (test-xfail-run-conformtest): New variable.
2756 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2758 * posix/Makefile (test-xfail-annexc): New variable.
2759 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2761 2014-02-26 Joseph Myers <joseph@codesourcery.com>
2763 * argp/Makefile: Include Makeconfig immediately after defining
2765 * assert/Makefile: Likewise.
2766 * benchtests/Makefile: Likewise.
2767 * catgets/Makefile: Likewise.
2768 * conform/Makefile: Likewise.
2769 * crypt/Makefile: Likewise.
2770 * csu/Makefile: Likewise.
2771 (all): Remove target.
2772 * ctype/Makefile: Include Makeconfig immediately after defining
2774 * debug/Makefile: Likewise.
2775 * dirent/Makefile: Likewise.
2776 * dlfcn/Makefile: Likewise.
2777 * gmon/Makefile: Likewise.
2778 * gnulib/Makefile: Likewise.
2779 * grp/Makefile: Likewise.
2780 * gshadow/Makefile: Likewise.
2781 * hesiod/Makefile: Likewise.
2782 * hurd/Makefile: Likewise.
2783 (all): Remove target.
2784 * iconvdata/Makefile: Include Makeconfig immediately after
2786 * inet/Makefile: Likewise.
2787 * intl/Makefile: Likewise.
2788 * io/Makefile: Likewise.
2789 * libio/Makefile: Likewise.
2790 (all): Remove target.
2791 * locale/Makefile: Include Makeconfig immediately after defining
2793 * login/Makefile: Likewise.
2794 * mach/Makefile: Likewise.
2795 (all): Remove target.
2796 * malloc/Makefile: Include Makeconfig immediately after defining
2798 (all): Remove target.
2799 * manual/Makefile: Include Makeconfig immediately after defining
2801 * math/Makefile: Likewise.
2802 * misc/Makefile: Likewise.
2803 * nis/Makefile: Likewise.
2804 * nss/Makefile: Likewise.
2805 * po/Makefile: Likewise.
2806 (all): Remove target.
2807 * posix/Makefile: Include Makeconfig immediately after defining
2809 * pwd/Makefile: Likewise.
2810 * resolv/Makefile: Likewise.
2811 * resource/Makefile: Likewise.
2812 * rt/Makefile: Likewise.
2813 * setjmp/Makefile: Likewise.
2814 * shadow/Makefile: Likewise.
2815 * signal/Makefile: Likewise.
2816 * socket/Makefile: Likewise.
2817 * soft-fp/Makefile: Likewise.
2818 * stdio-common/Makefile: Likewise.
2819 * stdlib/Makefile: Likewise.
2820 * streams/Makefile: Likewise.
2821 * string/Makefile: Likewise.
2822 * sunrpc/Makefile: Likewise.
2823 (all): Remove target.
2824 * sysvipc/Makefile: Include Makeconfig immediately after defining
2826 * termios/Makefile: Likewise.
2827 * time/Makefile: Likewise.
2828 * timezone/Makefile: Likewise.
2829 (all): Remove target.
2830 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2832 * wctype/Makefile: Likewise.
2834 2014-02-26 Steve Ellcey <sellcey@mips.com>
2836 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2837 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2838 (libc_feholdexcept_setround_mips): Ditto.
2839 (libc_feholdsetround): New.
2840 (libc_feholdsetroundf): New.
2841 (libc_feholdsetroundl): New.
2842 (libc_feupdateenv_test_mips): New.
2843 (libc_feupdateenv_test): New.
2844 (libc_feupdateenv_testf): New.
2845 (libc_feupdateenv_testl): New.
2846 (libc_feresetround): New.
2847 (libc_feresetroundf): New.
2848 (libc_feresetroundl): New.
2849 (libc_fetestexcept_mips): New.
2850 (libc_fetestexcept): New.
2851 (libc_fetestexceptf): New.
2852 (libc_fetestexceptl): New.
2854 (libc_feholdexcept_setround_mips_ctx): New.
2855 (libc_feholdexcept_setround_ctx): New.
2856 (libc_feholdexcept_setroundf_ctx): New.
2857 (libc_feholdexcept_setroundl_ctx): New.
2858 (libc_fesetenv_mips_ctx): New.
2859 (libc_fesetenv_ctx): New.
2860 (libc_fesetenv_ctxf): New.
2861 (libc_fesetenv_ctxl): New.
2862 (libc_feupdateenv_mips_ctx): New.
2863 (libc_feupdateenv_ctx): New.
2864 (libc_feupdateenvf_ctx): New.
2865 (libc_feupdateenvl_ctx): New.
2866 (libc_feholdsetround_mips_ctx): New.
2867 (libc_feholdsetround_ctx): New.
2868 (libc_feholdsetroundf_ctx): New.
2869 (libc_feholdsetroundl_ctx): New.
2870 (libc_feresetround_mips_ctx): New.
2871 (libc_feresetround_ctx): New.
2872 (libc_feresetroundf_ctx): New.
2873 (libc_feresetroundl_ctx): New.
2875 2014-02-26 Carlos O'Donell <carlos@redhat.com>
2877 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2879 * manual/ipc.texi: New file.
2880 * manual/Makefile (chapters): Add ipc.
2881 * manual/job.texi: Add "Inter-Process Communication" to next.
2882 * manual/process.texi: Add "Inter-Process Communication" to prev.
2884 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2888 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
2890 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2892 * manual/arith.texi: Fix spaces after sentences.
2893 * manual/charset.texi: Likewise.
2894 * manual/errno.texi: Likewise.
2895 * manual/install.texi: Likewise.
2896 * manual/llio.texi: Likewise.
2897 * manual/locale.texi: Likewise.
2898 * manual/maint.texi: Likewise.
2899 * manual/math.texi: Likewise.
2900 * manual/memory.texi: Likewise.
2901 * manual/message.texi: Likewise.
2902 * manual/probes.texi: Likewise.
2903 * manual/resource.texi: Likewise.
2904 * manual/signal.texi: Likewise.
2905 * manual/socket.texi: Likewise.
2906 * manual/stdio.texi: Likewise.
2907 * manual/string.texi: Likewise.
2908 * manual/time.texi: Likewise.
2909 * manual/users.texi: Likewise.
2911 2014-02-25 Carlos O'Donell <carlos@redhat.com>
2914 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2915 _DEFAULT_SOURCE is defined.
2917 2014-02-25 Ulrich Drepper <drepper@gmail.com>
2918 Carlos O'Donell <carlos@redhat.com>
2921 * elf/dl-tls.c (_dl_count_modids): New function.
2922 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2923 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2924 audit library and increment generation counter.
2925 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2926 * elf/tst-audit9.c: New file.
2927 * elf/tst-auditmod9a.c: New file.
2928 * elf/tst-auditmod9b.c: New file.
2929 * elf/Makefile: Add rules to build and run tst-audit9.
2931 2014-02-25 Florian Weimer <fweimer@redhat.com>
2934 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2936 2014-02-25 Will Newton <will.newton@linaro.org>
2938 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2939 (__longjmp): Restore sp and lr before restoring callee
2940 saved registers. Add longjmp and longjmp_target
2941 SystemTap probe point.
2942 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2943 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2944 Define to zero to match jmpbuf layout.
2945 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2946 (__sigsetjmp): Save sp and lr before saving callee
2947 saved registers. Add setjmp SystemTap probe point.
2949 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2951 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2953 2014-02-24 Andreas Schwab <schwab@suse.de>
2956 * elf/pldd.c (wait_for_ptrace_stop): New function.
2957 (main): Call it after attaching.
2959 2014-02-22 Roland McGrath <roland@hack.frob.com>
2961 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2962 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2963 Versions files is now verboten.
2964 * hurd/Versions (libc: GLIBC_2.0):
2965 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2966 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2967 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2968 * mach/Versions: Likewise.
2970 * csu/Versions: Remove unused %include.
2971 * resolv/Versions: Likewise.
2973 2014-02-21 Joseph Myers <joseph@codesourcery.com>
2975 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2976 ($(objpfx)check-local-headers.out): Likewise.
2977 ($(objpfx)begin-end-check.out): Likewise.
2978 * Makerules (check-abi-%.out): Likewise.
2979 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2980 ($(objpfx)test2.cat): Likewise.
2981 ($(objpfx)de/libc.cat): Likewise.
2982 ($(objpfx)test-gencat.out): Likewise.
2983 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2984 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2985 ($(objpfx)noload-mem): Likewise.
2986 ($(objpfx)tst-pathopt.out): Likewise.
2987 ($(objpfx)tst-rtld-load-self.out): Likewise.
2988 ($(objpfx)tst-array1-cmp.out): Likewise.
2989 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2990 ($(objpfx)tst-array2-cmp.out): Likewise.
2991 ($(objpfx)tst-array3-cmp.out): Likewise.
2992 ($(objpfx)tst-array4-cmp.out): Likewise.
2993 ($(objpfx)tst-array5-cmp.out): Likewise.
2994 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2995 ($(objpfx)check-textrel.out): Likewise.
2996 ($(objpfx)check-execstack.out): Likewise.
2997 ($(objpfx)check-localplt.out): Likewise.
2998 ($(objpfx)order2-cmp.out): Likewise.
2999 ($(objpfx)tst-leaks1-mem): Likewise.
3000 ($(objpfx)tst-leaks1-static-mem): Likewise.
3001 ($(objpfx)tst-initorder-cmp.out): Likewise.
3002 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3003 ($(objpfx)tst-unused-dep.out): Likewise.
3004 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3005 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3006 * iconv/Makefile (test-iconvconfig): Likewise.
3007 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3008 ($(objpfx)iconv-test.out): Likewise.
3009 ($(objpfx)tst-tables.out): Likewise.
3010 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3011 ($(objpfx)tst-gettext.out): Likewise.
3012 ($(objpfx)tst-translit.out): Likewise.
3013 ($(objpfx)tst-gettext2.out): Likewise.
3014 ($(objpfx)tst-gettext4.out): Likewise.
3015 ($(objpfx)tst-gettext6.out): Likewise.
3016 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3017 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3018 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3019 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3020 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3021 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3022 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3023 ($(objpfx)wordexp-tst.out): Likewise.
3024 ($(objpfx)annexc.out): Likewise.
3025 ($(objpfx)tst-fnmatch-mem): Likewise.
3026 ($(objpfx)bug-regex2-mem): Likewise.
3027 ($(objpfx)bug-regex14-mem): Likewise.
3028 ($(objpfx)bug-regex21-mem): Likewise.
3029 ($(objpfx)bug-regex31-mem): Likewise.
3030 ($(objpfx)tst-vfork3-mem): Likewise.
3031 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3032 ($(objpfx)tst-pcre-mem): Likewise.
3033 ($(objpfx)tst-boost-mem): Likewise.
3034 ($(objpfx)tst-getconf.out): Likewise.
3035 ($(objpfx)bug-ga2-mem): Likewise.
3036 ($(objpfx)bug-glob2-mem): Likewise.
3037 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3038 ($(objpfx)mtrace-tst-leaks2): Likewise.
3039 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3040 ($(objpfx)tst-printf.out): Likewise.
3041 ($(objpfx)tst-setvbuf1.out): Likewise.
3042 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3043 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3044 ($(objpfx)tst-fmtmsg.out): Likewise.
3045 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3046 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3048 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3049 * bits/sigaction.h [__USE_MISC]: Likewise.
3050 * bits/waitstatus.h: Update #endif comments.
3051 * ctype/ctype.h: Likewise.
3052 * dirent/dirent.h: Likewise.
3053 [__USE_MISC]: Remove redundant conditionals.
3054 * grp/grp.h: Update #endif comments.
3055 [__USE_GNU]: Remove redundant conditionals.
3056 [__USE_MISC]: Likewise.
3057 * inet/netinet/in.h [__USE_GNU]: Likewise.
3058 * io/sys/stat.h [__USE_MISC]: Likewise.
3059 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3060 * libio/bits/stdio.h: Update #endif comments.
3061 [__USE_MISC]: Remove redundant conditionals.
3062 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3063 * libio/stdio.h: Update #endif comments.
3064 [__USE_MISC]: Remove redundant conditionals.
3065 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3066 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3067 * math/math.h: Update #else and #endif comments.
3068 [__USE_MISC]: Remove redundant conditionals.
3069 * misc/sys/uio.h: Update #endif comments.
3070 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3071 * posix/glob.h [__USE_MISC]: Likewise.
3072 * posix/sys/types.h: Update #endif comments.
3073 [__USE_MISC]: Remove redundant conditionals.
3074 * posix/sys/wait.h: Update #endif comments.
3075 [__USE_MISC]: Remove redundant conditionals.
3076 * posix/unistd.h: Update #endif comments.
3077 [__USE_MISC]: Remove redundant conditionals.
3078 * pwd/pwd.h [__USE_GNU]: Likewise.
3079 [__USE_MISC]: Likewise.
3080 * resolv/netdb.h [__USE_GNU]: Likewise.
3081 * signal/signal.h: Update #endif comments.
3082 [__USE_MISC]: Remove redundant conditionals.
3083 * stdlib/stdlib.h: Update #else and #endif comments.
3084 [__USE_MISC]: Remove redundant conditionals.
3085 [__USE_GNU]: Likewise.
3086 * string/bits/string2.h [__USE_MISC]: Likewise.
3087 * string/string.h: Update #endif comments.
3088 [__USE_MISC]: Remove redundant conditionals.
3089 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3091 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3092 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3093 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3095 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3097 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3099 [__USE_MISC]: Remove redundant conditionals.
3100 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3101 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3102 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3103 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3104 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3106 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3107 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3109 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3110 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3112 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3114 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3115 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3117 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3119 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3120 * sysdeps/x86/bits/string.h: Update #endif comments.
3121 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3123 * time/sys/time.h: Update #endif comments.
3124 * time/time.h: Likewise.
3125 [__USE_MISC]: Remove redundant conditionals.
3127 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3130 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3132 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3134 * Versions.def (librt): Add GLIBC_2.17.
3136 2014-02-21 Adam Conrad <adconrad@0c3.net>
3138 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3139 synonym for _SYS_AUXV_H to allow direct inclusion.
3140 * sysdeps/sparc/bits/hwcap.h: Likewise.
3141 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3142 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3143 * sysdeps/sparc/sysdep.h: Likewise.
3145 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3147 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3149 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3151 * benchtests/bench-strrchr.c: Print length instead of position.
3153 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3156 * sysdeps/unix/sysv/linux/kernel-features.h
3157 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3158 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3159 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3160 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3162 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3163 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3164 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3165 (__ASSUME_SENDMMSG): Define instead of using previous
3166 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3167 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3168 (__ASSUME_SENDMMSG_SYSCALL): Define.
3169 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3170 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3172 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3173 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3175 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3176 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3178 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3179 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3180 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3181 [__ASSUME_SENDMMSG]: Change conditionals to
3182 [__ASSUME_SENDMMSG_SOCKETCALL].
3183 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3184 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3186 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3187 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3189 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3190 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3191 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3192 [!__ASSUME_SENDMMSG]: Change conditional to
3193 [!__ASSUME_SENDMMSG_SOCKETCALL].
3194 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3195 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3199 * sysdeps/unix/sysv/linux/kernel-features.h
3200 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3201 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3202 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3203 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3204 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3205 [__i386__ || __sparc__]
3206 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3207 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3208 (__ASSUME_RECVMMSG): Define instead of using previous
3209 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3210 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3211 (__ASSUME_RECVMMSG_SYSCALL): Define.
3212 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3213 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3215 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3216 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3218 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3219 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3221 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3222 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3223 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3224 [__ASSUME_RECVMMSG]: Change condition to
3225 [__ASSUME_RECVMMSG_SOCKETCALL].
3226 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3227 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3229 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3230 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3231 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3233 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3234 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3235 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3236 [!__ASSUME_RECVMMSG]: Change condition to
3237 [!__ASSUME_RECVMMSG_SOCKETCALL].
3238 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3239 (__ASSUME_RECVMMSG_SYSCALL): Define.
3242 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3243 __powerpc__ || __s390__ || __sh__ || __sparc__]
3244 (__ASSUME_SOCKETCALL): Define.
3245 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3246 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3247 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3248 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3249 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3250 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3251 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3252 (__ASSUME_ACCEPT4): Define instead of using previous
3253 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3254 __powerpc__ || __sparc__ || __s390__)] condition.
3255 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3256 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3257 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3258 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3259 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3260 [!__ASSUME_ACCEPT4]: Change condition to
3261 [!__ASSUME_ACCEPT4_SOCKETCALL].
3262 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3263 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3264 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3265 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3266 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3267 __ASSUME_ACCEPT4_SYSCALL.
3268 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3269 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3270 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3271 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3272 __ASSUME_ACCEPT4_SYSCALL.
3273 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3274 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3275 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3276 [__ASSUME_ACCEPT4]: Change condition to
3277 [__ASSUME_ACCEPT4_SOCKETCALL].
3278 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3279 (__ASSUME_SOCKETCALL): Define.
3280 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3281 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3282 (__ASSUME_SOCKETCALL): Define.
3283 (__ASSUME_ACCEPT4): Remove.
3284 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3286 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3287 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3289 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3290 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3292 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3294 (HWCAP_ARM_LPAE): Likewise.
3295 (HWCAP_ARM_EVTSTRM): Likewise.
3296 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3297 Add vpfd32, lpae and evtstrm.
3298 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3301 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3303 * math/auto-libm-test-in: Add tests of clog10.
3304 * math/auto-libm-test-out: Regenerated.
3305 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3306 * sysdeps/i386/fpu/libm-test-ulps: Update.
3307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3309 2014-02-18 Andreas Schwab <schwab@suse.de>
3312 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3313 Store non-zero if the second buffer was newly allocated.
3314 (send_dg): Likewise.
3315 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3316 to send_vc and send_dg.
3317 (res_nsend): Pass NULL for ansp2_malloced.
3318 * resolv/res_query.c (__libc_res_nquery): Add parameter
3319 answerp2_malloced and pass it down to __libc_res_nsend.
3320 (res_nquery): Pass additional NULL to __libc_res_nquery.
3321 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3322 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3323 second answer buffer if answerp2_malloced was set.
3324 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3325 (__libc_res_nquerydomain): Add parameter
3326 answerp2_malloced and pass it down to __libc_res_nquery.
3327 (res_nquerydomain): Pass additional NULL to
3328 __libc_res_nquerydomain.
3329 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3330 additional NULL to __libc_res_nsend and __libc_res_nquery.
3331 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3332 additional NULL to __libc_res_nsearch.
3333 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3334 parameter of __libc_res_nsearch to check for separately allocated
3336 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3338 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3339 additional NULL to __libc_res_nquery.
3340 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3342 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3343 * include/resolv.h: Update prototypes of __libc_res_nquery,
3344 __libc_res_nsearch, __libc_res_nsend.
3346 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3348 * math/auto-libm-test-in: Add tests of fma.
3349 * math/auto-libm-test-out: Regenerated.
3350 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3351 (fma_towardzero_test_data): Likewise.
3352 (fma_downward_test_data): Likewise.
3353 (fma_upward_test_data): Likewise.
3354 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3356 (rounding_modes): Add values for new field.
3357 (func_calc_method): Add value mpfr_fff_f.
3358 (func_calc_desc): Add mpfr_fff_f union field.
3359 (test_function): Add field exact_args.
3360 (FUNC): Add macro argument EXACT_ARGS.
3361 (FUNC_mpfr_f_f): Update call to FUNC.
3362 (FUNC_mpfr_f_f): Likewise.
3363 (FUNC_mpfr_ff_f): Likewise.
3364 (FUNC_mpfr_if_f): Likewise.
3365 (FUNC_mpc_c_f): Likewise.
3366 (FUNC_mpc_c_c): Likewise.
3367 (test_functions): Add fma. Update calls to FUNC.
3368 (handle_input_arg): Add argument exact_args.
3369 (add_test): Update call to handle_input_arg.
3370 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3371 (output_for_one_input_case): Update call to calc_generic_results.
3372 Recalculate exact zero results in each rounding mode.
3374 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3375 non-negative before setting low bit.
3376 * math/auto-libm-test-in: Mark one asin test possibly having
3378 * math/auto-libm-test-out: Regenerated.
3379 * sysdeps/i386/fpu/libm-test-ulps: Update.
3380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3382 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3384 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3385 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3386 ports/sysdeps/unix/sysv/linux/microblaze.
3387 * README: Add missing listing for microblaze*-*-linux-gnu.
3389 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3391 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3392 * sysdeps/unix/sysv/linux/ia64: Move directory from
3393 ports/sysdeps/unix/sysv/linux/ia64.
3394 * README: Update listing for ia64-*-linux-gnu.
3396 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3397 Joseph Myers <joseph@codesourcery.com>
3399 * Makeconfig (test-name): New variable.
3400 (evaluate-test): Likewise.
3401 * Makerules (do-test-clean): Remove .test-result files.
3402 (common-mostlyclean): Likewise.
3403 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3404 * scripts/evaluate-test.sh: New file.
3406 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3408 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3409 separate $(objpfx)tst-fopenloc-cmp.out and
3410 $(objpfx)tst-fopenloc-mem.out targets.
3411 (tests): Update dependencies.
3412 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3413 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3414 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3415 (tst-rxspencer-no-utf8-ARGS): New variable.
3416 (tst-rxspencer-no-utf8-ENV): Likewise.
3417 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3418 instead of $(objpfx)tst-rxspencer-mem.
3419 ($(objpfx)tst-rxspencer-mem): Change target to
3420 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3421 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3422 * posix/tst-rxspencer-no-utf8.c: New file.
3424 * elf/Makefile ($(objpfx)order.out): Remove rule.
3425 [$(run-built-tests) = yes] (tests): Depend on
3426 $(objpfx)order-cmp.out.
3427 ($(objpfx)order-cmp.out): New rule.
3428 [$(run-built-tests) = yes] (tests): Depend on
3429 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3430 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3431 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3432 $(objpfx)tst-array5-static-cmp.out.
3433 ($(objpfx)tst-array1.out): Remove rule.
3434 ($(objpfx)tst-array1-cmp.out): New rule.
3435 ($(objpfx)tst-array1-static.out): Remove rule.
3436 ($(objpfx)tst-array1-static-cmp.out): New rule.
3437 ($(objpfx)tst-array2.out): Remove rule.
3438 ($(objpfx)tst-array2-cmp.out): New rule.
3439 ($(objpfx)tst-array3.out): Remove rule.
3440 ($(objpfx)tst-array3-cmp.out): New rule.
3441 ($(objpfx)tst-array4.out): Remove rule.
3442 ($(objpfx)tst-array4-cmp.out): New rule.
3443 ($(objpfx)tst-array5.out): Remove rule.
3444 ($(objpfx)tst-array5-cmp.out): New rule.
3445 ($(objpfx)tst-array5-static.out): Remove rule.
3446 ($(objpfx)tst-array5-static-cmp.out): New rule.
3447 [$(run-built-tests) = yes] (tests): Depend on
3448 $(objpfx)order2-cmp.out.
3449 ($(objpfx)order2.out): Remove rule.
3450 ($(objpfx)order2-cmp.out): New rule.
3451 ($(objpfx)tst-initorder.out): Remove rule.
3452 [$(run-built-tests) = yes] (tests): Depend on
3453 $(objpfx)tst-initorder-cmp.out.
3454 ($(objpfx)tst-initorder-cmp.out): New rule.
3455 ($(objpfx)tst-initorder2.out): Remove rule.
3456 [$(run-built-tests) = yes] (tests): Depend on
3457 $(objpfx)tst-initorder2-cmp.out.
3458 ($(objpfx)tst-initorder2-cmp.out): New rule.
3459 [$(run-built-tests) = yes] (tests): Depend on
3460 $(objpfx)tst-unused-dep-cmp.out.
3461 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3462 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3463 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3464 on $(objpfx)tst-setvbuf1-cmp.out.
3465 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3466 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3467 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3468 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3469 ($(objpfx)tst-svc.out): Remove rule.
3470 ($(objpfx)tst-svc-cmp.out): New rule.
3472 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3474 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3475 * ctype/ctype.h [__USE_MISC]: Likewise.
3476 * dirent/dirent.h [__USE_MISC]: Likewise.
3477 * grp/grp.h [__USE_MISC]: Likewise.
3478 * io/fcntl.h [__USE_MISC]: Likewise.
3479 * io/sys/stat.h [__USE_MISC]: Likewise.
3480 * libio/stdio.h [__USE_MISC]: Likewise.
3481 * posix/unistd.h [__USE_MISC]: Likewise.
3482 * pwd/pwd.h [__USE_MISC]: Likewise.
3483 * stdlib.h [__USE_MISC]: Likewise.
3484 * string/bits/string2.h [__USE_MISC]: Likewise.
3485 * string/string.h [__USE_MISC]: Likewise.
3486 * time/time.h [__USE_MISC]: Likewise.
3488 2014-02-13 Andreas Schwab <schwab@suse.de>
3491 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3492 second answer buffer if it was separately allocated.
3494 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3496 * sysdeps/mips/math-tests.h: Include <features.h>.
3497 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3498 (ROUNDING_TESTS_long_double): Do not define.
3499 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3500 (EXCEPTION_TESTS_long_double): Likewise.
3501 * sysdeps/mips/mips64/libm-test-ulps: Update.
3503 * include/features.h (__USE_BSD): Remove macro definitions.
3504 (__USE_SVID): Likewise.
3505 (_BSD_SOURCE): Likewise.
3506 (_SVID_SOURCE): Likewise.
3507 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3508 from definition of _DEFAULT_SOURCE.
3509 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3511 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3512 * bits/mman.h [__USE_BSD]: Likewise.
3513 * bits/termios.h [__USE_BSD]: Likewise.
3514 * bits/waitstatus.h [__USE_BSD]: Likewise.
3515 * ctype/ctype.h [__USE_SVID]: Likewise.
3516 * dirent/dirent.h [__USE_BSD]: Likewise.
3517 * grp/grp.h [__USE_SVID]: Likewise.
3518 [__USE_BSD]: Likewise.
3519 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3520 * io/fcntl.h [__USE_BSD]: Likewise.
3521 * io/ftw.h [__USE_BSD]: Likewise.
3522 * io/sys/stat.h [__USE_BSD]: Likewise.
3523 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3524 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3525 * libio/stdio.h [__USE_SVID]: Likewise.
3526 [__USE_BSD]: Likewise.
3527 * math/math.h [__USE_SVID]: Likewise.
3528 [__USE_BSD]: Likewise.
3529 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3530 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3531 * misc/search.h [__USE_SVID]: Likewise.
3532 * misc/sys/mman.h [__USE_BSD]: Likewise.
3533 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3534 * misc/sys/uio.h [__USE_BSD]: Likewise.
3535 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3536 * posix/glob.h [__USE_BSD]: Likewise.
3537 * posix/regex.h [__USE_BSD]: Likewise.
3538 * posix/sys/types.h [__USE_BSD]: Likewise.
3539 [__USE_SVID]: Likewise.
3540 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3541 * posix/sys/wait.h [__USE_BSD]: Likewise.
3542 [__USE_SVID]: Likewise.
3543 * posix/unistd.h [__USE_BSD]: Likewise.
3544 [__USE_SVID]: Likewise.
3545 * pwd/pwd.h [__USE_SVID]: Likewise.
3546 * resolv/netdb.h [__USE_BSD]: Likewise.
3547 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3548 * signal/signal.h [__USE_BSD]: Likewise.
3549 [__USE_SVID]: Likewise.
3550 * socket/sys/socket.h [__USE_BSD]: Likewise.
3551 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3552 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3553 [__USE_SVID]: Likewise.
3554 * string/bits/string2.h [__USE_BSD]: Likewise.
3555 [__USE_SVID]: Likewise.
3556 * string/bits/string3.h [__USE_BSD]: Likewise.
3557 * string/endian.h [__USE_BSD]: Likewise.
3558 * string/string.h [__USE_SVID]: Likewise.
3559 [__USE_BSD]: Likewise.
3560 * string/strings.h [__USE_BSD]: Likewise.
3561 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3562 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3563 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3564 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3565 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3566 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3568 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3570 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3571 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3573 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3574 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3576 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3578 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3579 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3580 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3582 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3584 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3585 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3586 * termios/termios.h [__USE_BSD]: Likewise.
3587 * time/sys/time.h [__USE_BSD]: Likewise.
3588 * time/time.h [__USE_BSD]: Likewise.
3589 [__USE_SVID]: Likewise.
3591 * Makefile (subdir_targets): Remove subdir_lint.out.
3593 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3594 (do-tst-printf): Likewise.
3595 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3596 $(objpfx)tst-printf.out.
3598 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3600 * Makerules (check-abi-%): Change target to
3601 $(objpfx)check-abi-%.out.
3602 (check-abi target): Update dependencies.
3603 (check-abi-pattern variable): Redirect output of diff to $@.
3604 (check-abi variable): Likewise.
3605 * elf/Makefile (check-abi): Update dependencies.
3607 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3609 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3610 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3612 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3613 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3614 value has largest subnormal exponent.
3615 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3616 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3617 * sysdeps/aarch64/soft-fp/sfp-machine.h
3618 (_FP_TININESS_AFTER_ROUNDING): New macro.
3619 * sysdeps/alpha/soft-fp/sfp-machine.h
3620 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3621 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3623 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3624 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3625 * sysdeps/mips/soft-fp/sfp-machine.h
3626 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3627 * sysdeps/powerpc/soft-fp/sfp-machine.h
3628 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3629 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3631 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3632 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3633 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3634 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3635 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3638 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3641 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3644 2014-02-12 Richard Henderson <rth@redhat.com>
3646 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3647 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3648 * sysdeps/unix/sysv/linux/alpha: Move directory from
3649 ports/sysdeps/unix/sysv/linux/alpha.
3650 * README: Update listing for alpha-*-linux-gnu.
3652 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3654 * include/features.h: Update comment documenting feature test
3656 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3658 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3659 (_SVID_SOURCE): Likewise.
3660 (_DEFAULT_SOURCE): Update description of default features.
3661 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3663 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3664 (S_ISVTX): Likewise.
3665 * manual/math.texi (Mathematical Constants): Likewise.
3666 * manual/signal.texi (Interrupted Primitives): Likewise.
3667 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3668 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3669 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3670 Don't refer to _SVID_SOURCE in warning text.
3672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3674 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3676 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3677 * sysdeps/mips/dl-lookup.c: Remove.
3678 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3680 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3683 * math/auto-libm-test-in: Add testcase for expl.
3684 * math/auto-libm-test-out: Regenerate.
3685 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3686 calculation of unsafe.
3687 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3689 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3691 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3692 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3693 ports/sysdeps/unix/sysv/linux/aarch64.
3694 * README: Update listing for aarch64*-*-linux-gnu.
3696 2014-02-11 Will Newton <will.newton@linaro.org>
3698 * manual/probes.texi (Mathematical Function Probes): Use
3699 "triggered" instead of "hit".
3701 2014-02-11 Will Newton <will.newton@linaro.org>
3703 * manual/probes.texi (Internal Probes): Add documentation
3704 of setjmp, longjmp and longjmp_target probes.
3706 2014-02-11 Will Newton <will.newton@linaro.org>
3708 * include/stap-probe.h: Add comment about probe argument
3711 2014-02-11 Will Newton <will.newton@linaro.org>
3713 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3714 definition. (tr_where, tr_freehook, tr_mallochook,
3715 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3717 2014-02-11 David S. Miller <davem@davemloft.net>
3719 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3720 processing int_tests.
3722 2014-02-10 Joseph Myers <joseph@codesourcery.com>
3724 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3725 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3726 * sysdeps/unix/sysv/linux/mips: Move directory from
3727 ports/sysdeps/unix/sysv/linux/mips.
3728 * README: Update listing for mips-*-linux-gnu and
3731 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3733 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3734 * sysdeps/unix/sysv/linux/m68k: Move directory from
3735 ports/sysdeps/unix/sysv/linux/m68k.
3736 * README: Update listing for m68k-*-linux-gnu.
3738 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3740 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3741 * sysdeps/unix/sysv/linux/generic: Move directory from
3742 ports/sysdeps/unix/sysv/linux/generic.
3743 * sysdeps/unix/sysv/linux/tile: Move directory from
3744 ports/sysdeps/unix/sysv/linux/tile.
3745 * README: Update listing for tile*-*-linux-gnu.
3747 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3749 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3750 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3751 * catgets/open_catalog.c (__open_catalog): Likewise.
3752 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3753 * debug/confstr_chk.c: Likewise.
3754 * debug/fread_chk.c (__fread_chk): Likewise.
3755 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3756 * debug/getgroups_chk.c: Likewise.
3757 * debug/mbsnrtowcs_chk.c: Likewise.
3758 * debug/mbsrtowcs_chk.c: Likewise.
3759 * debug/mbstowcs_chk.c: Likewise.
3760 * debug/memcpy_chk.c: Likewise.
3761 * debug/memmove_chk.c: Likewise.
3762 * debug/mempcpy_chk.c: Likewise.
3763 * debug/memset_chk.c: Likewise.
3764 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3765 * debug/strcat_chk.c (__strcat_chk): Likewise.
3766 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3767 * debug/strncat_chk.c (__strncat_chk): Likewise.
3768 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3769 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3770 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3771 * debug/wcpncpy_chk.c: Likewise.
3772 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3773 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3774 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3775 * debug/wcsncpy_chk.c: Likewise.
3776 * debug/wcsnrtombs_chk.c: Likewise.
3777 * debug/wcsrtombs_chk.c: Likewise.
3778 * debug/wcstombs_chk.c: Likewise.
3779 * debug/wmemcpy_chk.c: Likewise.
3780 * debug/wmemmove_chk.c: Likewise.
3781 * debug/wmempcpy_chk.c: Likewise.
3782 * debug/wmemset_chk.c: Likewise.
3783 * dirent/scandirat.c (SCANDIRAT): Likewise.
3784 * dlfcn/dladdr1.c (dladdr1): Likewise.
3785 * dlfcn/dladdr.c (dladdr): Likewise.
3786 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3787 * dlfcn/dlerror.c (__dlerror): Likewise.
3788 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3789 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3790 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3791 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3792 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3793 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3794 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3795 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3797 * elf/dl-conflict.c: Likewise.
3798 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3799 * elf/dl-dst.h: Likewise.
3800 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3801 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3802 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3803 * elf/dl-init.c (call_init, _dl_init): Likewise.
3804 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3805 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3806 _dl_map_object_from_fd, open_verify, open_path,
3807 _dl_map_object): Likewise.
3808 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3810 * elf/dl-minimal.c (__libc_memalign): Likewise.
3811 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3812 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3813 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3814 * elf/dl-sym.c (do_sym): Likewise.
3815 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3816 _dl_tls_get_addr_soft): Likewise.
3817 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3818 * elf/dl-writev.h (_dl_writev): Likewise.
3819 * elf/ldconfig.c (search_dir): Likewise.
3820 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3822 * elf/setup-vdso.h (setup_vdso): Likewise.
3823 * grp/compat-initgroups.c (compat_call): Likewise.
3824 * grp/fgetgrent.c (fgetgrent): Likewise.
3825 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3826 * grp/putgrent.c (putgrent): Likewise.
3827 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3829 * hurd/hurdinit.c: Likewise.
3830 * iconvdata/8bit-gap.c (struct): Likewise.
3831 * iconvdata/ansi_x3.110.c : Likewise.
3832 * iconvdata/big5.c : Likewise.
3833 * iconvdata/big5hkscs.c : Likewise.
3834 * iconvdata/cp1255.c: Likewise.
3835 * iconvdata/cp1258.c : Likewise.
3836 * iconvdata/cp932.c : Likewise.
3837 * iconvdata/euc-cn.c: Likewise.
3838 * iconvdata/euc-jisx0213.c : Likewise.
3839 * iconvdata/euc-jp.c: Likewise.
3840 * iconvdata/euc-jp-ms.c : Likewise.
3841 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3842 * iconvdata/gb18030.c : Likewise.
3843 * iconvdata/gbbig5.c (const): Likewise.
3844 * iconvdata/gbgbk.c: Likewise.
3845 * iconvdata/gbk.c : Likewise.
3846 * iconvdata/ibm1364.c : Likewise.
3847 * iconvdata/ibm930.c : Likewise.
3848 * iconvdata/ibm932.c: Likewise.
3849 * iconvdata/ibm933.c : Likewise.
3850 * iconvdata/ibm935.c : Likewise.
3851 * iconvdata/ibm937.c : Likewise.
3852 * iconvdata/ibm939.c : Likewise.
3853 * iconvdata/ibm943.c: Likewise.
3854 * iconvdata/iso_11548-1.c: Likewise.
3855 * iconvdata/iso-2022-cn.c : Likewise.
3856 * iconvdata/iso-2022-cn-ext.c : Likewise.
3857 * iconvdata/iso-2022-jp-3.c: Likewise.
3858 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3859 * iconvdata/iso-2022-kr.c : Likewise.
3860 * iconvdata/iso646.c (gconv_end): Likewise.
3861 * iconvdata/iso_6937-2.c : Likewise.
3862 * iconvdata/iso_6937.c : Likewise.
3863 * iconvdata/iso8859-1.c: Likewise.
3864 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3865 * iconvdata/shift_jisx0213.c : Likewise.
3866 * iconvdata/sjis.c : Likewise.
3867 * iconvdata/t.61.c : Likewise.
3868 * iconvdata/tcvn5712-1.c : Likewise.
3869 * iconvdata/tscii.c: Likewise.
3870 * iconvdata/uhc.c : Likewise.
3871 * iconvdata/unicode.c (gconv_end): Likewise.
3872 * iconvdata/utf-16.c (gconv_end): Likewise.
3873 * iconvdata/utf-32.c (gconv_end): Likewise.
3874 * iconvdata/utf-7.c (base64): Likewise.
3875 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3876 * iconv/gconv_close.c (__gconv_close): Likewise.
3877 * iconv/gconv_open.c (__gconv_open): Likewise.
3878 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3879 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3880 internal_ucs4le_loop_single, ucs4le_internal_loop,
3881 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3882 * iconv/iconv.c (iconv): Likewise.
3883 * iconv/iconv_close.c: Likewise.
3884 * iconv/loop.c (SINGLE): Likewise.
3885 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3886 * include/atomic.h: Likewise.
3887 * inet/inet6_option.c (option_alloc): Likewise.
3888 * intl/bindtextdom.c (set_binding_values): Likewise.
3889 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3890 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3891 * intl/localealias.c (read_alias_file): Likewise.
3892 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3893 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3894 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3895 * libio/fmemopen.c (fmemopen): Likewise.
3896 * libio/iofgets.c (_IO_fgets): Likewise.
3897 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3898 * libio/iofgetws.c (fgetws): Likewise.
3899 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3900 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3901 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3902 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3903 * locale/findlocale.c (_nl_find_locale): Likewise.
3904 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3905 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3907 * locale/setlocale.c (setlocale): Likewise.
3908 * login/programs/pt_chown.c (main): Likewise.
3909 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3910 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3911 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3912 mmap, mmap64, mremap, munmap): Likewise.
3913 * math/e_exp2l.c: Likewise.
3914 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3915 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3916 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3917 * math/s_catan.c (__catan): Likewise.
3918 * math/s_catanf.c (__catanf): Likewise.
3919 * math/s_catanh.c (__catanh): Likewise.
3920 * math/s_catanhf.c (__catanhf): Likewise.
3921 * math/s_catanhl.c (__catanhl): Likewise.
3922 * math/s_catanl.c (__catanl): Likewise.
3923 * math/s_ccosh.c (__ccosh): Likewise.
3924 * math/s_ccoshf.c (__ccoshf): Likewise.
3925 * math/s_ccoshl.c (__ccoshl): Likewise.
3926 * math/s_cexp.c (__cexp): Likewise.
3927 * math/s_cexpf.c (__cexpf): Likewise.
3928 * math/s_cexpl.c (__cexpl): Likewise.
3929 * math/s_clog10.c (__clog10): Likewise.
3930 * math/s_clog10f.c (__clog10f): Likewise.
3931 * math/s_clog10l.c (__clog10l): Likewise.
3932 * math/s_clog.c (__clog): Likewise.
3933 * math/s_clogf.c (__clogf): Likewise.
3934 * math/s_clogl.c (__clogl): Likewise.
3935 * math/s_csin.c (__csin): Likewise.
3936 * math/s_csinf.c (__csinf): Likewise.
3937 * math/s_csinh.c (__csinh): Likewise.
3938 * math/s_csinhf.c (__csinhf): Likewise.
3939 * math/s_csinhl.c (__csinhl): Likewise.
3940 * math/s_csinl.c (__csinl): Likewise.
3941 * math/s_csqrt.c (__csqrt): Likewise.
3942 * math/s_csqrtf.c (__csqrtf): Likewise.
3943 * math/s_csqrtl.c (__csqrtl): Likewise.
3944 * math/s_ctan.c (__ctan): Likewise.
3945 * math/s_ctanf.c (__ctanf): Likewise.
3946 * math/s_ctanh.c (__ctanh): Likewise.
3947 * math/s_ctanhf.c (__ctanhf): Likewise.
3948 * math/s_ctanhl.c (__ctanhl): Likewise.
3949 * math/s_ctanl.c (__ctanl): Likewise.
3950 * math/w_pow.c: Likewise.
3951 * math/w_powf.c: Likewise.
3952 * math/w_powl.c: Likewise.
3953 * math/w_scalb.c (sysv_scalb): Likewise.
3954 * math/w_scalbf.c (sysv_scalbf): Likewise.
3955 * math/w_scalbl.c (sysv_scalbl): Likewise.
3956 * misc/error.c (error_tail): Likewise.
3957 * misc/pselect.c (__pselect): Likewise.
3958 * nis/nis_callback.c (__nis_create_callback): Likewise.
3959 * nis/nis_call.c (__nisfind_server): Likewise.
3960 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3961 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3962 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3963 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3964 * nis/nis_lookup.c (nis_lookup): Likewise.
3965 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3966 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3967 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3968 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3969 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3970 internal_getgrgid_r): Likewise.
3971 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3973 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3974 internal_getpwuid_r): Likewise.
3975 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3976 internal_getspnam_r): Likewise.
3977 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3978 _nss_nis_getaliasbyname_r): Likewise.
3979 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3980 _nss_nis_getntohost_r): Likewise.
3981 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3982 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3984 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3985 internal_nis_gethostent_r, internal_gethostbyname2_r,
3986 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3987 _nss_nis_gethostbyname4_r): Likewise.
3988 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3989 initgroups_netid): Likewise.
3990 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3991 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3992 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3993 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3994 _nss_nis_getprotobynumber_r): Likewise.
3995 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3996 _nss_nis_getsecretkey): Likewise.
3997 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3998 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4000 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4001 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4002 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4003 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4004 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4005 _nss_nis_getspnam_r): Likewise.
4006 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4008 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4009 _nss_nisplus_getntohost_r): Likewise.
4010 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4011 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4012 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4013 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4014 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4016 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4017 _nss_nisplus_getnetbyaddr_r): Likewise.
4018 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4019 _nss_nisplus_getprotobynumber_r): Likewise.
4020 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4021 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4022 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4024 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4025 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4026 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4027 _nss_nisplus_getspnam_r): Likewise.
4028 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4029 * nscd/aicache.c (addhstaiX): Likewise.
4030 * nscd/cache.c (cache_search, prune_cache): Likewise.
4031 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4032 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4033 * nscd/grpcache.c (addgrbyX): Likewise.
4034 * nscd/hstcache.c (addhstbyX): Likewise.
4035 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4036 * nscd/mem.c (gc, mempool_alloc): Likewise.
4037 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4039 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4041 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4042 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4043 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4045 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4046 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4047 * nscd/nscd_helper.c (__readvall, open_socket,
4048 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4049 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4050 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4051 * nscd/pwdcache.c (addpwbyX): Likewise.
4052 * nscd/selinux.c (preserve_capabilities): Likewise.
4053 * nscd/servicescache.c (addservbyX): Likewise.
4054 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4055 * posix/fnmatch.c (fnmatch): Likewise.
4056 * posix/getopt.c (_getopt_internal_r): Likewise.
4057 * posix/glob.c (glob, glob_in_dir): Likewise.
4058 * posix/wordexp.c (exec_comm_child): Likewise.
4059 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4060 gaih_getanswer_slice): Likewise.
4061 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4062 * resolv/res_init.c: Likewise.
4063 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4064 * resolv/res_query.c (__libc_res_nquery): Likewise.
4065 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4067 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4068 * stdio-common/perror.c (perror): Likewise.
4069 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4070 * stdio-common/tmpnam.c (tmpnam): Likewise.
4071 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4072 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4073 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4074 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4075 * stdlib/putenv.c (putenv): Likewise.
4076 * stdlib/setenv.c (__add_to_environ): Likewise.
4077 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4078 * stdlib/strtol_l.c (INTERNAL): Likewise.
4079 * string/memmem.c (memmem): Likewise.
4080 * string/strerror.c (strerror): Likewise.
4081 * string/strnlen.c (__strnlen): Likewise.
4082 * string/test-memmem.c (simple_memmem): Likewise.
4083 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4084 * sunrpc/pm_getport.c (__get_socket): Likewise.
4085 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4086 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4087 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4088 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4090 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4091 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4092 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4093 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4094 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4095 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4096 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4097 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4098 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4099 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4100 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4101 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4103 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4104 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4105 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4106 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4107 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4108 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4110 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4112 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4114 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4115 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4116 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4117 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4118 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4119 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4120 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4121 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4122 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4123 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4124 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4125 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4126 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4127 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4128 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4129 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4130 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4132 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4134 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4136 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4137 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4138 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4140 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4141 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4142 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4143 * sysdeps/posix/sleep.c: Likewise.
4144 * sysdeps/posix/tempname.c: Likewise.
4145 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4146 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4148 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4149 elf_machine_rela): Likewise.
4150 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4151 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4152 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4153 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4155 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4156 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4157 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4158 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4159 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4160 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4161 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4162 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4163 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4164 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4165 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4166 elf_machine_lazy_rel): Likewise.
4167 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4168 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4169 elf_machine_lazy_rel): Likewise.
4170 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4171 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4172 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4173 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4174 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4175 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4176 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4177 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4179 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4180 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4181 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4182 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4183 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4184 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4185 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4186 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4187 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4188 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4189 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4191 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4192 (__posix_fallocate64_l64): Likewise.
4193 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4194 (posix_fallocate): Likewise.
4195 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4196 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4197 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4198 getifaddrs_internal): Likewise.
4199 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4200 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4201 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4202 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4203 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4204 (__posix_fallocate64_l64): Likewise.
4205 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4207 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4208 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4210 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4211 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4212 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4213 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4214 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4215 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4216 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4217 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4219 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4220 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4221 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4222 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4223 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4224 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4225 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4227 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4228 (posix_fallocate): Likewise.
4229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4230 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4231 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4232 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4233 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4235 * time/asctime.c (asctime_internal): Likewise.
4236 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4237 * time/tzset.c (__tzset_parse_tz): Likewise.
4238 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4239 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4240 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4241 * wcsmbs/wcsmbsload.h: Likewise.
4243 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4246 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4248 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4250 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4251 arena_get2): Remove THREAD_STATS conditionals.
4252 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4253 __malloc_stats, int): Likewise.
4255 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4257 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4258 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4260 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4262 * manual/setjmp.texi: Fix typos/grammar errors.
4264 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4266 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4267 Only return early when n is <= 0. Delete unused return statement.
4269 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4271 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4272 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4273 * debug/tst-longjmp_chk3.c: New file.
4275 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4277 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4278 (test_main): Replace code with set_fortify_handler call.
4279 * debug/test-strcpy_chk.c: Likewise.
4280 * debug/tst-chk1.c: Likewise.
4281 * debug/tst-longjmp_chk.c: Likewise.
4282 * test-skeleton.c: Include fcntl.h & paths.h
4283 (set_fortify_handler): Define.
4285 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4287 * debug/tst-longjmp_chk.c: Add header comment and include
4289 (do_test): Mark static.
4290 (TEST_FUNCTION): Define.
4292 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4294 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4295 (IP_PMTUDISC_INTERFACE): Likewise.
4296 (IP_MULTICAST_IF): Likewise.
4297 (IP_MULTICAST_TTL): Likewise.
4298 (IP_MULTICAST_LOOP): Likewise.
4299 (IP_ADD_MEMBERSHIP): Likewise.
4300 (IP_DROP_MEMBERSHIP): Likewise.
4301 (IP_UNBLOCK_SOURCE): Likewise.
4302 (IP_BLOCK_SOURCE): Likewise.
4303 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4304 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4305 (IP_MSFILTER): Likewise.
4306 (MCAST_JOIN_GROUP): Likewise.
4307 (MCAST_BLOCK_SOURCE): Likewise.
4308 (MCAST_UNBLOCK_SOURCE): Likewise.
4309 (MCAST_LEAVE_GROUP): Likewise.
4310 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4311 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4312 (MCAST_MSFILTER): Likewise.
4313 (IP_MULTICAST_ALL): Likewise.
4314 (IP_UNICAST_IF): Likewise.
4316 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4318 * timezone/Makefile: Delete $(have-ksh) check.
4319 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4320 * timezone/tzselect.ksh: Add +x mode bits.
4322 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4324 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4325 (ANON_INODE_FS_MAGIC): Likewise.
4326 (BDEVFS_MAGIC): Likewise.
4327 (BINFMTFS_MAGIC): Likewise.
4328 (BTRFS_TEST_MAGIC): Likewise.
4329 (CRAMFS_MAGIC_WEND): Likewise.
4330 (DEBUGFS_MAGIC): Likewise.
4331 (ECRYPTFS_SUPER_MAGIC): Likewise.
4332 (EXT3_SUPER_MAGIC): Likewise.
4333 (EXT4_SUPER_MAGIC): Likewise.
4334 (FUTEXFS_SUPER_MAGIC): Likewise.
4335 (HOSTFS_SUPER_MAGIC): Likewise.
4336 (HUGETLBFS_MAGIC): Likewise.
4337 (MINIX3_SUPER_MAGIC): Likewise.
4338 (MTD_INODE_FS_MAGIC): Likewise.
4339 (NILFS_SUPER_MAGIC): Likewise.
4340 (OPENPROM_SUPER_MAGIC): Likewise.
4341 (PIPEFS_MAGIC): Likewise.
4342 (PSTOREFS_MAGIC): Likewise.
4343 (QNX6_SUPER_MAGIC): Likewise.
4344 (RAMFS_MAGIC): Likewise.
4345 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4346 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4347 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4348 (SECURITYFS_MAGIC): Likewise.
4349 (SELINUX_MAGIC): Likewise.
4350 (SMACK_MAGIC): Likewise.
4351 (SOCKFS_MAGIC): Likewise.
4352 (SQUASHFS_MAGIC): Likewise.
4353 (STACK_END_MAGIC): Likewise.
4354 (TMPFS_MAGIC): Likewise.
4355 (USBDEVICE_SUPER_MAGIC): Likewise.
4356 (V9FS_MAGIC): Likewise.
4357 (XENFS_SUPER_MAGIC): Likewise.
4358 (CRAMFS_MAGIC): Fix typo in comment.
4359 (EXT2_SUPER_MAGIC): Update comment.
4360 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4362 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4364 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4365 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4366 * sysdeps/unix/sysv/linux/arm: Move directory from
4367 ports/sysdeps/unix/sysv/linux/arm.
4368 * README: Update listing for arm-*-linux-gnueabi.
4370 * README: Remove mention of am33.
4372 2014-02-07 Roland McGrath <roland@hack.frob.com>
4374 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4375 than the comma operator, to avoid "rhs of comma has no effect"
4377 (__sigfillset, __sigandset, __sigorset): Likewise.
4378 * include/signal.h (__sigemptyset): Likewise.
4379 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4381 2014-02-07 Allan McRae <allan@archlinux.org>
4383 * version.h (RELEASE): Set to "development".
4384 (VERSION): Set to "2.19.90"
4385 * NEWS: Add 2.20 section.
4387 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4390 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4392 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4394 * manual/contrib.texi: Update entry for Carlos O'Donell,
4395 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4397 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4399 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4401 * sysdeps/unix/sysv/linux/kernel-features.h
4402 [__LINUX_KERNEL_VERSION >= 0x020621]
4403 (__ASSUME_PROC_PID_TASK_COMM): Define.
4405 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4408 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4409 conversion when destination buffer does not have enough space.
4410 * libio/tst-ftell-partial-wide.c: New test case.
4411 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4413 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4414 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4415 Leonard and Allan McRae.
4417 2014-02-04 David S. Miller <davem@davemloft.net>
4419 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4422 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4451 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4453 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4454 * shlib-versions: Likewise.
4456 2014-02-04 Roland McGrath <roland@hack.frob.com>
4457 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4459 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4460 (abilist-pattern): New variable, set to %-le.abilist.
4462 * Makerules (abilist-pattern): New variable.
4463 (vpath): Use $(abilist-pattern) in place of %.abilist.
4464 (check-abi-% pattern rule): Likewise.
4465 (check-abi, update-abi): Likewise.
4467 2014-02-04 Eric Wong <normalperson@yhbt.net>
4469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4471 2014-02-04 Eric Wong <normalperson@yhbt.net>
4473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4475 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4477 * manual/startup.texi: Add next, previous, and top entries for
4478 the `Program Arguments' and `Environment Variables' nodes.
4480 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4482 * manual/macros.texi: Add comments before MTASC-safety macros.
4484 * manual/users.texi: Document MTASC-safety properties.
4486 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4487 pthread_getspecific, pthread_setspecific): Format with
4488 @deftypefun, and add @safety note.
4489 * manual/signal.texi: Move comments that analyze the above
4490 functions to their home place.
4492 2014-02-03 Allan McRae <allan@archlinux.org>
4494 * po/sl.po: Update Slovenian translation from translation project.
4496 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4498 * manual/time.texi (timegm): Add missing blank after @c.
4499 Reported by Joseph Myers <joseph@codesourcery.com>.
4501 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4503 * manual/check-safety.sh: New.
4504 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4506 * manual/terminal.texi: Document MTASC-safety properties.
4508 * manual/filesys.texi: Document MTASC-safety properties.
4510 * manual/errno.texi: Document MTASC-safety properties.
4512 * manual/intro.texi: Document safety identifiers and
4515 * manual/string.texi (wcstok): Fix prototype.
4516 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4518 * manual/time.texi: Document MTASC-safety properties.
4520 * manual/string.texi: Document MTASC-safety properties.
4522 * manual/threads.texi: Document MTASC-safety properties.
4524 * manual/stdio.texi: Document MTASC-safety properties.
4526 * manual/syslog.texi: Document MTASC-safety properties.
4528 * manual/sysinfo.texi: Document MTASC-safety properties.
4530 * manual/startup.texi: Document MTASC-safety properties.
4532 * manual/socket.texi: Document MTASC-safety properties.
4534 * manual/signal.texi: Document MTASC-safety properties.
4536 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4538 * manual/setjmp.texi: Document MTASC-safety properties.
4540 * manual/search.texi: Document MTASC-safety properties.
4542 * manual/resource.texi: Document MTASC-safety properties.
4544 * manual/process.texi: Document MTASC-safety properties.
4546 * manual/platform.texi: Document MTASC-safety properties.
4548 * manual/pipe.texi: Document MTASC-safety properties.
4550 * manual/pattern.texi: Document MTASC-safety properties.
4552 * manual/message.texi: Document MTASC-safety properties.
4555 * manual/memory.texi: Document MTASC-safety properties.
4557 * manual/math.texi: Document MTASC-safety properties.
4559 * manual/locale.texi: Document MTASC-safety properties.
4561 * manual/llio.texi: Document MTASC-safety properties.
4563 * manual/libdl.texi: New.
4565 * manual/lang.texi: Document MTASC-safety properties.
4567 * manual/job.texi: Document MTASC-safety properties.
4569 * manual/getopt.texi: Document MTASC-safety properties.
4571 * manual/ctype.texi: Document MTASC-safety properties.
4573 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4576 * csu/libc-tls.c (static_map): Remove variable.
4577 (__libc_setup_tls): Use main executable's link map for TLS data.
4578 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4579 casing for LM_ID_BASE and GL(dl_nns).
4580 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4581 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4582 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4583 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4584 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4586 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4589 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4591 * manual/debug.texi: Document MTASC-safety properties.
4593 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4596 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4597 of __x86_64__ when disabling x87 inline functions.
4599 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4601 * manual/charset.texi: Document MTASC-safety properties.
4603 * manual/crypt.texi: Document MTASC-safety properties.
4605 * manual/conf.texi: Document MTASC-safety properties.
4607 * manual/arith.texi: Document MTASC-safety properties.
4609 * manual/argp.texi: Document MTASC-safety properties.
4611 * manual/macros.texi: Introduce macros to document multi
4612 thread, asynchronous signal and asynchronous cancellation
4614 * manual/intro.texi: Introduce the properties themselves.
4616 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4618 * sysdeps/sh/sh4/Makefile: New file.
4620 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4622 * math/gen-libm-test.pl ($srcdir): New variable.
4623 ($auto_input): Use it.
4625 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4628 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4629 access beyond array bounds when parsing netgroups file.
4631 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4632 the old buffer before realloc.
4634 2014-01-27 Allan McRae <allan@archlinux.org>
4636 * po/fr.po: Update French translation from translation project.
4638 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4640 * sysdeps/sh/libm-test-ulps: Regenerate.
4642 2014-01-24 David S. Miller <davem@davemloft.net>
4644 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4646 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4648 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4649 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4651 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4654 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4655 string pointers after reallocation.
4657 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4659 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4660 __SH4A__ instead of __SH_FPU_ANY__.
4662 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4664 * sysdeps/sh/fpu_control.h: New file.
4665 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4666 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4667 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4668 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4669 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4670 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4671 * sysdeps/sh/sys/ucontext.h: Remove.
4672 * sysdeps/sh/sys: Remove directory.
4674 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4676 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4677 s390/sys/ucontext.h.
4678 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4679 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4681 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4684 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4686 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4689 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4690 Adjust the vDSO correctly for internal calls.
4691 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4693 2014-01-20 Allan McRae <allan@archlinux.org>
4695 * po/ca.po: Update Catalan translation from translation project.
4697 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4699 * sysdeps/s390/sotruss-lib.c: New file.
4701 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4704 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4705 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4706 local calls issues by not having a PLT stub required for IFUNC calls.
4707 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4709 2014-01-16 Joseph Myers <joseph@codesourcery.com>
4711 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4712 * math/test-fpucw-static.c: Likewise.
4714 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4717 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4719 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4721 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4722 implementation for powerpc.
4724 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
4727 * sysdeps/posix/system.c (__libc_system): Do not enable
4728 asynchronous cancellation.
4730 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4733 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4734 handling only for numbers special also in the IEEE case.
4736 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4738 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4740 2014-01-11 Allan McRae <allan@archlinux.org>
4742 * po/bg.po: Update Bulgarian translation from translation project.
4744 * po/de.po: Update German translation from translation project.
4746 2014-01-10 Roland McGrath <roland@hack.frob.com>
4748 * sysdeps/generic/gcc-compat.h: New file.
4750 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4752 * benchtests/asin-inputs: Correct slow inputs.
4753 * benchtests/acos-inputs: Likewise.
4755 2014-01-10 Allan McRae <allan@archlinux.org>
4757 * po:sv.po: Update Swedish translation from translation project.
4759 * po/vi.po: Update Vietnamese translation from translation project.
4761 * po/eo.po: Update Esperanto translation from translation project.
4763 * po/cs.po: Update Czech translation from translation project.
4765 * po/nl.po: Update Dutch translation from translation project.
4767 * po/pl.po: Update Polish translation from translation project.
4769 * po/ru.po: Update Russian translation from translation project.
4771 * po/uk.po: Update Ukrainian translation from translation project.
4773 2014-01-08 Brooks Moses <bmoses@google.com>
4775 * elf/dl-load.c: Fix comment typo.
4777 2014-01-08 Carlos O'Donell <carlos@redhat.com>
4779 * po/header.pot: Rename to...
4780 * po/pot.header: ... this.
4781 * po/Makefile: Use pot.header.
4783 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4784 Maxim Kuvyrkov <maxim@kugelworks.com>
4787 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4788 SRC and DEST against LEN.
4790 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4793 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4795 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4797 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4801 2014-01-08 Joseph Myers <joseph@codesourcery.com>
4804 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4805 for large positive arguments.
4807 2014-01-07 Joseph Myers <joseph@codesourcery.com>
4809 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4811 * math/auto-libm-test-in: Mark various tests with
4812 xfail-rounding:ldbl-128ibm.
4813 * math/auto-libm-test-out: Regenerated.
4816 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4817 Increase overflow threshold.
4819 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
4822 * stdio-common/vfprintf.c: Check for integer overflow.
4824 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4826 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4827 the first argument and return value of __tls_get_addr_internal.
4829 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4831 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4832 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4834 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4836 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4837 * sysdeps/s390/rtld-global-offsets.sym: New file.
4838 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4840 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4841 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4842 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4844 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4845 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4851 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4852 halfs of GPRs for high_gprs contexts.
4853 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4854 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4856 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4858 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4860 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4861 for high GPRs (uc_high_gprs) and for future extensions
4863 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4864 for future extensions (__reserved).
4865 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4867 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4868 SC_HIGHGPRS offset definition.
4869 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4870 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4872 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4874 * Versions.def: Add GLIBC_2.19 for libpthread.
4875 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4876 siglongjmp for libpthread with GLIBC_2.19 symver.
4877 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4878 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4879 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4880 * sysdeps/s390/__longjmp.c: New file.
4881 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4882 * sysdeps/s390/longjmp.c: New file.
4883 * sysdeps/s390/setjmp.S: New file.
4884 * sysdeps/s390/sigjmp.S: New file.
4885 * sysdeps/s390/v1-longjmp.c: New file.
4886 * sysdeps/s390/v1-setjmp.h: New file.
4887 * sysdeps/s390/v1-sigjmp.c: New file.
4888 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4889 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4891 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4892 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4893 versioned symbols for ____longjmp_chk.
4894 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4904 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4905 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4906 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4907 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4908 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4909 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4910 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4911 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4912 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4913 * sysdeps/s390/rtld-__longjmp.c: New file.
4914 * sysdeps/s390/rtld-setjmp.S: New file.
4916 2014-01-06 Joseph Myers <joseph@codesourcery.com>
4919 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4920 Return -__logl (x) for small positive arguments without evaluating
4923 2014-01-06 Mike Frysinger <vapier@gentoo.org>
4925 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4927 (__ptrace_peeksiginfo_args): ... this.
4928 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4930 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4932 2014-01-06 Allan McRae <allan@archlinux.org>
4934 * inet/netinet/in.h: Fix typo in comment.
4936 2014-01-05 Andreas Jaeger <aj@suse.de>
4938 * sysdeps/i386/fpu/libm-test-ulps: Update.
4940 2014-01-05 Allan McRae <allan@archlinux.org>
4942 * po/libc.pot: Regenerated.
4944 * malloc/memusagestat.c: Fix gettext call formatting.
4946 2014-01-04 Sami Kerola <kerolasa@iki.fi>
4948 * nscd/nscd.c: Improve usage() output.
4950 2014-01-04 Mike Frysinger <vapier@gentoo.org>
4952 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4953 * sysdeps/unix/sysv/linux/configure: Regenerated.
4954 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4955 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4957 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4960 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4961 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4963 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4965 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4966 extra tokens at end of #undef directive.
4967 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4968 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4969 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4971 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4973 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4975 * math/auto-libm-test-in: Mark various tests with
4976 xfail-rounding:ldbl-128ibm.
4977 * math/auto-libm-test-out: Regenerated.
4979 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4982 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4983 numbers with subnormal high part when calculating exponent.
4986 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4990 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4992 (__ieee754_acoshl): Use __log1pl not __log1p.
4994 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
4996 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4997 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4998 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4999 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5000 Convert to GNU style.
5001 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5002 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5003 memalign_check, __malloc_set_state): Likewise.
5004 * malloc/mallocbug.c (main): Likewise.
5005 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5006 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5007 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5008 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5009 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5010 * malloc/malloc.h: Likewise.
5011 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5012 memalignhook, reallochook, mabort): Likewise.
5013 * malloc/mcheck.h: Likewise.
5014 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5015 mmap64, mremap, munmap, dest): Likewise.
5016 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5017 * malloc/morecore.c (__default_morecore): Likewise.
5018 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5019 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5020 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5021 print_and_abort): Likewise.
5022 * malloc/obstack.h: Likewise.
5023 * malloc/set-freeres.c (__libc_freeres): Likewise.
5024 * malloc/tst-mallocstate.c (main): Likewise.
5025 * malloc/tst-mtrace.c (main): Likewise.
5026 * malloc/tst-realloc.c (do_test): Likewise.
5028 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5031 * nscd/netgroupcache.c (do_notfound): New function.
5032 (addgetnetgrentX): Use it.
5035 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5036 NSS_STATUS_NOTFOUND.
5038 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5040 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5043 2014-01-01 Allan McRae <allan@archlinux.org>
5045 * scripts/update-copyrights: Update configure input file suffix.
5047 * NEWS: Update copyright year.
5048 * catgets/gencat.c: Likewise.
5049 * csu/version.c: Likewise.
5050 * debug/catchsegv.sh: Likewise.
5051 * debug/pcprofiledump.c: Likewise.
5052 * debug/xtrace.sh: Likewise.
5053 * elf/ldconfig.c: Likewise.
5054 * elf/ldd.bash.in: Likewise.
5055 * elf/pldd.c: Likewise.
5056 * elf/sotruss.ksh: Likewise.
5057 * elf/sprof.c: Likewise.
5058 * iconv/iconv_prog.c: Likewise.
5059 * iconv/iconvconfig.c: Likewise.
5060 * locale/programs/locale.c: Likewise.
5061 * locale/programs/localedef.c: Likewise.
5062 * login/programs/pt_chown.c: Likewise.
5063 * malloc/memusage.sh: Likewise.
5064 * malloc/memusagestat.c: Likewise.
5065 * malloc/mtrace.pl: Likewise.
5066 * manual/libc.texinfo: Likewise.
5067 * nscd/nscd.c: Likewise.
5068 * nss/getent.c: Likewise.
5069 * nss/makedb.c: Likewise.
5070 * posix/getconf.c: Likewise.
5071 * scripts/test-installation.pl: Likewise.
5073 * All files with FSF copyright notices: Update copyright dates
5074 using scripts/update-copyrights.
5075 * intl/plural.c: Regenerated.
5076 * locale/programs/charmap-kw.h: Likewise.
5077 * locale/programs/locfile-kw.h: Likewise.
5079 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5081 * sysdeps/unix/sysv/linux/configure: Regenerated.
5082 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5083 the linux/fanotify.h header.
5084 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5085 HAVE_LINUX_FANOTIFY_H is defined.
5087 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5089 * benchtests/cos-inputs: New inputs.
5090 * benchtests/sin-inputs: Likewise.
5092 * benchtests/atan-inputs: New inputs. Fix name of multiple
5093 precision fallback inputs.
5095 * benchtests/atanh-inputs: New inputs.
5096 * benchtests/tanh-inputs: Likewise.
5098 * benchtests/acosh-inputs: New inputs.
5099 * benchtests/asinh-inputs: Likewise.
5101 * benchtests/cosh-inputs: New inputs.
5102 * benchtests/sinh-inputs: Likewise.
5104 * benchtests/acos-inputs: Add more inputs.
5105 * benchtests/asin-inputs: Likewise.
5107 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5110 * manual/arith.texi: Fix spelling.
5111 * manual/charset.texi: Likewise.
5112 * manual/errno.texi: Likewise.
5113 * manual/filesys.texi: Likewise.
5114 * manual/lang.texi: Likewise.
5115 * manual/llio.texi: Likewise.
5116 * manual/locale.texi: Likewise.
5117 * manual/message.texi: Likewise.
5118 * manual/resource.texi: Likewise.
5119 * manual/search.texi: Likewise.
5120 * manual/setjmp.texi: Likewise.
5121 * manual/stdio.texi: Likewise.
5122 * manual/string.texi: Likewise.
5123 * manual/sysinfo.texi: Likewise.
5124 * manual/time.texi: Likewise.
5126 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5128 * po/sl.po: New file.
5130 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5132 * .gitignore: Add core/.gdbinit/.gdb_history.
5134 2013-12-27 Allan McRae <allan@archlinux.org>
5137 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5138 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5140 2013-12-24 Brooks Moses <bmoses@google.com>
5142 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5143 all compilers that claim C++98 compliance, not just GCC.
5144 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5147 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5149 * NEWS: Restore accidentally deleted bug-fix entries.
5151 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5152 Ondřej Bílka <neleai@seznam.cz>
5155 * malloc/malloc.c (_int_free): Perform sanity check only if we
5158 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5161 * manual/stdio.texi (String Input Conversions): Clarify that character
5162 classes are not supported.
5164 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5168 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5171 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5172 Calculate results for small negative arguments directly rather
5173 than using reflection formula with special underflow handling.
5175 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5176 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5177 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5178 (fchflags): Likewise.
5180 (setlogin): Likewise.
5181 (sigaltstack): Likewise.
5184 (sigsetmask): Likewise.
5186 (waitpid): Likewise.
5187 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5188 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5190 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5191 * sysdeps/unix/bsd/Makefile: ... here.
5192 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5193 * sysdeps/unix/bsd/Versions: ... here.
5194 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5195 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5196 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5197 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5198 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5199 * sysdeps/unix/bsd/sigblock.c: ... here.
5200 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5201 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5202 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5203 * sysdeps/unix/bsd/sigvec.c: ... here.
5204 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5205 * sysdeps/unix/bsd/tcdrain.c: ... here.
5206 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5207 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5208 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5209 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5210 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5211 * sysdeps/unix/bsd/wait.c: ... here.
5212 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5213 * sysdeps/unix/bsd/wait3.c: ... here.
5214 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5215 * sysdeps/unix/bsd/waitpid.c: ... here.
5217 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5220 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5221 round-to-nearest for [!USE_AS_EXPM1L].
5222 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5223 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5224 more tests of exp and exp10. Expect some exp10 tests to miss
5225 exceptions or fail in directed rounding modes.
5226 * math/auto-libm-test-out: Regenerated.
5227 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5228 (exp10_test_tonearest): New function.
5229 (exp10_towardzero_test_data): New array.
5230 (exp10_test_towardzero): New function.
5231 (exp10_downward_test_data): New array.
5232 (exp10_test_downward): New function.
5233 (exp10_upward_test_data): New array.
5234 (exp10_test_upward): New function.
5235 (main): Call the new functions.
5236 * sysdeps/i386/fpu/libm-test-ulps: Update.
5237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5239 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5241 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5242 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5243 * math/auto-libm-test-out: Regenerated.
5244 * math/libm-test.inc (acosh_test_data): Add more tests.
5245 (atanh_test_data): Likewise.
5246 (ceil_test_data): Likewise.
5247 (copysign_test_data): Likewise.
5248 * sysdeps/i386/fpu/libm-test-ulps: Update.
5249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5251 * timezone/checktab.awk: Update from tzcode 2013i.
5252 * timezone/private.h: Likewise.
5253 * timezone/scheck.c: Likewise.
5254 * timezone/tzfile.h: Likewise.
5255 * timezone/tzselect.ksh: Likewise.
5256 * timezone/zdump.c: Likewise.
5257 * timezone/zic.c: Likewise.
5259 * math/auto-libm-test-in: Add tests of cpow.
5260 * math/auto-libm-test-out: Regenerated.
5261 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5262 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5264 (func_calc_desc): Add mpc_cc_c union field.
5265 (test_functions): Add cpow.
5266 (special_fill_2pi): New function.
5267 (special_real_inputs): Add 2pi.
5268 (calc_generic_results): Handle mpc_cc_c.
5269 * sysdeps/i386/fpu/libm-test-ulps: Update.
5270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5272 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5273 csqrt, ctan and ctanh.
5274 * math/auto-libm-test-out: Regenerated.
5275 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5276 (TEST_COND_x86): Likewise.
5277 (ccos_test_data): Use AUTO_TESTS_c_c.
5278 (ccosh_test_data): Likewise.
5279 (cexp_test_data): Likewise.
5280 (clog_test_data): Likewise.
5281 (csqrt_test_data): Likewise.
5282 (ctan_test_data): Likewise.
5283 (ctan_tonearest_test_data): Likewise.
5284 (ctan_towardzero_test_data): Likewise.
5285 (ctan_downward_test_data): Likewise.
5286 (ctan_upward_test_data): Likewise.
5287 (ctanh_test_data): Likewise.
5288 (ctanh_tonearest_test_data): Likewise.
5289 (ctanh_towardzero_test_data): Likewise.
5290 (ctanh_downward_test_data): Likewise.
5291 (ctanh_upward_test_data): Likewise.
5292 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5294 (func_calc_desc): Add mpc_c_c union field.
5295 (FUNC_mpc_c_c): New macro.
5296 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5297 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5299 (special_fill_min_subnorm_p120): New function.
5300 (special_real_inputs): Add min_subnorm_p120.
5301 (calc_generic_results): Handle mpc_c_c.
5302 * sysdeps/i386/fpu/libm-test-ulps: Update.
5303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5305 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5307 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5308 do_sin_slow): New functions.
5309 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5310 cslow2, csloww1, csloww2): Use the new functions.
5312 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5313 Use M to change sign of result instead of X. Assume X is
5315 (csloww1): Likewise.
5319 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5324 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5326 (sloww1): Don't adjust sign of DX.
5327 (csloww1): Likewise.
5328 (sloww2): Use X directly and don't adjust sign of DX.
5329 (csloww2): Likewise.
5331 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5333 * math/auto-libm-test-in: Add tests of cabs and carg.
5334 * math/auto-libm-test-out: Regenerated.
5335 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5336 (carg_test_data): Likewise.
5337 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5339 (func_calc_desc): Add mpc_c_f union field.
5340 (test_functions): Add cabs and carg.
5341 (calc_generic_results): Handle mpc_c_f.
5343 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5344 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5345 as a macro and a compat symbol.
5346 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5347 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5348 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5349 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5350 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5351 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5353 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5355 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5357 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5359 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5361 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5363 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5364 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5367 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5371 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5373 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5374 trailing whitespace removed.
5375 * scripts/config.guess: Update to version 2013-11-29.
5376 * scripts/config.sub: Update to version 2013-10-01.
5378 * math/auto-libm-test-in: Add tests of sincos.
5379 * math/auto-libm-test-out: Regenerated.
5380 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5381 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5383 (func_calc_desc): Add mpfr_f_11 union field.
5384 (test_functions): Add sincos.
5385 (calc_generic_results): Handle mpfr_f_11.
5386 * sysdeps/i386/fpu/libm-test-ulps: Update.
5387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5389 2013-12-19 Andreas Schwab <schwab@suse.de>
5391 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5393 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5394 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5395 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5397 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5399 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5400 * sysdeps/i386/fpu/libm-test-ulps: Update.
5401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5404 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5405 round-to-nearest mode when using frndint.
5406 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5407 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5408 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5410 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5412 * math/auto-libm-test-out: Regenerated.
5413 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5414 (TEST_COND_x86): Likewise.
5415 (expm1_tonearest_test_data): New array.
5416 (expm1_test_tonearest): New function.
5417 (expm1_towardzero_test_data): New array.
5418 (expm1_test_towardzero): New function.
5419 (expm1_downward_test_data): New array.
5420 (expm1_test_downward): New function.
5421 (expm1_upward_test_data): New array.
5422 (expm1_test_upward): New function.
5423 (main): Run the new test functions.
5424 * sysdeps/i386/fpu/libm-test-ulps: Update.
5425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5427 * include/features.h: Update comment documenting feature test
5428 macros. Mention _DEFAULT_SOURCE in comment.
5429 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5430 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5431 _BSD_SOURCE and _SVID_SOURCE.
5432 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5433 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5434 !_SVID_SOURCE]: Likewise.
5435 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5436 (__USE_POSIX_IMPLICITLY): Define.
5437 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5438 (_POSIX_SOURCE): Undefine and redefine.
5439 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5440 (_POSIX_C_SOURCE): Likewise.
5441 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5442 (Feature Test Macros): Update documentation of default features.
5444 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5446 * benchtests/Makefile: Add bench-strtok.
5447 * benchtests/bench-strtok.c: New file: strtok benchtest.
5449 2013-12-19 Allan McRae <allan@archlinux.org>
5451 * manual/install.texi: Suppress menu for plain text output.
5452 * INSTALL: Regenerated.
5454 2013-12-18 Brooks Moses <bmoses@google.com>
5457 * misc/getauxval.c: Include errno.h.
5458 (__getauxval): Set errno to ENOENT if the requested type is not
5460 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5461 don't declare with __attribute_const__.
5462 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5463 * manual/startup.texi: Document that getauxval sets errno.
5465 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5467 * math/auto-libm-test-in: Add tests of jn and yn.
5468 * math/auto-libm-test-out: Regenerated.
5469 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5470 (yn_test_data): Likewise.
5471 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5473 (func_calc_desc): Add mpfr_if_f union field.
5474 (FUNC_mpfr_if_f): New macro.
5475 (test_functions): Add jn and yn.
5476 (calc_generic_results): Assert type of second input for
5477 mpfr_ff_f. Handle mpfr_if_f.
5478 (output_for_one_input_case): Disable all checking for arguments
5479 fitting floating-point types in case of an integer argument.
5480 * sysdeps/i386/fpu/libm-test-ulps: Update.
5481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5484 Don't expect fegetround reference in libm.so.
5486 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5488 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5489 $(config-cflags-nofma).
5491 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5493 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5494 * math/auto-libm-test-out: Regenerated.
5497 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5498 to determine exponent and adjust argument to have exponent of -1.
5499 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5501 * math/auto-libm-test-out: Regenerated.
5502 * sysdeps/i386/fpu/libm-test-ulps: Update.
5503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5505 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5507 * manual/probes.texi: Remove cases when per-thread arenas are
5510 2013-12-18 Andreas Schwab <schwab@suse.de>
5512 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5513 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5514 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5515 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5516 * sysdeps/i386/i686/multiarch/Makefile: Update.
5517 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5519 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5521 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5522 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5524 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5527 Support TZ transition times < 00:00:00.
5528 This is needed for version-3 tz-format files; it supports time
5529 stamps past 2037 for America/Godthab (the only entry in the tz
5530 database for which this change is relevant).
5531 * manual/time.texi (TZ Variable): Document transition times
5532 from -167:59:59 through -00:00:01.
5533 * time/tzset.c (tz_rule): Time of day is now signed.
5534 (__tzset_parse_tz): Parse negative time of day.
5536 Document TZ transition times >= 25:00:00.
5537 * manual/time.texi (TZ Variable): Document transition times from
5538 25:00:00 through 167:59:59. These are already supported, and this
5539 support will help with version-3 tz-format files.
5541 * manual/time.texi (TZ Variable): Modernize North America example
5542 to reflect current (i.e., 2007-and-later) daylight saving rules.
5544 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5546 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5548 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5549 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5550 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5551 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5552 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5553 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5554 * sysdeps/unix/bsd/clock.c: Likewise.
5555 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5556 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5557 * sysdeps/unix/bsd/init-posix.c: Likewise.
5558 * sysdeps/unix/bsd/poll.c: Likewise.
5559 * sysdeps/unix/bsd/ptsname.c: Likewise.
5560 * sysdeps/unix/bsd/seekdir.c: Likewise.
5561 * sysdeps/unix/bsd/setegid.c: Likewise.
5562 * sysdeps/unix/bsd/seteuid.c: Likewise.
5563 * sysdeps/unix/bsd/setgid.c: Likewise.
5564 * sysdeps/unix/bsd/setrgid.c: Likewise.
5565 * sysdeps/unix/bsd/setruid.c: Likewise.
5566 * sysdeps/unix/bsd/setsid.c: Likewise.
5567 * sysdeps/unix/bsd/setuid.c: Likewise.
5568 * sysdeps/unix/bsd/sigaction.c: Likewise.
5569 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5570 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5571 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5572 * sysdeps/unix/bsd/telldir.c: Likewise.
5573 * sysdeps/unix/bsd/times.c: Likewise.
5574 * sysdeps/unix/bsd/usleep.c: Likewise.
5576 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5577 ($(objpfx)libbsd-compat.a): Remove rule.
5579 * include/features.h (__FAVOR_BSD): Do not define.
5580 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5581 features conflicting with POSIX.
5582 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5583 (_BSD_SOURCE): Remove description of not being a subset of other
5584 feature test macros.
5585 * manual/job.texi (getpgrp): Do not document BSD version.
5586 (getpgid): Do not document by reference to BSD getpgrp.
5587 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5588 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5589 * signal/signal.h [__FAVOR_BSD]: Likewise.
5590 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5591 instead of making contents conditional on [__FAVOR_BSD].
5592 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5594 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5598 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5601 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5602 values below 2**-450, not 2**-500.
5603 * math/auto-libm-test-in: Don't allow spurious underflow from
5605 * math/auto-libm-test-out: Regenerated.
5609 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5610 values of ha and hb and sort them after adjusting subnormal
5612 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5614 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5615 values of ea and eb and sort them after adjusting subnormal
5617 * math/auto-libm-test-in: Do not expect some hypot tests of
5618 subnormals to fail. Add more hypot tests.
5619 * math/auto-libm-test-out: Regenerated.
5621 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5624 * sysdeps/sh/s_fma.c: New file.
5625 * sysdeps/sh/s_fmaf.c: New file.
5626 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5628 * sysdeps/sh/Implies: Add sh/soft-fp.
5630 2013-12-16 Roland McGrath <roland@hack.frob.com>
5632 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5633 level of indirection to members `objname', `errstring', `malloced'.
5634 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5635 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5636 it as the __longjmp argument (just pass 1 instead).
5637 (_dl_catch_error): Initialize C with argument pointers and address of
5638 volatile local ERRCODE rather than copying values out of C at return.
5640 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5642 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5643 * math/auto-libm-test-out: Regenerated.
5644 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5645 (hypot_test_data): Likewise.
5646 (pow_test_data): Likewise.
5647 (pow_tonearest_test_data): Likewise.
5648 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5650 (func_calc_desc): Add mpfr_ff_f union field.
5651 (FUNC_mpfr_ff_f): New macro.
5652 (test_functions): Add atan2, hypot and pow.
5653 (special_fill_min): New function.
5654 (special_fill_minus_min): Likewise.
5655 (special_fill_min_subnorm): Likewise.
5656 (special_fill_minus_min_subnorm): Likewise.
5657 (special_real_inputs): Add min, -min, min_subnorm and
5659 (calc_generic_results): Handle mpfr_ff_f.
5660 * sysdeps/i386/fpu/libm-test-ulps: Update.
5661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5663 2013-12-16 Will Newton <will.newton@linaro.org>
5665 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5666 (Aligned Memory Blocks): Add documentation for aligned_alloc
5667 and suggest it as an alternative to posix_memalign.
5668 (Hooks for Malloc): Document __memalign_hook is also called
5669 for aligned_alloc. (Summary of Malloc): Add summary for
5670 aligned alloc. Document __memalign_hook is also called
5673 2013-12-16 Will Newton <will.newton@linaro.org>
5675 * manual/memory.texi (Malloc Examples): Clarify default
5676 alignment documentation. Suggest posix_memalign rather
5677 than memalign or valloc.
5678 (Aligned Memory Blocks): Remove suggestion to use memalign
5679 or valloc. Remove obsolete comment about BSD.
5680 Document memalign errno values and mark the function obsolete.
5681 Document posix_memalign returned error codes. Mark valloc
5682 as obsolete. (Hooks for Malloc): __memalign_hook is also
5683 called for posix_memalign and valloc.
5684 (Summary of Malloc): Add posix_memalign to function summary.
5685 __memalign_hook is also called for posix_memalign and valloc.
5687 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5689 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5693 (sloww): Use mynumber union. Expand ternary operator into
5695 (cslow): use mynumber union.
5697 2013-12-16 Allan McRae <allan@archlinux.org>
5699 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5700 * configure: Regenerated.
5702 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5705 * configure.ac: Added --enable-maintainer-mode. Check for
5706 autoconf when enabled.
5707 * configure: Regenerated.
5709 * nscd/nscd.service: New file.
5710 * nscd/nscd.tmpfiles: New file.
5712 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
5715 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5716 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5717 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5718 (strstr): Add __strstr_sse2_unaligned ifunc.
5719 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5720 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5721 (strcasestr): Remove __strcasestr_sse42 ifunc.
5722 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5723 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5726 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5728 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5729 * sysdeps/sh/bits/fenv.h: ... here.
5730 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5732 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5734 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5736 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5738 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5739 hypotf multiarch implementations.
5740 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5741 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5742 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5743 multiarch hypot for PPC64.
5744 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5745 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5746 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5747 multiarch hypotf for PPC64.
5749 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5751 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5752 modff multiarch implementations.
5753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5756 multiarch modf for PPC64.
5757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5760 multiarch modff for PPC64.
5762 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5764 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5765 and logl multiarch implementations.
5766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5769 multiarch logb for PPC64.
5770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5773 multiarch logb for PPC64.
5774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5777 multiarch logb for PPC64.
5779 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5781 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5782 isinff multiarch implementation.
5783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5787 multiarch isinf for PPC64.
5788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5791 multiarch isinff for PPC64.
5793 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5796 finitef multiarch implementation.
5797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5801 multiarch finite for PPC64.
5802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5805 multiarch finitef for PPC64.
5807 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5809 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5810 lrint multiarch implementation.
5811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5815 multiarch llrint for PPC64.
5816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5817 multiarch lrint for PPC64.
5819 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5822 copysignf multiarch implementation.
5823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5828 multiarch copysign for PPC64.
5829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5830 multiarch copysignf for PPC64.
5832 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5835 multiarch implementation.
5836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5844 multiarch llround for PPC64.
5845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5846 multiarch trunc for PPC64.
5847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5848 multiarch truncf for PPC64.
5850 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5852 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5853 multiarch implementation.
5854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5862 multiarch llround for PPC64.
5863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5864 multiarch round for PPC64.
5865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5866 multiarch roundf for PPC64.
5868 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5871 multiarch implementation.
5872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5880 multiarch llround for PPC64.
5881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5882 multiarch floor for PPC64.
5883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5884 multiarch floorf for PPC64.
5886 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5888 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5889 multiarch implementation.
5890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5898 multiarch llround for PPC64.
5899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5900 multiarch ceil for PPC64.
5901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5902 multiarch ceilf for PPC64.
5904 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5906 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5907 multiarch implementation.
5908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5915 multiarch llround for PPC64.
5916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5917 multiarch lround for PPC64.
5919 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5922 multiarch implementation.
5923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5930 multiarch isnan for PPC64.
5931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5932 multiarch isnanf for PPC64.
5934 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5936 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5937 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5938 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5939 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5940 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5943 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5945 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5946 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5947 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5948 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5950 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5953 multiarch implementations.
5954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5955 (__libc_ifunc_impl_list): Likewise.
5956 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5957 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5958 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5959 multiarch stpcpy for PPC64.
5961 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5963 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5964 multiarch implementations.
5965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5966 (__libc_ifunc_impl_list): Likewise.
5967 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5968 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5969 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5970 multiarch strcpy for PPC64.
5972 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5974 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5975 redefine function name.
5976 (_wordcopy_fwd_dest_aligned): Likewise.
5977 (_wordcopy_bwd_aligned): Likewise.
5978 (_wordcopy_bwd_dest_aligned): Likewise.
5979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5980 multiarch implementations.
5981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5982 (__libc_ifunc_impl_list): Likewise.
5983 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5984 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5985 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5986 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5987 multiarch wcscpy for PPC64.
5989 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5992 multiarch implementations.
5993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5994 (__libc_ifunc_impl_list): Likewise.
5995 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5996 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5997 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5998 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5999 multiarch wcscpy for PPC64.
6001 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6004 multiarch implementations.
6005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6006 (__libc_ifunc_impl_list): Likewise.
6007 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6008 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6009 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6010 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6011 multiarch wcsrchr for PPC64.
6013 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6016 multiarch implementations.
6017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6018 (__libc_ifunc_impl_list): Likewise.
6019 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6020 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6021 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6022 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6023 multiarch wcschr for PPC64.
6025 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6028 multiarch implementations.
6029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6030 (__libc_ifunc_impl_list): Likewise.
6031 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6032 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6033 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6034 multiarch strchrnul for PPC64.
6036 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6041 (__libc_ifunc_impl_list): Likewise.
6042 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6043 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6044 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6045 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6048 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6050 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6053 (__libc_ifunc_impl_list): Likewise.
6054 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6055 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6056 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6057 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6060 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6063 multiarch implementations.
6064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6065 (__libc_ifunc_impl_list): Likewise.
6066 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6067 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6068 strncasecmp for PPC64.
6069 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6070 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6071 multiarch strncasecmp_l for PPC64.
6073 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6076 multiarch implementations.
6077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6078 (__libc_ifunc_impl_list): Likewise.
6079 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6080 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6081 multiarch strcasecmp for PPC64.
6082 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6084 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6085 multiarch strcasecmp_l for PPC64.
6087 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6092 (__libc_ifunc_impl_list): Likewise.
6093 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6094 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6095 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6098 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6103 (__libc_ifunc_impl_list): Likewise.
6104 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6105 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6106 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6109 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6114 (__libc_ifunc_impl_list): Likewise.
6115 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6116 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6117 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6118 rawmemrchr for PPC64.
6120 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6122 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6124 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6125 (__libc_ifunc_impl_list): Likewise.
6126 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6127 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6128 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6131 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6136 (__libc_ifunc_impl_list): Likewise.
6137 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6138 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6139 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6142 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6144 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6147 (__libc_ifunc_impl_list): Likewise.
6148 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6149 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6150 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6153 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6155 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6156 avoid cretion of __bzero symbol.
6157 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6159 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6161 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6164 multiarch implementations.
6165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6166 (__libc_ifunc_impl_list): Likewise.
6167 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6168 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6169 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6170 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6172 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6173 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6174 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6175 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6176 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6178 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6180 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6182 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6186 (__libc_ifunc_impl_list): Likewise.
6187 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6188 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6189 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6190 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6193 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6196 multiarch for POWER/PPC64.
6197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6198 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6199 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6200 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6201 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6202 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6203 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6204 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6205 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6208 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6210 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6211 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6212 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6213 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6214 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6215 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6216 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6217 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6218 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6219 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6220 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6221 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6222 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6223 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6224 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6233 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6235 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6237 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6239 * benchtests/Makefile (bench): Add exp2 and log2.
6240 (LDLIBS-bench-exp2): Add -lm.
6241 (LDLIBS-bench-log2): Likewise.
6242 * benchtests/exp2-inputs: New inputs file.
6243 * benchtests/log2-inputs: New inputs file.
6244 * benchtests/log-inputs: Add new inputs.
6245 * benchtests/tan-inputs: Likewise.
6247 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6249 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6251 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6252 csloww1, csloww2): ... from here.
6254 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6255 instead of structures.
6256 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6257 (POLYNOMIAL): Likewise.
6258 (TAYLOR_SLOW): Likewise.
6266 (bsloww1): Likewise.
6267 (bsloww2): Likewise.
6270 (csloww1): Likewise.
6271 (csloww2): Likewise.
6273 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6275 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6276 (__malloc_assert, __libc_realloc, __libc_calloc,
6277 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6279 * malloc/hooks.c (realloc_check): Likewise.
6281 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6283 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6284 * malloc/arena.c: Remove PER_THREAD conditional.
6285 [!PER_THREAD]: Remove code.
6286 (ptmalloc_unlock_all2): Likewise.
6287 (ptmalloc_init): Likewise.
6288 (_int_new_arena): Likewise.
6289 (arena_get2): Likewise.
6290 * malloc/hooks.c (__malloc_get_state): Likewise.
6291 (__malloc_set_state): Likewise.
6292 * malloc/malloc.c: Likewise.
6293 (struct malloc_state): Likewise.
6294 (struct malloc_par): Likewise.
6295 (__libc_realloc): Likewise.
6296 (__libc_mallopt): Likewise.
6298 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6300 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6302 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6304 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6305 macro to a function. Check for zero perturb_byte.
6306 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6308 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6310 * malloc/malloc.c: (force_reg): Remove.
6311 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6312 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6313 force_reg by atomic_forced_read.
6314 * malloc/arena.c (ptmalloc_init): Likewise.
6315 * malloc/hooks.c (top_check): Likewise.
6317 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6321 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6325 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6327 * math/auto-libm-test-in: Add tests of lgamma.
6328 * math/auto-libm-test-out: Regenerated.
6329 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6330 (M_LOG_2_SQRT_PIl): Likewise.
6331 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6332 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6334 (func_calc_desc): Add mpfr_f_f1 union field.
6343 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6344 (test_functions): Add lgamma.
6345 (calc_generic_results): Handle mpfr_f_f1.
6346 * sysdeps/i386/fpu/libm-test-ulps: Update.
6347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6349 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6351 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6352 __mpn_add_n for PowerPC64/POWER7.
6353 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6354 __mpn_sub_n for PowerPC64/POWER7.
6356 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6358 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6359 __mpn_addmul_1 for PowerPC64.
6360 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6361 __mpn_submul_1 for PowerPC64.
6362 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6364 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6367 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6370 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6372 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6374 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6376 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6378 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6379 add multiarch folders.
6380 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6381 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6382 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6383 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6384 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6385 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6386 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6387 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6388 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6389 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6390 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6398 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6401 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6407 multiarch __ieee754_hypot for PowerPC32.
6408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6413 multiarch __ieee754_hypotf for PowerPC32.
6415 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6417 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6418 long_double_symbol only if __logbl is defined.
6419 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6420 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6421 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6422 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6423 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6424 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6425 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6426 path for implementation.
6427 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6428 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6430 logb, and logbl multiarch implementations for PowerPC32.
6431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6436 multiarch logb for PowerPC32.
6437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6442 multiarch logbf for PowerPC32.
6443 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6447 multiarch logbl implementation for PowerPC32.
6449 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6452 and modff multiarch implementations.
6453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6458 multiarch modf for PowerPC32.
6459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6464 multiarch modff for PowerPC32.
6466 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6469 and lrintf multiarch implementations.
6470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6475 multiarch lrint for PowerPC32.
6476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6477 file: multiarch lrintf for PowerPC32.
6479 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6482 and lroundf multiarch implementations.
6483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6490 multiarch lround for PowerPC32.
6491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6492 file: multiarch lroundf for PowerPC32.
6494 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6497 copysign and copysignf multiarch implementations.
6498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6503 file: multiarch copysign for PowerPC32.
6504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6505 file: multiarch copysignf for PowerPC32.
6507 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6510 and truncf multiarch implementations.
6511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6516 multiarch trunc for PowerPC32.
6517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6522 multiarch truncf for PowerPC32.
6524 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6527 and roundf multiarch implementations.
6528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6533 multiarch round for PowerPC32.
6534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6539 multiarch roundf for PowerPC32.
6541 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6544 and floorf multiarch implementations.
6545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6550 multiarch floor for PowerPC32.
6551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6556 multiarch floorf for PowerPC32.
6558 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6561 and ceilf multiarch implementations.
6562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6567 multiarch ceil for PowerPC32.
6568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6573 multiarch ceilf for PowerPC32.
6575 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6577 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6579 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6582 and finitef multiarch implementations.
6583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6588 multiarch finite for PowerPC32.
6589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6592 file: multiarch finitef for PowerPC32.
6594 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6597 and isinff multiarch implementations.
6598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6603 multiarch isinf for PowerPC32.
6604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6607 multiarch isinff for PowerPC32.
6609 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6611 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6612 alias when __isnan is defined.
6613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6614 and isnanf multiarch implementations.
6615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6624 multiarch isnan for PowerPC32.
6625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6630 multiarch isnanf for PowerPC32.
6632 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6635 and sqrtf multiarch implementations.
6636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6641 multiarch sqrt for PowerPC32.
6642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6647 multiarch sqrtf for PowerPC32.
6649 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6652 and llroundf multiarch implementations.
6653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6660 file: multiarch llround for PowerPC32.
6661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6662 file: multiarch llroundf for PowerPC32.
6664 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6667 multiarch PowerPC32 fpu implementations.
6668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6673 multiarch llrint for PowerPC32.
6674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6681 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6685 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6687 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6689 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6691 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6693 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6694 multiarch wordcopy for PPC32.
6695 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6698 (__libc_ifunc_impl_list): Likewise.
6699 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6700 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6701 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6702 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6703 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6704 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6706 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6708 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6709 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6711 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6713 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6716 multiarch wcscpy for PPC32.
6717 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6719 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6720 (__libc_ifunc_impl_list): Likewise.
6721 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6722 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6723 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6724 sysdeps/powerpc/power6/wcscpy.c.
6726 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6728 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6729 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6731 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6733 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6735 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6736 multiarch wcsrchr for PPC32.
6737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6739 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6740 (__libc_ifunc_impl_list): Likewise.
6741 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6742 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6743 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6744 sysdeps/powerpc/power6/wcsrchr.c.
6746 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6748 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6750 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6752 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6754 multiarch wcschr for PPc32.
6755 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6757 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6758 (__libc_ifunc_impl_list): Likewise.
6759 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6760 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6761 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6762 sysdeps/powerpc/power6/wcschr.c.
6764 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6766 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6767 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6769 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6770 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6771 file: multiarch strchr for PPC32.
6772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6774 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6775 (__libc_ifunc_impl_list): Likewise.
6777 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6779 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6781 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6783 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6785 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6786 multiarch strchrnul for PPC32.
6787 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6789 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6790 (__libc_ifunc_impl_list): Likewise.
6792 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6794 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6796 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6797 multiarch strncasecmp for PPC32.
6798 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6800 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6801 multiarch strncasecmp_l for PPC32.
6802 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6803 strncasecmp multiarch objects.
6804 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6805 (__libc_ifunc_impl_list): Likewise.
6807 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6809 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6811 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6812 multiarch strncasecmp for PPC32.
6813 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6815 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6816 multiarch strcasecmp_l for PPC32.
6817 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6819 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6820 (__libc_ifunc_impl_list): Likewise.
6822 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6824 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6826 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6828 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6829 multiarch strncmp for PPC32.
6830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6833 (__libc_ifunc_impl_list): Likewise.
6835 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6837 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6838 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6840 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6841 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6845 (__libc_ifunc_impl_list): Likewise.
6847 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6849 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6851 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6853 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6857 (__libc_ifunc_impl_list): Likewise.
6859 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6861 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6863 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6865 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6866 multiarch rawmemchr for PPC32.
6867 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6869 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6870 (__libc_ifunc_impl_list): Likewise.
6872 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6874 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6876 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6878 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6879 file: memrchr multiarch for PPC32.
6880 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6882 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6883 (__libc_ifunc_impl_list): Likewise.
6885 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6887 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6888 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6890 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6891 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6892 multiarch memchr for PPC32.
6893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6896 (__libc_ifunc_impl_list): Likewise.
6898 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6900 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6901 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6903 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6905 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6906 file: multiarch mempcpy for PPC32.
6907 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6910 (__libc_ifunc_impl_list): Likewise.
6912 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6914 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6915 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6916 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6917 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6918 multiarch bzero for PPC32.
6919 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6921 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6923 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6924 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6925 file: multiarch memset for PPC32.
6926 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6927 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6928 memset multiarch objects.
6929 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6930 (__libc_ifunc_impl_list): Likewise.
6932 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6934 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6936 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6937 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6939 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6943 (__libc_ifunc_impl_list): Likewise.
6945 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6947 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6948 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6949 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6951 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6953 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6955 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6956 multiarch memcpy for PPC32.
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6960 (__libc_ifunc_impl_list): Likewise.
6962 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6965 support multiarch for POWER/PPC32.
6966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6970 Implies file to make multiarch folder appers before the fpu and
6971 default folder for power4 configuration.
6973 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6975 * scripts/bench.pl: Append volatile keyword to type.
6977 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6979 * sysdeps/sh/sotruss-lib.c: New file.
6980 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6982 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6986 2013-12-05 Joseph Myers <joseph@codesourcery.com>
6989 * math/w_tgamma.c: Include <errno.h>.
6990 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6991 * math/w_tgammaf.c: Include <errno.h>.
6992 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6993 * math/w_tgammal.c: Include <errno.h>.
6994 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6995 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6996 underflow. Add more tgamma tests.
6997 * math/auto-libm-test-out: Regenerated.
6998 * sysdeps/i386/fpu/libm-test-ulps: Update.
6999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7001 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7002 sin, sinh, tan, tanh, tgamma, y0 and y1.
7003 * math/auto-libm-test-out: Regenerated.
7004 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7005 (TEST_COND_x86): Likewise.
7006 (M_E2l): Remove macro.
7008 (M_2_SQRT_PIl): Likewise.
7009 (M_SQRT_PIl): Likewise.
7010 (M_1_DIV_El): Likewise.
7011 (log_test_data): Use AUTO_TESTS_f_f.
7012 (log10_test_data): Likewise.
7013 (log1p_test_data): Likewise.
7014 (log2_test_data): Likewise.
7015 (sin_test_data): Likewise.
7016 (sin_tonearest_test_data): Likewise.
7017 (sin_towardzero_test_data): Likewise.
7018 (sin_downward_test_data): Likewise.
7019 (sin_upward_test_data): Likewise.
7020 (sinh_test_data): Likewise.
7021 (sinh_tonearest_test_data): Likewise.
7022 (sinh_towardzero_test_data): Likewise.
7023 (sinh_downward_test_data): Likewise.
7024 (sinh_upward_test_data): Likewise.
7025 (tan_test_data): Likewise.
7026 (tan_tonearest_test_data): Likewise.
7027 (tan_towardzero_test_data): Likewise.
7028 (tan_downward_test_data): Likewise.
7029 (tan_upward_test_data): Likewise.
7030 (tanh_test_data): Likewise.
7031 (tgamma_test_data): Likewise.
7032 (y0_test_data): Likewise.
7033 (y1_test_data): Likewise.
7034 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7035 (special_real_inputs): Add pi/4.
7036 * sysdeps/i386/fpu/libm-test-ulps: Update.
7037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7039 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7041 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7042 "longjmp_target" static probes.
7043 (__longjmp): Rename to __longjmp_symbol.
7044 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7045 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7046 on which longjmp to generate.
7047 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7048 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7050 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7051 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7052 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7053 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7054 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7055 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7057 __longjmp_symbol based on which __longjmp to generate.
7058 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7060 (setjmp): Rename to setjmp_symbol.
7061 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7062 (_setjmp): Rename to _setjmp_symbol.
7063 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7064 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7065 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7066 which setjmp to generate.
7067 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7068 "longjmp_target" static probes.
7070 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7072 * benchtests/README: Add note about output arguments.
7073 * benchtests/bench-sincos.c: Remove file.
7074 * benchtests/sincos-inputs: New file.
7075 * scripts/bench.pl: Identify output arguments and define
7076 static variables for them.
7078 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7081 * Makefile (INSTALL): Add install-plain.texi as the primary
7083 * manual/install-plain.texi: New file.
7084 * manual/install.texi: Include node directive only for
7085 non-plaintext output.
7087 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7089 * stdlib/longlong.h: Update from GCC.
7093 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7094 * math/w_j0f.c (y0f): Likewise.
7095 * math/w_j0l.c (__y0l): Likewise.
7096 * math/w_j1.c (y1): Likewise.
7097 * math/w_j1f.c (y1f): Likewise.
7098 * math/w_j1l.c (__y1l): Likewise
7099 * math/w_jn.c (yn): Likewise.
7100 * math/w_jnf.c (ynf): Likewise.
7101 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7102 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7103 value for Bessel function domain errors outside _SVID_ mode.
7104 Adjust sign of return value for yn (negative integer, 0).
7105 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7106 by zero in return for negative x and set sign appropriately for
7108 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7109 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7110 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7111 expectations in error cases.
7112 (y1_test_data): Likewise.
7113 (yn_test_data): Likewise.
7114 * sysdeps/i386/fpu/libm-test-ulps: Update.
7115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7117 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7119 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7120 "64" to "64-v1". Add "64-v2".
7121 (abi-64-options): Rename to ...
7122 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7123 (abi-64-condition): Rename to ...
7124 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7125 (abi-64-ld-soname): Rename to ...
7126 (abi-64-v1-ld-soname): ... this.
7127 (abi-64-v2-options): Define.
7128 (abi-64-v2-condition): Likewise.
7129 (abi-64-v2-ld-soname): Likewise.
7130 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7131 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7136 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7137 Alan Modra <amodra@gmail.com>
7139 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7140 New versions for use with the ELFv2 ABI.
7141 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7142 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7144 (struct La_ppc64v2_retval): Likewise.
7145 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7146 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7147 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7148 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7149 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7150 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7151 Do not save or restore CR.
7152 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7153 (_dl_profile_resolve): Do no save or restore CR. Support extended
7154 return values for ELFv2 ABI. Fix location of FPR return registers.
7155 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7156 updated values for _CALL_ELF == 2.
7157 (La_regs, La_retval, int_retval): Likewise.
7159 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7161 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7162 (FRAME_MIN_SIZE_PARM): Likewise.
7163 (FRAME_BACKCHAIN): Likewise.
7164 (FRAME_CR_SAVE): Likewise.
7165 (FRAME_LR_SAVE): Likewise.
7166 (FRAME_TOC_SAVE): Likewise.
7167 (FRAME_PARM_SAVE): Likewise.
7168 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7169 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7170 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7171 (call_mcount_parm_offset): New macro.
7172 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7173 (PROF): Use symbolic stack frame offsets.
7174 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7175 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7176 Redefine in terms of FRAME_MIN_SIZE.
7177 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7178 (_dl_profile_resolve): Likewise. Update comment.
7179 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7180 symbols stack frame offsets.
7181 (__sigsetjmp): Likewise.
7182 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7183 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7184 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7185 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7188 (FRAME_BACKCHAIN): Remove.
7189 (FRAME_CR_SAVE): Likewise.
7190 (FRAME_LR_SAVE): Likewise.
7191 (FRAME_COMPILER_DW): Likewise.
7192 (FRAME_LINKER_DW): Likewise.
7193 (FRAME_TOC_SAVE): Likewise.
7194 (FRAME_PARM_SAVE): Likewise.
7195 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7196 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7197 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7199 (CHECK_SP): Use symbolic stack frame offsets.
7200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7201 zone" instead of caller's parameter save area for temp storage.
7202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7203 Likewise. Also, use symbolic stack frame offsets.
7204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7205 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7206 our own stack frame instead of the caller's.
7207 (__socket): Use symbolic stack frame offsets.
7209 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7210 Alan Modra <amodra@gmail.com>
7212 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7214 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7215 PPC64_LOCAL_ENTRY_OFFSET): Define.
7216 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7218 (elf_machine_fixup_plt): Call it.
7219 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7221 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7222 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7223 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7224 r2 before calling target.
7226 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7227 Alan Modra <amodra@gmail.com>
7229 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7230 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7231 versions of macros to support ELFv2 ABI.
7232 (LOCALENTRY): New macro.
7233 (ENTRY, EALIGN): Use it.
7234 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7235 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7236 fall through into ENTRY entry point.
7237 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7238 Only define if _CALL_ELF != 2.
7240 (elf_machine_matches_host): Verify ABI version matches.
7241 (RTLD_START): Use LOCALENTRY.
7242 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7243 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7244 (PLT_ENTRY_WORDS): New macro.
7245 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7246 (elf_machine_runtime_setup): Support ELFv2 ABI.
7247 (elf_machine_fixup_plt): Likewise.
7248 (elf_machine_plt_conflict): Likewise.
7249 (resolve_ifunc): Likewise.
7250 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7251 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7254 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7256 (makecontext): Support ELFv2 ABI.
7257 * elf/elf.h (EF_PPC64_ABI): Define.
7259 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7261 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7262 New assembler macro.
7263 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7264 [ASSEMBLER] (ENTRY): ... but instead here ...
7265 [ASSEMBLER] (EALIGN): ... and here.
7266 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7267 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7268 [!ASSEMBLER] (ENTRY_2): Use it.
7269 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7270 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7271 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7272 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7273 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7275 Use PPC64_LOAD_FUNCPTR.
7277 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7279 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7281 2013-12-04 Alan Modra <amodra@gmail.com>
7283 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7284 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7285 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7286 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7288 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7289 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7290 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7291 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7292 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7293 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7295 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7298 (__makecontext): Fix incorrect CFI when backtracing out of
7299 context created via makecontext.
7300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7301 (__setcontext): Fix incorrect CFI during switch to new context.
7302 (__novec_setcontext): Likewise.
7304 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7307 * time/strptime_l.c (__strptime_internal): Allow modifiers
7309 * time/tst-strptime.c (day_tests): Add testcase.
7312 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7314 * scripts/bench.pl: Skip over blank lines.
7316 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7319 * manual/time.texi (Calendar Time): Clarify what timezone functions
7322 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7326 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7328 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7330 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7331 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7332 * debug/memset_chk.c (__memset_chk): Likewise.
7333 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7334 * debug/strncpy_chk.c: Likewise.
7336 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7340 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7341 (__ieee754_exp): For possibly underflowing results, check size of
7342 result and force underflow exception if required.
7343 * math/auto-libm-test-in: Add more tests of exp.
7344 * math/auto-libm-test-out: Regenerated.
7345 * sysdeps/i386/fpu/libm-test-ulps: Update.
7346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7349 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7350 * math/w_exp2f.c (__exp2f): Likewise.
7351 * math/w_exp2l.c (__exp2l): Likewise.
7352 * math/auto-libm-test-in: Do not allow missing errno on exp2
7354 * math/auto-libm-test-out: Regenerated.
7356 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7359 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7360 handle filename validation.
7361 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7364 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7367 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7368 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7369 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7371 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7372 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7373 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7374 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7375 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7376 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7377 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7378 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7379 Add more erfc tests.
7380 * math/auto-libm-test-out: Regenerated.
7381 * sysdeps/i386/fpu/libm-test-ulps: Update.
7382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7384 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7385 exp2, expm1, j0 and j1.
7386 * math/auto-libm-test-out: Regenerated.
7387 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7388 (erfc_test_data): Likewise.
7389 (exp_test_data): Likewise.
7390 (exp_tonearest_test_data): Likewise.
7391 (exp_towardzero_test_data): Likewise.
7392 (exp_downward_test_data): Likewise.
7393 (exp_upward_test_data): Likewise.
7394 (exp10_test_data): Likewise.
7395 (exp2_test_data): Likewise.
7396 (expm1_test_data): Likewise.
7397 (j0_test_data): Likewise.
7398 (j1_test_data): Likewise.
7399 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7400 (input_flag_type): Add flag_xfail_rounding.
7401 (input_flags): Add xfail-rounding.
7402 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7403 (output_for_one_input_case): Handle flag_xfail_rounding.
7404 * sysdeps/i386/fpu/libm-test-ulps: Update.
7405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7407 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7410 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7413 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7416 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7417 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7418 (STAP_PROBE0): New macro.
7419 (STAP_PROBE1): Likewise.
7420 (STAP_PROBE2): Likewise.
7421 (STAP_PROBE3): Likewise.
7422 (STAP_PROBE4): Likewise.
7424 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7426 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7428 2013-12-02 Steve Ellcey <sellcey@mips.com>
7430 * benchtests/Makefile (bench): Add sqrt.
7431 (LDLIBS-bench-sqrt): New.
7432 * benchtests/sqrt-input: New.
7434 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7436 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7437 (GAIH_EAI): Likewise.
7438 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7439 (gaih_inet): Likewise.
7440 (getaddrinfo): Don't use GAIH_EAI.
7442 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7443 (struct gaih): Remove definition.
7445 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7447 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7448 Use HERRNOP directly.
7450 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7454 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7456 * math/gen-auto-libm-tests.c (test_functions): Add more
7457 single-argument functions.
7458 (special_fill_pi_2): New function.
7459 (special_fill_minus_pi_2): Likewise.
7460 (special_fill_pi_6): Likewise.
7461 (special_fill_minus_pi_6): Likewise.
7462 (special_fill_pi_3): Likewise.
7463 (special_fill_2pi_3): Likewise.
7464 (special_fill_e): Likewise.
7465 (special_fill_1_e): Likewise.
7466 (special_fill_e_minus_1): Likewise.
7467 (special_real_inputs): Add more special inputs.
7468 (output_for_one_input_case): Do not require ERANGE on underflow to
7469 zero if round-to-nearest result does not underflow to zero, unless
7470 exact results required.
7471 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7472 atan, atanh, cbrt, cos and cosh.
7473 * math/auto-libm-test-out: Regenerated.
7474 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7475 (acos_tonearest_test_data): Likewise.
7476 (acos_towardzero_test_data): Likewise.
7477 (acos_downward_test_data): Likewise.
7478 (acos_upward_test_data): Likewise.
7479 (acosh_test_data): Likewise.
7480 (asin_test_data): Likewise.
7481 (asin_tonearest_test_data): Likewise.
7482 (asin_towardzero_test_data): Likewise.
7483 (asin_upward_test_data): Likewise.
7484 (asinh_test_data): Likewise.
7485 (atan_test_data): Likewise.
7486 (atanh_test_data): Likewise.
7487 (cbrt_test_data): Likewise.
7488 (cos_test_data): Likewise.
7489 (cos_tonearest_test_data): Likewise.
7490 (cos_towardzero_test_data): Likewise.
7491 (cos_downward_test_data): Likewise.
7492 (cos_upward_test_data): Likewise.
7493 (cosh_test_data): Likewise.
7494 (cosh_tonearest_test_data): Likewise.
7495 (cosh_towardzero_test_data): Likewise.
7496 (cosh_downward_test_data): Likewise.
7497 (cosh_upward_test_data): Likewise.
7498 * sysdeps/i386/fpu/libm-test-ulps: Update.
7499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7501 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7504 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7505 * math/w_exp10f.c (__exp10f): Likewise.
7506 * math/w_exp10l.c (__exp10l): Likewise.
7507 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7508 errno settings in existing tests.
7511 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7512 precision control set to double precision.
7513 * sysdeps/i386/fpu/w_sqrt.c: New file.
7514 * math/auto-libm-test-in: Add more tests.
7515 * math/auto-libm-test-out: Update.
7517 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7518 (sqrt_test_tonearest): New function.
7519 (sqrt_towardzero_test_data): New variable.
7520 (sqrt_test_towardzero): New function.
7521 (sqrt_downward_test_data): New variable.
7522 (sqrt_test_downward): New function.
7523 (sqrt_upward_test_data): New variable.
7524 (sqrt_test_upward): New function.
7525 (main): Call the new functions.
7527 * math/gen-auto-libm-tests.c: New file.
7528 * math/auto-libm-test-in: Likewise.
7529 * math/auto-libm-test-out: New generated file.
7530 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7532 (%beautify): Add generated representations of zero.
7533 (top level): Set $auto_input and call parse_auto_input.
7534 (beautify): Remove trailing "f" from hex float constants.
7535 (parse_args): Handle XFAIL_TEST.
7536 (convert_condition): New function.
7537 (or_value): Likewise.
7538 (or_cond_value): Likewise.
7539 (generate_testfile): Handle AUTO_TESTS_* lines.
7540 (parse_auto_input): New function.
7541 * math/libm-test.inc (XFAIL_TEST): New macro.
7542 (ERRNO_UNCHANGED): Update value.
7543 (ERRNO_EDOM): Likewise.
7544 (ERRNO_ERANGE): Likewise.
7545 (IGNORE_RESULT): Likewise.
7546 (TEST_COND_flt_32): New macro.
7547 (TEST_COND_dbl_64): Likewise.
7548 (TEST_COND_ldbl_96_intel): Likewise.
7549 (TEST_COND_ldbl_96_m68k): Likewise.
7550 (TEST_COND_ldbl_128): Likewise.
7551 (TEST_COND_ldbl_128ibm): Likewise.
7552 (TEST_COND_long32): Likewise.
7553 (TEST_COND_long64): Likewise.
7554 (TEST_COND_before_rounding): Likewise.
7555 (TEST_COND_after_rounding): Likewise.
7556 (enable_test): Handle XFAIL_TEST flag.
7557 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7558 with finite results.
7559 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7562 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7563 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7566 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7567 __tls_get_addr_internal instead of __tls_get_offset in order to
7568 avoid GOT pointer dependency. Make rtld export
7569 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7570 __tls_get_addr since we are a __tls_get_offset platform.
7571 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7572 GOT pointer being set up before.
7573 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7575 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7577 * manual/math.texi (Errors in Math Functions): Document accuracy
7581 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7582 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7585 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7586 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7587 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7589 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7591 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7598 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7599 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7600 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7601 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7602 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7604 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7606 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7608 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7609 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7610 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7611 atomic-feupdateenv and flt-rounds.
7612 * sysdeps/powerpc/nofpu/Versions (libc): Add
7613 __atomic_feholdexcept, __atomic_feclearexcept,
7614 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7615 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7616 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7617 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7618 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7623 * manual/arith.texi (FP Exceptions): Document that exceptions may
7624 not be raised when matherr is used.
7625 (Math Error Reporting): Document overflow in directed rounding
7626 modes. Document that errno may not be set when finite values are
7627 returned on overflow. Document intent to set errno on underflow
7628 only for underflow to zero.
7631 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7632 round-to-nearest then adjust result for other rounding modes.
7633 * include/fenv.h (fegetround): Use libm_hidden_proto.
7634 * math/fegetround.c (fegetround): Use libm_hidden_def.
7635 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7636 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7637 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7638 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7640 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7641 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7642 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7643 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7645 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7648 * nss/Versions (libnss_files): Add
7649 _nss_files_gethostbyname3_r.
7650 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7652 (HOST_DB_LOOKUP): Remove macro.
7653 (_nss_files_gethostbyname_r): Implement function without the
7654 HOST_DB_LOOKUP macro.
7655 (_nss_files_gethostbyname2_r): Likewise.
7657 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7659 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7661 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7663 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7664 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7667 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7669 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7670 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7671 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7672 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7673 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7674 __fe_nomask_env_priv and attribute_hidden.
7675 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7676 (libc_feupdateenv_test_ppc): Likewise.
7677 (libc_feresetround_ppc): Likewise.
7678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7679 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7680 compat_symbol macro.
7681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7682 (__fe_nomask_env): Likewise.
7683 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7685 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7687 * string/Makefile: Remove ifunc tests.
7688 * string/test-string.h: Define TEST_IFUNC.
7689 * string/test-bcopy-ifunc.c: Remove.
7690 * string/test-bzero-ifunc.c: Likewise.
7691 * string/test-memccpy-ifunc.c: Likewise.
7692 * string/test-memchr-ifunc.c: Likewise.
7693 * string/test-memcmp-ifunc.c: Likewise.
7694 * string/test-memcpy-ifunc.c: Likewise.
7695 * string/test-memmem-ifunc.c: Likewise.
7696 * string/test-memmove-ifunc.c: Likewise.
7697 * string/test-mempcpy-ifunc.c: Likewise.
7698 * string/test-memrchr-ifunc.c: Likewise.
7699 * string/test-memset-ifunc.c: Likewise.
7700 * string/test-rawmemchr-ifunc.c: Likewise.
7701 * string/test-stpcpy-ifunc.c: Likewise.
7702 * string/test-stpncpy-ifunc.c: Likewise.
7703 * string/test-strcasecmp-ifunc.c: Likewise.
7704 * string/test-strcasestr-ifunc.c: Likewise.
7705 * string/test-strcat-ifunc.c: Likewise.
7706 * string/test-strchr-ifunc.c: Likewise.
7707 * string/test-strchrnul-ifunc.c: Likewise.
7708 * string/test-strcmp-ifunc.c: Likewise.
7709 * string/test-strcpy-ifunc.c: Likewise.
7710 * string/test-strcspn-ifunc.c: Likewise.
7711 * string/test-strlen-ifunc.c: Likewise.
7712 * string/test-strncasecmp-ifunc.c: Likewise.
7713 * string/test-strncat-ifunc.c: Likewise.
7714 * string/test-strncmp-ifunc.c: Likewise.
7715 * string/test-strncpy-ifunc.c: Likewise.
7716 * string/test-strnlen-ifunc.c: Likewise.
7717 * string/test-strpbrk-ifunc.c: Likewise.
7718 * string/test-strrchr-ifunc.c: Likewise.
7719 * string/test-strspn-ifunc.c: Likewise.
7720 * string/test-strstr-ifunc.c: Likewise.
7722 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7724 * benchtests/Makefile: Remove ifunc tests.
7725 * benchtests/bench-string.h: Define TEST_IFUNC.
7726 * benchtests/bench-bcopy-ifunc.c: Remove.
7727 * benchtests/bench-bzero-ifunc.c: Likewise.
7728 * benchtests/bench-memccpy-ifunc.c: Likewise.
7729 * benchtests/bench-memchr-ifunc.c: Likewise.
7730 * benchtests/bench-memcmp-ifunc.c: Likewise.
7731 * benchtests/bench-memcpy-ifunc.c: Likewise.
7732 * benchtests/bench-memmem-ifunc.c: Likewise.
7733 * benchtests/bench-memmove-ifunc.c: Likewise.
7734 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7735 * benchtests/bench-memrchr-ifunc.c: Likewise.
7736 * benchtests/bench-memset-ifunc.c: Likewise.
7737 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7738 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7739 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7740 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7741 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7742 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7743 * benchtests/bench-strcat-ifunc.c: Likewise.
7744 * benchtests/bench-strchr-ifunc.c: Likewise.
7745 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7746 * benchtests/bench-strcmp-ifunc.c: Likewise.
7747 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7748 * benchtests/bench-strcpy-ifunc.c: Likewise.
7749 * benchtests/bench-strcspn-ifunc.c: Likewise.
7750 * benchtests/bench-strlen-ifunc.c: Likewise.
7751 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7752 * benchtests/bench-strncat-ifunc.c: Likewise.
7753 * benchtests/bench-strncmp-ifunc.c: Likewise.
7754 * benchtests/bench-strncpy-ifunc.c: Likewise.
7755 * benchtests/bench-strnlen-ifunc.c: Likewise.
7756 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7757 * benchtests/bench-strrchr-ifunc.c: Likewise.
7758 * benchtests/bench-strsep-ifunc.c: Likewise.
7759 * benchtests/bench-strspn-ifunc.c: Likewise.
7760 * benchtests/bench-strstr-ifunc.c: Likewise.
7762 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7764 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7766 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7768 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7769 * rt/aio.h: Likewise.
7770 * sysdeps/gnu/bits/utmp.h: Likewise.
7771 * sysdeps/gnu/bits/utmpx.h: Likewise.
7772 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7773 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7774 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7775 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7776 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7777 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7778 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7779 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7780 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7781 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7782 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7783 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7784 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7786 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7787 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7788 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7789 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7790 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7791 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7792 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7793 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7794 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7795 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7796 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7797 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7798 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7799 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7800 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7801 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7802 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7803 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7804 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7805 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7806 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7807 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7808 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7809 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7810 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7811 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7812 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7813 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7815 2013-11-25 Carlos O'Donell <carlos@redhat.com>
7818 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7819 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7821 2013-11-25 Joseph Myers <joseph@codesourcery.com>
7823 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7824 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7827 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7829 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7830 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7831 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7832 (__fesetround): Remove define.
7833 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7834 rounding and exceptions handling.
7835 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7836 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7837 (__fe_nomask_env): Likewise.
7838 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7839 __fegetround instead of fegetround.
7840 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7841 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7843 2013-11-21 Roland McGrath <roland@hack.frob.com>
7845 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7848 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7850 2013-11-21 Meador Inge <meadori@codesourcery.com>
7853 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7854 (encrypt_r): Likewise.
7855 * malloc/obstack.h (obstack_free): Likewise.
7856 * posix/unistd.h (encrypt): Likewise.
7858 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7860 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7861 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7862 DL_CALL_DT_FINI() that call the functions directly.
7863 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7864 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7865 * elf/dl-fini.c: Likewise.
7867 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
7869 * malloc/hooks.c (memalign_check): Add alignment rounding.
7870 * malloc/malloc.c (_mid_memalign): New function.
7871 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7872 Implement by calling _mid_memalign.
7873 * manual/probes.texi (Memory Allocation Probes): Remove
7874 memory_valloc_retry and memory_pvalloc_retry.
7876 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7878 * locale/programs/locarchive.c (open_archive): Add const
7879 qualifier to ARCHIVEFNAME and copy default fname to
7883 * libio/tst-widetext.input: Rename Oriya to Odia.
7884 * locale/iso-639.def: Likewise.
7886 * manual/probes.texi (Mathematical Function Probes): Add
7887 documentation for sin, cos, asin and acos probes.
7888 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7889 (__sin32): Add slowasin probe.
7890 (__cos32): Add slowacos probe.
7891 (__mpsin): Add slowsin probe.
7892 (__mpcos): Add slowcos probe.
7894 2013-11-19 Joseph Myers <joseph@codesourcery.com>
7897 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7898 thread-local __sim_exceptions_thread and global
7899 __sim_exceptions_global.
7900 (__sim_disabled_exceptions): Change to thread-local
7901 __sim_disabled_exceptions_thread and global
7902 __sim_disabled_exceptions_global.
7903 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7904 and global __sim_round_mode_global.
7905 (__simulate_exceptions): Use thread-local floating-point state and
7906 set global state from it as needed.
7907 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7908 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7909 __sim_round_mode_thread.
7910 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7911 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7912 and global __sim_exceptions_global.
7913 (__sim_disabled_exceptions): Change to thread-local
7914 __sim_disabled_exceptions_thread and global
7915 __sim_disabled_exceptions_global.
7916 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7917 and global __sim_round_mode_global.
7918 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7919 (SIM_SET_GLOBAL): Likewise.
7920 * sysdeps/powerpc/soft-fp/sfp-machine.h
7921 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7922 __sim_round_mode_thread.
7923 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7924 __sim_disabled_exceptions_thread.
7925 (__sim_exceptions): Change to __sim_exceptions_thread.
7926 (__sim_disabled_exceptions): Change to
7927 __sim_disabled_exceptions_thread.
7928 (__sim_round_mode): Change to __sim_round_mode_thread.
7929 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7930 thread-local floating-point state and set global state from it as
7932 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7933 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7934 (__sim_disabled_exceptions): Remove extern declaration.
7935 (feenableexcept): Use thread-local floating-point state and set
7936 global state from it as needed.
7937 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7939 (__sim_disabled_exceptions): Likewise.
7940 (__sim_round_mode): Likewise.
7941 (__fegetenv): Use thread-local floating-point state.
7942 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7943 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7944 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7945 floating-point state and set global state from it as needed.
7946 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7947 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7948 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7950 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7951 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7953 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7954 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7955 Use __sim_round_mode_thread.
7956 * math/test-fenv-tls.c: New file.
7957 * math/Makefile (tests): Add test-fenv-tls.
7958 ($(objpfx)test-fenv-tls): Depend on
7959 $(common-objpfx)nptl/libpthread.so.
7961 2013-11-19 Andreas Schwab <schwab@suse.de>
7963 * locale/programs/locale.c (show_info): Decode wordarray elements.
7964 * locale/categories.def (LC_MONETARY): Add element for
7965 _NL_MONETARY_CRNCYSTR.
7966 * locale/C-monetary.c (conversion_rate): New variable.
7967 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7970 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7972 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7973 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7975 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7977 * elf/Makefile (tst-auxv): New test.
7978 * elf/tst-auxv.c: New
7979 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7981 2013-11-18 Joseph Myers <joseph@codesourcery.com>
7983 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7984 (hidden_proto): Caller changed.
7985 (hidden_tls_proto): New macro.
7986 (libc_hidden_tls_proto): Likewise.
7987 (rtld_hidden_tls_proto): Likewise.
7988 (libm_hidden_tls_proto): Likewise.
7989 (libresolv_hidden_tls_proto): Likewise.
7990 (librt_hidden_tls_proto): Likewise.
7991 (libdl_hidden_tls_proto): Likewise.
7992 (libnss_files_hidden_tls_proto): Likewise.
7993 (libnsl_hidden_tls_proto): Likewise.
7994 (libnss_nisplus_hidden_tls_proto): Likewise.
7995 (libutil_hidden_tls_proto): Likewise.
7997 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8000 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8001 (decompose_rpath): Defer expansion to fillin_rpath.
8002 (_dl_init_paths): Pass linkmap to fillin_rpath.
8004 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8006 * benchtests/Makefile: Add strsep.
8007 * benchtests/bench-strsep.c: New file: strsep benchtest.
8008 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8010 2013-11-18 Andreas Schwab <schwab@suse.de>
8012 * locale/programs/locale.c (show_info) [case byte]: Check for
8013 '\377' instead of '\177'.
8014 * locale/C-monetary.c (not_available): Always use "\377".
8015 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8016 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8017 detect unavailable sign_posn locale elements.
8018 * locale/localeconv.c (__localeconv): For grouping and
8019 mon_grouping handle "\177" and "\377" like no grouping.
8020 (INT_ELEM): New macro. Use it to set all numeric members.
8021 * locale/programs/ld-monetary.c (monetary_read)
8022 <tok_mon_grouping>: Normalize single -1 to the empty string.
8023 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8026 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8029 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8030 when we match (nil).
8031 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8033 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8035 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8036 (NO_TEST_INLINE): Update value.
8037 (ERRNO_UNCHANGED): Likewise.
8038 (ERRNO_EDOM): Likewise.
8039 (ERRNO_ERANGE): Likewise.
8040 (IGNORE_RESULT): Likewise.
8041 (check_float_internal): Check signs of NaN results if
8043 (check_complex): Pass TEST_NAN_SIGN flag through to second
8044 check_float_internal call.
8045 (copysign_test_data): Add tests with quiet NaNs as second
8046 argument. Use TEST_NAN_SIGN.
8047 (fabs_test_data): Add test of negative quiet NaN argument. Use
8049 (signbit_test_data): Add tests of quiet NaN argument.
8050 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8052 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8054 (parse_args): Handle function results specified as IGNORE.
8055 * math/libm-test.inc (IGNORE_RESULT): New macro.
8056 (check_float_internal): Do not check numerical result if flag
8058 (check_complex): Pass through IGNORE_RESULT to second
8059 check_float_internal call.
8060 (check_int): Do not check numerical result if flag IGNORE_RESULT
8062 (check_long): Likewise.
8063 (check_bool): Likewise.
8064 (check_longlong): Likewise.
8065 (lrint_test_data): Add tests of infinite and NaN arguments.
8066 (lrint_tonearest_test_data): Likewise.
8067 (lrint_towardzero_test_data): Likewise.
8068 (lrint_downward_test_data): Likewise.
8069 (lrint_upward_test_data): Likewise.
8070 (llrint_test_data): Likewise.
8071 (llrint_tonearest_test_data): Likewise.
8072 (llrint_towardzero_test_data): Likewise.
8073 (llrint_downward_test_data): Likewise.
8074 (llrint_upward_test_data): Likewise.
8075 (lround_test_data): Likewise.
8076 (llround_test_data): Likewise.
8078 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8079 (ERRNO_UNCHANGED): Update value.
8080 (ERRNO_EDOM): Likewise.
8081 (ERRNO_ERANGE): Likewise.
8082 (NO_TEST_INLINE_FLOAT): New macro.
8083 (NO_TEST_INLINE_DOUBLE): Likewise.
8084 (enable_test): New function.
8085 (RUN_TEST_f_f): Check enable_test before running test.
8086 (RUN_TEST_2_f): Likewise.
8087 (RUN_TEST_fff_f): Likewise.
8088 (RUN_TEST_c_f): Likewise.
8089 (RUN_TEST_f_f1): Likewise.
8090 (RUN_TEST_fF_f1): Likewise.
8091 (RUN_TEST_fI_f1): Likewise.
8092 (RUN_TEST_ffI_f1): Likewise.
8093 (RUN_TEST_c_c): Likewise.
8094 (RUN_TEST_cc_c): Likewise.
8095 (RUN_TEST_f_i): Likewise.
8096 (RUN_TEST_f_i_tg): Likewise.
8097 (RUN_TEST_ff_i_tg): Likewise.
8098 (RUN_TEST_f_b): Likewise.
8099 (RUN_TEST_f_b_tg): Likewise.
8100 (RUN_TEST_f_l): Likewise.
8101 (RUN_TEST_f_L): Likewise.
8102 (RUN_TEST_fFF_11): Likewise.
8103 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8105 (cosh_test_data): Likewise.
8106 (exp_test_data): Likewise.
8107 (expm1_test_data): Likewise.
8108 (hypot_test_data): Likewise.
8109 (pow_test_data): Likewise.
8110 (sinh_test_data): Likewise.
8111 (tanh_test_data): Likewise.
8112 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8115 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8116 tests with quiet NaN input and output.
8117 (acosh_test_data): Likewise.
8118 (asin_test_data): Likewise.
8119 (asinh_test_data): Likewise.
8120 (atan_test_data): Likewise.
8121 (atanh_test_data): Likewise.
8122 (atan2_test_data): Likewise.
8123 (cbrt_test_data): Likewise.
8124 (cos_test_data): Likewise.
8125 (cosh_test_data): Likewise.
8126 (erf_test_data): Likewise.
8127 (erfc_test_data): Likewise.
8128 (exp_test_data): Likewise.
8129 (exp10_test_data): Likewise.
8130 (exp2_test_data): Likewise.
8131 (expm1_test_data): Likewise.
8132 (hypot_test_data): Likewise.
8133 (j0_test_data): Likewise.
8134 (j1_test_data): Likewise.
8135 (jn_test_data): Likewise.
8136 (lgamma_test_data): Likewise.
8137 (log_test_data): Likewise.
8138 (log10_test_data): Likewise.
8139 (log1p_test_data): Likewise.
8140 (log2_test_data): Likewise.
8141 (pow_test_data): Likewise.
8142 (scalb_test_data): Likewise.
8143 (sin_test_data): Likewise.
8144 (sincos_test_data): Likewise.
8145 (sinh_test_data): Likewise.
8146 (tan_test_data): Likewise.
8147 (tanh_test_data): Likewise.
8148 (tgamma_test_data): Likewise.
8149 (y0_test_data): Likewise.
8150 (y1_test_data): Likewise.
8151 (yn_test_data): Likewise.
8154 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8155 argument being NaN and avoid computations with second argument in
8157 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8158 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8159 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8161 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8163 * locale/iso-639.def: Add Chitwani Tharu (the).
8165 2013-11-14 Andreas Schwab <schwab@suse.de>
8167 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8168 word instead of empty string.
8170 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8173 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8175 (__fe_nomask_env): Likewise.
8177 2013-11-13 Steve Ellcey <sellcey@mips.com>
8179 * benchtests/bench-timing.h: Include time.h.
8181 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8184 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8186 * sysdeps/unix/sysv/linux/configure: Regenerated.
8188 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8191 * stdlib/strtod_l.c (round_and_return): Do not consider
8192 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8193 exponent one less than half the least subnormal exponent.
8194 * stdlib/test-strtod-round-data: Add more tests.
8195 * stdlib/tst-strtod-round.c (tests): Regenerated.
8197 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8200 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8201 (__fe_mask_env): Likewise.
8202 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8203 libm_hidden_proto and add function prototype.
8204 (__fe_mask_env): Add function prototype.
8205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8206 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8208 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8210 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8212 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8214 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8215 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8217 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8219 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8220 of htab_find_slot().
8222 2013-11-11 David S. Miller <davem@davemloft.net>
8225 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8226 symbol in the non-vis3 case in static builds.
8227 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8228 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8229 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8230 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8232 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8235 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8238 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8240 * benchtests/Makefile: Add bench-strtod.
8241 * benchtests/bench-strtod.c: New file: strtod benchtest
8243 2013-11-11 Andreas Schwab <schwab@suse.de>
8246 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8247 terminating NUL in key length.
8249 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8251 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8252 Add artificial ODP entry for vDSO symbol for PPC64.
8253 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8254 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8256 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8259 * nss/getent.c (services_keys): Recognize services starting with digit.
8261 2013-11-06 David S. Miller <davem@davemloft.net>
8264 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8265 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8267 2013-11-06 Will Newton <will.newton@linaro.org>
8269 * manual/memory.texi (Malloc Examples): Remove register
8270 keyword from examples.
8272 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8274 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8276 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8279 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8280 depending on [__GCC_IEC_559 > 0].
8281 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8282 depending on [__GCC_IEC_559_COMPLEX > 0].
8284 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8286 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8289 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8291 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8293 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8296 * malloc/malloc (malloc_info): Do not handle first bin as
8299 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8301 * locale/iso-639.def: Add Central Nahuatl (nhn).
8303 2013-11-01 Bruno Haible <bruno@clisp.org>
8306 * manual/math.texi (BSD Random): Specify range upper bound as
8309 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8311 * locale/iso-639.def: Add Meadow Mari (mhr).
8313 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8315 [BZ #14752], [BZ #15763]
8316 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8318 * rt/tst_shm.c: Add test for escaping directory.
8320 2013-10-31 Andreas Schwab <schwab@suse.de>
8323 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8324 followed by 'x' as part of digit sequence.
8325 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8327 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8330 * configure.ac: allow GNU Make 4.0 and greater.
8331 * configure: Regenerated.
8333 2013-10-30 Will Newton <will.newton@linaro.org>
8336 * malloc/hooks.c (memalign_check): Limit alignment to the
8337 maximum representable power of two.
8338 * malloc/malloc.c (__libc_memalign): Likewise.
8339 * malloc/tst-memalign.c (do_test): Add test for very
8340 large alignment values.
8341 * malloc/tst-posix_memalign.c (do_test): Likewise.
8343 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8346 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8347 (munmap_chunk): Likewise.
8348 (mremap_chunk): Likewise.
8350 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8353 * stdlib/div.c (div): Remove obsolete code.
8354 * stdlib/ldiv.c (ldiv): Likewise.
8355 * stdlib/lldiv.c (lldiv): Likewise.
8357 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8360 * nss/nss_files/files-XXX.c (get_contents_ret): New
8362 (get_contents): New function.
8363 (internal_getent): Use it. Expand size of LINEBUFLEN.
8365 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8367 * configure.in: Moved to ...
8368 * configure.ac: ... here. Change reference to configure.in
8370 * sysdeps/arm/preconfigure.ac: ... here.
8371 configure.in to configure.ac.
8372 * sysdeps/gnu/configure.in: Moved to ...
8373 * sysdeps/gnu/configure.ac: ... here.
8374 * sysdeps/i386/configure.in: Moved to ...
8375 * sysdeps/i386/configure.ac: ... here.
8376 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8377 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8378 * sysdeps/mach/configure.in: Moved to ...
8379 * sysdeps/mach/configure.ac: ... here.
8380 * sysdeps/mach/hurd/configure.in: Moved to ...
8381 * sysdeps/mach/hurd/configure.ac: ... here.
8382 * sysdeps/powerpc/configure.in: Moved to ...
8383 * sysdeps/powerpc/configure.ac: ... here.
8384 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8385 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8386 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8387 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8388 * sysdeps/s390/s390-32/configure.in: Moved to ...
8389 * sysdeps/s390/s390-32/configure.ac: ... here.
8390 * sysdeps/s390/s390-64/configure.in: Moved to ...
8391 * sysdeps/s390/s390-64/configure.ac: ... here.
8392 * sysdeps/sh/configure.in: Moved to ...
8393 * sysdeps/sh/configure.ac: ... here.
8394 * sysdeps/sparc/configure.in: Moved to ...
8395 * sysdeps/sparc/configure.ac: ... here.
8396 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8397 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8398 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8399 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8400 * sysdeps/x86_64/configure.in: Moved to ...
8401 * sysdeps/x86_64/configure.ac: ... here.
8402 * sysdeps/x86_64/preconfigure.in: Moved to ...
8403 * sysdeps/x86_64/preconfigure.ac: ... here.
8404 * aclocal.m4: Change reference to configure.in to configure.ac.
8405 * config.h.in: Likewise.
8406 * manual/install.texi: Likewise.
8407 * manual/maint.texi: Likewise.
8408 * Makefile: Likewise.
8409 * malloc/Makefile: Likewise.
8410 * nscd/Makefile: Likewise.
8411 * Makeconfig: Change reference to configure.in and
8412 preconfigure.in to configure.ac and preconfigure.ac
8414 * INSTALL: Regenerated.
8415 * configure: Likewise.
8416 * sysdeps/gnu/configure: Likewise.
8417 * sysdeps/i386/configure: Likewise.
8418 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8419 * sysdeps/mach/configure: Likewise.
8420 * sysdeps/mach/hurd/configure: Likewise.
8421 * sysdeps/powerpc/configure: Likewise.
8422 * sysdeps/powerpc/powerpc32/configure: Likewise.
8423 * sysdeps/powerpc/powerpc64/configure: Likewise.
8424 * sysdeps/s390/s390-32/configure: Likewise.
8425 * sysdeps/s390/s390-64/configure: Likewise.
8426 * sysdeps/sh/configure: Likewise.
8427 * sysdeps/sparc/configure: Likewise.
8428 * sysdeps/unix/sysv/linux/configure: Likewise.
8429 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8430 * sysdeps/x86_64/configure: Likewise.
8431 * sysdeps/x86_64/preconfigure: Likewise.
8433 2013-10-29 Andreas Schwab <schwab@suse.de>
8435 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8437 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8439 * benchtests/pow-inputs: Add new inputs.
8441 * benchtests/exp-inputs: Add new inputs.
8443 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8444 conditional check for return value.
8445 (__cos32): Likewise.
8447 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8449 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8450 to provide a boost for large inputs with word alignment.
8451 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8452 implementation based on optimized PPC64 strcpy.
8453 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8454 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8455 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8456 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8458 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8461 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8463 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8466 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8467 * time/tst-strptime.c (day_tests): Add testcase.
8469 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8472 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8474 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8477 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8478 MAP_FAILED on error.
8480 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8483 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8484 heap for large requests.
8486 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8489 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8490 result if the result has no associated interface.
8491 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8492 interface for all 127.X.Y.Z addresses.
8494 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8496 * locale/iso-639.def: Add Ligurian (lij)
8498 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8501 * sunrpc/rpc_main.c: Document rpcgen -5.
8503 2013-10-19 Michael Stahl <mstahl@redhat.com>
8505 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8507 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8510 * posix/glob.c: Match only directories when trailing slash is present.
8511 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8512 (main): Add testcase.
8514 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8517 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8519 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8521 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8522 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8523 AUTH_DES and cindex for FIPS 140-2.
8524 (DES Encryption): Add cindex FIPS 46-3.
8526 * locale/locarchive.h (struct locarhandle): Add fname.
8527 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8528 if an optional argument was specified to --list-archive,
8530 * locale/programs/locarchive.c (show_archive_content): Take new
8531 argument fname and pass it via ah.fname to open_archive.
8532 * locale/programs/localedef.h: Update decl.
8533 (open_archive): If AH->fname is non-null, open that file
8534 rather than the default file name, and don't ignore ENOENT.
8535 (create_archive): Set AH.fname to NULL.
8536 (delete_locales_from_archive): Likewise.
8537 (add_locales_to_archive): Likewise.
8538 * locale/programs/locfile.c (write_all_categories): Likewise.
8540 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8541 Aldy Hernandez <aldyh@redhat.com>
8543 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8544 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8545 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8546 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8547 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8548 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8549 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8550 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8551 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8552 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8553 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8554 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8555 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8556 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8557 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8559 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8561 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8563 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8565 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8566 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8568 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8569 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8570 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8571 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8573 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8574 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8575 * sysdeps/powerpc/preconfigure: Likewise.
8576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8578 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8579 Replace contents of file by #include of <fenv_libc.h>.
8580 * sysdeps/powerpc/soft-fp/sfp-machine.h
8581 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8583 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8584 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8585 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8586 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8587 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8588 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8589 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8590 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8591 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8592 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8593 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8594 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8596 Allow copysignl PLT reference to be missing.
8598 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8599 Joseph Myers <joseph@codesourcery.com
8602 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8604 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8606 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8608 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8609 * elf/tst-tls1.c: Likewise.
8610 * elf/tst-tls10.h: Likewise.
8611 * elf/tst-tls14.c: Likewise.
8612 * elf/tst-tls2.c: Likewise.
8613 * elf/tst-tls3.c: Likewise.
8614 * elf/tst-tls4.c: Likewise.
8615 * elf/tst-tls5.c: Likewise.
8616 * elf/tst-tls6.c: Likewise.
8617 * elf/tst-tls7.c: Likewise.
8618 * elf/tst-tls8.c: Likewise.
8619 * elf/tst-tls9.c: Likewise.
8620 * elf/tst-tlsmod1.c: Likewise.
8621 * elf/tst-tlsmod13.c: Likewise.
8622 * elf/tst-tlsmod13a.c: Likewise.
8623 * elf/tst-tlsmod14a.c: Likewise.
8624 * elf/tst-tlsmod16a.c: Likewise.
8625 * elf/tst-tlsmod16b.c: Likewise.
8626 * elf/tst-tlsmod2.c: Likewise.
8627 * elf/tst-tlsmod3.c: Likewise.
8628 * elf/tst-tlsmod4.c: Likewise.
8629 * elf/tst-tlsmod5.c: Likewise.
8630 * elf/tst-tlsmod6.c: Likewise.
8632 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8635 * malloc/malloc.c: remove checks for statistics.
8637 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8640 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8641 * inet/tst-network.c: Add testcase.
8643 2013-10-17 Andreas Schwab <schwab@suse.de>
8646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8647 to determine canonical name.
8649 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8651 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8652 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8653 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8654 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8655 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8656 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8657 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8658 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8659 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8660 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8661 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8662 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8663 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8664 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8665 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8666 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8667 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8668 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8669 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8675 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8676 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8681 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8702 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8710 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8713 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8714 make result into a quiet NaN.
8716 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8718 * soft-fp/adddf3.c: Fix horizontal whitespace.
8719 * soft-fp/addsf3.c: Likewise.
8720 * soft-fp/addtf3.c: Likewise.
8721 * soft-fp/divdf3.c: Likewise.
8722 * soft-fp/divsf3.c: Likewise.
8723 * soft-fp/divtf3.c: Likewise.
8724 * soft-fp/double.h: Likewise.
8725 * soft-fp/eqdf2.c: Likewise.
8726 * soft-fp/eqsf2.c: Likewise.
8727 * soft-fp/eqtf2.c: Likewise.
8728 * soft-fp/extenddftf2.c: Likewise.
8729 * soft-fp/extended.h: Likewise.
8730 * soft-fp/extendsfdf2.c: Likewise.
8731 * soft-fp/extendsftf2.c: Likewise.
8732 * soft-fp/extendxftf2.c: Likewise.
8733 * soft-fp/fixdfdi.c: Likewise.
8734 * soft-fp/fixdfsi.c: Likewise.
8735 * soft-fp/fixdfti.c: Likewise.
8736 * soft-fp/fixsfdi.c: Likewise.
8737 * soft-fp/fixsfsi.c: Likewise.
8738 * soft-fp/fixsfti.c: Likewise.
8739 * soft-fp/fixtfdi.c: Likewise.
8740 * soft-fp/fixtfsi.c: Likewise.
8741 * soft-fp/fixtfti.c: Likewise.
8742 * soft-fp/fixunsdfdi.c: Likewise.
8743 * soft-fp/fixunsdfsi.c: Likewise.
8744 * soft-fp/fixunsdfti.c: Likewise.
8745 * soft-fp/fixunssfdi.c: Likewise.
8746 * soft-fp/fixunssfsi.c: Likewise.
8747 * soft-fp/fixunssfti.c: Likewise.
8748 * soft-fp/fixunstfdi.c: Likewise.
8749 * soft-fp/fixunstfsi.c: Likewise.
8750 * soft-fp/fixunstfti.c: Likewise.
8751 * soft-fp/floatdidf.c: Likewise.
8752 * soft-fp/floatdisf.c: Likewise.
8753 * soft-fp/floatditf.c: Likewise.
8754 * soft-fp/floatsidf.c: Likewise.
8755 * soft-fp/floatsisf.c: Likewise.
8756 * soft-fp/floatsitf.c: Likewise.
8757 * soft-fp/floattidf.c: Likewise.
8758 * soft-fp/floattisf.c: Likewise.
8759 * soft-fp/floattitf.c: Likewise.
8760 * soft-fp/floatundidf.c: Likewise.
8761 * soft-fp/floatundisf.c: Likewise.
8762 * soft-fp/floatunditf.c: Likewise.
8763 * soft-fp/floatunsidf.c: Likewise.
8764 * soft-fp/floatunsisf.c: Likewise.
8765 * soft-fp/floatunsitf.c: Likewise.
8766 * soft-fp/floatuntidf.c: Likewise.
8767 * soft-fp/floatuntisf.c: Likewise.
8768 * soft-fp/floatuntitf.c: Likewise.
8769 * soft-fp/fmadf4.c: Likewise.
8770 * soft-fp/fmasf4.c: Likewise.
8771 * soft-fp/fmatf4.c: Likewise.
8772 * soft-fp/gedf2.c: Likewise.
8773 * soft-fp/gesf2.c: Likewise.
8774 * soft-fp/getf2.c: Likewise.
8775 * soft-fp/ledf2.c: Likewise.
8776 * soft-fp/lesf2.c: Likewise.
8777 * soft-fp/letf2.c: Likewise.
8778 * soft-fp/muldf3.c: Likewise.
8779 * soft-fp/mulsf3.c: Likewise.
8780 * soft-fp/multf3.c: Likewise.
8781 * soft-fp/negdf2.c: Likewise.
8782 * soft-fp/negsf2.c: Likewise.
8783 * soft-fp/negtf2.c: Likewise.
8784 * soft-fp/op-1.h: Likewise.
8785 * soft-fp/op-2.h: Likewise.
8786 * soft-fp/op-4.h: Likewise.
8787 * soft-fp/op-8.h: Likewise.
8788 * soft-fp/op-common.h: Likewise.
8789 * soft-fp/quad.h: Likewise.
8790 * soft-fp/single.h: Likewise.
8791 * soft-fp/soft-fp.h: Likewise.
8792 * soft-fp/sqrtdf2.c: Likewise.
8793 * soft-fp/sqrtsf2.c: Likewise.
8794 * soft-fp/sqrttf2.c: Likewise.
8795 * soft-fp/subdf3.c: Likewise.
8796 * soft-fp/subsf3.c: Likewise.
8797 * soft-fp/subtf3.c: Likewise.
8798 * soft-fp/truncdfsf2.c: Likewise.
8799 * soft-fp/trunctfdf2.c: Likewise.
8800 * soft-fp/trunctfsf2.c: Likewise.
8801 * soft-fp/trunctfxf2.c: Likewise.
8802 * soft-fp/unorddf2.c: Likewise.
8803 * soft-fp/unordsf2.c: Likewise.
8804 * soft-fp/unordtf2.c: Likewise.
8806 2013-10-15 Joseph Myers <joseph@codesourcery.com>
8808 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8809 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8811 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
8813 * elf/dl-libc.c: Clear initfini list after freeing.
8815 2013-10-14 Joseph Myers <joseph@codesourcery.com>
8817 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8818 * soft-fp/addsf3.c: Likewise.
8819 * soft-fp/addtf3.c: Likewise.
8820 * soft-fp/divdf3.c: Likewise.
8821 * soft-fp/divsf3.c: Likewise.
8822 * soft-fp/divtf3.c: Likewise.
8823 * soft-fp/double.h: Likewise.
8824 * soft-fp/eqdf2.c: Likewise.
8825 * soft-fp/eqsf2.c: Likewise.
8826 * soft-fp/eqtf2.c: Likewise.
8827 * soft-fp/extenddftf2.c: Likewise.
8828 * soft-fp/extended.h: Likewise.
8829 * soft-fp/extendsfdf2.c: Likewise.
8830 * soft-fp/extendsftf2.c: Likewise.
8831 * soft-fp/extendxftf2.c: Likewise.
8832 * soft-fp/fixdfdi.c: Likewise.
8833 * soft-fp/fixdfsi.c: Likewise.
8834 * soft-fp/fixdfti.c: Likewise.
8835 * soft-fp/fixsfdi.c: Likewise.
8836 * soft-fp/fixsfsi.c: Likewise.
8837 * soft-fp/fixsfti.c: Likewise.
8838 * soft-fp/fixtfdi.c: Likewise.
8839 * soft-fp/fixtfsi.c: Likewise.
8840 * soft-fp/fixtfti.c: Likewise.
8841 * soft-fp/fixunsdfdi.c: Likewise.
8842 * soft-fp/fixunsdfsi.c: Likewise.
8843 * soft-fp/fixunsdfti.c: Likewise.
8844 * soft-fp/fixunssfdi.c: Likewise.
8845 * soft-fp/fixunssfsi.c: Likewise.
8846 * soft-fp/fixunssfti.c: Likewise.
8847 * soft-fp/fixunstfdi.c: Likewise.
8848 * soft-fp/fixunstfsi.c: Likewise.
8849 * soft-fp/fixunstfti.c: Likewise.
8850 * soft-fp/floatdidf.c: Likewise.
8851 * soft-fp/floatdisf.c: Likewise.
8852 * soft-fp/floatditf.c: Likewise.
8853 * soft-fp/floatsidf.c: Likewise.
8854 * soft-fp/floatsisf.c: Likewise.
8855 * soft-fp/floatsitf.c: Likewise.
8856 * soft-fp/floattidf.c: Likewise.
8857 * soft-fp/floattisf.c: Likewise.
8858 * soft-fp/floattitf.c: Likewise.
8859 * soft-fp/floatundidf.c: Likewise.
8860 * soft-fp/floatundisf.c: Likewise.
8861 * soft-fp/floatunsidf.c: Likewise.
8862 * soft-fp/floatunsisf.c: Likewise.
8863 * soft-fp/floatuntidf.c: Likewise.
8864 * soft-fp/floatuntisf.c: Likewise.
8865 * soft-fp/floatuntitf.c: Likewise.
8866 * soft-fp/fmadf4.c: Likewise.
8867 * soft-fp/fmasf4.c: Likewise.
8868 * soft-fp/fmatf4.c: Likewise.
8869 * soft-fp/gedf2.c: Likewise.
8870 * soft-fp/gesf2.c: Likewise.
8871 * soft-fp/getf2.c: Likewise.
8872 * soft-fp/ledf2.c: Likewise.
8873 * soft-fp/lesf2.c: Likewise.
8874 * soft-fp/letf2.c: Likewise.
8875 * soft-fp/muldf3.c: Likewise.
8876 * soft-fp/mulsf3.c: Likewise.
8877 * soft-fp/multf3.c: Likewise.
8878 * soft-fp/negdf2.c: Likewise.
8879 * soft-fp/negsf2.c: Likewise.
8880 * soft-fp/negtf2.c: Likewise.
8881 * soft-fp/op-1.h: Likewise.
8882 * soft-fp/op-2.h: Likewise.
8883 * soft-fp/op-4.h: Likewise.
8884 * soft-fp/op-8.h: Likewise.
8885 * soft-fp/op-common.h: Likewise.
8886 * soft-fp/quad.h: Likewise.
8887 * soft-fp/single.h: Likewise.
8888 * soft-fp/soft-fp.h: Likewise.
8889 * soft-fp/sqrtdf2.c: Likewise.
8890 * soft-fp/sqrtsf2.c: Likewise.
8891 * soft-fp/sqrttf2.c: Likewise.
8892 * soft-fp/subdf3.c: Likewise.
8893 * soft-fp/subsf3.c: Likewise.
8894 * soft-fp/subtf3.c: Likewise.
8895 * soft-fp/truncdfsf2.c: Likewise.
8896 * soft-fp/trunctfdf2.c: Likewise.
8897 * soft-fp/trunctfsf2.c: Likewise.
8898 * soft-fp/trunctfxf2.c: Likewise.
8899 * soft-fp/unorddf2.c: Likewise.
8900 * soft-fp/unordsf2.c: Likewise.
8901 * soft-fp/unordtf2.c: Likewise.
8903 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
8906 * misc/error.c (error_tail): Fix possible buffer overflow.
8908 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8911 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8914 2013-10-14 P. J. McDermott <pj@pehjota.net>
8917 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8918 testing pipefail option.
8920 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8922 * soft-fp/double.h: Indent preprocessor directives inside #if.
8923 * soft-fp/extended.h: Likewise.
8924 * soft-fp/op-2.h: Likewise.
8925 * soft-fp/op-4.h: Likewise.
8926 * soft-fp/op-common.h: Likewise.
8927 * soft-fp/quad.h: Likewise.
8928 * soft-fp/single.h: Likewise.
8929 * soft-fp/soft-fp.h: Likewise.
8931 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8933 * iconv/iconv_prog.c: Fix typos.
8934 * stdio-common/psiginfo-data.h: Likewise.
8936 2013-10-12 Reuben Thomas <rrt@sc3d.org>
8939 * locale/setlocale.c: Fix typo.
8941 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8944 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8945 signaling NaN arguments.
8946 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8947 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8950 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8952 * soft-fp/gesf2.c (__gesf2): Likewise.
8953 * soft-fp/getf2.c (__getf2): Likewise.
8954 * soft-fp/ledf2.c (__ledf2): Likewise.
8955 * soft-fp/lesf2.c (__lesf2): Likewise.
8956 * soft-fp/letf2.c (__letf2): Likewise.
8958 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8959 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8960 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8961 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8962 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8963 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8964 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8965 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8966 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8967 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8968 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8969 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8970 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8971 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8972 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8973 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8974 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8975 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8976 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8977 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8978 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8979 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8980 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8981 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8982 * soft-fp/floattidf.c (__floattidf): Likewise.
8983 * soft-fp/floattisf.c (__floattisf): Likewise.
8984 * soft-fp/floattitf.c (__floattitf): Likewise.
8985 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8986 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8987 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8988 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8989 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8990 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8991 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8992 * soft-fp/gesf2.c (__gesf2): Likewise.
8993 * soft-fp/getf2.c (__getf2): Likewise.
8994 * soft-fp/ledf2.c (__ledf2): Likewise.
8995 * soft-fp/lesf2.c (__lesf2): Likewise.
8996 * soft-fp/letf2.c (__letf2): Likewise.
8998 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8999 Undefine and redefine.
9000 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9001 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9002 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9003 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9004 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9005 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9006 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9007 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9008 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9009 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9010 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9011 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9012 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9013 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9014 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9017 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9018 without decrementing exponent if mantissa >= that for the
9020 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9021 denominator, not >. Decrement exponent in < case instead of
9022 incrementing in >= case.
9023 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9024 without decrementing exponent if mantissa >= that for the
9027 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9028 computing saturated result for unsigned overflow.
9030 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9031 Jeff Law <law@redhat.com>
9033 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9034 (atan2Mp): Add systemtap probe marker.
9035 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9036 (__ieee754_log): Add systemtap probe marker.
9037 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9038 (atanMp): Add systemtap probe marker.
9039 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9040 (tanMp): Add systemtap probe marker.
9041 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9042 (__slowexp): Add systemtap probe marker.
9043 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9044 (__slowpow): Add systemtap probe marker.
9045 * manual/probes.texi: Document probes.
9047 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9050 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9052 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9054 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9055 written to buffer but not flushed.
9056 * libio/iofwrite_u.c: Likewise.
9057 * libio/iopadn.c: Return bytes returned even if EOF was
9059 * libio/iowpadn.c: Likewise.
9060 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9061 if _IO_padn does not write the whole buffer.
9062 [!COMPILE_WPRINTF] (PAD): Likewise.
9064 2013-10-10 David S. Miller <davem@davemloft.net>
9066 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9069 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9071 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9072 instead of FSF address.
9073 * soft-fp/fixdfti.c: Likewise.
9074 * soft-fp/fixsfti.c: Likewise.
9075 * soft-fp/fixtfti.c: Likewise.
9076 * soft-fp/fixunsdfti.c: Likewise.
9077 * soft-fp/fixunssfti.c: Likewise.
9078 * soft-fp/fixunstfti.c: Likewise.
9079 * soft-fp/floattidf.c: Likewise.
9080 * soft-fp/floattisf.c: Likewise.
9081 * soft-fp/floattitf.c: Likewise.
9082 * soft-fp/floatuntidf.c: Likewise.
9083 * soft-fp/floatuntisf.c: Likewise.
9084 * soft-fp/floatuntitf.c: Likewise.
9085 * soft-fp/trunctfxf2.c: Likewise.
9087 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9088 * soft-fp/fixdfti.c: Likewise.
9089 * soft-fp/fixsfti.c: Likewise.
9090 * soft-fp/fixtfti.c: Likewise.
9091 * soft-fp/fixunsdfti.c: Likewise.
9092 * soft-fp/fixunssfti.c: Likewise.
9093 * soft-fp/fixunstfti.c: Likewise.
9094 * soft-fp/floattidf.c: Likewise.
9095 * soft-fp/floattisf.c: Likewise.
9096 * soft-fp/floattitf.c: Likewise.
9097 * soft-fp/floatuntidf.c: Likewise.
9098 * soft-fp/floatuntisf.c: Likewise.
9099 * soft-fp/floatuntitf.c: Likewise.
9100 * soft-fp/trunctfxf2.c: Likewise.
9102 2013-10-10 David S. Miller <davem@davemloft.net>
9104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9106 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9108 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9109 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9110 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9111 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9112 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9113 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9114 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9116 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9117 for NaNs before doing comparisons on argument.
9118 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9121 2013-10-10 Will Newton <will.newton@linaro.org>
9123 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9124 passed to _int_memalign does not overflow.
9126 2013-10-10 Torvald Riegel <triegel@redhat.com>
9128 * scripts/bench.pl: Add include-sources directive.
9129 * benchtests/README: Update documentation.
9131 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9133 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9134 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9135 instead of FP_INIT_ROUNDMODE.
9136 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9137 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9140 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9141 copy class of input value.
9142 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9143 not handle exceptions.
9144 * soft-fp/negsf2.c (__negsf2): Likewise.
9145 * soft-fp/negtf2.c (__negtf2): Likewise.
9146 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9148 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9150 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9151 semicolon. From Linux kernel.
9153 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9155 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9157 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9160 * manual/socket.texi: Added statement about buffer
9161 for gethostbyname2_r.
9163 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9165 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9166 Use .p2align directive instead, throughout.
9167 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9168 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9169 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9170 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9171 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9172 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9173 * sysdeps/x86_64/strchr.S: Likewise.
9174 * sysdeps/x86_64/strrchr.S: Likewise.
9176 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9178 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9180 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9182 * sysdeps/generic/math_private.h (__mpsin1): Remove
9184 (__mpcos1): Likewise.
9185 (__mpsin): New argument __range_reduce.
9186 (__mpcos): Likewise.
9187 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9188 (slow): Use __mpsin and __mpcos.
9195 (bsloww1): Likewise.
9196 (bsloww2): Likewise.
9199 (csloww1): Likewise.
9200 (csloww2): Likewise.
9201 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9202 range_reduce. Merge in __mpsin1.
9203 (__mpcos): Likewise.
9205 (__mpcos1): Likewise.
9207 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9209 * locale/loadlocale.c (_nl_intern_locale_data): Use
9211 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9212 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9213 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9214 obstack data is appropriately aligned.
9215 (obstack_int32_grow_fast): Likewise.
9216 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9217 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9218 (add_locale_uint32_array): Likewise.
9220 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9222 * benchtests/Makefile: Remove ARGLIST and RET variables.
9223 ($(objpfx)bench-%.c): Pass only function name to the script.
9224 * benchtests/README: Update documentation.
9225 * benchtests/acos-inputs: Add new directives.
9226 * benchtests/acosh-inputs: Likewise.
9227 * benchtests/asin-inputs: Likewise.
9228 * benchtests/asinh-inputs: Likewise.
9229 * benchtests/atan-inputs: Likewise.
9230 * benchtests/atanh-inputs: Likewise.
9231 * benchtests/cos-inputs: Likewise.
9232 * benchtests/cosh-inputs: Likewise.
9233 * benchtests/exp-inputs: Likewise.
9234 * benchtests/log-inputs: Likewise.
9235 * benchtests/pow-inputs: Likewise.
9236 * benchtests/rint-inputs: Likewise.
9237 * benchtests/sin-inputs: Likewise.
9238 * benchtests/sinh-inputs: Likewise.
9239 * benchtests/tan-inputs: Likewise.
9240 * benchtests/tanh-inputs: Likewise.
9241 * scripts/bench.pl: Add support for new directives.
9243 2013-10-07 Alan Modra <amodra@gmail.com>
9245 * README: Fix careless merge.
9247 2013-10-05 Alan Modra <amodra@gmail.com>
9249 * NEWS: Mention powerpc64le support and bugs fixed.
9250 * README: Both big-endian and little-endian powerpc64 supported.
9252 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9254 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9255 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9256 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9257 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9259 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9261 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9264 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9266 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9267 Move -mhard-float appending from
9268 ports/sysdeps/powerpc/powerpc32/Makefile.
9269 [$(with-fp) = yes] (ASFLAGS): Likewise.
9270 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9271 * sysdeps/powerpc/nofpu: Move directory from
9272 ports/sysdeps/powerpc/nofpu.
9273 * sysdeps/powerpc/soft-fp: Move directory from
9274 ports/sysdeps/powerpc/soft-fp.
9275 * sysdeps/powerpc/powerpc32/405: Move directory from
9276 ports/sysdeps/powerpc/powerpc32/405.
9277 * sysdeps/powerpc/powerpc32/440: Move directory from
9278 ports/sysdeps/powerpc/powerpc32/440.
9279 * sysdeps/powerpc/powerpc32/464: Move directory from
9280 ports/sysdeps/powerpc/powerpc32/464.
9281 * sysdeps/powerpc/powerpc32/476: Move directory from
9282 ports/sysdeps/powerpc/powerpc32/476.
9283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9284 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9286 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9288 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9290 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9292 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9293 * README: Update for powerpc-*-linux-gnu software floating point
9296 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9297 case to powerpc/powerpc32*.
9298 * sysdeps/unix/sysv/linux/configure: Regenerated.
9300 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9301 (_FPU_MASK_OM): Define as 0x04.
9302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9310 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9313 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9316 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9317 and setcontext_e500.
9319 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9321 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9323 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9325 * manual/threads.texi (Default Thread Attributes): Fix typo.
9327 2013-10-04 Will Newton <will.newton@linaro.org>
9329 * malloc/Makefile: Add tst-memalign.
9330 * malloc/tst-memalign.c: New file.
9332 * malloc/tst-posix_memalign.c: Add comments.
9333 (do_test): Add comments and call free on all potentially
9334 allocated pointers. Add space after cast.
9336 * malloc/tst-pvalloc.c: Add comments.
9337 (do_test): Add comments and call free on all potentially
9338 allocated pointers. Remove duplicate check for NULL pointer.
9339 Add space after cast.
9341 * malloc/tst-valloc.c: Add comments.
9342 (do_test): Add comments and call free on all potentially
9343 allocated pointers. Remove duplicate check for NULL pointer.
9344 Add space after cast.
9346 2013-10-04 Alan Modra <amodra@gmail.com>
9348 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9349 Use stdint types in rather than __attribute__((mode())).
9350 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9352 2013-10-04 Alan Modra <amodra@gmail.com>
9354 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9355 Correct handling of unaligned relocs for little-endian.
9356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9358 2013-10-04 Alan Modra <amodra@gmail.com>
9360 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9361 * configure: Regenerate.
9362 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9363 * shlib-versions: Likewise.
9365 2013-10-04 Alan Modra <amodra@gmail.com>
9367 * string/tester.c (test_memrchr): Increment reported test cycle.
9369 2013-10-04 Alan Modra <amodra@gmail.com>
9371 * string/test-memcpy.c (do_one_test): When reporting errors, print
9372 string address and don't overrun end of string.
9374 2013-10-04 Alan Modra <amodra@gmail.com>
9376 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9377 insrdi. Make better use of reg selection to speed exit slightly.
9378 Schedule entry path a little better. Remove useless "are we done"
9379 checks on entry to main loop. Handle wrapping around zero address.
9380 Correct main loop count. Handle single left-over word from main
9381 loop inline rather than by using loop_small. Remove extra word
9382 case in loop_small caused by wrong loop count. Add little-endian
9384 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9385 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9387 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9388 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9389 support. Avoid rlwimi.
9390 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9392 2013-10-04 Alan Modra <amodra@gmail.com>
9394 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9396 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9397 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9398 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9399 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9400 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9401 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9403 2013-10-04 Alan Modra <amodra@gmail.com>
9405 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9406 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9407 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9408 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9409 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9410 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9411 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9412 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9413 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9414 use of regs. Use power7 mtocrf. Tidy function tails.
9416 2013-10-04 Alan Modra <amodra@gmail.com>
9418 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9419 Formatting. Consistently use rXXX register defines or rN defines.
9420 Use early exit labels that avoid restoring unused non-volatile regs.
9421 Make cr field use more consistent with rWORDn compares. Rename
9422 regs used as shift registers for unaligned loop, using rN defines
9423 for short lifetime/multiple use regs.
9424 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9425 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9426 addi 1,1,64 to pop stack frame. Simplify return value code.
9427 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9429 2013-10-04 Alan Modra <amodra@gmail.com>
9431 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9432 support. Correct typos, formatting. Optimize tail. Use insrdi
9434 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9435 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9436 little-endian support. Correct typos.
9437 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9439 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9440 in loop and entry code to keep "and." results.
9441 (strchr): Add little-endian support. Comment. Move cntlzd
9443 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9445 2013-10-04 Alan Modra <amodra@gmail.com>
9447 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9448 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9449 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9450 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9452 2013-10-04 Alan Modra <amodra@gmail.com>
9454 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9455 (rTMP): Define as r11.
9456 (strcmp): Add little-endian support. Optimise tail.
9457 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9458 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9459 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9460 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9461 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9462 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9463 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9465 2013-10-04 Alan Modra <amodra@gmail.com>
9467 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9468 little-endian support. Remove unnecessary "are we done" tests.
9469 Handle "s" wrapping around zero and extremely large "size".
9470 Correct main loop count. Handle single left-over word from main
9471 loop inline rather than by using small_loop. Correct comments.
9472 Delete "zero" tail, use "end_max" instead.
9473 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9475 2013-10-04 Alan Modra <amodra@gmail.com>
9477 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9478 support. Don't branch over align.
9479 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9480 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9481 support. Rearrange tmp reg use to suit. Comment.
9482 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9484 2013-10-04 Alan Modra <amodra@gmail.com>
9486 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9488 2013-10-04 Alan Modra <amodra@gmail.com>
9490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9491 conditional form of branch and link when obtaining pc.
9492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9494 2013-10-04 Alan Modra <amodra@gmail.com>
9496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9501 2013-10-04 Alan Modra <amodra@gmail.com>
9503 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9504 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9505 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9506 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9507 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9508 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9509 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9510 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9511 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9512 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9514 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9515 Alistair Popple <alistair@ozlabs.au.ibm.com>
9516 Alan Modra <amodra@gmail.com>
9519 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9520 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9521 _dl_hwcap access for little-endian.
9522 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9523 destroy vmx regs when saving unaligned.
9524 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9525 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9526 destroy vmx regs when saving unaligned.
9528 2013-10-04 Alan Modra <amodra@gmail.com>
9530 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9531 Don't use a union to pack hi/low value.
9533 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9535 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9537 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9538 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9539 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9540 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9541 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9543 2013-10-04 Alan Modra <amodra@gmail.com>
9545 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9546 constants to usual value for .cst8 section, and remove redundant
9548 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9549 constant for 0x1p52. Load little-endian words of double from
9550 correct stack offsets.
9552 2013-10-04 Alan Modra <amodra@gmail.com>
9554 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9555 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9556 words of double from correct stack offsets.
9557 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9558 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9559 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9560 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9561 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9562 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9563 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9564 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9565 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9566 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9567 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9568 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9569 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9570 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9571 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9572 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9573 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9575 2013-10-04 Alan Modra <amodra@gmail.com>
9577 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9578 64-bit int/double union.
9579 (_FPU_SETCW): Likewise.
9580 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9581 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9583 2013-10-04 Alan Modra <amodra@gmail.com>
9585 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9586 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9588 2013-10-04 Alan Modra <amodra@gmail.com>
9590 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9591 use vector int constants.
9592 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9594 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9596 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9597 array with long long.
9598 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9599 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9600 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9601 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9602 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9603 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9604 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9605 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9606 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9607 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9608 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9609 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9610 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9612 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9614 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9615 (__signbit): Likewise. Correct for little-endian.
9616 (__signbitl): Call __signbit.
9617 (lrint): Correct for little-endian.
9618 (lrintf): Call lrint.
9620 2013-10-04 Alan Modra <amodra@gmail.com>
9622 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9623 union 32-bit int array member with 64-bit int array.
9624 (t515, tm256): Double rather than long double.
9625 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9627 2013-10-04 Alan Modra <amodra@gmail.com>
9629 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9631 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9632 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9633 version of math_ldbl.h.
9635 2013-10-04 Alan Modra <amodra@gmail.com>
9637 [BZ #15734], [BZ #15735]
9638 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9639 all uses of ieee875 long double macros and unions. Simplify test
9640 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9641 ldbl_extract_mantissa value for ix,iy exponents. Properly
9642 normalize after ldbl_extract_mantissa, and don't add hidden bit
9643 already handled. Don't treat low word of ieee854 mantissa like
9644 low word of IBM long double and mask off bit when testing for
9646 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9647 all uses of ieee875 long double macros and unions. Simplify tests
9648 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9649 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9650 two1022, instead use their values. Recognise that tests for large
9651 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9652 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9653 Rewrite all uses of ieee875 long double macros and unions. Simplify
9654 test for 0.0L and nan. Correct negation.
9655 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9656 ieee875 long double macros and unions. Correct output for large
9657 magnitude x. Correct absolute value calculation.
9658 (__erfcl): Likewise.
9659 * math/libm-test.inc: Add tests for errors discovered in IBM long
9660 double versions of fmodl, remainderl, erfl and erfcl.
9662 2013-10-04 Alan Modra <amodra@gmail.com>
9664 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9665 all uses of ieee854 long double macros and unions. Simplify tests
9666 for long doubles that are fully specified by the high double.
9667 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9669 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9670 Remove dead code too.
9671 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9672 (__ieee754_ynl): Likewise.
9673 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9674 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9675 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9676 Remove dead code too.
9677 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9678 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9679 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9680 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9682 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9684 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9685 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9686 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9687 Comment on variable precision.
9688 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9689 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9691 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9692 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9693 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9694 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9695 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9697 2013-10-04 Alan Modra <amodra@gmail.com>
9699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9700 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9701 all uses of ieee854 long double macros and unions.
9702 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9703 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9704 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9705 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9706 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9707 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9709 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9710 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9711 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9712 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9713 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9714 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9715 Simplify sign and nan test too.
9716 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9717 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9718 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9719 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9721 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9722 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9724 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9725 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9726 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9727 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9728 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9729 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9731 2013-10-04 Alan Modra <amodra@gmail.com>
9733 * stdio-common/printf_size.c (__printf_size): Don't use
9734 union ieee854_long_double in fpnum union.
9735 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9736 signbit macro to retrieve sign from long double.
9737 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9738 retrieve sign from long double.
9739 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9740 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9741 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9742 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9743 * math/test-misc.c (main): Don't use union ieee854_long_double.
9745 2013-10-04 Alan Modra <amodra@gmail.com>
9748 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9749 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9750 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9751 calculation. Remove unnecessary test for denormal exponent.
9752 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9753 Correct handling of denormals. Avoid undefined shift behaviour.
9754 Correct normalisation of low mantissa when low double is denormal.
9755 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9756 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9757 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9758 Correct normalisation of low mantissa. Test for overflow of high
9759 mantissa and normalise.
9760 (ldbl_nearbyint): Use more readable constant for two52.
9761 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9762 (__mpn_construct_long_double): Fix test for overflow of high
9763 mantissa and correct normalisation. Avoid undefined shift.
9765 2013-10-04 Alan Modra <amodra@gmail.com>
9767 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9768 (union ibm_extended_long_double): Define as an array of ieee754_double.
9769 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9770 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9771 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9772 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9775 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9776 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9777 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9778 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9779 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9781 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9783 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9784 page size instead of calling getpagesize.
9786 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9787 (LOCFILE_ALIGN_MASK): Likewise.
9788 (LOCFILE_ALIGN_UP): Likewise.
9789 (LOCFILE_ALIGNED_P): Likewise.
9790 * locale/programs/ld-collate.c (collate_output): Use the new
9791 macros instead of __alignof__ (int32_t).
9792 * locale/weight.h (findidx): Likewise.
9794 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9797 * manual/string.texi: Fix strncat and wcsncat.
9799 2013-10-03 Brooks Moses <bmoses@google.com>
9802 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9803 * Makerules: ...here, and adjust associated comments.
9805 2013-10-02 Will Newton <will.newton@linaro.org>
9807 * malloc/Makefile: Add tst-pvalloc.
9808 * malloc/tst-pvalloc.c: New file.
9810 2013-10-02 Will Newton <will.newton@linaro.org>
9812 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9813 improve test coverage.
9815 2013-10-02 Will Newton <will.newton@linaro.org>
9817 * malloc/Makefile: Add tst-posix_memalign.
9818 * malloc/tst-posix_memalign.c: New file.
9820 2013-10-01 Eric Blake <eblake@redhat.com>
9822 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9823 Use __THROWNL rather than __THROW on static functions.
9825 2013-09-30 Petr Machata <pmachata@redhat.com>
9827 * elf/elf.h (R_AARCH64_ABS16): New macro.
9828 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9829 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9830 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9831 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9832 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9833 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9834 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9835 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9836 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9837 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9838 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9839 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9840 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9841 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9842 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9843 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9844 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9845 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9846 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9847 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9848 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9849 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9850 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9851 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9852 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9853 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9854 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9855 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9856 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9857 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9858 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9859 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9860 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9861 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9862 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9863 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9864 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9865 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9866 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9867 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9868 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9869 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9870 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9871 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9872 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9873 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9874 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9875 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9876 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9877 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9878 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9879 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9880 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9881 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9882 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9883 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9884 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9885 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9886 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9887 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9888 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9889 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9890 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9891 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9892 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9893 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9894 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9895 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9896 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9897 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9898 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9899 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9900 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9901 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9902 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9903 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9904 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9905 (R_AARCH64_TLSDESC_LDR): Likewise.
9906 (R_AARCH64_TLSDESC_ADD): Likewise.
9907 (R_AARCH64_TLSDESC_CALL): Likewise.
9909 2013-09-30 Andreas Schwab <schwab@suse.de>
9912 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9913 the nss database lookup.
9914 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9917 2013-09-28 Mike Frysinger <vapier@gentoo.org>
9919 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9921 2013-09-28 P. J. McDermott <pj@pehjota.net>
9923 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9924 ${Bash-specific parameter/pattern/string} parameter expansion.
9925 * sysdeps/unix/make-syscalls.sh: Likewise.
9927 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9929 * sysdeps/sh/stackguard-macros.h: New file.
9931 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
9933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9934 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9935 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9936 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9937 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9938 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9940 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9942 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9943 Fix thread ID register.
9945 2013-09-25 Joseph Myers <joseph@codesourcery.com>
9947 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9948 [POSIX || UNIX98]: Require rather than permitting all symbols from
9950 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9951 element of struct sched_param.
9952 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9953 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9954 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9955 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9958 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9960 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9961 argument calculation.
9963 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9965 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9967 [POSIX] (pthread_attr_t): Do not require type.
9968 [POSIX] (pthread_cond_t): Likewise.
9969 [POSIX] (pthread_condattr_t): Likewise.
9970 [POSIX] (pthread_key_t): Likewise.
9971 [POSIX] (pthread_mutex_t): Likewise.
9972 [POSIX] (pthread_mutexattr_t): Likewise.
9973 [POSIX] (pthread_once_t): Likewise.
9974 [POSIX] (pthread_t): Likewise.
9975 [POSIX-based standards] (pthread_atfork): Expect function.
9977 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9978 Richard Sandiford <richard@codesourcery.com>
9980 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9981 (swap_endianness_p): New extern variable.
9982 (set_big_endian): New inline function.
9983 (maybe_swap_uint32): Likewise.
9984 (maybe_swap_uint32_array): Likewise.
9985 (maybe_swap_uint32_obstack): Likewise.
9986 * locale/programs/locfile.c: Include <stdbool.h>.
9987 (swap_endianness_p): New variable.
9988 (add_locale_uint32): Call maybe_swap_uint32.
9989 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9990 (write_locale_data): Call maybe_swap_uint32_array.
9991 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9993 (obstack_int32_grow_fast): Likewise.
9994 (output_weightwc): Call maybe_swap_uint32_obstack.
9995 (collate_output): Likewise.
9996 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9997 (OPT_LITTLE_ENDIAN): Likewise.
9998 (options): Add --little-endian and --big-endian options.
9999 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10000 * locale/programs/locarchive.c: Include "locfile.h".
10004 (create_archive): Use the new macros to access fields of
10005 structures directly mapped from or written to locale archives.
10006 (oldlocrecentcmp): Likewise.
10007 (enlarge_archive): Likewise.
10008 (insert_name): Likewise.
10009 (add_alias): Likewise.
10010 (add_locale): Likewise.
10011 (delete_locales_from_archive): Likewise.
10012 (show_archive_content): Likewise.
10013 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10016 2013-09-24 Roland McGrath <roland@hack.frob.com>
10018 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10019 http://www.gnu.org/doc/freemanuals.texi.
10020 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10022 2013-09-24 Will Newton <will.newton@linaro.org>
10024 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10027 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10029 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10032 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10034 * manual/threads.texi (POSIX Threads): Fix a typo.
10036 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10039 * string/tst-strcoll-overflow.c: New test case.
10040 * string/Makefile (xtests): Add tst-strcoll-overflow.
10041 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10042 cache if string sizes may cause integer overflow.
10045 * string/strcoll_l.c (coll_seq): New members rule, idx,
10046 save_idx and back_us.
10047 (get_next_seq_nocache): New function.
10048 (do_compare_nocache): New function.
10049 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10052 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10055 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10056 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10057 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10060 * elf/Makefile (tests): Add tst-ptrguard1.
10061 (tests-static): Add tst-ptrguard1-static.
10062 (tst-ptrguard1-ARGS): Define.
10063 (tst-ptrguard1-static-ARGS): Define.
10064 * elf/tst-ptrguard1.c: New file.
10065 * elf/tst-ptrguard1-static.c: New file.
10066 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10067 * sysdeps/i386/stackguard-macros.h: Likewise.
10068 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10069 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10070 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10071 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10072 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10073 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10075 2013-09-23 Hector Marco <hecmargi@upv.es>
10076 Ismael Ripoll <iripoll@disca.upv.es>
10077 Carlos O'Donell <carlos@redhat.com>
10080 * sysdeps/generic/stackguard-macros.h: Define
10081 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10082 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10083 Define __pointer_chk_guard_local.
10084 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10085 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10087 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10090 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10092 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10094 * include/string.h (__ffs): Declare as hidden.
10095 * string/ffs.c (__ffs): Define as hidden.
10096 * sysdeps/i386/ffs.c (__ffs): Likewise.
10097 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10098 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10099 * sysdeps/s390/ffs.c (__ffs): Likewise.
10100 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10102 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10104 * NEWS: Mention malloc probes.
10106 * malloc/arena.c (new_heap): New memory_heap_new probe.
10107 (grow_heap): New memory_heap_more probe.
10108 (shrink_heap): New memory_heap_less probe.
10109 (heap_trim): New memory_heap_free probe.
10110 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10111 (systrim): New memory_sbrk_less probe.
10112 * manual/probes.texi: Document them.
10114 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10115 * manual/probes.texi: Document it.
10117 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10118 (__libc_realloc): Add memory_realloc_retry probe.
10119 (__libc_memalign): Add memory_memalign_retry probe.
10120 (__libc_valloc): Add memory_valloc_retry probe.
10121 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10122 (__libc_calloc): Add memory_calloc_retry probe.
10123 * manual/probes.texi: Document them.
10125 * malloc/arena.c (get_free_list): Add probe
10126 memory_arena_reuse_free_list.
10127 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10128 and memory_arena_reuse.
10129 (arena_get2) [!PER_THREAD]: Likewise.
10130 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10131 memory_arena_reuse_realloc.
10132 * manual/probes.texi: Document them.
10134 * malloc/malloc.c (__libc_free): Add
10135 memory_mallopt_free_dyn_thresholds probe.
10136 (__libc_mallopt): Add multiple memory_mallopt probes.
10137 * manual/probes.texi: Document them.
10139 * malloc/malloc.c: Include stap-probe.h.
10140 (__libc_mallopt): Add memory_mallopt probe.
10141 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10142 * manual/probes.texi: New.
10143 * manual/Makefile (chapters): Add probes.
10144 * manual/threads.texi: Set next node.
10146 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10148 [BZ #15963, #13985]
10149 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10150 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10151 Add `Chinese' to `nan' entry name.
10153 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10155 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10156 (POLYNOMIAL): Likewise.
10157 (TAYLOR_SINCOS): Likewise.
10158 (TAYLOR_SLOW): Likewise.
10159 (__sin): Use TAYLOR_SINCOS.
10161 (slow): Use TAYLOR_SLOW.
10163 (bsloww): Likewise.
10164 (csloww): Likewise.
10166 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10168 * stdlib/strtod_l.c: Fix buffer overrun.
10170 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10172 * benchtests/Makefile (bench): Add sincos.
10173 * benchtests/bench-sincos.c: New file.
10175 * math/libm-test.inc (cos_test_data): New test inputs.
10176 (sin_test_data): Likewise.
10178 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10184 (sloww1): Likewise.
10185 (sloww2): Likewise.
10186 (bsloww1): Likewise.
10187 (bsloww2): Likewise.
10188 (cslow2): Likewise.
10189 (csloww1): Likewise.
10190 (csloww2): Likewise.
10192 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10197 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10201 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10203 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10204 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10205 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10206 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10207 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10208 * elf/cache.c (print_entry): Handle the new cache flags.
10210 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10211 Aldy Hernandez <aldyh@redhat.com>
10213 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10214 Change condition to [_SOFT_FLOAT].
10215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10219 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10221 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10223 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10225 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10227 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10228 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10230 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10233 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10235 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10236 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10237 (__longjmp): Use LOAD_GP to load saved GPRs.
10238 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10239 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10240 (__sigsetjmp): Use SAVE_GP to save GPRs.
10242 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10243 Do not append -msoft-float.
10244 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10246 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10248 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10250 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10253 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10254 (_FPU_GETCW): Use initial "__" on variable and field names but not
10255 on macro parameter name.
10256 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10257 parentheses around reference to macro parameter.
10259 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10261 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10263 (ctype_startup): Use uint32_t in cast and sizeof for
10266 2013-09-11 Jia Liu <proljc@gmail.com>
10268 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10270 [__FreeBSD__]: Likewise.
10272 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10274 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10275 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10276 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10277 (strchr): Remove __strchr_sse42 ifunc selection.
10278 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10279 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10281 2013-09-11 Will Newton <will.newton@linaro.org>
10283 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10284 parameter to RES. Remove hardcoded 1000 value.
10285 * benchtests/bench-skeleton.c (main): Pass RES parameter
10286 to TIMING_INIT and multiply result by 1000.
10288 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10292 2013-09-11 Andreas Schwab <schwab@suse.de>
10294 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10296 (O_TMPFILE) [__USE_GNU]: Define.
10297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10300 2013-09-11 Will Newton <will.newton@linaro.org>
10303 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10306 2013-09-11 Will Newton <will.newton@linaro.org>
10309 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10312 2013-09-11 Will Newton <will.newton@linaro.org>
10315 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10318 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10320 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10321 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10322 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10323 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10324 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10326 2013-09-10 Allan McRae <allan@archlinux.org>
10329 * manual/arith.texi (Parsing of Floats): Clarify
10333 * manual/install.texi (Running make install): Mention
10335 * INSTALL: Regenerated.
10337 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10339 * csu/init-first.c (_init): Remove the !SHARED condition around
10340 FPU control word initialization.
10341 * elf/dl-support.c (_dl_fpu_control): New variable.
10342 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10343 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10344 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10345 * math/test-fpucw-static.c: New file.
10346 * math/test-fpucw-ieee.c: New file.
10347 * math/test-fpucw-ieee-static.c: New file.
10348 * math/Makefile (tests): Add `test-fpucw-ieee' and
10350 (tests-static): New variable.
10351 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10353 [($(build-shared),yes)]
10354 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10356 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10359 2013-09-09 Allan McRae <allan@archlinux.org>
10362 * manual/string.texi (Collation Functions): Fix typo in
10364 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10367 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10370 * libio/memstream.c (open_memstream): Fix memory leak.
10371 * libio/wmemstream.c (open_wmemstream): Likewise.
10374 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10376 2013-09-09 Will Newton <will.newton@linaro.org>
10378 * malloc/Makefile: Add tst-realloc to tests.
10379 * malloc/tst-realloc.c: New file.
10381 2013-09-09 Allan McRae <allan@archlinux.org>
10384 * COPYING: Update from GNU website to fix FSF address.
10385 * COPYING.LIB: Likewise.
10387 2013-09-06 David S. Miller <davem@davemloft.net>
10389 * po/zh_TW.po: Update Chinese (traditional) translation from
10390 translation project.
10392 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10393 Joseph Myers <joseph@codesourcery.com>
10395 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10397 (obstack_chunk_alloc): New macro.
10398 (obstack_chunk_free): Likewise.
10399 (record_offset): New function.
10400 (init_locale_data): Likewise.
10401 (align_locale_data): Likewise.
10402 (add_locale_empty): Likewise.
10403 (add_locale_raw_data): Likewise.
10404 (add_locale_raw_obstack): Likewise.
10405 (add_locale_string): Likewise.
10406 (add_locale_wstring): Likewise.
10407 (add_locale_uint32): Likewise.
10408 (add_locale_uint32_array): Likewise.
10409 (add_locale_char): Likewise.
10410 (start_locale_structure): Likewise.
10411 (end_locale_structure): Likewise.
10412 (start_locale_prelude): Likewise.
10413 (end_locale_prelude): Likewise.
10414 (write_locale_data): Take locale_file structure rather than an
10416 * locale/programs/locfile.h: Include "obstack.h".
10417 (struct locale_file): Change to store locale file contents instead
10419 (init_locale_data): New prototype.
10420 (align_locale_data): Likewise.
10421 (add_locale_empty): Likewise.
10422 (add_locale_raw_data): Likewise.
10423 (add_locale_raw_obstack): Likewise.
10424 (add_locale_string): Likewise.
10425 (add_locale_wstring): Likewise.
10426 (add_locale_uint32): Likewise.
10427 (add_locale_uint32_array): Likewise.
10428 (add_locale_char): Likewise.
10429 (start_locale_structure): Likewise.
10430 (end_locale_structure): Likewise.
10431 (start_locale_prelude): Likewise.
10432 (end_locale_prelude): Likewise.
10433 (write_locale_data): Update prototype.
10434 * locale/programs/3level.h (struct TABLE): Remove result field.
10435 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10436 Use new locale_file interface.
10437 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10438 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10439 * locale/programs/ld-address.c (address_output): Use new
10440 locale_file interface.
10441 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10443 (collate_finish): Don't call collseq_table_finalize.
10444 (collate_output): Use new locale_file interface.
10445 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10447 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10448 (TABLE): Move defines earlier in file.
10449 (ELEMENT): Likewise.
10450 (DEFAULT): Likewise.
10451 (wctrans_table_add): Move macro and inline function earlier in
10453 (struct wctype_table): Move type earlier in file.
10454 (add_locale_wctype_table): New static prototype.
10455 (struct locale_ctype_t): Use logical types instead of struct iovec
10456 pointers for members.
10457 (ctype_output): Use new locale_file interface.
10458 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10459 new locale_file interface.
10460 (allocate_arrays): Update for use of new locale_file interface.
10461 * locale/programs/ld-identification.c (identification_output): Use
10462 new locale_file interface.
10463 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10464 * locale/programs/ld-messages.c (messages_output): Likewise.
10465 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10466 * locale/programs/ld-name.c (name_output): Likewise.
10467 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10468 * locale/programs/ld-paper.c (paper_output): Likewise.
10469 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10470 * locale/programs/ld-time.c (time_output): Likewise.
10472 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10474 * benchtests/Makefile: Add memrchr benchmark.
10475 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10476 benchmark as memrchr.
10477 * benchtests/bench-memrchr-ifunc.c: New file.
10478 * benchtests/bench-memrchr.c: New file.
10480 2013-09-06 Will Newton <will.newton@linaro.org>
10482 * benchtests/Makefile (string-bench): Add memcpy.
10484 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10485 Cong Wang <amwang@redhat.com>
10488 * sysdeps/unix/sysv/linux/bits/in.h
10489 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10490 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10491 before __USE_KERNEL_IPV6_DEFS uses.
10492 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10494 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10495 sockaddr_in6, or ipv6_mreq.
10497 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10499 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10500 memory access for final bytes in some large inputs.
10501 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10503 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10505 * string/test-memrchr.c: New file.
10506 * string/test-memrchr-ifunc.c: New file.
10507 * string/Makefile: Add new memrchr testcase.
10509 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10511 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10512 fanotify_init returns EPERM.
10514 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10516 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10518 (top level): Treat second token from macro or constant entries for
10519 allowed headers as allowed.
10520 * include/complex.h: Condition internal declarations on
10522 * include/fenv.h: Condition include of <stdbool.h> and internal
10523 declarations on [!_ISOMAC].
10525 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10528 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10530 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10532 * configure.in (--enable-versioning): Remove configure option.
10533 (libc_cv_asm_symver_directive): Remove configure test.
10534 (libc_cv_ld_version_script_option): Likewise.
10535 (VERSIONING): Remove variable and AC_SUBST.
10536 (DO_VERSIONING): Remove AC_DEFINE.
10537 * configure: Regenerated.
10538 * config.h.in (DO_VERSIONING): Remove macro.
10539 * Makerules [$(versioning) = yes]: Change conditionals to
10540 [$(build-shared) = yes].
10541 * config.make.in (versioning): Remove variable.
10542 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10543 [$(build-shared) = yes].
10544 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10545 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10546 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10547 [$(build-shared) = yes].
10548 * extra-lib.mk [$(versioning) = yes]: Likewise.
10549 * hurd/Makefile [$(versioning) = yes]: Likewise.
10550 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10552 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10554 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10555 [SHARED && !NO_HIDDEN].
10556 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10558 [SHARED && DO_VERSIONING]: Likewise..
10559 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10560 [$(build-shared) = yes].
10561 * manual/install.texi (--disable-versioning): Remove
10563 * INSTALL: Regenerated.
10564 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10566 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10567 [$(build-shared) = yes].
10568 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10569 * sysdeps/i386/i686/multiarch/strstr-c.c
10570 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10571 [SHARED && !NO_HIDDEN].
10572 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10573 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10574 * sysdeps/powerpc/powerpc32/dl-machine.c
10575 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10576 * sysdeps/powerpc/powerpc32/sysdep.h
10577 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10578 to [SHARED && PIC && !NO_HIDDEN].
10579 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10580 conditional to [SHARED].
10582 2013-09-04 Will Newton <will.newton@linaro.org>
10584 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10585 * benchtests/bench-string.h: Include bench-timing.h instead
10586 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10587 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10588 call to HP_TIMING_DIFF_INIT.
10589 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10590 instead of hp-timing.h macros.
10591 * benchtests/bench-memchr.c: Likewise.
10592 * benchtests/bench-memcmp.c: Likewise.
10593 * benchtests/bench-memcpy.c: Likewise.
10594 * benchtests/bench-memmem.c: Likewise.
10595 * benchtests/bench-memmove.c: Likewise.
10596 * benchtests/bench-memset.c: Likewise.
10597 * benchtests/bench-rawmemchr.c: Likewise.
10598 * benchtests/bench-strcasecmp.c: Likewise.
10599 * benchtests/bench-strcasestr.c: Likewise.
10600 * benchtests/bench-strcat.c: Likewise.
10601 * benchtests/bench-strchr.c: Likewise.
10602 * benchtests/bench-strcmp.c: Likewise.
10603 * benchtests/bench-strcpy.c: Likewise.
10604 * benchtests/bench-strcpy_chk.c: Likewise.
10605 * benchtests/bench-strlen.c: Likewise.
10606 * benchtests/bench-strncasecmp.c: Likewise.
10607 * benchtests/bench-strncat.c: Likewise.
10608 * benchtests/bench-strncmp.c: Likewise.
10609 * benchtests/bench-strncpy.c: Likewise.
10610 * benchtests/bench-strnlen.c: Likewise.
10611 * benchtests/bench-strpbrk.c: Likewise.
10612 * benchtests/bench-strrchr.c: Likewise.
10613 * benchtests/bench-strspn.c: Likewise.
10614 * benchtests/bench-strstr.c: Likewise.
10616 2013-09-04 Will Newton <will.newton@linaro.org>
10618 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10620 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10623 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10624 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10625 * math/libm-test.inc (lgamma_test_data): Add more tests.
10626 * sysdeps/i386/fpu/libm-test-ulps: Update.
10627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10629 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10631 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10635 Add strcmp-sse2-unaligned
10636 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10638 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10640 * Versions.def (libc): Add GLIBC_2.19.
10642 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10644 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10645 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10647 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10650 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10651 intermediate calculations in recurrence.
10652 (__ieee754_ynf): Likewise.
10653 * math/libm-test.inc (jn_test_data): Do not allow spurious
10654 underflow exception. Add more tests.
10655 (yn_test_data): Add more tests.
10656 * sysdeps/i386/fpu/libm-test-ulps: Update.
10657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10659 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10661 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10663 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10665 * csu/init-first.c: Fix then/than typos.
10666 * locale/programs/ld-collate.c: Likewise.
10667 * locale/programs/linereader.h: Likewise.
10668 * manual/charset.texi: Likewise.
10669 * manual/filesys.texi: Likewise.
10670 * manual/stdio.texi: Likewise.
10671 * manual/string.texi: Likewise.
10672 * stdlib/fmtmsg.c: Likewise.
10673 * sysdeps/i386/stpncpy.S: Likewise.
10674 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10675 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10676 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10677 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10679 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10681 * elf/dl-open.c: Fix typos.
10682 * iconvdata/gbbig5.c: Likewise.
10683 * iconvdata/iso-2022-jp.c: Likewise.
10684 * iconv/gconv_int.h: Likewise.
10685 * iconv/loop.c: Likewise.
10686 * nis/rpcsvc/nis.h: Likewise.
10687 * resolv/ns_name.c: Likewise.
10688 * stdio-common/vfscanf.c: Likewise.
10689 * streams/stropts.h: Likewise.
10690 * sunrpc/rpc_thread.c: Likewise.
10691 * sysdeps/i386/strpbrk.S: Likewise.
10692 * sysdeps/ieee754/k_standard.c: Likewise.
10693 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10694 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10695 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10696 * sysdeps/mach/hurd/profil.c: Likewise.
10697 * sysdeps/s390/dl-procinfo.h: Likewise.
10698 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10699 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10700 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10701 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10702 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10704 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10706 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10707 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10709 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10711 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10712 aix specific files.
10713 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10714 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10715 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10716 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10717 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10718 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10719 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10720 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10722 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10723 Roland McGrath <roland@hack.frob.com>
10725 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10726 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10728 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10730 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10731 __executable_start symbol instead of _start.
10733 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10735 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10736 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10738 * sysdeps/gnu/ldsodefs.h: ... this new file.
10740 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10741 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10742 instead of ELFOSABI_LINUX.
10744 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10745 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10746 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10747 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10749 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10750 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10751 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10753 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10754 (ibm_extended_long_double): Add ieee_nan member.
10755 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10756 (do_test): New function.
10758 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10760 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10761 functions, renamed from truncdfsf_test, trunctfsf_test,
10763 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10765 (do_test): Run all these.
10767 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10769 * argp/argp-help.c: Fix typos.
10770 * argp/argp-parse.c: Likewise.
10771 * debug/backtracesyms.c: Likewise.
10772 * elf/elf.h: Likewise.
10773 * malloc/malloc.c: Likewise.
10774 * nis/nis_print.c: Likewise.
10775 * resolv/res_comp.c: Likewise.
10776 * stdlib/stdlib.h: Likewise.
10777 * sunrpc/clnt_tcp.c: Likewise.
10778 * sunrpc/clnt_udp.c: Likewise.
10779 * sunrpc/clnt_unix.c: Likewise.
10780 * sysdeps/unix/bsd/ptsname.c: Likewise.
10781 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10782 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10789 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10791 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10793 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10796 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10799 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10800 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10801 ($(objpfx)bug-dl-leaf): New rule.
10802 ($(objpfx)bug-dl-leaf.so): Likewise.
10803 ($(objpfx)bug-dl-leaf.out): Likewise.
10804 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10805 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10806 * dlfcn/bug-dl-leaf.c: New test.
10807 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10808 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10809 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10810 (dlclose): Likewise.
10811 (dlmopen): Likewise.
10813 2013-08-27 Roland McGrath <roland@hack.frob.com>
10815 * include/netdb.h [!_ISOMAC]:
10816 Don't include <tls.h>.
10817 (h_errno, __libc_h_errno): Move declaration and macros out of
10820 * include/resolv.h [_RESOLV_H_]:
10821 Don't include <tls.h>.
10822 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10823 * resolv/res_libc.c: Don't include <tls.h>.
10824 (_res): Use __attribute__ ((nocommon)) in place of
10825 __attribute__ ((section (".bss"))).
10827 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10828 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10830 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10832 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10833 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10835 * resolv/res_mkquery.c: Include <sys/time.h>.
10837 * inet/ifreq.c: Moved to ...
10838 * sysdeps/unix/ifreq.c: ... here.
10839 * inet/ifreq.c: New file, true stub version.
10841 * socket/sa_len.c: New file.
10842 * socket/Makefile (aux): Add it.
10843 * sysdeps/unix/sysv/linux/Makefile
10844 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10845 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10846 and #include <socket/sa_len.c>.
10847 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10848 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10850 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10851 * bits/socket.h: ... here.
10853 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10854 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10855 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10857 2013-08-27 Andreas Schwab <schwab@suse.de>
10860 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10861 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10862 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10863 * string/test-strcasecmp.c (test_main): Run tests in several
10865 * string/test-strncasecmp.c (test_main): Likewise.
10867 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10868 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10869 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10871 (__strncasecmp_ssse3) [PIC]: Likewise.
10873 2013-08-26 Roland McGrath <roland@hack.frob.com>
10875 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10877 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10878 instead of explicitly declaring xdecrypt.
10879 * nis/nss_nis/nis-publickey.c: Likewise.
10881 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10884 * nscd/aicache.c: Include res_hconf.h.
10885 (addhstaiX): Initialize res_hconf.
10887 2013-08-26 Andreas Schwab <schwab@suse.de>
10889 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10890 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10892 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10894 * nscd/aicache.c (addhstaiX): Fix indentation.
10896 2013-08-25 Mike Frysinger <vapier@gentoo.org>
10898 * configure.ac: Quote $build_pt_chown test.
10899 * configure: Regenerated.
10901 2013-08-23 Joseph Myers <joseph@codesourcery.com>
10904 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10905 * math/s_cexpf.c (__cexpf): Likewise.
10906 * math/s_cexpl.c (__cexpl): Likewise.
10907 * math/libm-test.inc (cexp_test_data): Correct expected return
10908 value for NaN + i0. Add another test.
10910 2013-08-22 David S. Miller <davem@davemloft.net>
10912 * po/ca.po: Update Catalan translation from translation project.
10913 * po/uk.po: Add Ukrainian translations from translation project.
10915 2013-08-21 Joseph Myers <joseph@codesourcery.com>
10918 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10919 is infinite, not alongside NaN test.
10920 * math/s_fdimf.c (__fdimf): Likewise.
10921 * math/s_fdiml.c (__fdiml): Likewise.
10922 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10923 errno is unchanged.
10925 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
10927 * argp/argp-help.c: Fix typos.
10928 * crypt/speeds.c: Likewise.
10929 * csu/check_fds.c: Likewise.
10930 * elf/dl-load.c: Likewise.
10931 * elf/dl-open.c: Likewise.
10932 * elf/reldep3.c: Likewise.
10933 * elf/reldep.c: Likewise.
10934 * elf/sprof.c: Likewise.
10935 * iconv/iconv_charmap.c: Likewise.
10936 * iconv/skeleton.c: Likewise.
10937 * iconv/strtab.c: Likewise.
10938 * io/lockf64.c: Likewise.
10939 * libio/libioP.h: Likewise.
10940 * resolv/gai_notify.c: Likewise.
10941 * resolv/ns_name.c: Likewise.
10942 * resolv/ns_samedomain.c: Likewise.
10943 * resolv/res_send.c: Likewise.
10944 * stdlib/random.c: Likewise.
10945 * sunrpc/rpc/xdr.h: Likewise.
10946 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10947 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10948 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10949 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10950 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10951 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10952 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10953 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10954 * sysdeps/mach/hurd/check_fds.c: Likewise.
10955 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10956 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10957 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10958 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10959 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10960 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10961 * sysdeps/pthread/aio_notify.c: Likewise.
10962 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10963 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10964 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10965 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10966 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10968 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10970 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10971 version if bit_Slow_SSE4_2 is set.
10972 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10973 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10975 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10978 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10979 trampoline stack frame information.
10980 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10981 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10982 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10983 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10984 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10985 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10986 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10987 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10989 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10990 interrupting a syscall and set with option SA_SIGINFO.
10992 2013-08-20 Joseph Myers <joseph@codesourcery.com>
10995 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10996 argument is infinite.
10997 * math/s_cprojf.c (__cprojf): Likewise.
10998 * math/s_cprojl.c (__cprojl): Likewise.
10999 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11000 * math/libm-test.inc (cproj_test_data): Add more tests.
11002 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11004 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11005 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11006 size. Use __ffs to determine corresponding shift.
11008 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11009 Roland McGrath <roland@hack.frob.com>
11011 * Makefile (INSTALL): Remove trailing blank lines from output of
11014 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11016 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11017 Align 32 bit compat elf_greg to 8 bytes.
11019 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11021 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11023 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11025 * string/strcoll_l.c (coll_seq): New structure.
11026 (get_next_seq_cached): New function.
11027 (get_next_seq): New function.
11028 (do_compare): New function.
11029 (STRCOLL): Use GNU style definition. Simplify implementation
11030 by using get_next_seq, get_next_seq_cached and do_compare.
11032 2013-08-16 Florian Weimer <fweimer@redhat.com>
11036 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11038 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11040 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11041 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11042 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11044 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11045 GETDENTS_64BIT_ALIGNED.
11046 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11047 * manual/filesys.texi (Reading/Closing Directory): Document
11048 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11050 * manual/conf.texi (Limits for Files): Add portability note to
11051 NAME_MAX, PATH_MAX.
11052 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11054 2013-08-13 Andreas Schwab <schwab@suse.de>
11057 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11059 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11060 LDBL_MAX_EXP >= 16384]: Add tests for it.
11062 2013-08-12 David S. Miller <davem@davemloft.net>
11064 * version.h (RELEASE): Set to "development".
11065 (VERSION): Set to "2.18.90".
11066 * NEWS: Add 2.19 section.
11068 2013-08-03 David S. Miller <davem@davemloft.net>
11070 * po/ko.po: Update Korean translation from translation project.
11072 2013-08-01 David S. Miller <davem@davemloft.net>
11074 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11075 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11078 2013-07-30 David S. Miller <davem@davemloft.net>
11080 * po/fr.po: Update French translation from translation project.
11082 2013-07-28 David S. Miller <davem@davemloft.net>
11084 * po/cs.po: Update Czech translation from translation project.
11086 * po/sv.po: Update Swedish translation from translation project.
11088 2013-07-27 David S. Miller <davem@davemloft.net>
11090 * po/eo.po: Update Esperanto translation from translation project.
11092 * po/vi.po: Update Vietnamese translation from translation project.
11094 * po/de.po: Update German translation from translation project.
11096 2013-07-26 David S. Miller <davem@davemloft.net>
11098 * po/bg.po: Update Bulgarian translation from translation project.
11100 * po/nl.po: Update Dutch translation from translation project.
11101 * po/pl.po: Update Polish translation from translation project.
11102 * po/ru.po: Update Russian translation from translation project.
11104 2013-07-24 David S. Miller <davem@davemloft.net>
11106 * po/libc.pot: Update.
11108 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11110 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11111 variable page size.
11112 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11113 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11114 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11116 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11118 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11120 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11121 Andreas Schwab <schwab@suse.de>
11122 Roland McGrath <roland@hack.frob.com>
11123 Joseph Myers <joseph@codesourcery.com>
11124 Carlos O'Donell <carlos@redhat.com>
11127 * config.h.in: Define HAVE_PT_CHOWN.
11128 * config.make.in (build-pt-chown): New variable.
11129 * configure.in (--enable-pt_chown): New configure option.
11130 * configure: Regenerate.
11131 * login/Makefile: Include Makeconfig. Build pt_chown only if
11132 build-pt-chown is enabled.
11133 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11134 pt_chown to fix pty ownership.
11135 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11137 * manual/install.texi (Configuring and compiling): Mention
11138 --enable-pt_chown. Add @findex for grantpt.
11139 * INSTALL: Regenerate.
11141 2013-07-20 David S. Miller <davem@davemloft.net>
11143 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11144 difference between 32-bit and 64-bit.
11146 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11149 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11150 Avoid system header dependency with -ffreestanding.
11151 ($(objpfx)bits/syscall%d): Likewise.
11153 2013-07-13 David S. Miller <davem@davemloft.net>
11155 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11156 underflows from atanl/atan2l due to bug 15319.
11157 (casinh_test_data): Likewise.
11159 2013-07-07 David S. Miller <davem@davemloft.net>
11161 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11163 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11165 * sysdeps/i386/fpu/libm-test-ulps: Update.
11166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11168 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11170 * configure.in (--enable-lock-elision): Fix message text.
11171 * INSTALL: Regenerate.
11172 * configure: Regenerate.
11174 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11178 2013-07-03 Andreas Jaeger <aj@suse.de>
11180 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11182 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11183 (ptrace_peeksiginfo_args): Add.
11184 (__ptrace_peeksiginfo_flags): Add.
11185 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11186 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11187 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11189 2013-07-03 Allan McRae <allan@archlinux.org>
11191 * sysdeps/i386/fpu/libm-test-ulps: Update.
11193 2013-07-02 David S. Miller <davem@davemloft.net>
11195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11197 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11201 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11203 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11206 2013-07-02 Andi Kleen <ak@linux.intel.com>
11208 * config.h.in (ENABLE_LOCK_ELISION): Add.
11209 * configure.in (--enable-lock-elision): Add option.
11210 * manual/install.texi: Document --enable lock elision.
11211 * configure: Regenerate
11212 * INSTALL: Regenerate.
11214 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11216 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11217 SSE4.2 strcasecmp for libc.a.
11218 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11220 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11223 * soft-fp/op-common.h (_FP_FMA): New macro.
11224 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11225 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11226 (_FP_MUL_MEAT_1_imm): ... here.
11227 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11228 (_FP_MUL_MEAT_1_wide): ... here.
11229 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11230 (_FP_MUL_MEAT_1_hard): ... here.
11231 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11232 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11233 (_FP_MUL_MEAT_2_wide): ... here.
11234 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11235 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11236 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11237 (_FP_MUL_MEAT_2_gmp): ... here.
11238 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11239 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11240 (_FP_MUL_MEAT_4_wide): ... here.
11241 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11242 (_FP_MUL_MEAT_4_gmp): ... here.
11243 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11244 (_FP_WFRACBITS_DW_S): Likewise.
11245 (_FP_WFRACXBITS_DW_S): Likewise.
11246 (_FP_HIGHBIT_DW_S): Likewise.
11247 (FP_FMA_S): Likewise.
11248 (_FP_FRAC_HIGH_DW_S): Likewise.
11249 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11250 (_FP_WFRACBITS_DW_D): Likewise.
11251 (_FP_WFRACXBITS_DW_D): Likewise.
11252 (_FP_HIGHBIT_DW_D): Likewise.
11253 (FP_FMA_D): Likewise.
11254 (_FP_FRAC_HIGH_DW_D): Likewise.
11255 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11256 (_FP_WFRACBITS_DW_E): Likewise.
11257 (_FP_WFRACXBITS_DW_E): Likewise.
11258 (_FP_HIGHBIT_DW_E): Likewise.
11259 (FP_FMA_E): Likewise.
11260 (_FP_FRAC_HIGH_DW_E): Likewise.
11261 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11262 (_FP_WFRACBITS_DW_Q): Likewise.
11263 (_FP_WFRACXBITS_DW_Q): Likewise.
11264 (_FP_HIGHBIT_DW_Q): Likewise.
11265 (FP_FMA_Q): Likewise.
11266 (_FP_FRAC_HIGH_DW_Q): Likewise.
11267 * soft-fp/fmasf4.c: New file.
11268 * soft-fp/fmadf4.c: Likewise.
11269 * soft-fp/fmatf4.c: Likewise.
11271 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11274 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11276 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11278 (index_Slow_SSE4_2): Likewise.
11279 (index_Prefer_PMINUB_for_stringop): Likewise.
11280 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11281 bit_Slow_SSE4_2 is set.
11282 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11283 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11285 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11287 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11288 rtld_global._dl_hwcap2.
11289 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11291 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11292 POWER8 feature descriptions defined in _dl_hwcap2.
11293 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11294 string handling for POWER8 feature bits.
11295 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11296 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11297 _dl_powerpc_cap_flags.
11298 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11299 * sysdeps/powerpc/rtld-global-offsets.sym
11300 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11301 _dl_hwcap2 in the rtld_global_ro structure.
11303 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11305 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11306 hardware capabilities in support of AT_HWCAP2.
11307 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11308 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11310 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11311 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11312 explicitly the unknown a_type display mechanism is used.
11313 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11314 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11316 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11317 to macro prototype for AT_HWCAP2 support.
11318 * sysdeps/i386/dl-procinfo.h: Likewise.
11319 * sysdeps/s390/dl-procinfo.h: Likewise.
11320 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11321 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11322 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11323 return -1 for unknown a_type display fallback.
11324 * sysdeps/sparc/dl-procinfo.h: Likewise.
11325 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11326 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11328 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11330 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11331 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11333 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11336 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11337 mprotect making __stack_prot writable.
11339 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11340 Joseph Myers <joseph@codesourcery.com>
11342 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11343 as being properly aligned.
11345 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11347 * dlfcn/modstatic5.c: New file.
11348 * dlfcn/tststatic5.c: New file.
11349 * dlfcn/Makefile (tests): Add tststatic5.
11350 (tests-static): Likewise.
11351 (modules-names): Add modstatic5.
11352 (tststatic5-ENV): New variable.
11353 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11356 * elf/dl-support.c (_dl_main_map): New variable.
11357 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11358 (_dl_nns, _dl_load_adds): Set to 1.
11359 (_dl_initial_searchlist): Refer to _dl_main_map.
11360 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11361 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11362 call to _dl_get_origin.
11363 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11365 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11366 * dlfcn/modstatic3.c: New file.
11367 * dlfcn/tststatic3.c: New file.
11368 * dlfcn/tststatic4.c: New file.
11369 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11370 (tests-static): Likewise.
11371 (modules-names): Add modstatic3.
11372 (tststatic3-ENV, tststatic4-ENV): New variables.
11373 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11374 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11376 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11378 * configure.in (CC): Require GCC version 4.4 or later.
11379 * configure: Regenerated.
11380 * manual/install.texi (Tools for Compilation): Update GCC version
11382 * INSTALL: Regenerated.
11384 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11387 * string/test-memcmp.c (check2): New.
11388 (main): Call check2.
11390 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11392 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11395 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11397 (dl_open_worker) [!SHARED]: ... here.
11399 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11401 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11403 2013-06-25 Richard Henderson <rth@redhat.com>
11405 * locale/programs/locarchive.c: Include <libc-internal.h>
11407 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11409 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11410 trailing whitespace removed.
11412 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11415 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11416 * locale/programs/locarchive.c: Include libc-mmap.h.
11417 (prepare_address_space): Take two new outputs (the mmap base and len).
11418 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11420 (create_archive): Declare new mmap base and len values for
11421 prepare_address_space, and store the result in ah.
11422 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11423 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11424 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11425 Declare new mmap base and len values for
11426 prepare_address_space, and store the result in new_ah.
11427 (open_archive): Declare new mmap base and len values for
11428 prepare_address_space, and store the result in ah.
11429 (close_archive): If ah->mmap_base is not NULL, use that and
11430 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11431 * sysdeps/generic/libc-mmap.h: New file.
11433 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11435 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11436 (ALIGN_UP): Likewise.
11437 (PTR_ALIGN_DOWN): Likewise.
11438 (PTR_ALIGN_UP): Likewise.
11440 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11442 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11443 entry mapped to PPC_PLATFORM_POWER8.
11444 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11446 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11447 (_dl_string_platform): Add case for exporting platform position for
11449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11450 search path to sysdeps/powerpc/powerpc32/power8 directory.
11451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11452 search path to sysdeps/powerpc/powerpc64/power8 directory.
11453 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11454 power7 directories.
11455 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11456 power7 directories.
11458 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11460 * INSTALL: Regenerate.
11462 * nscd/connections.c (nscd_init): Fix comment.
11464 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11466 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11469 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11470 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11472 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11474 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11476 (DL_DST_REQ_STATIC): Remove macro.
11478 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11481 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11482 with a shift of 0 bits.
11484 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11486 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11489 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11492 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11494 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11496 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11497 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11498 accepts -fno-tree-loop-distribute-patterns.
11499 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11500 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11502 * string/memset.c (memset): Likewise.
11503 * string/test-memmove.c (simple_memmove): Disable loop transformation
11505 * string/test-memset.c (simple_memset): Likewise.
11506 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11507 * benchtests/bench-memset.c (simple_memset): Likewise.
11508 * configure: Regenerated.
11510 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11512 * math/test-misc.c (main): Ignore fesetround failure when failures
11513 of subsequent rounding tests would be ignored.
11516 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11517 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11518 * math/fegetenv.c (__fegetenv): Return 0.
11519 * math/fegetexcept.c (fegetexcept): Return 0.
11520 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11522 * math/feholdexcpt.c (feholdexcept): Return 0.
11523 * math/fesetenv.c (__fesetenv): Return 0.
11524 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11525 argument FE_TONEAREST.
11526 * math/feupdateenv.c (__feupdateenv): Return 0.
11527 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11529 2013-06-18 Roland McGrath <roland@hack.frob.com>
11531 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11532 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11533 ($(objpfx)rtld-%.os rules): Use them.
11535 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11537 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11540 2013-06-17 Roland McGrath <roland@hack.frob.com>
11542 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11543 length of target pattern, then descending length of dependency pattern.
11544 * configure.in (AWK): Require gawk 3.1.2 or newer.
11545 * manual/install.texi (Tools for Compilation): Say that we do.
11546 * configure: Regenerated.
11548 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11549 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11550 * scripts/sysd-rules.awk: ... this new script.
11551 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11552 than a glob-style pattern.
11554 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11556 * math/test-misc.c (main): Do not treat incorrectly rounded
11557 conversions as failure unless ROUNDING_TESTS passes.
11559 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11562 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11563 restore exception state around main square root computation, then
11564 check for inexactness explicitly.
11566 * math/libm-test.inc (fma_test_data): Add another test.
11568 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11570 * manual/threads.texi (Non-POSIX Extensions): New document
11571 node. Document pthread_getattr_default_np and
11572 pthread_setattr_default_np.
11574 * Versions.def (libpthread): Add GLIBC_2.18.
11575 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11584 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11595 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11598 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11600 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11601 H.J. Lu <hjl.tools@gmail.com>
11604 * sysdeps/x86_64/rtld-memset.c: Remove file.
11605 * sysdeps/x86_64/rtld-memset.S: New file.
11607 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11609 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11610 (test_in_one_mode): Take arguments for whether the rounding mode
11611 is supported for each floating-point type.
11612 (do_test): Pass new arguments to test_in_one_mode using
11615 2013-06-13 Roland McGrath <roland@hack.frob.com>
11617 * posix/tst-waitid.c (do_test): Distinguish different instances of
11618 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11619 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11620 before entering the kernel for waitpid.
11622 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11624 * NEWS: Fix note on clock function precision. Text by Roland
11627 2013-06-13 Roland McGrath <roland@hack.frob.com>
11629 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11630 it into place only when and if the sanity check passes.
11632 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11634 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11635 output for whether conversion result is exact. Take argument
11636 indicating whether type is IBM long double.
11637 (round_for_all): Change need_exact field to ibm_ld.
11638 * stdlib/tst-strtod-round.c (struct exactness): New type.
11639 (struct test): Change bool ld_ok field to struct exactness exact.
11640 (TEST): Update all definitions for change to field.
11641 (tests): Regenerate array contents.
11642 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11643 field value. Check for IBM long double here.
11644 (do_test): Update calls to test_in_one_mode.
11646 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11649 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11650 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11652 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11655 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11656 generated by the compiler on loop optimizations.
11657 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11658 general definitions.
11660 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11662 * math/bug-nextafter.c: Include <math-tests.h>.
11663 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11665 * math/bug-nexttoward.c: Include <math-tests.h>.
11666 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11668 * math/test-misc.c: Include <math-tests.h>.
11669 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11672 2013-06-12 Andreas Jaeger <aj@suse.de>
11674 * po/ia.po: Update Interlingua translation from translation
11677 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11679 * include/fenv.h: Include stdbool.h.
11680 (struct rm_ctx): New structure.
11681 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11683 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11684 (SET_RESTORE_ROUNDF): Likewise.
11685 (SET_RESTORE_ROUNDL): Likewise.
11686 (SET_RESTORE_ROUND_NOEX): Likewise.
11687 (SET_RESTORE_ROUND_NOEXF): Likewise.
11688 (SET_RESTORE_ROUND_NOEXL): Likewise.
11689 (SET_RESTORE_ROUND_53BIT): Likewise.
11690 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11691 (libc_feresetround_noexf_ctx): Likewise.
11692 (libc_feresetround_noexl_ctx): Likewise.
11693 (libc_feholdsetround_53bit_ctx): Likewise.
11694 (libc_feresetround_53bit_ctx): Likewise.
11695 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11696 (libc_feholdexcept_setround_sse_ctx): New function.
11697 (libc_fesetenv_sse_ctx): Likewise.
11698 (libc_feupdateenv_sse_ctx): Likewise.
11699 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11700 (libc_feholdexcept_setround_387_ctx): Likewise.
11701 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11702 (libc_feholdsetround_387_prec_ctx): Likewise.
11703 (libc_feholdsetround_387_ctx): Likewise.
11704 (libc_feholdsetround_387_53bit_ctx): Likewise.
11705 (libc_feholdsetround_sse_ctx): Likewise.
11706 (libc_feresetround_sse_ctx): Likewise.
11707 (libc_feresetround_387_ctx): Likewise.
11708 (libc_feupdateenv_387_ctx): Likewise.
11709 (libc_feholdexcept_setroundf_ctx): Define macro.
11710 (libc_fesetenvf_ctx): Likewise.
11711 (libc_feupdateenvf_ctx): Likewise.
11712 (libc_feholdsetroundf_ctx): Likewise.
11713 (libc_feresetroundf_ctx): Likewise.
11714 (libc_feholdexcept_setround_ctx): Likewise.
11715 (libc_fesetenv_ctx): Likewise.
11716 (libc_feupdateenv_ctx): Likewise.
11717 (libc_feholdsetround_ctx): Likewise.
11718 (libc_feresetround_ctx): Likewise.
11719 (libc_feholdexcept_setroundl_ctx): Likewise.
11720 (libc_feupdateenvl_ctx): Likewise.
11721 (libc_feholdsetroundl_ctx): Likewise.
11722 (libc_feresetroundl_ctx): Likewise.
11723 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11724 (libc_feresetround_53bit_ctx): Likewise.
11726 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11728 * locale/iso-639.def: Convert to UTF-8.
11730 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11732 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11733 (EXCEPTION_TESTS_double): Likewise.
11734 (EXCEPTION_TESTS_long_double): Likewise.
11735 (EXCEPTION_TESTS): Likewise.
11736 * math/libm-test.inc (test_exceptions): Only test exceptions if
11737 EXCEPTION_TESTS (FLOAT).
11739 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11741 * benchtests/Makefile (string-bench): Add strcpy_chk and
11743 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11744 * benchtests/bench-stpcpy_chk.c: New file.
11745 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11746 * benchtests/bench-strcpy_chk.c: New file.
11747 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11749 (do_test): Likewise.
11751 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11753 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11754 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11755 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11756 with tabs where appropriate.
11757 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11759 [PPC_PLATFORM_PPC440]: Likewise.
11760 [PPC_PLATFORM_PPC464]: Likewise.
11761 [PPC_PLATFORM_PPC476]: Likewise.
11762 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11763 ppc464, and ppc476 platform strings merging from ports/
11766 2013-06-11 Andreas Schwab <schwab@suse.de>
11769 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11770 (from_ucs4_idx): Regenerate.
11771 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11772 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11773 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11774 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11775 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11776 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11777 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11778 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11779 from FROM_LOOP and TO_LOOP specific macros.
11780 (BODY): Handle combining characters.
11781 * iconvdata/BIG5HKSCS.irreversible: Update.
11782 * iconvdata/BIG5HKSCS.precomposed: New file.
11783 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11785 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11787 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11789 * include/sys/time.h: Fix indentation and add copyright header.
11791 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11792 (do_test): Likewise.
11793 * string/test-memchr.c (do_one_test): Likewise.
11794 (do_test): Likewise.
11795 * string/test-memcmp.c (do_one_test): Likewise.
11796 (do_test): Likewise.
11797 * string/test-memcpy.c (do_one_test): Likewise.
11798 (do_test): Likewise.
11799 * string/test-memmem.c (do_one_test): Likewise.
11800 (do_test): Likewise.
11801 (do_random_tests): Likewise.
11802 * string/test-memmove.c (do_one_test): Likewise.
11803 (do_test): Likewise.
11804 * string/test-memset.c (do_one_test): Likewise.
11805 (do_test): Likewise.
11806 * string/test-rawmemchr.c (do_one_test): Likewise.
11807 (do_test): Likewise.
11808 * string/test-strcasecmp.c (do_one_test): Likewise.
11809 (do_test): Likewise.
11810 * string/test-strcasestr.c (do_one_test): Likewise.
11811 (do_test): Likewise.
11812 * string/test-strcat.c (do_one_test): Likewise.
11813 (do_test): Likewise.
11814 * string/test-strchr.c (do_one_test): Likewise.
11815 (do_test): Likewise.
11816 * string/test-strcmp.c (do_one_test): Likewise.
11817 (do_test): Likewise.
11818 * string/test-strcpy.c (do_one_test): Likewise.
11819 (do_test): Likewise.
11820 * string/test-string.h: Likewise.
11821 (test_init): Likewise.
11822 * string/test-strlen.c (do_one_test): Likewise.
11823 (do_test): Likewise.
11824 * string/test-strncasecmp.c (do_one_test): Likewise.
11825 (do_test): Likewise.
11826 * string/test-strncat.c (do_one_test): Likewise.
11827 (do_test): Likewise.
11828 * string/test-strncmp.c (do_one_test): Likewise.
11829 (do_test_limit): Likewise.
11830 (do_test): Likewise.
11831 * string/test-strncpy.c (do_one_test): Likewise.
11832 (do_test): Likewise.
11833 * string/test-strnlen.c (do_one_test): Likewise.
11834 (do_test): Likewise.
11835 * string/test-strpbrk.c (do_one_test): Likewise.
11836 (do_test): Likewise.
11837 * string/test-strrchr.c (do_one_test): Likewise.
11838 (do_test): Likewise.
11839 * string/test-strspn.c (do_one_test): Likewise.
11840 (do_test): Likewise.
11841 * string/test-strstr.c (do_one_test): Likewise.
11842 (do_test): Likewise.
11844 * benchtests/Makefile (string-bench): Add string benchmarks.
11845 * benchtests/bench-bcopy-ifunc.c: New file.
11846 * benchtests/bench-bcopy.c: New file.
11847 * benchtests/bench-bzero-ifunc.c: New file.
11848 * benchtests/bench-bzero.c: New file.
11849 * benchtests/bench-memccpy-ifunc.c: New file.
11850 * benchtests/bench-memccpy.c: New file.
11851 * benchtests/bench-memchr-ifunc.c: New file.
11852 * benchtests/bench-memchr.c: New file.
11853 * benchtests/bench-memcmp-ifunc.c: New file.
11854 * benchtests/bench-memcmp.c: New file.
11855 * benchtests/bench-memmem-ifunc.c: New file.
11856 * benchtests/bench-memmem.c: New file.
11857 * benchtests/bench-memmove-ifunc.c: New file.
11858 * benchtests/bench-memmove.c: New file.
11859 * benchtests/bench-mempcpy-ifunc.c: New file.
11860 * benchtests/bench-mempcpy.c: New file.
11861 * benchtests/bench-memset-ifunc.c: New file.
11862 * benchtests/bench-memset.c: New file.
11863 * benchtests/bench-rawmemchr-ifunc.c: New file.
11864 * benchtests/bench-rawmemchr.c: New file.
11865 * benchtests/bench-stpcpy-ifunc.c: New file.
11866 * benchtests/bench-stpcpy.c: New file.
11867 * benchtests/bench-stpncpy-ifunc.c: New file.
11868 * benchtests/bench-stpncpy.c: New file.
11869 * benchtests/bench-strcasecmp-ifunc.c: New file.
11870 * benchtests/bench-strcasecmp.c: New file.
11871 * benchtests/bench-strcasestr-ifunc.c: New file.
11872 * benchtests/bench-strcasestr.c: New file.
11873 * benchtests/bench-strcat-ifunc.c: New file.
11874 * benchtests/bench-strcat.c: New file.
11875 * benchtests/bench-strchr-ifunc.c: New file.
11876 * benchtests/bench-strchr.c: New file.
11877 * benchtests/bench-strchrnul-ifunc.c: New file.
11878 * benchtests/bench-strchrnul.c: New file.
11879 * benchtests/bench-strcmp-ifunc.c: New file.
11880 * benchtests/bench-strcmp.c: New file.
11881 * benchtests/bench-strcpy-ifunc.c: New file.
11882 * benchtests/bench-strcpy.c: New file.
11883 * benchtests/bench-strcspn-ifunc.c: New file.
11884 * benchtests/bench-strcspn.c: New file.
11885 * benchtests/bench-strlen-ifunc.c: New file.
11886 * benchtests/bench-strlen.c: New file.
11887 * benchtests/bench-strncasecmp-ifunc.c: New file.
11888 * benchtests/bench-strncasecmp.c: New file.
11889 * benchtests/bench-strncat-ifunc.c: New file.
11890 * benchtests/bench-strncat.c: New file.
11891 * benchtests/bench-strncmp-ifunc.c: New file.
11892 * benchtests/bench-strncmp.c: New file.
11893 * benchtests/bench-strncpy-ifunc.c: New file.
11894 * benchtests/bench-strncpy.c: New file.
11895 * benchtests/bench-strnlen-ifunc.c: New file.
11896 * benchtests/bench-strnlen.c: New file.
11897 * benchtests/bench-strpbrk-ifunc.c: New file.
11898 * benchtests/bench-strpbrk.c: New file.
11899 * benchtests/bench-strrchr-ifunc.c: New file.
11900 * benchtests/bench-strrchr.c: New file.
11901 * benchtests/bench-strspn-ifunc.c: New file.
11902 * benchtests/bench-strspn.c: New file.
11903 * benchtests/bench-strstr-ifunc.c: New file.
11904 * benchtests/bench-strstr.c: New file.
11906 * benchtests/Makefile: Disable parallel execution of targets.
11907 (string-bench): Add memcpy.
11908 (benchset): New variable to store a list of benchmark sets.
11909 (bench-func): Renamed from bench.
11910 (bench-set): New target.
11911 (bench): Depend on bench-func and bench-set.
11912 * benchtests/README: Add section on benchmark sets.
11913 * benchtests/bench-memcpy-ifunc.c: New file.
11914 * benchtests/bench-memcpy.c: New file.
11915 * benchtests/bench-string.h: New file.
11917 2013-06-11 Andreas Schwab <schwab@suse.de>
11920 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11921 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11922 values in the triple.
11923 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11924 terminator in the group key.
11926 2013-06-11 Andreas Jaeger <aj@suse.de>
11928 * po/zh_TW.po: Update Chinese (traditional) translation from
11929 translation project.
11931 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11933 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11934 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11935 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11936 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11937 (clock_getcpuclockid): Likewise.
11938 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11939 Add weak_alias and libc_hidden_def.
11940 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11941 * rt/clock_gettime.c (clock_gettime): Rename to
11942 __clock_gettime. Add weak_alias and libc_hidden_def.
11943 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11944 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11945 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11946 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11947 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11949 * rt/clock_settime.c (clock_settime): Rename to
11950 __clock_settime. Add weak_alias and libc_hidden_def.
11951 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11953 2013-06-10 Joseph Myers <joseph@codesourcery.com>
11955 * mach/err_boot.sub: Remove trailing whitespace.
11956 * mach/err_ipc.sub: Likewise.
11957 * mach/err_mach.sub: Likewise.
11959 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11960 (ROUNDING_TESTS_double): Likewise.
11961 (ROUNDING_TESTS_long_double): Likewise.
11962 (ROUNDING_TESTS): Likewise.
11963 * math/libm-test.inc: Include <math-tests.h>.
11964 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11965 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11966 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11967 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11969 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11971 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11974 2013-06-08 Joseph Myers <joseph@codesourcery.com>
11976 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11977 otherwise empty TRANS lines.
11978 * sysdeps/gnu/errlist.c: Regenerated.
11980 * catgets/gencat.c (error_print): Use (void) in function
11982 * crypt/crypt_util.c (__init_des): Likewise.
11983 * crypt/speeds.c (Stop): Likewise.
11985 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11986 * inet/ruserpass.c (token): Likewise.
11987 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11988 * intl/localealias.c (extend_alias_table): Likewise.
11989 * intl/plural-exp.c (init_germanic_plural): Likewise.
11990 * libio/fcloseall.c (__fcloseall): Likewise.
11991 * libio/genops.c (_IO_flush_all): Likewise.
11992 (_IO_flush_all_linebuffered): Likewise.
11993 (_IO_cleanup): Likewise.
11994 (_IO_iter_begin): Likewise.
11995 (_IO_iter_end): Likewise.
11996 (_IO_list_lock): Likewise.
11997 (_IO_list_unlock): Likewise.
11998 (_IO_list_resetlock): Likewise.
11999 * libio/getchar.c (getchar): Likewise.
12000 * libio/getchar_u.c (getchar_unlocked): Likewise.
12001 * libio/getwchar.c (getwchar): Likewise.
12002 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12003 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12004 * login/getpt.c (__getpt): Likewise.
12005 * login/tst-utmp.c (main): Likewise.
12006 * malloc/hooks.c (__malloc_check_init): Likewise.
12007 * malloc/malloc.c (__malloc_stats): Likewise.
12008 * malloc/mtrace.c (tr_break): Likewise.
12009 (mtrace): Likewise.
12010 (muntrace): Likewise.
12011 * misc/fstab.c (endfsent): Likewise.
12012 * misc/getclktck.c (__getclktck): Likewise.
12013 * misc/getdtsz.c (__getdtablesize): Likewise.
12014 * misc/gethostid.c (gethostid): Likewise.
12015 * misc/getpagesize.c (__getpagesize): Likewise.
12016 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12017 (__get_nprocs): Likewise.
12018 (__get_phys_pages): Likewise.
12019 (__get_avphys_pages): Likewise.
12020 * misc/getttyent.c (getttyent): Likewise.
12021 (setttyent): Likewise.
12022 (endttyent): Likewise.
12023 * misc/getusershell.c (getusershell): Likewise.
12024 (endusershell): Likewise.
12025 (setusershell): Likewise.
12026 (initshells): Likewise.
12027 * misc/hsearch.c (__hdestroy): Likewise.
12028 * misc/sync.c (sync): Likewise.
12029 * misc/syslog.c (closelog_internal): Likewise.
12030 (closelog): Likewise.
12031 * misc/ttyslot.c (ttyslot): Likewise.
12032 * misc/vhangup.c (vhangup): Likewise.
12033 * posix/fork.c (__fork): Likewise.
12034 * posix/getegid.c (__getegid): Likewise.
12035 * posix/geteuid.c (__geteuid): Likewise.
12036 * posix/getgid.c (__getgid): Likewise.
12037 * posix/getpid.c (__getpid): Likewise.
12038 * posix/getppid.c (__getppid): Likewise.
12039 * posix/getuid.c (__getuid): Likewise.
12040 * posix/pause.c (pause): Likewise.
12041 * posix/setpgrp.c (setpgrp): Likewise.
12042 * posix/setsid.c (__setsid): Likewise.
12043 * posix/test-vfork.c (noop): Likewise.
12044 * resolv/gethnamaddr.c (_endhtent): Likewise.
12045 (_gethtent): Likewise.
12046 (ht_endhostent): Likewise.
12047 (gethostent): Likewise.
12048 (dns_service): Likewise.
12049 * stdlib/drand48.c (drand48): Likewise.
12050 * stdlib/lrand48.c (lrand48): Likewise.
12051 * stdlib/mrand48.c (mrand48): Likewise.
12052 * stdlib/rand.c (rand): Likewise.
12053 * stdlib/random.c (__random): Likewise.
12054 * stdlib/setenv.c (clearenv): Likewise.
12055 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12056 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12057 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12058 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12059 (__get_nprocs): Likewise.
12060 (__get_phys_pages): Likewise.
12061 (__get_avphys_pages): Likewise.
12062 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12063 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12064 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12065 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12066 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12067 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12068 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12069 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12070 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12071 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12072 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12073 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12074 * sysdeps/posix/clock.c (clock): Likewise.
12075 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12076 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12077 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12078 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12079 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12080 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12081 (__get_nprocs_conf): Likewise.
12082 (__get_phys_pages): Likewise.
12083 (__get_avphys_pages): Likewise.
12084 * time/clock.c (clock): Likewise.
12085 * time/tzset.c (__tzname_max): Likewise.
12087 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12089 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12090 (__bswap_32): Do not use "register".
12091 * crypt/crypt.c (_ufc_doit_r): Likewise.
12092 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12093 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12094 * gmon/gmon.c (__monstartup): Likewise.
12095 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12096 * hurd/hurdmalloc.c (more_memory): Likewise.
12097 (malloc): Likewise.
12099 (realloc): Likewise.
12100 (malloc_fork_prepare): Likewise.
12101 (malloc_fork_parent): Likewise.
12102 (malloc_fork_child): Likewise.
12103 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12104 (_svcauth_des): Likewise.
12105 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12106 * inet/inet_net.c (inet_network): Likewise.
12107 * inet/inet_netof.c (inet_netof): Likewise.
12108 * inet/rcmd.c (__validuser2_sa): Likewise.
12109 * io/fts.c (fts_open): Likewise.
12110 (fts_load): Likewise.
12111 (fts_close): Likewise.
12112 (fts_read): Likewise.
12113 (fts_children): Likewise.
12114 (fts_build): Likewise.
12115 (fts_stat): Likewise.
12116 (fts_sort): Likewise.
12117 (fts_alloc): Likewise.
12118 (fts_lfree): Likewise.
12119 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12120 (_IO_file_xsgetn): Likewise.
12121 (_IO_file_xsgetn_mmap): Likewise.
12122 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12123 (_IO_cookie_write): Likewise.
12124 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12125 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12126 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12127 * malloc/obstack.c (_obstack_begin): Likewise.
12128 (_obstack_begin_1): Likewise.
12129 (_obstack_newchunk): Likewise.
12130 (_obstack_allocated_p): Likewise.
12131 (obstack_free): Likewise.
12132 (_obstack_memory_used): Likewise.
12133 * misc/getttyent.c (getttynam): Likewise.
12134 (getttyent): Likewise.
12137 * misc/getusershell.c (initshells): Likewise.
12138 * misc/syslog.c (__vsyslog_chk): Likewise.
12139 * misc/ttyslot.c (ttyslot): Likewise.
12140 * nis/nis_hash.c (__nis_hash): Likewise.
12141 * posix/fnmatch_loop.c (FCT): Likewise.
12142 * posix/getconf.c (print_all): Likewise.
12144 * posix/getopt.c (exchange): Likewise.
12145 * posix/glob.c (globfree): Likewise.
12146 (prefix_array): Likewise.
12147 (__glob_pattern_type): Likewise.
12148 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12149 (NS_GET32): Likewise.
12150 (NS_PUT16): Likewise.
12151 (NS_PUT32): Likewise.
12152 * resolv/gethnamaddr.c (getanswer): Likewise.
12153 (gethostbyname2): Likewise.
12154 (gethostbyaddr): Likewise.
12155 (_gethtent): Likewise.
12156 (_gethtbyname2): Likewise.
12157 (_gethtbyaddr): Likewise.
12158 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12159 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12160 * resolv/res_init.c (__res_vinit): Likewise.
12161 (net_mask): Likewise.
12162 * resolv/res_mkquery.c (outchar): Likewise.
12164 * stdio-common/printf_fp.c (outchar): Likewise.
12166 * stdio-common/printf_fphex.c (outchar): Likewise.
12168 * stdio-common/printf_size.c (outchar): Likewise.
12170 * stdio-common/test_rdwr.c (main): Likewise.
12171 * stdio-common/tfformat.c (matches): Likewise.
12172 * stdio-common/vfprintf.c (outchar): Likewise.
12173 (printf_unknown): Likewise.
12174 (buffered_vfprintf): Likewise.
12175 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12176 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12177 (ReadFile): Likewise.
12178 * stdlib/qsort.c (SWAP): Likewise.
12179 (_quicksort): Likewise.
12180 * stdlib/setenv.c (__add_to_environ): Likewise.
12181 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12182 * stdlib/strtol_l.c (__strtol_l): Likewise.
12183 * stdlib/tst-strtod.c (main): Likewise.
12184 * stdlib/tst-strtol.c (main): Likewise.
12185 * stdlib/tst-strtoll.c (main): Likewise.
12186 * string/bits/string2.h (__strcmp_cc): Likewise.
12187 (__strcmp_cg): Likewise.
12188 (__strcspn_c1): Likewise.
12189 (__strcspn_c2): Likewise.
12190 (__strcspn_c3): Likewise.
12191 (__strspn_c1): Likewise.
12192 (__strspn_c2): Likewise.
12193 (__strspn_c3): Likewise.
12194 (__strsep_1c): Likewise.
12195 (__strsep_2c): Likewise.
12196 (__strsep_3c): Likewise.
12197 * string/memccpy.c (__memccpy): Likewise.
12198 * string/stpcpy.c (__stpcpy): Likewise.
12199 * string/strcmp.c (strcmp): Likewise.
12200 * string/strrchr.c (strrchr): Likewise.
12201 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12203 * sysdeps/mach/hurd/getcwd.c
12204 (_hurd_canonicalize_directory_name_internal): Likewise.
12205 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12206 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12207 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12208 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12209 Likewise, in both definitions.
12210 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12212 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12213 64] (__bswap_64): Likewise.
12214 * time/test_time.c (main): Likewise.
12215 * time/tzfile.c (__tzfile_read): Likewise.
12216 (__tzfile_compute): Likewise.
12217 * time/tzset.c (__tzset_parse_tz): Likewise.
12218 (tzset_internal): Likewise.
12219 (compute_change): Likewise.
12220 * wcsmbs/wcscat.c (__wcscat): Likewise.
12221 * wcsmbs/wcschr.c (wcschr): Likewise.
12222 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12223 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12224 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12225 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12226 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12227 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12228 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12229 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12230 * wcsmbs/wmemset.c (wmemset): Likewise.
12232 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12234 * scripts/config.guess: Update to version 2013-05-16.
12235 * scripts/config.sub: Update to version 2013-04-24.
12236 * scripts/install-sh: Update to version 2011-11-20.07.
12237 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12238 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12240 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12242 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12243 * elf/sln.c: Likewise.
12244 * hurd/hurd/ioctl.h: Likewise.
12245 * hurd/hurdmalloc.c: Likewise.
12246 * hurd/xattr.c: Likewise.
12247 * include/shlib-compat.h: Likewise.
12248 * inet/ruserpass.c: Likewise.
12249 * libio/iofgets_u.c: Likewise.
12250 * libio/iofgetws_u.c: Likewise.
12251 * locale/programs/ld-identification.c: Likewise.
12252 * locale/programs/ld-time.c: Likewise.
12253 * mach/msg-destroy.c: Likewise.
12254 * nss/nss_files/files-netgrp.c: Likewise.
12255 * resolv/res_data.c: Likewise.
12256 * soft-fp/op-1.h: Likewise.
12257 * soft-fp/op-2.h: Likewise.
12258 * soft-fp/op-4.h: Likewise.
12259 * soft-fp/op-common.h: Likewise.
12260 * stdio-common/printf_fphex.c: Likewise.
12261 * stdlib/strtod_l.c: Likewise.
12262 * sunrpc/rpc/clnt.h: Likewise.
12263 * sysdeps/generic/framestate.c: Likewise.
12264 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12265 * sysdeps/i386/bsd-setjmp.S: Likewise.
12266 * sysdeps/i386/__longjmp.S: Likewise.
12267 * sysdeps/i386/setjmp.S: Likewise.
12268 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12269 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12270 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12271 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12272 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12273 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12277 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12284 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12285 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12286 * sysdeps/ieee754/support.c: Likewise.
12287 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12288 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12289 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12290 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12291 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12292 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12293 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12294 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12295 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12296 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12297 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12298 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12299 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12300 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12301 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12302 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12303 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12306 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12308 * posix/transbug.c: Remove executable mode.
12310 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12312 * crypt/speeds.c: Remove trailing whitespace.
12313 * dlfcn/default.c: Likewise.
12314 * elf/ifuncdep2.c: Likewise.
12315 * elf/ifuncmain1.c: Likewise.
12316 * elf/ifuncmain1vis.c: Likewise.
12317 * elf/testobj.h: Likewise.
12318 * elf/tst-stackguard1.c: Likewise.
12319 * gmon/sys/gmon.h: Likewise.
12320 * hurd/hurdmsg.c: Likewise.
12321 * hurd/new-fd.c: Likewise.
12322 * hurd/ports-get.c: Likewise.
12323 * iconvdata/ibm1008_420.c: Likewise.
12324 * inet/tst-getni1.c: Likewise.
12325 * inet/tst-getni2.c: Likewise.
12326 * libio/ioungetc.c: Likewise.
12327 * libio/wfiledoalloc.c: Likewise.
12328 * manual/libm-err-tab.pl: Likewise.
12329 * math/w_dremf.c: Likewise.
12330 * misc/ftruncate.c: Likewise.
12331 * posix/bug-glob2.c: Likewise.
12332 * posix/tst-pcre.c: Likewise.
12333 * posix/wait4.c: Likewise.
12334 * resolv/README: Likewise.
12335 * resolv/res_debug.h: Likewise.
12336 * resolv/tst-inet_ntop.c: Likewise.
12337 * setjmp/bug269-setjmp.c: Likewise.
12338 * soft-fp/extended.h: Likewise.
12339 * soft-fp/op-1.h: Likewise.
12340 * soft-fp/op-2.h: Likewise.
12341 * soft-fp/op-4.h: Likewise.
12342 * soft-fp/op-8.h: Likewise.
12343 * soft-fp/testit.c: Likewise.
12344 * stdio-common/bug16.c: Likewise.
12345 * stdlib/random.c: Likewise.
12346 * sunrpc/rpcsvc/rquota.x: Likewise.
12347 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12348 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12349 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12350 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12351 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12352 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12353 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12354 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12355 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12356 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12357 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12358 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12359 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12360 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12361 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12362 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12363 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12364 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12365 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12366 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12367 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12368 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12369 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12370 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12371 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12372 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12373 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12374 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12375 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12376 * sysdeps/ieee754/s_lib_version.c: Likewise.
12377 * sysdeps/mach/hurd/check_fds.c: Likewise.
12378 * sysdeps/mach/hurd/getsockname.c: Likewise.
12379 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12380 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12381 * sysdeps/powerpc/bits/link.h: Likewise.
12382 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12383 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12384 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12385 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12386 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12387 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12388 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12389 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12390 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12391 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12392 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12393 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12394 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12395 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12396 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12397 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12398 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12399 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12400 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12401 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12402 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12403 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12404 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12405 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12406 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12407 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12408 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12409 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12410 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12411 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12412 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12413 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12414 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12415 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12416 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12417 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12418 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12419 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12420 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12421 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12422 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12423 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12424 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12425 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12426 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12427 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12428 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12429 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12430 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12431 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12432 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12433 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12434 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12435 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12436 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12437 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12438 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12439 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12440 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12441 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12442 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12443 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12444 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12445 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12446 * sysdeps/powerpc/sysdep.h: Likewise.
12447 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12448 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12449 * sysdeps/sh/dl-trampoline.S: Likewise.
12450 * sysdeps/sh/memset.S: Likewise.
12451 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12452 * sysdeps/sh/strlen.S: Likewise.
12453 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12454 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12455 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12456 * sysdeps/sparc/sparc32/rem.S: Likewise.
12457 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12458 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12459 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12460 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12461 * sysdeps/sparc/sparc32/urem.S: Likewise.
12462 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12463 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12464 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12465 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12466 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12467 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12468 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12469 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12470 * sysdeps/unix/bsd/times.c: Likewise.
12471 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12472 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12476 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12477 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12478 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12479 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12480 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12481 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12482 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12483 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12484 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12485 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12486 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12487 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12488 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12489 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12490 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12491 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12492 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12493 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12494 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12495 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12496 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12497 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12498 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12499 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12500 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12501 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12502 * sysdeps/x86_64/strcspn.S: Likewise.
12504 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12506 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12507 generated file. Regenerate properly from gen-translit.pl.
12508 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12509 locale/C-translit.h.
12511 2013-06-05 Andreas Schwab <schwab@suse.de>
12514 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12515 week as 6 instead of -1.
12516 * time/tst-strptime.c (day_tests): Add test case.
12518 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12520 * sysdeps/generic/math_private.h
12521 (libc_feholdexcept_setround_53bit): Replace with
12522 libc_feholdsetround_53bit.
12523 (libc_feupdateenv_53bit): Replace with
12524 libc_feresetround_53bit.
12525 (SET_RESTORE_ROUND_53BIT): Adjust.
12527 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12529 * string/test-strchrnul.c: Add copyright header.
12531 * posix/tst-getaddrinfo4.c: Increase test timeout.
12533 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12536 * math/libm-test.inc (MAX_EXP): Remove
12538 (ulp): Use MIN_EXP - MANT_DIG.
12539 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12541 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12543 * po/be.po: Revert last change.
12544 * po/zh_CN.po: Likewise.
12545 * po/header.pot: Likewise.
12547 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12549 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12550 link-libc-deps to empty as target-specific variable.
12551 * Makerules (link-libc-args): New variable.
12552 (libc-for-link): Likewise.
12553 (link-libc-deps): Likewise.
12554 (lib%.so): Depend on $(link-libc-deps). Link with
12556 (build-module): Link with $(link-libc-args).
12557 (build-module-asneeded): Likewise.
12558 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12560 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12561 target-specific variable.
12562 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12563 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12564 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12566 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12568 ($(objpfx)libpcprofile.so): Likewise.
12569 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12571 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12572 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12573 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12575 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12576 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12577 * login/Makefile ($(objpfx)libutil.so): Likewise.
12578 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12579 * math/Makefile ($(objpfx)libm.so): Likewise.
12580 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12581 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12582 variable instead of depending directly on libc.
12583 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12584 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12586 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12588 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12589 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12590 ($(objpfx)libanl.so): Likewise.
12591 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12593 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12595 * sysdeps/i386/fpu/Makefile: Remove file.
12596 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12597 ($(objpfx)libm.so): Remove dependency on ld.so.
12599 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12602 * nis/yp_xdr.c (XDRMAXNAME): Define.
12603 (XDRMAXRECORD): Define.
12604 (xdr_domainname): Use XDRMAXNAME.
12605 (xdr_mapname): Likewise.
12606 (xdr_peername): Likewise.
12607 (xdr_keydat): Use XDRMAXRECORD.
12608 (xdr_valdat): Likewise.
12610 2013-05-30 Jeff Law <law@redhat.com>
12613 * manual/errno.texi (ESTALE): Update to account for more than
12614 just NFS file systems.
12615 * sysdeps/gnu/errlist.c: Regenerated.
12617 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12620 * elf/Makefile (tests): Add tst-null-argv.
12621 (modules-names): Add tst-null-argv-lib.
12622 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12623 (tst-null-argv-ENV): Set environment for tst-null-argv.
12624 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12625 (RTLD_PROGNAME): New macro.
12626 * elf/tst-null-argv.c: New test case.
12627 * elf/tst-null-argv-lib.c: Library for test case.
12628 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12629 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12630 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12631 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12632 * elf/dl-init.c (call_init): Likewise.
12633 (_dl_init): Likewise.
12634 * elf/dl-load.c (print_search_path): Likewise.
12635 (_dl_map_object): Likewise.
12636 * elf/dl-lookup.c (do_lookup_x): Likewise.
12637 (add_dependency): Likewise.
12638 (_dl_lookup_symbol_x): Likewise.
12639 (_dl_debug_bindings): Likewise.
12640 * elf/dl-open.c (_dl_show_scope): Likewise.
12641 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12642 * elf/dl-version.c (match_symbol): Likewise.
12643 (_dl_check_map_versions): Likewise.
12644 * elf/rtld.c (dl_main): Likewise.
12645 (print_unresolved): Use RTLD_PROGNAME.
12646 (print_missing_version): Likewise.
12647 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12648 (elf_machine_rela): Likewise.
12649 * sysdeps/powerpc/powerpc32/dl-machine.c
12650 (__process_machine_rela): Likewise.
12651 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12653 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12655 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12657 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12658 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12660 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12662 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12664 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12666 * po/be.po: Add descriptive title.
12667 * po/zh_CN.po: Likewise.
12668 * po/header.pot: Likewise.
12670 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12672 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12674 (enlarge_archive): Likewise.
12676 2013-05-28 Ben North <ben@redfrontdoor.org>
12678 * manual/arith.texi (frexp): It is the magnitude of the return
12679 value which lies in [0.5, 1), not the return value itself.
12681 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12685 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12687 * stdio-common/bug26.c (main): Correct fscanf template.
12689 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12690 declare _dl_skip_args.
12692 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12695 * manual/platform.texi: Add missing @end deftypefun.
12697 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12700 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12701 bit of mantissa of 2^16382.
12702 * math/libm-test.inc (hypot_test_data): Add more tests.
12704 * math/libm-test.inc: Add drem and pow10 to list of tested
12706 (pow10_test): New function.
12707 (drem_test): Likewise.
12708 (drem_test_tonearest): Likewise.
12709 (drem_test_towardzero): Likewise.
12710 (drem_test_downward): Likewise.
12711 (drem_test_upward): Likewise.
12712 (main): Call the new functions.
12714 * math/libm-test.inc (finite_test_data): Remove.
12715 (finite_test): Run tests from isfinite_test_data.
12716 (gamma_test_data): Remove.
12717 (gamma_test): Run tests from lgamma_test_data.
12718 * sysdeps/i386/fpu/libm-test-ulps: Update.
12719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12721 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12723 * manual/platform.texi: Add PowerPC PPR function set documentation.
12724 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12727 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12729 * math/libm-test.inc (MAX_EXP): Define.
12731 (ulp): New function.
12732 (check_float_internal): Use ULPDIFF.
12733 (cpow_test): Disable failing test.
12734 (check_ulp): Test ulp() implemetnation.
12735 (main): Call check_ulp before starting tests.
12737 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12739 * math/gen-libm-test.pl (generate_testfile): Do not handle
12740 START_DATA and END_DATA.
12741 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12743 (acos_tonearest_test_data): Likewise.
12744 (acos_towardzero_test_data): Likewise.
12745 (acos_downward_test_data): Likewise.
12746 (acos_upward_test_data): Likewise.
12747 (acosh_test_data): Likewise.
12748 (asin_test_data): Likewise.
12749 (asin_tonearest_test_data): Likewise.
12750 (asin_towardzero_test_data): Likewise.
12751 (asin_downward_test_data): Likewise.
12752 (asin_upward_test_data): Likewise.
12753 (asinh_test_data): Likewise.
12754 (atan_test_data): Likewise.
12755 (atanh_test_data): Likewise.
12756 (atan2_test_data): Likewise.
12757 (cabs_test_data): Likewise.
12758 (cacos_test_data): Likewise.
12759 (cacosh_test_data): Likewise.
12760 (carg_test_data): Likewise.
12761 (casin_test_data): Likewise.
12762 (casinh_test_data): Likewise.
12763 (catan_test_data): Likewise.
12764 (catanh_test_data): Likewise.
12765 (cbrt_test_data): Likewise.
12766 (ccos_test_data): Likewise.
12767 (ccosh_test_data): Likewise.
12768 (ceil_test_data): Likewise.
12769 (cexp_test_data): Likewise.
12770 (cimag_test_data): Likewise.
12771 (clog_test_data): Likewise.
12772 (clog10_test_data): Likewise.
12773 (conj_test_data): Likewise.
12774 (copysign_test_data): Likewise.
12775 (cos_test_data): Likewise.
12776 (cos_tonearest_test_data): Likewise.
12777 (cos_towardzero_test_data): Likewise.
12778 (cos_downward_test_data): Likewise.
12779 (cos_upward_test_data): Likewise.
12780 (cosh_test_data): Likewise.
12781 (cosh_tonearest_test_data): Likewise.
12782 (cosh_towardzero_test_data): Likewise.
12783 (cosh_downward_test_data): Likewise.
12784 (cosh_upward_test_data): Likewise.
12785 (cpow_test_data): Likewise.
12786 (cproj_test_data): Likewise.
12787 (creal_test_data): Likewise.
12788 (csin_test_data): Likewise.
12789 (csinh_test_data): Likewise.
12790 (csqrt_test_data): Likewise.
12791 (ctan_test_data): Likewise.
12792 (ctan_tonearest_test_data): Likewise.
12793 (ctan_towardzero_test_data): Likewise.
12794 (ctan_downward_test_data): Likewise.
12795 (ctan_upward_test_data): Likewise.
12796 (ctanh_test_data): Likewise.
12797 (ctanh_tonearest_test_data): Likewise.
12798 (ctanh_towardzero_test_data): Likewise.
12799 (ctanh_downward_test_data): Likewise.
12800 (ctanh_upward_test_data): Likewise.
12801 (erf_test_data): Likewise.
12802 (erfc_test_data): Likewise.
12803 (exp_test_data): Likewise.
12804 (exp_tonearest_test_data): Likewise.
12805 (exp_towardzero_test_data): Likewise.
12806 (exp_downward_test_data): Likewise.
12807 (exp_upward_test_data): Likewise.
12808 (exp10_test_data): Likewise.
12809 (exp2_test_data): Likewise.
12810 (expm1_test_data): Likewise.
12811 (fabs_test_data): Likewise.
12812 (fdim_test_data): Likewise.
12813 (finite_test_data): Likewise.
12814 (floor_test_data): Likewise.
12815 (fma_test_data): Likewise.
12816 (fma_towardzero_test_data): Likewise.
12817 (fma_downward_test_data): Likewise.
12818 (fma_upward_test_data): Likewise.
12819 (fmax_test_data): Likewise.
12820 (fmin_test_data): Likewise.
12821 (fmod_test_data): Likewise.
12822 (fpclassify_test_data): Likewise.
12823 (frexp_test_data): Likewise.
12824 (gamma_test_data): Likewise.
12825 (hypot_test_data): Likewise.
12826 (ilogb_test_data): Likewise.
12827 (isfinite_test_data): Likewise.
12828 (isgreater_test_data): Likewise.
12829 (isgreaterequal_test_data): Likewise.
12830 (isinf_test_data): Likewise.
12831 (isless_test_data): Likewise.
12832 (islessequal_test_data): Likewise.
12833 (islessgreater_test_data): Likewise.
12834 (isnan_test_data): Likewise.
12835 (isnormal_test_data): Likewise.
12836 (issignaling_test_data): Likewise.
12837 (isunordered_test_data): Likewise.
12838 (j0_test_data): Likewise.
12839 (j1_test_data): Likewise.
12840 (jn_test_data): Likewise.
12841 (ldexp_test_data): Likewise.
12842 (lgamma_test_data): Likewise.
12843 (lrint_test_data): Likewise.
12844 (lrint_tonearest_test_data): Likewise.
12845 (lrint_towardzero_test_data): Likewise.
12846 (lrint_downward_test_data): Likewise.
12847 (lrint_upward_test_data): Likewise.
12848 (llrint_test_data): Likewise.
12849 (llrint_tonearest_test_data): Likewise.
12850 (llrint_towardzero_test_data): Likewise.
12851 (llrint_downward_test_data): Likewise.
12852 (llrint_upward_test_data): Likewise.
12853 (log_test_data): Likewise.
12854 (log10_test_data): Likewise.
12855 (log1p_test_data): Likewise.
12856 (log2_test_data): Likewise.
12857 (logb_test_data): Likewise.
12858 (logb_downward_test_data): Likewise.
12859 (lround_test_data): Likewise.
12860 (llround_test_data): Likewise.
12861 (modf_test_data): Likewise.
12862 (nearbyint_test_data): Likewise.
12863 (nextafter_test_data): Likewise.
12864 (nexttoward_test_data): Likewise.
12865 (pow_test_data): Likewise.
12866 (pow_tonearest_test_data): Likewise.
12867 (pow_towardzero_test_data): Likewise.
12868 (pow_downward_test_data): Likewise.
12869 (pow_upward_test_data): Likewise.
12870 (remainder_test_data): Likewise.
12871 (remainder_tonearest_test_data): Likewise.
12872 (remainder_towardzero_test_data): Likewise.
12873 (remainder_downward_test_data): Likewise.
12874 (remainder_upward_test_data): Likewise.
12875 (remquo_test_data): Likewise.
12876 (rint_test_data): Likewise.
12877 (rint_tonearest_test_data): Likewise.
12878 (rint_towardzero_test_data): Likewise.
12879 (rint_downward_test_data): Likewise.
12880 (rint_upward_test_data): Likewise.
12881 (round_test_data): Likewise.
12882 (scalb_test_data): Likewise.
12883 (scalbn_test_data): Likewise.
12884 (scalbln_test_data): Likewise.
12885 (signbit_test_data): Likewise.
12886 (sin_test_data): Likewise.
12887 (sin_tonearest_test_data): Likewise.
12888 (sin_towardzero_test_data): Likewise.
12889 (sin_downward_test_data): Likewise.
12890 (sin_upward_test_data): Likewise.
12891 (sincos_test_data): Likewise.
12892 (sinh_test_data): Likewise.
12893 (sinh_tonearest_test_data): Likewise.
12894 (sinh_towardzero_test_data): Likewise.
12895 (sinh_downward_test_data): Likewise.
12896 (sinh_upward_test_data): Likewise.
12897 (sqrt_test_data): Likewise.
12898 (tan_test_data): Likewise.
12899 (tan_tonearest_test_data): Likewise.
12900 (tan_towardzero_test_data): Likewise.
12901 (tan_downward_test_data): Likewise.
12902 (tan_upward_test_data): Likewise.
12903 (tanh_test_data): Likewise.
12904 (tgamma_test_data): Likewise.
12905 (trunc_test_data): Likewise.
12906 (y0_test_data): Likewise.
12907 (y1_test_data): Likewise.
12908 (yn_test_data): Likewise.
12909 (significand_test_data): Likewise.
12911 * math/gen-libm-test.pl (@functions): Remove variable.
12912 (generate_testfile): Don't handle START and END lines.
12913 * math/libm-test.inc (START): New macro.
12915 (END_COMPLEX): Likewise.
12916 (acos_test): Use END macro without arguments.
12917 (acos_test_tonearest): Likewise.
12918 (acos_test_towardzero): Likewise.
12919 (acos_test_downward): Likewise.
12920 (acos_test_upward): Likewise.
12921 (acosh_test): Likewise.
12922 (asin_test): Likewise.
12923 (asin_test_tonearest): Likewise.
12924 (asin_test_towardzero): Likewise.
12925 (asin_test_downward): Likewise.
12926 (asin_test_upward): Likewise.
12927 (asinh_test): Likewise.
12928 (atan_test): Likewise.
12929 (atanh_test): Likewise.
12930 (atan2_test): Likewise.
12931 (cabs_test): Likewise.
12932 (cacos_test): Use END_COMPLEX macro without arguments.
12933 (cacosh_test): Likewise.
12934 (carg_test): Use END macro without arguments.
12935 (casin_test): Use END_COMPLEX macro without arguments.
12936 (casinh_test): Likewise.
12937 (catan_test): Likewise.
12938 (catanh_test): Likewise.
12939 (cbrt_test): Use END macro without arguments.
12940 (ccos_test): Use END_COMPLEX macro without arguments.
12941 (ccosh_test): Likewise.
12942 (ceil_test): Use END macro without arguments.
12943 (cexp_test): Use END_COMPLEX macro without arguments.
12944 (cimag_test): Use END macro without arguments.
12945 (clog_test): Use END_COMPLEX macro without arguments.
12946 (clog10_test): Likewise.
12947 (conj_test): Likewise.
12948 (copysign_test): Use END macro without arguments.
12949 (cos_test): Likewise.
12950 (cos_test_tonearest): Likewise.
12951 (cos_test_towardzero): Likewise.
12952 (cos_test_downward): Likewise.
12953 (cos_test_upward): Likewise.
12954 (cosh_test): Likewise.
12955 (cosh_test_tonearest): Likewise.
12956 (cosh_test_towardzero): Likewise.
12957 (cosh_test_downward): Likewise.
12958 (cosh_test_upward): Likewise.
12959 (cpow_test): Use END_COMPLEX macro without arguments.
12960 (cproj_test): Likewise.
12961 (creal_test): Use END macro without arguments.
12962 (csin_test): Use END_COMPLEX macro without arguments.
12963 (csinh_test): Likewise.
12964 (csqrt_test): Likewise.
12965 (ctan_test): Likewise.
12966 (ctan_test_tonearest): Likewise.
12967 (ctan_test_towardzero): Likewise.
12968 (ctan_test_downward): Likewise.
12969 (ctan_test_upward): Likewise.
12970 (ctanh_test): Likewise.
12971 (ctanh_test_tonearest): Likewise.
12972 (ctanh_test_towardzero): Likewise.
12973 (ctanh_test_downward): Likewise.
12974 (ctanh_test_upward): Likewise.
12975 (erf_test): Use END macro without arguments.
12976 (erfc_test): Likewise.
12977 (exp_test): Likewise.
12978 (exp_test_tonearest): Likewise.
12979 (exp_test_towardzero): Likewise.
12980 (exp_test_downward): Likewise.
12981 (exp_test_upward): Likewise.
12982 (exp10_test): Likewise.
12983 (exp2_test): Likewise.
12984 (expm1_test): Likewise.
12985 (fabs_test): Likewise.
12986 (fdim_test): Likewise.
12987 (finite_test): Likewise.
12988 (floor_test): Likewise.
12989 (fma_test): Likewise.
12990 (fma_test_towardzero): Likewise.
12991 (fma_test_downward): Likewise.
12992 (fma_test_upward): Likewise.
12993 (fmax_test): Likewise.
12994 (fmin_test): Likewise.
12995 (fmod_test): Likewise.
12996 (fpclassify_test): Likewise.
12997 (frexp_test): Likewise.
12998 (gamma_test): Likewise.
12999 (hypot_test): Likewise.
13000 (ilogb_test): Likewise.
13001 (isfinite_test): Likewise.
13002 (isgreater_test): Likewise.
13003 (isgreaterequal_test): Likewise.
13004 (isinf_test): Likewise.
13005 (isless_test): Likewise.
13006 (islessequal_test): Likewise.
13007 (islessgreater_test): Likewise.
13008 (isnan_test): Likewise.
13009 (isnormal_test): Likewise.
13010 (issignaling_test): Likewise.
13011 (isunordered_test): Likewise.
13012 (j0_test): Likewise.
13013 (j1_test): Likewise.
13014 (jn_test): Likewise.
13015 (ldexp_test): Likewise.
13016 (lgamma_test): Likewise.
13017 (lrint_test): Likewise.
13018 (lrint_test_tonearest): Likewise.
13019 (lrint_test_towardzero): Likewise.
13020 (lrint_test_downward): Likewise.
13021 (lrint_test_upward): Likewise.
13022 (llrint_test): Likewise.
13023 (llrint_test_tonearest): Likewise.
13024 (llrint_test_towardzero): Likewise.
13025 (llrint_test_downward): Likewise.
13026 (llrint_test_upward): Likewise.
13027 (log_test): Likewise.
13028 (log10_test): Likewise.
13029 (log1p_test): Likewise.
13030 (log2_test): Likewise.
13031 (logb_test): Likewise.
13032 (logb_test_downward): Likewise.
13033 (lround_test): Likewise.
13034 (llround_test): Likewise.
13035 (modf_test): Likewise.
13036 (nearbyint_test): Likewise.
13037 (nextafter_test): Likewise.
13038 (nexttoward_test): Likewise.
13039 (pow_test): Likewise.
13040 (pow_test_tonearest): Likewise.
13041 (pow_test_towardzero): Likewise.
13042 (pow_test_downward): Likewise.
13043 (pow_test_upward): Likewise.
13044 (remainder_test): Likewise.
13045 (remainder_test_tonearest): Likewise.
13046 (remainder_test_towardzero): Likewise.
13047 (remainder_test_downward): Likewise.
13048 (remainder_test_upward): Likewise.
13049 (remquo_test): Likewise.
13050 (rint_test): Likewise.
13051 (rint_test_tonearest): Likewise.
13052 (rint_test_towardzero): Likewise.
13053 (rint_test_downward): Likewise.
13054 (rint_test_upward): Likewise.
13055 (round_test): Likewise.
13056 (scalb_test): Likewise.
13057 (scalbn_test): Likewise.
13058 (scalbln_test): Likewise.
13059 (signbit_test): Likewise.
13060 (sin_test): Likewise.
13061 (sin_test_tonearest): Likewise.
13062 (sin_test_towardzero): Likewise.
13063 (sin_test_downward): Likewise.
13064 (sin_test_upward): Likewise.
13065 (sincos_test): Likewise.
13066 (sinh_test): Likewise.
13067 (sinh_test_tonearest): Likewise.
13068 (sinh_test_towardzero): Likewise.
13069 (sinh_test_downward): Likewise.
13070 (sinh_test_upward): Likewise.
13071 (sqrt_test): Likewise.
13072 (tan_test): Likewise.
13073 (tan_test_tonearest): Likewise.
13074 (tan_test_towardzero): Likewise.
13075 (tan_test_downward): Likewise.
13076 (tan_test_upward): Likewise.
13077 (tanh_test): Likewise.
13078 (tgamma_test): Likewise.
13079 (trunc_test): Likewise.
13080 (y0_test): Likewise.
13081 (y1_test): Likewise.
13082 (yn_test): Likewise.
13083 (significand_test): Likewise.
13085 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13088 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13090 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13093 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13094 __ppc_mdoio and __ppc_mdoom.
13095 * manual/platform.texi: Document new functions __ppc_yield,
13096 __ppc_mdoio and __ppc_mdoom.
13098 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13100 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13101 (main): Mention "tls" pseudo-hwcap is legacy.
13102 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13104 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13106 * math/gen-libm-test.pl (parse_args): Output only string of
13107 arguments as text for test name, not full call or descriptions of
13108 tests for extra outputs.
13109 (generate_testfile): Do not pass function name to parse_args.
13110 Generate this_func variable from START.
13111 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13113 (struct test_ff_f_data): Likewise.
13114 (test_ff_f_data_nexttoward): Likewise.
13115 (struct test_fi_f_data): Likewise.
13116 (struct test_fl_f_data): Likewise.
13117 (struct test_if_f_data): Likewise.
13118 (struct test_fff_f_data): Likewise.
13119 (struct test_c_f_data): Likewise.
13120 (struct test_f_f1_data): Likewise. Remove field extra_name.
13121 (struct test_fF_f1_data): Likewise.
13122 (struct test_ffI_f1_data): Likewise.
13123 (struct test_c_c_data): Rename test_name field to arg_str.
13124 (struct test_cc_c_data): Likewise.
13125 (struct test_f_i_data): Likewise.
13126 (struct test_ff_i_data): Likewise.
13127 (struct test_f_l_data): Likewise.
13128 (struct test_f_L_data): Likewise.
13129 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13131 (COMMON_TEST_SETUP): New macro.
13132 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13133 (COMMON_TEST_CLEANUP): Likewise.
13134 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13135 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13137 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13138 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13140 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13141 (RUN_TEST_fff_f): Take argument string. Call new setup and
13143 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13144 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13146 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13147 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13149 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13150 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13152 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13153 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13155 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13156 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13158 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13159 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13161 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13162 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13164 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13165 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13167 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13168 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13170 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13171 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13173 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13174 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13176 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13177 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13179 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13180 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13182 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13183 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13185 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13186 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13188 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13190 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13192 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13193 to _sifields.sigfault.
13194 (si_addr_lsb): Define new macro.
13195 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13196 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13197 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13199 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13202 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13204 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13206 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13207 loading the domain.
13209 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13211 * math/gen-libm-test.pl (parse_args): Do not include expected
13212 result in test name.
13213 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13214 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13215 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13216 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13217 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13220 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13222 * benchtests/Makefile: Sort function entries.
13224 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13225 tanh, asinh, acosh, atanh.
13226 * benchtests/acos-inputs: New file.
13227 * benchtests/acosh-inputs: New file.
13228 * benchtests/asin-inputs: New file.
13229 * benchtests/asinh-inputs: New file.
13230 * benchtests/atanh-inputs: New file.
13231 * benchtests/cosh-inputs: New file.
13232 * benchtests/log-inputs: New file.
13233 * benchtests/sinh-inputs: New file.
13234 * benchtests/tanh-inputs: New file.
13236 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13239 * posix/tst-getaddrinfo4.c: New test.
13240 * posix/Makefile (tests): Add it.
13242 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13245 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13246 when no services were used.
13247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13248 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13250 2013-05-21 Andreas Schwab <schwab@suse.de>
13253 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13254 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13256 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13257 redundant variable declarations and reallocation of buffer when
13258 parsing as IPv6 address. Always set NSS status when called from
13259 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13260 buffer too small. Correct computation of needed size.
13261 * nss/Makefile (tests): Add test-digits-dots.
13262 * nss/test-digits-dots.c: New test.
13264 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13266 * benchtests/Makefile: Remove instructions for adding
13268 * benchtests/README: New file to explain how to execute and
13269 enhance the benchmark tests.
13271 2013-05-21 Andreas Schwab <schwab@suse.de>
13274 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13275 * setjmp/tst-sigsetjmp.c: New test.
13277 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13279 * sysdeps/x86_64/memset.S (memset): New implementation.
13280 (__bzero): Likewise.
13281 (__memset_tail): New function.
13283 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13285 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13286 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13287 __memcpy_sse2_unaligned ifunc selection.
13288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13289 Add memcpy-sse2-unaligned.S.
13290 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13291 Add: __memcpy_sse2_unaligned.
13293 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13296 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13297 math_force_eval before restoring floating-point envrionment.
13298 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13299 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13301 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13303 (__nearbyintl): Use math_force_eval before restoring
13304 floating-point environment.
13305 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13307 * math/gen-libm-test.pl (special_functions): Remove.
13308 (parse_args): Don't handle TEST_extra. Handle functions with no
13310 * math/libm-test.inc (struct test_sincos_data): Replace with
13311 struct test_fFF_11_data.
13312 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13313 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13314 (sincos_test_data): Change element type to struct
13315 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13316 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13317 RUN_TEST_LOOP_sincos.
13318 * math/README.libm-test: Don't mention special handling of
13319 individual functions.
13320 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13321 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13322 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13323 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13324 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13327 * math/gen-libm-test.pl (get_variable): Remove function.
13328 (parse_args): Don't show pointer parameters to call in test
13329 names. Use "extra output N" in test names for extra outputs
13330 rather than naming variables.
13332 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13335 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13336 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13337 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13339 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13341 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13344 * math/gen-libm-test.pl (@tests): Remove variable.
13345 ($count): Likewise.
13346 (new_test): Remove function.
13347 (show_exceptions): New function.
13348 (special_functions): Use show_exceptions instead of new_test.
13349 (parse_args): Likewise.
13350 (generate_testfile): Pass only function name in generated call to
13351 print_max_error or print_complex_max_error.
13352 (get_ulps): Do not handle complex tests specially.
13353 (output_test): Rename to ...
13354 (get_all_ulps_for_test): ... this. Return a string rather than
13355 printing to a file. Require ulps to be present.
13356 (output_ulps): Generate arrays rather than #defines.
13357 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13358 (struct ulp_data): New type.
13359 (BUILD_COMPLEX_ULP): Remove macro.
13360 (compare_ulp_data): New function.
13361 (find_ulps): Likewise.
13362 (find_test_ulps): Likewise.
13363 (find_function_ulps): Likewise.
13364 (find_complex_function_ulps): Likewise.
13365 (print_max_error): Determine allowed ulps using
13366 find_function_ulps.
13367 (print_complex_max_error): Determine allowed ulps using
13368 find_complex_function_ulps.
13369 (check_float_internal): Determine max ulps using find_test_ulps.
13370 (check_float): Do not take max_ulp parameter. Update call to
13371 check_float_internal.
13372 (check_complex): Likewise.
13373 (check_int): Do not take max_ulp parameter.
13374 (check_long): Likewise.
13375 (check_bool): Likewise.
13376 (check_longlong): Likewise.
13377 (struct test_f_f_data): Remove max_ulp field.
13378 (struct test_ff_f_data): Likewise.
13379 (struct test_ff_f_data_nexttoward): Likewise.
13380 (struct test_fi_f_data): Likewise.
13381 (struct test_fl_f_data): Likewise.
13382 (struct test_if_f_data): Likewise.
13383 (struct test_fff_f_data): Likewise.
13384 (struct test_c_f_data): Likewise.
13385 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13386 (struct test_fF_f1_data): Likewise.
13387 (struct test_ffI_f1_data): Likewise.
13388 (struct test_c_c_data): Remove max_ulp field.
13389 (struct test_cc_c_data): Likewise.
13390 (struct test_f_i_data): Likewise.
13391 (struct test_ff_i_data): Likewise.
13392 (struct test_f_l_data): Likewise.
13393 (struct test_f_L_data): Likewise.
13394 (struct test_sincos_data): Likewise.
13395 (RUN_TEST_f_f): Do not handle ulps.
13396 (RUN_TEST_LOOP_f_f): Likewise.
13397 (RUN_TEST_2_f): Likewise.
13398 (RUN_TEST_LOOP_2_f): Likewise.
13399 (RUN_TEST_fff_f): Likewise.
13400 (RUN_TEST_LOOP_fff_f): Likewise.
13401 (RUN_TEST_c_f): Likewise.
13402 (RUN_TEST_LOOP_c_f): Likewise.
13403 (RUN_TEST_f_f1): Likewise.
13404 (RUN_TEST_LOOP_f_f1): Likewise.
13405 (RUN_TEST_fF_f1): Likewise.
13406 (RUN_TEST_LOOP_fF_f1): Likewise.
13407 (RUN_TEST_fI_f1): Likewise.
13408 (RUN_TEST_LOOP_fI_f1): Likewise.
13409 (RUN_TEST_ffI_f1): Likewise.
13410 (RUN_TEST_LOOP_ffI_f1): Likewise.
13411 (RUN_TEST_c_c): Likewise.
13412 (RUN_TEST_LOOP_c_c): Likewise.
13413 (RUN_TEST_cc_c): Likewise.
13414 (RUN_TEST_LOOP_cc_c): Likewise.
13415 (RUN_TEST_f_i): Likewise.
13416 (RUN_TEST_LOOP_f_i): Likewise.
13417 (RUN_TEST_f_i_tg): Likewise.
13418 (RUN_TEST_LOOP_f_i_tg): Likewise.
13419 (RUN_TEST_ff_i_tg): Likewise.
13420 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13421 (RUN_TEST_f_b): Likewise.
13422 (RUN_TEST_LOOP_f_b): Likewise.
13423 (RUN_TEST_f_b_tg): Likewise.
13424 (RUN_TEST_LOOP_f_b_tg): Likewise.
13425 (RUN_TEST_f_l): Likewise.
13426 (RUN_TEST_LOOP_f_l): Likewise.
13427 (RUN_TEST_f_L): Likewise.
13428 (RUN_TEST_LOOP_f_L): Likewise.
13429 (RUN_TEST_sincos): Likewise.
13430 (RUN_TEST_LOOP_sincos): Likewise.
13432 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13436 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13437 main case of finite arguments, set rounding mode to FE_TONEAREST
13438 and discard exceptions.
13439 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13441 (remainder_tonearest_test_data): New variable.
13442 (remainder_test_tonearest): New function.
13443 (remainder_towardzero_test_data): New variable.
13444 (remainder_test_towardzero): New function.
13445 (remainder_downward_test_data): New variable.
13446 (remainder_test_downward): New function.
13447 (remainder_upward_test_data): New variable.
13448 (remainder_test_upward): New function.
13449 (main): Call the new test functions.
13451 * math/libm-test.inc (struct test_f_f1_data): Remove field
13453 (struct test_fF_f1_data): Likewise.
13454 (struct test_ffI_f1_data): Likewise.
13455 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13456 based on value of EXTRA_EXPECTED.
13457 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13458 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13459 EXTRA_VAR based on value of EXTRA_EXPECTED.
13460 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13461 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13462 EXTRA_VAR based on value of EXTRA_EXPECTED.
13463 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13464 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13465 EXTRA_VAR based on value of EXTRA_EXPECTED.
13466 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13467 * math/gen-libm-test.pl (parse_args): Don't output initializers
13468 for extra output values.
13470 * math/libm-test.inc (check_int): Expect result to be exactly
13471 equal to expected value and do not handle ulps.
13472 (check_long): Likewise.
13473 (check_longlong): Likewise.
13475 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13477 (cimag_test_data): Likewise.
13478 (conj_test_data): Likewise.
13479 (copysign_test_data): Likewise.
13480 (cproj_test_data): Likewise.
13481 (creal_test_data): Likewise.
13482 (fabs_test_data): Likewise.
13483 (fdim_test_data): Likewise.
13484 (finite_test_data): Likewise.
13485 (floor_test_data): Likewise.
13486 (fmax_test_data): Likewise.
13487 (fmin_test_data): Likewise.
13488 (fmod_test_data): Likewise.
13489 (fpclassify_test_data): Likewise.
13490 (frexp_test_data): Likewise.
13491 (ilogb_test_data): Likewise.
13492 (isfinite_test_data): Likewise.
13493 (isgreater_test_data): Likewise.
13494 (isgreaterequal_test_data): Likewise.
13495 (isinf_test_data): Likewise.
13496 (isless_test_data): Likewise.
13497 (islessequal_test_data): Likewise.
13498 (islessgreater_test_data): Likewise.
13499 (isnan_test_data): Likewise.
13500 (isnormal_test_data): Likewise.
13501 (issignaling_test_data): Likewise.
13502 (isunordered_test_data): Likewise.
13503 (ldexp_test_data): Likewise.
13504 (lrint_test_data): Likewise.
13505 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13506 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13507 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13508 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13509 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13510 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13512 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13513 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13514 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13515 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13517 (lrint_downward_test_data): Test for "inexact" exceptions.
13518 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13519 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13520 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13522 (lrint_upward_test_data): Test for "inexact" exceptions.
13523 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13525 (llrint_test_data): Test for "inexact" exceptions.
13526 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13527 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13528 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13529 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13530 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13531 (llrint_downward_test_data): Test for "inexact" exceptions.
13532 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13533 (llrint_upward_test_data): Test for "inexact" exceptions.
13534 (logb_test_data): Likewise.
13535 (logb_downward_test_data): Likewise.
13536 (nextafter_test_data): Likewise.
13537 (nexttoward_test_data): Likewise.
13538 (remainder_test_data): Likewise.
13539 (remquo_test_data): Likewise.
13540 (scalbn_test_data): Likewise.
13541 (scalbln_test_data): Likewise.
13542 (signbit_test_data): Likewise.
13543 (sqrt_test_data): Likewise.
13544 (significand_test_data): Likewise.
13546 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13549 * benchtests/bench-modf.c (struct args): Mark arg0 as
13551 * scripts/bench.pl: Mark members of struct args as volatile.
13553 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13556 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13557 negative infinity on POWER6 or lower.
13558 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13560 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13563 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13564 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13565 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13566 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13567 (_FP_SETQNAN): New macro.
13568 (_FP_SETQNAN_SEMIRAW): Likewise.
13569 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13570 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13571 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13572 (FP_EXTEND): Use _FP_FRAC_SNANP.
13573 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13574 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13576 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13578 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13581 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13583 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13584 with DIVIDE_BY_ZERO_EXCEPTION.
13585 (gamma_test_data): Likewise.
13586 (lgamma_test_data): Likewise.
13587 (log_test_data): Likewise.
13588 (log10_test_data): Likewise.
13589 (log2_test_data): Likewise.
13590 (tgamma_test_data): Likewise.
13592 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13593 (acos_test_tonearest): Likewise.
13594 (acos_test_towardzero): Likewise.
13595 (acos_test_downward): Likewise.
13596 (acos_test_upward): Likewise.
13597 (acosh_test): Likewise.
13598 (asin_test): Likewise.
13599 (asin_test_tonearest): Likewise.
13600 (asin_test_towardzero): Likewise.
13601 (asin_test_downward): Likewise.
13602 (asin_test_upward): Likewise.
13603 (asinh_test): Likewise.
13604 (atan_test): Likewise.
13605 (atanh_test): Likewise.
13606 (atan2_test): Likewise.
13607 (cabs_test): Likewise.
13608 (cacos_test): Likewise.
13609 (cacosh_test): Likewise.
13610 (casin_test): Likewise.
13611 (casinh_test): Likewise.
13612 (catan_test): Likewise.
13613 (catanh_test): Likewise.
13614 (cbrt_test): Likewise.
13615 (ccos_test): Likewise.
13616 (ccosh_test): Likewise.
13617 (cexp_test): Likewise.
13618 (clog_test): Likewise.
13619 (clog10_test): Likewise.
13620 (cos_test): Likewise.
13621 (cos_test_tonearest): Likewise.
13622 (cos_test_towardzero): Likewise.
13623 (cos_test_downward): Likewise.
13624 (cos_test_upward): Likewise.
13625 (cosh_test): Likewise.
13626 (cosh_test_tonearest): Likewise.
13627 (cosh_test_towardzero): Likewise.
13628 (cosh_test_downward): Likewise.
13629 (cosh_test_upward): Likewise.
13630 (cpow_test): Likewise.
13631 (csin_test): Likewise.
13632 (csinh_test): Likewise.
13633 (csqrt_test): Likewise.
13634 (ctan_test): Likewise.
13635 (ctan_test_tonearest): Likewise.
13636 (ctan_test_towardzero): Likewise.
13637 (ctan_test_downward): Likewise.
13638 (ctan_test_upward): Likewise.
13639 (ctanh_test): Likewise.
13640 (ctanh_test_tonearest): Likewise.
13641 (ctanh_test_towardzero): Likewise.
13642 (ctanh_test_downward): Likewise.
13643 (ctanh_test_upward): Likewise.
13644 (erf_test): Likewise.
13645 (erfc_test): Likewise.
13646 (exp_test): Likewise.
13647 (exp_test_tonearest): Likewise.
13648 (exp_test_towardzero): Likewise.
13649 (exp_test_downward): Likewise.
13650 (exp_test_upward): Likewise.
13651 (exp10_test): Likewise.
13652 (exp2_test): Likewise.
13653 (expm1_test): Likewise.
13654 (fmod_test): Likewise.
13655 (gamma_test): Likewise.
13656 (hypot_test): Likewise.
13657 (j0_test): Likewise.
13658 (j1_test): Likewise.
13659 (jn_test): Likewise.
13660 (lgamma_test): Likewise.
13661 (log_test): Likewise.
13662 (log10_test): Likewise.
13663 (log1p_test): Likewise.
13664 (log2_test): Likewise.
13665 (logb_test_downward): Likewise.
13666 (pow_test): Likewise.
13667 (pow_test_tonearest): Likewise.
13668 (pow_test_towardzero): Likewise.
13669 (pow_test_downward): Likewise.
13670 (pow_test_upward): Likewise.
13671 (remainder_test): Likewise.
13672 (remquo_test): Likewise.
13673 (sin_test): Likewise.
13674 (sin_test_tonearest): Likewise.
13675 (sin_test_towardzero): Likewise.
13676 (sin_test_downward): Likewise.
13677 (sin_test_upward): Likewise.
13678 (sincos_test): Likewise.
13679 (sinh_test): Likewise.
13680 (sinh_test_tonearest): Likewise.
13681 (sinh_test_towardzero): Likewise.
13682 (sinh_test_downward): Likewise.
13683 (sinh_test_upward): Likewise.
13684 (sqrt_test): Likewise.
13685 (tan_test): Likewise.
13686 (tan_test_tonearest): Likewise.
13687 (tan_test_towardzero): Likewise.
13688 (tan_test_downward): Likewise.
13689 (tan_test_upward): Likewise.
13690 (tanh_test): Likewise.
13691 (tgamma_test): Likewise.
13692 (y0_test): Likewise.
13693 (y1_test): Likewise.
13694 (yn_test): Likewise.
13696 * math/gen-libm-test.pl (adjust_arg): Remove function.
13697 (special_function): Remove argument $in_func. Only handle
13698 generating output for tables of tests, not inside functions.
13699 (parse_args): Likewise.
13700 (generate_testfile): Remove variable $in_func. Update call to
13702 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13703 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13704 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13705 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13706 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13707 (MAX_VALUE_INIT): Rename macro to max_value.
13708 (MIN_VALUE_INIT): Rename macro to min_value.
13709 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13710 (plus_zero): Remove variable.
13711 (minus_zero): Likewise.
13712 (plus_infty): Likewise.
13713 (minus_infty): Likewise.
13714 (qnan_value): Likewise.
13715 (max_value): Likewise.
13716 (min_value): Likewise.
13717 (min_subnorm_value): Likewise.
13719 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13721 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13722 uint64_t or uint32_t usage.
13723 * crypt/sha256-block.c: Likewise.
13724 * crypt/sha256-crypt.c: Likewise.
13725 * crypt/sha256.c: Likewise.
13726 * crypt/sha512-block.c: Likewise.
13727 * crypt/sha512-crypt.c: Likewise.
13728 * crypt/sha512.c: Likewise.
13729 * debug/backtrace-tst.c: Likewise.
13730 * debug/pcprofiledump.c: Likewise.
13731 * elf/cache.c: Likewise.
13732 * elf/dl-cache.c: Likewise.
13733 * elf/dl-misc.c: Likewise.
13734 * elf/dl-profile.c: Likewise.
13735 * elf/dl-support.c: Likewise.
13736 * elf/ldconfig.c: Likewise.
13737 * elf/sprof.c: Likewise.
13738 * iconv/dummy-repertoire.c: Likewise.
13739 * iconv/iconv_charmap.c: Likewise.
13740 * iconv/skeleton.c: Likewise.
13741 * iconvdata/8bit-generic.c: Likewise.
13742 * iconvdata/cp737.h: Likewise.
13743 * iconvdata/cp775.h: Likewise.
13744 * iconvdata/ibm1008.h: Likewise.
13745 * iconvdata/ibm1025.h: Likewise.
13746 * iconvdata/ibm1046.h: Likewise.
13747 * iconvdata/ibm1097.h: Likewise.
13748 * iconvdata/ibm1112.h: Likewise.
13749 * iconvdata/ibm1122.h: Likewise.
13750 * iconvdata/ibm1123.h: Likewise.
13751 * iconvdata/ibm1124.h: Likewise.
13752 * iconvdata/ibm1129.h: Likewise.
13753 * iconvdata/ibm1130.h: Likewise.
13754 * iconvdata/ibm1132.h: Likewise.
13755 * iconvdata/ibm1133.h: Likewise.
13756 * iconvdata/ibm1137.h: Likewise.
13757 * iconvdata/ibm1140.h: Likewise.
13758 * iconvdata/ibm1141.h: Likewise.
13759 * iconvdata/ibm1142.h: Likewise.
13760 * iconvdata/ibm1143.h: Likewise.
13761 * iconvdata/ibm1144.h: Likewise.
13762 * iconvdata/ibm1145.h: Likewise.
13763 * iconvdata/ibm1146.h: Likewise.
13764 * iconvdata/ibm1147.h: Likewise.
13765 * iconvdata/ibm1148.h: Likewise.
13766 * iconvdata/ibm1149.h: Likewise.
13767 * iconvdata/ibm1153.h: Likewise.
13768 * iconvdata/ibm1154.h: Likewise.
13769 * iconvdata/ibm1155.h: Likewise.
13770 * iconvdata/ibm1156.h: Likewise.
13771 * iconvdata/ibm1157.h: Likewise.
13772 * iconvdata/ibm1158.h: Likewise.
13773 * iconvdata/ibm1160.h: Likewise.
13774 * iconvdata/ibm1161.h: Likewise.
13775 * iconvdata/ibm1162.h: Likewise.
13776 * iconvdata/ibm1163.h: Likewise.
13777 * iconvdata/ibm1164.h: Likewise.
13778 * iconvdata/ibm1166.h: Likewise.
13779 * iconvdata/ibm1167.h: Likewise.
13780 * iconvdata/ibm12712.h: Likewise.
13781 * iconvdata/ibm1390.h: Likewise.
13782 * iconvdata/ibm1399.h: Likewise.
13783 * iconvdata/ibm16804.h: Likewise.
13784 * iconvdata/ibm4517.h: Likewise.
13785 * iconvdata/ibm4899.h: Likewise.
13786 * iconvdata/ibm4909.h: Likewise.
13787 * iconvdata/ibm4971.h: Likewise.
13788 * iconvdata/ibm5347.h: Likewise.
13789 * iconvdata/ibm803.h: Likewise.
13790 * iconvdata/ibm856.h: Likewise.
13791 * iconvdata/ibm901.h: Likewise.
13792 * iconvdata/ibm902.h: Likewise.
13793 * iconvdata/ibm9030.h: Likewise.
13794 * iconvdata/ibm9066.h: Likewise.
13795 * iconvdata/ibm921.h: Likewise.
13796 * iconvdata/ibm922.h: Likewise.
13797 * iconvdata/ibm9448.h: Likewise.
13798 * iconvdata/isiri-3342.h: Likewise.
13799 * iconvdata/jis0201.h: Likewise.
13800 * include/link.h: Likewise.
13801 * include/netdb.h: Likewise.
13802 * inet/check_native.c: Likewise.
13803 * inet/check_pf.c: Likewise.
13804 * inet/getipv4sourcefilter.c: Likewise.
13805 * inet/getnameinfo.c: Likewise.
13806 * inet/getsourcefilter.c: Likewise.
13807 * inet/htonl.c: Likewise.
13808 * inet/setipv4sourcefilter.c: Likewise.
13809 * inet/setsourcefilter.c: Likewise.
13810 * inet/test-inet6_opt.c: Likewise.
13811 * inet/tst-network.c: Likewise.
13812 * locale/C-collate.c: Likewise.
13813 * locale/C-ctype.c: Likewise.
13814 * locale/C-time.c: Likewise.
13815 * locale/C-translit.h: Likewise.
13816 * locale/loadarchive.c: Likewise.
13817 * locale/programs/3level.h: Likewise.
13818 * locale/programs/charmap.c: Likewise.
13819 * locale/programs/charmap.h: Likewise.
13820 * locale/programs/ld-address.c: Likewise.
13821 * locale/programs/ld-collate.c: Likewise.
13822 * locale/programs/ld-ctype.c: Likewise.
13823 * locale/programs/ld-identification.c: Likewise.
13824 * locale/programs/ld-measurement.c: Likewise.
13825 * locale/programs/ld-messages.c: Likewise.
13826 * locale/programs/ld-monetary.c: Likewise.
13827 * locale/programs/ld-name.c: Likewise.
13828 * locale/programs/ld-numeric.c: Likewise.
13829 * locale/programs/ld-paper.c: Likewise.
13830 * locale/programs/ld-telephone.c: Likewise.
13831 * locale/programs/ld-time.c: Likewise.
13832 * locale/programs/linereader.c: Likewise.
13833 * locale/programs/locale.c: Likewise.
13834 * locale/programs/locarchive.c: Likewise.
13835 * locale/programs/locfile.h: Likewise.
13836 * locale/programs/repertoire.c: Likewise.
13837 * locale/programs/simple-hash.c: Likewise.
13838 * locale/programs/simple-hash.h: Likewise.
13839 * malloc/memusage.c: Likewise.
13840 * malloc/memusagestat.c: Likewise.
13841 * nis/nis_defaults.c: Likewise.
13842 * nis/nis_hash.c: Likewise.
13843 * nis/nis_print.c: Likewise.
13844 * nis/nis_xdr.c: Likewise.
13845 * nscd/connections.c: Likewise.
13846 * nscd/hstcache.c: Likewise.
13847 * nscd/nscd_gethst_r.c: Likewise.
13848 * nscd/nscd_getserv_r.c: Likewise.
13849 * nscd/nscd_helper.c: Likewise.
13850 * nscd/servicescache.c: Likewise.
13851 * nss/makedb.c: Likewise.
13852 * nss/nss_db/db-XXX.c: Likewise.
13853 * nss/nss_db/db-initgroups.c: Likewise.
13854 * nss/nss_db/db-netgrp.c: Likewise.
13855 * nss/nss_files/files-network.c: Likewise.
13856 * nss/nss_files/files-parse.c: Likewise.
13857 * posix/bug-regex5.c: Likewise.
13858 * posix/fnmatch_loop.c: Likewise.
13859 * posix/regcomp.c: Likewise.
13860 * posix/regexec.c: Likewise.
13861 * posix/tst-rfc3484-2.c: Likewise.
13862 * posix/tst-rfc3484-3.c: Likewise.
13863 * posix/tst-rfc3484.c: Likewise.
13864 * resolv/nss_dns/dns-canon.c: Likewise.
13865 * resolv/nss_dns/dns-network.c: Likewise.
13866 * resolv/res_init.c: Likewise.
13867 * resolv/res_mkquery.c: Likewise.
13868 * resolv/tst-aton.c: Likewise.
13869 * stdlib/cxa_atexit.c: Likewise.
13870 * stdlib/cxa_finalize.c: Likewise.
13871 * stdlib/gen-fpioconst.c: Likewise.
13872 * stdlib/strtol_l.c: Likewise.
13873 * string/tst-endian.c: Likewise.
13874 * sunrpc/auth_des.c: Likewise.
13875 * sunrpc/clnt_udp.c: Likewise.
13876 * sunrpc/rtime.c: Likewise.
13877 * sunrpc/svcauth_des.c: Likewise.
13878 * sunrpc/xdr.c: Likewise.
13879 * sunrpc/xdr_intXX_t.c: Likewise.
13880 * sunrpc/xdr_rec.c: Likewise.
13881 * sysdeps/generic/ldconfig.h: Likewise.
13882 * sysdeps/generic/ldsodefs.h: Likewise.
13883 * sysdeps/generic/memusage.h: Likewise.
13884 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13885 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13886 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13887 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13888 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13889 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13890 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13891 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13892 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13893 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13894 * sysdeps/posix/getaddrinfo.c: Likewise.
13895 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13896 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13897 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13898 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13899 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13900 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13901 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13902 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13903 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13904 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13905 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13906 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13907 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13908 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13909 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13910 * sysdeps/x86_64/dl-tls.h: Likewise.
13911 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13912 * time/alt_digit.c: Likewise.
13913 * time/era.c: Likewise.
13914 * wcsmbs/tst-c16c32-1.c: Likewise.
13916 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13918 * math/libm-test.inc (struct test_sincos_data): New type.
13919 (RUN_TEST_LOOP_sincos): New macro.
13920 (sincos_test_data): New variable.
13921 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13923 2013-05-16 Richard Henderson <rth@redhat.com>
13925 * math/atest-exp2.c (LIMB64): New macro.
13926 (CONSTSZ): New macro.
13927 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13929 (print_mpn_fp): ... to function scope.
13930 (read_mpn_hex): Remove.
13931 (get_log2): Remove.
13932 (exp2_mpn): Use mp_log2.
13933 (main): Use mp_exp1.
13935 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13937 * math/libm-test.inc: Remove comment about not testing "inexact"
13939 (INEXACT_EXCEPTION): New macro.
13940 (NO_INEXACT_EXCEPTION): Likewise.
13941 (INVALID_EXCEPTION_OK): Update value.
13942 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13943 (OVERFLOW_EXCEPTION_OK): Likewise.
13944 (UNDERFLOW_EXCEPTION_OK): Likewise.
13945 (IGNORE_ZERO_INF_SIGN): Likewise.
13946 (ERRNO_UNCHANGED): Likewise.
13947 (ERRNO_EDOM): Likewise.
13948 (ERRNO_ERANGE): Likewise.
13949 (test_exceptions): Handle testing "inexact" exceptions.
13950 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13951 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13952 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13953 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13955 (rint_towardzero_test_data): Likewise.
13956 (rint_downward_test_data): Likewise.
13957 (rint_upward_test_data): Likewise.
13959 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13960 with OVERFLOW_EXCEPTION.
13961 (exp10_test_data): Likewise.
13962 (exp2_test_data): Likewise.
13963 (expm1_test_data): Likewise.
13964 (lgamma_test_data): Likewise.
13965 (pow_test_data): Likewise.
13966 (tgamma_test_data): Likewise.
13967 (yn_test_data): Remove duplicate test of overflow.
13969 * math/libm-test.inc (struct test_cc_c_data): New type.
13970 (RUN_TEST_LOOP_cc_c): New macro.
13971 (cpow_test_data): New variable.
13972 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13974 * math/libm-test.inc (struct test_f_L_data): New type.
13975 (RUN_TEST_LOOP_f_L): New macro.
13976 (llrint_test_data): New variable.
13977 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13978 (llrint_tonearest_test_data): New variable.
13979 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13980 (llrint_towardzero_test_data): New variable.
13981 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13982 (llrint_downward_test_data): New variable.
13983 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13984 (llrint_upward_test_data): New variable.
13985 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13986 (llround_test_data): New variable.
13987 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13989 2013-05-13 Peter Collingbourne <pcc@google.com>
13991 * math/atest-exp2.c (get_log2): Remove const attribute.
13993 2013-05-15 Joseph Myers <joseph@codesourcery.com>
13995 * math/libm-test.inc (struct test_f_l_data): New type.
13996 (RUN_TEST_LOOP_f_l): New macro.
13997 (lrint_test_data): New variable.
13998 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13999 (lrint_tonearest_test_data): New variable.
14000 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14001 (lrint_towardzero_test_data): New variable.
14002 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14003 (lrint_downward_test_data): New variable.
14004 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14005 (lrint_upward_test_data): New variable.
14006 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14007 (lround_test_data): New variable.
14008 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14010 2013-05-15 Peter Collingbourne <pcc@google.com>
14012 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14013 (EXTRACT_WORDS64) Use where appropriate.
14014 (INSERT_WORDS64) Likewise.
14016 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14017 constraints with x constraints.
14018 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14020 * malloc/obstack.c (_obstack_compat): Add initializer.
14022 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14024 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14025 si_trapno and add si_addr_lsb to _sifields.sigfault.
14026 (si_trapno): Remove macro.
14027 (si_addr_lsb): Define new macro.
14028 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14030 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14032 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14033 instead of TEST_f_l.
14034 (llrint_test_tonearest): Likewise.
14035 (llrint_test_towardzero): Likewise.
14036 (llrint_test_downward): Likewise.
14037 (llrint_test_upward): Likewise.
14038 (llround_test): Likewise.
14040 * math/libm-test.inc (struct test_f_i_data): Add comment.
14041 (RUN_TEST_LOOP_f_b): New macro.
14042 (RUN_TEST_LOOP_f_b_tg): Likewise.
14043 (finite_test_data): New variable.
14044 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14045 (isfinite_test_data): New variable.
14046 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14047 (isinf_test_data): New variable.
14048 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14049 (isnan_test_data): New variable.
14050 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14051 (isnormal_test_data): New variable.
14052 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14053 (issignaling_test_data): New variable.
14054 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14055 (signbit_test_data): New variable.
14056 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14058 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14059 with INVALID_EXCEPTION.
14060 (acosh_test_data): Likewise.
14061 (asin_test_data): Likewise.
14062 (atanh_test_data): Likewise.
14063 (fmod_test_data): Likewise.
14064 (log_test_data): Likewise.
14065 (log10_test_data): Likewise.
14066 (log2_test_data): Likewise.
14067 (pow_test_data): Likewise.
14068 (sqrt_test_data): Likewise.
14069 (y0_test_data): Likewise.
14070 (y1_test_data): Likewise.
14071 (yn_test_data): Likewise.
14073 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14076 * math/libm-test.inc (struct test_ff_i_data): New type.
14077 (RUN_TEST_LOOP_ff_i_tg): New macro.
14078 (isgreater_test_data): New variable.
14079 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14080 (isgreaterequal_test_data): New variable.
14081 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14082 (isless_test_data): New variable.
14083 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14084 (islessequal_test_data): New variable.
14085 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14086 (islessgreater_test_data): New variable.
14087 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14088 (isunordered_test_data): New variable.
14089 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14091 2013-05-14 David S. Miller <davem@davemloft.net>
14093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14095 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14097 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14099 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14101 (struct test_f_i_data): Change type of max_ulp to int.
14103 * math/libm-test.inc (test_ffI_f1_data): New type.
14104 (RUN_TEST_LOOP_ffI_f1): New macro.
14105 (remquo_test_data): New variable.
14106 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14108 * setjmp/tst-setjmp-fp.c: New file.
14109 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14110 (link-libm): New variable.
14111 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14113 * math/libm-test.inc (struct test_f_i_data): New type.
14114 (RUN_TEST_LOOP_f_i): New macro.
14115 (RUN_TEST_LOOP_f_i_tg): Likewise.
14116 (fpclassify_test_data): New variable.
14117 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14118 (ilogb_test_data): New variable.
14119 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14121 * math/libm-test.inc (scalbln_test): Correct function name in END
14124 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14125 (RUN_TEST_LOOP_fI_f1): New macro.
14126 (frexp_test_data): New variable.
14127 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14129 * math/libm-test.inc (struct test_fF_f1_data): New type.
14130 (RUN_TEST_LOOP_fF_f1): New macro.
14131 (modf_test_data): New variable.
14132 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14134 * math/libm-test.inc (struct test_f_f1_data): New type.
14135 (RUN_TEST_LOOP_f_f1): New macro.
14136 (gamma_test_data): New variable.
14137 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14138 (lgamma_test_data): New variable.
14139 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14141 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14143 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14144 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14145 (main): Comment "tls" pseudo-hwcap.
14147 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14149 * math/libm-test.inc (struct test_fl_f_data): New type.
14150 (RUN_TEST_LOOP_fl_f): New variable.
14151 (scalbln_test_data): New variable.
14152 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14154 * math/libm-test.inc (struct test_fi_f_data): New type.
14155 (RUN_TEST_LOOP_fi_f): New macro.
14156 (ldexp_test_data): New variable.
14157 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14158 (scalbn_test_data): New variable.
14159 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14161 * math/libm-test.inc (struct test_c_f_data): New type.
14162 (RUN_TEST_LOOP_c_f): New macro.
14163 (cabs_test_data): New variable.
14164 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14165 (carg_test_data): New variable.
14166 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14167 (cimag_test_data): New variable.
14168 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14169 (creal_test_data): New variable.
14170 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14172 * math/libm-test.inc (struct test_if_f_data): New type.
14173 (RUN_TEST_LOOP_if_f): New macro.
14174 (jn_test_data): New variable.
14175 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14176 (yn_test_data): New variable.
14177 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14179 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14181 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14183 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14184 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14186 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14188 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14189 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14190 (bench-deps): Add bench-timing.h.
14191 * benchtests-bench-skeleton.c: Include bench-timing.h.
14192 (main): Use TIMING_* macros instead of clock_gettime.
14193 * benchtests/bench-timing.h: New file.
14196 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14197 Renamed from _LIB_VERSION.
14198 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14200 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14202 * math/libm-test.inc (struct test_fff_f_data): New type.
14203 (RUN_TEST_LOOP_fff_f): New macro.
14204 (fma_test_data): New variable.
14205 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14206 (fma_towardzero_test_data): New variable.
14207 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14208 (fma_downward_test_data): New variable.
14209 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14210 (fma_upward_test_data): New variable.
14211 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14213 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14214 (struct test_c_c_data): New type.
14215 (RUN_TEST_LOOP_c_c): New macro.
14216 (cacos_test_data): New variable.
14217 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14218 (cacosh_test_data): New variable.
14219 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14220 (casin_test_data): New variable.
14221 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14222 (casinh_test_data): New variable.
14223 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14224 (catan_test_data): New variable.
14225 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14226 (catanh_test_data): New variable.
14227 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14228 (ccos_test_data): New variable.
14229 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14230 (ccosh_test_data): New variable.
14231 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14232 (cexp_test_data): New variable.
14233 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14234 (clog_test_data): New variable.
14235 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14236 (clog10_test_data): New variable.
14237 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14238 (conj_test_data): New variable.
14239 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14240 (cproj_test_data): New variable.
14241 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14242 (csin_test_data): New variable.
14243 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14244 (csinh_test_data): New variable.
14245 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14246 (csqrt_test_data): New variable.
14247 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14248 (ctan_test_data): New variable.
14249 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14250 (ctan_tonearest_test_data): New variable.
14251 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14252 (ctan_towardzero_test_data): New variable.
14253 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14254 (ctan_downward_test_data): New variable.
14255 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14256 (ctan_upward_test_data): New variable.
14257 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14258 (ctanh_test_data): New variable.
14259 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14260 (ctanh_tonearest_test_data): New variable.
14261 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14262 (ctanh_towardzero_test_data): New variable.
14263 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14264 (ctanh_downward_test_data): New variable.
14265 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14266 (ctanh_upward_test_data): New variable.
14267 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14268 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14271 * math/libm-test.inc (struct test_ff_f_data): New type.
14272 (struct test_ff_f_data_nexttoward): Likewise.
14273 (RUN_TEST_LOOP_2_f): New macro.
14274 (RUN_TEST_LOOP_ff_f): Likewise.
14275 (atan2_test_data): New variable.
14276 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14277 (copysign_test_data): New variable.
14278 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14279 (fdim_test_data): New variable.
14280 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14281 (fmax_test_data): New variable.
14282 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14283 (fmin_test_data): New variable.
14284 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14285 (fmod_test_data): New variable.
14286 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14287 (hypot_test_data): New variable.
14288 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14289 (nextafter_test_data): New variable.
14290 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14291 (nexttoward_test_data): New variable.
14292 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14293 (pow_test_data): New variable.
14294 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14295 (pow_tonearest_test_data): New variable.
14296 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14297 (pow_towardzero_test_data): New variable.
14298 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14299 (pow_downward_test_data): New variable.
14300 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14301 (pow_upward_test_data): New variable.
14302 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14303 (remainder_test_data): New variable.
14304 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14305 (scalb_test_data): New variable.
14306 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14307 * sysdeps/i386/fpu/libm-test-ulps: Update.
14309 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14311 * math/libm-test.inc (fma_test): Use max_value instead of local
14313 (nextafter_test): Likewise.
14315 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14316 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14317 (acos_downward_test_data): New variable.
14318 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14319 (acos_upward_test_data): New variable.
14320 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14321 (acosh_test_data): New variable.
14322 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14323 (asin_test_data): New variable.
14324 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14325 (asin_tonearest_test_data): New variable.
14326 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14327 (asin_towardzero_test_data): New variable.
14328 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14329 (asin_downward_test_data): New variable.
14330 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14331 (asin_upward_test_data): New variable.
14332 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14333 (asinh_test_data): New variable.
14334 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14335 (atan_test_data): New variable.
14336 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14337 (atanh_test_data): New variable.
14338 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14339 (cbrt_test_data): New variable.
14340 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14341 (ceil_test_data): New variable.
14342 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14343 (cos_test_data): New variable.
14344 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14345 (cos_tonearest_test_data): New variable.
14346 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14347 (cos_towardzero_test_data): New variable.
14348 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14349 (cos_downward_test_data): New variable.
14350 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14351 (cos_upward_test_data): New variable.
14352 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14353 (cosh_test_data): New variable.
14354 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14355 (cosh_tonearest_test_data): New variable.
14356 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14357 (cosh_towardzero_test_data): New variable.
14358 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14359 (cosh_downward_test_data): New variable.
14360 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14361 (cosh_upward_test_data): New variable.
14362 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14363 (erf_test_data): New variable.
14364 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14365 (erfc_test_data): New variable.
14366 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14367 (exp_test_data): New variable.
14368 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14369 (exp_tonearest_test_data): New variable.
14370 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14371 (exp_towardzero_test_data): New variable.
14372 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14373 (exp_downward_test_data): New variable.
14374 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14375 (exp_upward_test_data): New variable.
14376 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14377 (exp10_test_data): New variable.
14378 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14379 (exp2_test_data): New variable.
14380 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14381 (expm1_test_data): New variable.
14382 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14383 (fabs_test_data): New variable.
14384 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14385 (floor_test_data): New variable.
14386 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14387 (j0_test_data): New variable.
14388 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14389 (j1_test_data): New variable.
14390 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14391 (log_test_data): New variable.
14392 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14393 (log10_test_data): New variable.
14394 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14395 (log1p_test_data): New variable.
14396 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14397 (log2_test_data): New variable.
14398 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14399 (logb_test_data): New variable.
14400 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14401 (logb_downward_test_data): New variable.
14402 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14403 (nearbyint_test_data): New variable.
14404 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14405 (rint_test_data): New variable.
14406 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14407 (rint_tonearest_test_data): New variable.
14408 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14409 (rint_towardzero_test_data): New variable.
14410 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14411 (rint_downward_test_data): New variable.
14412 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14413 (rint_upward_test_data): New variable.
14414 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14415 (round_test_data): New variable.
14416 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14417 (sin_test_data): New variable.
14418 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14419 (sin_tonearest_test_data): New variable.
14420 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14421 (sin_towardzero_test_data): New variable.
14422 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14423 (sin_downward_test_data): New variable.
14424 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14425 (sin_upward_test_data): New variable.
14426 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14427 (sinh_test_data): New variable.
14428 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14429 (sinh_tonearest_test_data): New variable.
14430 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14431 (sinh_towardzero_test_data): New variable.
14432 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14433 (sinh_downward_test_data): New variable.
14434 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14435 (sinh_upward_test_data): New variable.
14436 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14437 (sqrt_test_data): New variable.
14438 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14439 (tan_test_data): New variable.
14440 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14441 (tan_tonearest_test_data): New variable.
14442 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14443 (tan_towardzero_test_data): New variable.
14444 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14445 (tan_downward_test_data): New variable.
14446 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14447 (tan_upward_test_data): New variable.
14448 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14449 (tanh_test_data): New variable.
14450 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14451 (tgamma_test_data): New variable.
14452 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14453 (trunc_test_data): New variable.
14454 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14455 (y0_test_data): New variable.
14456 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14457 (y1_test_data): New variable.
14458 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14459 (significand_test_data): New variable.
14460 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14462 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14465 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14467 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14469 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14471 2013-05-10 Andreas Jaeger <aj@suse.de>
14474 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14475 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14477 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14479 * math/gen-libm-test.pl (adjust_arg): New function.
14480 (special_functions): Handle generating output in both functions
14482 (parse_args): Likewise.
14483 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14484 $in_func argument to parse_args.
14485 * math/libm-test.inc (struct test_f_f_data): New type.
14486 (IF_ROUND_INIT_): New macro.
14487 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14488 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14489 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14490 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14491 (ROUND_RESTORE_): Likewise.
14492 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14493 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14494 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14495 (ROUND_RESTORE_FE_UPWARD): Likewise.
14496 (RUN_TEST_LOOP_f_f): New macro.
14497 (acos_test_data): New variable.
14498 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14499 (acos_tonearest_test_data): New variable.
14500 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14502 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14504 * benchtests/bench-skeleton.c (startup): Fix coding style.
14506 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14509 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14510 negative infinity argument.
14511 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14512 negative infinity argument.
14513 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14514 negative infinity argument.
14515 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14518 2013-05-10 Florian Weimer <fweimer@redhat.com>
14520 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14521 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14522 * iconv/iconv_prog.c (main): Likewise.
14523 * locale/programs/charmap-dir.c (charmap_readdir)
14524 (fopen_uncompressed): Likewise.
14525 * locale/programs/locfile.c (siblings_uncached)
14526 (write_locale_data): Use lstat64 instead of lstat.
14527 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14530 2013-05-10 Andreas Jaeger <aj@suse.de>
14533 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14535 Include <locale.h>.
14537 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14539 * elf/dl-close.c (_dl_close_worker): Add comments.
14541 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14544 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14546 (__ieee754_rem_pio2l): Update comments.
14549 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14551 (__ieee754_rem_pio2l): Update comments.
14553 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14554 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14556 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14559 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14560 (M_PI_34_LOG10El): Likewise.
14561 (M_PI2_LOG10El): Likewise.
14562 (M_PI4_LOG10El): Likewise.
14563 (M_PI_LOG10El): Likewise.
14565 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14569 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14571 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14572 (MINUS_ZERO_INIT): Likewise.
14573 (PLUS_INFTY_INIT): Likewise.
14574 (MINUS_INFTY_INIT): Likewise.
14575 (QNAN_VALUE_INIT): Likewise.
14576 (MAX_VALUE_INIT): Likewise.
14577 (MIN_VALUE_INIT): Likewise.
14578 (MIN_SUBNORM_VALUE_INIT): Likewise.
14579 (plus_zero): Initialize with PLUS_ZERO_INIT.
14580 (minus_zero): Initialize with MINUS_ZERO_INIT.
14581 (plus_infty): Initialize with PLUS_INFTY_INIT.
14582 (minus_infty): Initialize with MINUS_INFTY_INIT.
14583 (qnan_value): Initialize with QNAN_VALUE_INIT.
14584 (max_value): Initialize with MAX_VALUE_INIT.
14585 (min_value): Initialize with MIN_VALUE_INIT.
14586 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14588 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14589 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14590 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14591 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14593 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14594 (RUN_TEST_2_f): Likewise.
14595 (RUN_TEST_ff_f): Likewise.
14596 (RUN_TEST_fi_f): Likewise.
14597 (RUN_TEST_fl_f): Likewise.
14598 (RUN_TEST_fff_f): Likewise.
14599 (RUN_TEST_c_f): Likewise.
14600 (RUN_TEST_f_f1): Likewise.
14601 (RUN_TEST_fF_f1): Likewise.
14602 (RUN_TEST_fI_f1): Likewise.
14603 (RUN_TEST_ffI_f1): Likewise.
14604 (RUN_TEST_c_c): Likewise.
14605 (RUN_TEST_cc_c): Likewise.
14606 (RUN_TEST_f_i): Likewise.
14607 (RUN_TEST_f_i_tg): Likewise.
14608 (RUN_TEST_ff_i_tg): Likewise.
14609 (RUN_TEST_f_b): Likewise.
14610 (RUN_TEST_f_b_tg): Likewise.
14611 (RUN_TEST_f_l): Likewise.
14612 (RUN_TEST_f_L): Likewise.
14613 (RUN_TEST_sincos): Likewise.
14614 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14615 whether to show exceptions. Do not include ");\n" in return
14617 (special_functions): Output call to RUN_TEST_sincos instead of
14618 check_float calls. Update calls to new_test.
14619 (parse_args): Output call to single RUN_TEST_* macro instead of
14620 check_* calls and other assignments. Update calls to new_test.
14626 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14627 input to result for tgamma overflow.
14628 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14629 (gamma_coeff): New variable.
14630 (NCOEFF): New macro.
14631 (gamma_positive): New function.
14632 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14633 underflow here. Use gamma_positive instead of exp (lgamma) for
14635 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14636 (gamma_coeff): New variable.
14637 (NCOEFF): New macro.
14638 (gammaf_positive): New function.
14639 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14640 underflow here. Use gamma_positive instead of exp (lgamma) for
14642 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14643 (gamma_coeff): New variable.
14644 (NCOEFF): New macro.
14645 (gammal_positive): New function.
14646 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14647 underflow here. Use gamma_positive instead of exp (lgamma) for
14649 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14650 (gamma_coeff): New variable.
14651 (NCOEFF): New macro.
14652 (gammal_positive): New function.
14653 (__ieee754_gammal_r): Handle positive infinity, overflow and
14654 underflow here. Handle NaN the same as positive infinity. Remove
14655 check x < 0xffffffff for negative integers. Use gamma_positive
14656 instead of exp (lgamma) for other arguments.
14657 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14658 (gamma_coeff): New variable.
14659 (NCOEFF): New macro.
14660 (gammal_positive): New function.
14661 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14662 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14663 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14665 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14666 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14667 * sysdeps/generic/math_private.h (__gamma_productf): New
14669 (__gamma_product): Likewise.
14670 (__gamma_productl): Likewise.
14671 * math/Makefile (libm-calls): Add gamma_product.
14672 * math/libm-test.inc (tgamma_test): Add more tests.
14673 * sysdeps/i386/fpu/libm-test-ulps: Update.
14674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14676 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14678 * benchtests/bench-skeleton.c (main): Preheat CPU.
14680 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14682 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14684 2013-05-07 Roland McGrath <roland@hack.frob.com>
14686 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14687 and _dl_skip_args_internal.
14689 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14691 * manual/message.texi (Message Translation): Talk about users.
14692 Message to key mapping impacts design.
14694 2013-05-06 Roland McGrath <roland@hack.frob.com>
14696 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14698 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14700 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14701 * sysdeps/wordsize-64/glob64.c: ... here.
14703 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14704 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14707 * debug/getlogin_r_chk.c: Moved to ...
14708 * login/getlogin_r_chk.c: ... here.
14709 * debug/Makefile (routines): Move getlogin_r_chk to ...
14710 * login/Makefile (routines): ... here.
14711 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14712 * login/Versions (libc: GLIBC_2.4): ... here.
14714 * io/poll.c (__poll): Renamed from poll.
14715 Add libc_hidden_def.
14716 (poll): Define as weak alias.
14718 * debug/ptsname_r_chk.c: Moved to ...
14719 * login/ptsname_r_chk.c: ... here.
14720 * debug/Makefile (routines): Move ptsname_r_chk to ...
14721 * login/Makefile (routines): ... here.
14722 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14723 * login/Versions (libc: GLIBC_2.4): ... here.
14725 * posix/getlogin.c: Moved to ...
14726 * login/getlogin.c: ... here.
14727 * posix/getlogin_r.c: Moved to ...
14728 * login/getlogin_r.c: ... here.
14729 * posix/getlogin_r.c: Moved to ...
14730 * login/getlogin_r.c: ... here.
14731 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14732 * login/Makefile (routines): ... here.
14733 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14734 * login/Versions (libc: GLIBC_2.0): ... here.
14736 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14737 (setrlimit): Define as weak alias.
14739 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14740 Call __ names for open, ftruncate, and close.
14741 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14742 (truncate): Define as weak alias.
14744 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14746 * math/gen-libm-test.pl (parse_args): Initialize x before each
14747 test of frexp, modf and remquo.
14749 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14750 test signgam value.
14752 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14756 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14758 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14760 2013-05-06 Roland McGrath <roland@hack.frob.com>
14762 * elf/dl-writev.h: New file.
14763 * elf/dl-misc.c: Include it.
14764 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14765 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14767 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14769 * math/libm-test.inc (noXFails): Remove variable.
14770 (noXPasses): Likewise.
14771 (BUILD_COMPLEX_INT): Remove macro.
14772 (print_screen): Remove xfail argument.
14773 (print_screen_max_error): Likewise.
14774 (update_stats): Likewise.
14775 (print_max_error): Likewise. Update calls to other affected
14777 (print_complex_max_error): Likewise.
14778 (test_single_exception): Update calls to print_screen.
14779 (test_single_errno): Likewise.
14780 (check_float_internal): Remove xfail argument. Update calls to
14781 other affected functions.
14782 (check_float): Likewise.
14783 (check_complex): Likewise.
14784 (check_int): Likewise.
14785 (check_long): Likewise.
14786 (check_bool): Likewise.
14787 (check_longlong): Likewise.
14788 (main): Don't print noXFails and noXPasses.
14789 * math/gen-libm-test.pl (top level): Don't mention expected
14790 failure handling in comment.
14791 (new_test): Don't handle expected failures.
14792 (parse_args): Don't mention expected failure handling in comment.
14793 (generate_testfile): Don't handle expected failures.
14794 (parse_ulps): Likewise.
14795 (print_ulps_file): Likewise.
14796 (get_failure): Remove function.
14797 (output_test): Don't handle expected failures.
14798 * make/README.libm-test: Don't mention expected failure handling.
14800 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14801 (minus_zero): Likewise.
14802 (plus_infty): Likewise.
14803 (minus_infty): Likewise.
14804 (qnan_value): Likewise.
14805 (max_value): Likewise.
14806 (min_value): Likewise.
14807 (min_subnorm_value): Likewise.
14808 (initialize): Do not initialize those variables dynamically.
14810 2013-05-03 Roland McGrath <roland@hack.frob.com>
14812 * io/open.c (__open_2): Moved to ...
14813 * io/open_2.c: ... this new file.
14814 * io/open64.c (__open64_2): Moved to ...
14815 * io/open64_2.c: ... this new file.
14816 * io/openat.c (__openat_2): Moved to ...
14817 * io/openat_2.c: ... this new file.
14818 * io/openat64.c (__openat64_2): Moved to ...
14819 * io/openat64_2.c: ... this new file.
14820 * io/Makefile (routines): Add them.
14821 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14822 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14823 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14824 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14825 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14826 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14827 (__openat64): Add hidden_ver.
14828 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14829 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14831 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14832 Separately conditionalize setting of GLRO(dl_sysinfo) so
14833 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14834 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14836 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14838 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14839 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14841 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14842 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14843 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14844 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14845 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14847 2013-05-03 Joseph Myers <joseph@codesourcery.com>
14849 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14850 test signgam value.
14852 * math/libm-test.inc (hypot_test): Do not use
14853 IGNORE_ZERO_INF_SIGN.
14855 2013-05-03 Andreas Jaeger <aj@suse.de>
14857 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14859 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14860 (PF_MAX): Adjust for VSOCK change.
14862 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14866 2013-05-02 Carlos O'Donell <carlos@redhat.com>
14869 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14870 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14871 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14873 2013-05-02 David S. Miller <davem@davemloft.net>
14875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14877 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
14879 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14881 2013-05-01 Roland McGrath <roland@hack.frob.com>
14883 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14885 2013-05-01 Richard Smith <richard@metafoo.co.uk>
14888 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14889 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14890 Use __attribute__ ((__gnu_inline__)).
14891 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14892 Don't use __attribute__ ((__gnu_inline__)).
14894 2013-05-01 Joseph Myers <joseph@codesourcery.com>
14897 * math/s_catan.c (__catan): Handle small real or imaginary part of
14898 input specially to avoid spurious underflow.
14899 * math/s_catanf.c (__catanf): Likewise.
14900 * math/s_catanh.c (__catanh): Likewise.
14901 * math/s_catanhf.c (__catanhf): Likewise.
14902 * math/s_catanhl.c (__catanhl): Likewise.
14903 * math/s_catanl.c (__catanl): Likewise.
14904 * math/libm-test.inc (catan_test): Add more tests.
14905 (catanh_test): Likewise.
14906 * sysdeps/i386/fpu/libm-test-ulps: Update.
14907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14909 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14913 2013-04-30 Joseph Myers <joseph@codesourcery.com>
14916 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14917 accurately for denominator in atan2.
14918 * math/s_catanf.c (__catanf): Likewise.
14919 * math/s_catanh.c (__catanh): Likewise.
14920 * math/s_catanhf.c (__catanhf): Likewise.
14921 * math/s_catanhl.c (__catanhl): Likewise.
14922 * math/s_catanl.c (__catanl): Likewise.
14923 * math/libm-test.inc (catan_test): Add more tests.
14924 (catanh_test): Likewise.
14925 * sysdeps/i386/fpu/libm-test-ulps: Update.
14926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14928 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14930 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14932 * benchtests/Makefile (bench): Remove slow benchmarks.
14933 * benchtests/atan-inputs: Add slow benchmark inputs.
14934 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14935 (BENCH_FUNC): Accept variant offset.
14937 * benchtests/bench-skeleton.c (main): Run benchmark for each
14939 * benchtests/cos-inputs: Add slow benchmark inputs.
14940 * benchtests/exp-inputs: Likewise.
14941 * benchtests/pow-inputs: Likewise.
14942 * benchtests/sin-inputs: Likewise.
14943 * benchtests/slowatan-inputs: Remove.
14944 * benchtests/slowatan.c: Remove.
14945 * benchtests/slowcos-inputs: Remove.
14946 * benchtests/slowcos.c: Remove.
14947 * benchtests/slowexp-inputs: Remove.
14948 * benchtests/slowexp.c: Remove.
14949 * benchtests/slowpow-inputs: Remove.
14950 * benchtests/slowpow.c: Remove.
14951 * benchtests/slowsin-inputs: Remove.
14952 * benchtests/slowsin.c: Remove.
14953 * benchtests/slowtan-inputs: Remove.
14954 * benchtests/slowtan.c: Remove.
14955 * benchtests/tan-inputs: Add slow benchmark inputs.
14956 * scripts/bench.pl: Parse comments and directives.
14958 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14960 ($(objpfx)bench-%.c): Remove *-ITER.
14961 * benchtests/bench-modf.c: Remove definition of ITER.
14962 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14963 (main): Loop for DURATION seconds instead of fixed number of
14965 * scripts/bench.pl: Don't expect iterations in parameters.
14967 2013-04-29 Roland McGrath <roland@hack.frob.com>
14969 * io/fchdir.c (__fchdir): Renamed from fchdir.
14970 (fchdir): Define as weak alias.
14972 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14974 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14975 (ERRNO_EDOM): Likewise.
14976 (ERRNO_ERANGE): Likewise.
14977 (noErrnoTests): New variable.
14978 (init_max_error): Set errno to 0.
14979 (test_single_errno): New function.
14980 (test_errno): Likewise.
14981 (check_float_internal): Call test_errno. Set errno to 0.
14982 (check_complex): Refer to errno tests in comment.
14983 (check_int): Call test_errno. Set errno to 0.
14984 (check_long): Likewise.
14985 (check_bool): Likewise.
14986 (check_longlong): Likewise.
14987 (cos_test): Use ERRNO_* flags for errno tests instead of
14989 (expm1_test): Likewise.
14990 (fmod_test): Likewise.
14991 (ilogb_test): Likewise.
14992 (lgamma_test): Likewise.
14993 (pow_test): Likewise.
14994 (remainder_test): Likewise.
14995 (sin_test): Likewise.
14996 (tan_test): Likewise.
14997 (yn_test): Likewise.
14998 (initialize): Set errno to 0.
14999 (main): Print number of errno tests.
15000 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15002 2013-04-29 Andreas Jaeger <aj@suse.de>
15005 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15009 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15010 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15014 * stdlib/random.c (__initstate): Return NULL if
15018 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15019 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15022 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15026 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15028 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15029 of individual tests.
15030 (casin_test): Likewise.
15031 (casinh_test): Likewise.
15033 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15036 * math/s_catan.c (__catan): Handle arguments with large real or
15037 imaginary part separately without squaring.
15038 * math/s_catanf.c (__catanf): Likewise.
15039 * math/s_catanh.c (__catanh): Likewise.
15040 * math/s_catanhf.c (__catanhf): Likewise.
15041 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15043 (__catanhl): Handle arguments with large real or imaginary part
15044 separately without squaring.
15045 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15047 (__catanl): Handle arguments with large real or imaginary part
15048 separately without squaring.
15049 * math/libm-test.inc (catan_test): Add more tests.
15050 (catanh_test): Likewise.
15051 * sysdeps/i386/fpu/libm-test-ulps: Update.
15052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15054 2013-04-27 Andreas Jaeger <aj@suse.de>
15057 * stdlib/stdlib.h: Update guards for qecvt.
15058 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15061 2013-04-27 Allan McRae <allan@archlinux.org>
15063 * sysdeps/i386/fpu/libm-test-ulps: Update.
15065 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15068 * math/s_catan.c: Include <float.h>.
15069 (__catan): Ensure underflow exception occurs for underflowed
15071 * math/s_catanf.c: Include <float.h>.
15072 (__catanf): Ensure underflow exception occurs for underflowed
15074 * math/s_catanh.c: Include <float.h>.
15075 (__catanh): Ensure underflow exception occurs for underflowed
15077 * math/s_catanhf.c: Include <float.h>.
15078 (__catanhf): Ensure underflow exception occurs for underflowed
15080 * math/s_catanhl.c: Include <float.h>.
15081 (__catanhl): Ensure underflow exception occurs for underflowed
15083 * math/s_catanl.c: Include <float.h>.
15084 (__catanl): Ensure underflow exception occurs for underflowed
15086 * math/libm-test.inc (catan_test): Add more tests.
15087 (catanh_test): Likewise.
15090 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15091 underflowed result.
15092 * math/s_ccoshf.c (__ccoshf): Likewise.
15093 * math/s_ccoshl.c (__ccoshl): Likewise.
15094 * math/s_csin.c (__csin): Likewise.
15095 * math/s_csinf.c (__csinf): Likewise.
15096 * math/s_csinh.c (__csinh): Likewise.
15097 * math/s_csinhf.c (__csinhf): Likewise.
15098 * math/s_csinhl.c (__csinhl): Likewise.
15099 * math/s_csinl.c (__csinl): Likewise.
15100 * math/libm-test.inc (ccos_test): Add more tests.
15101 (ccosh_test): Likewise.
15102 (csin_test): Likewise.
15103 (csinh_test): Likewise.
15105 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15107 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15108 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15109 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15110 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15111 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15112 powerpc/power5+/fpu folders.
15113 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15116 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15120 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15122 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15123 additions to variable.
15124 [$(config-machine) = x86_64] (modules-names): Likewise.
15125 ($(objpfx)tst-audit3): Remove dependency.
15126 ($(objpfx)tst-audit3.out): Likewise.
15127 ($(objpfx)tst-audit4): Likewise.
15128 ($(objpfx)tst-audit4.out): Likewise.
15129 ($(objpfx)tst-audit5): Likewise.
15130 ($(objpfx)tst-audit5.out): Likewise.
15131 ($(objpfx)tst-audit6): Likewise.
15132 ($(objpfx)tst-audit6.out): Likewise.
15133 ($(objpfx)tst-audit7): Likewise.
15134 ($(objpfx)tst-audit7.out): Likewise.
15135 (tst-audit3-ENV): Remove variable.
15136 (tst-audit4-ENV): Likewise.
15137 (tst-audit5-ENV): Likewise.
15138 (tst-audit6-ENV): Likewise.
15139 (tst-audit7-ENV): Likewise.
15140 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15141 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15142 addition to variable.
15143 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15144 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15145 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15146 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15147 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15148 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15149 tst-audit3, tst-audit4 and tst-audit5.
15150 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15151 tst-audit6 and tst-audit7.
15152 [$(subdir) = elf] (modules-names): Add audit modules for those
15154 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15155 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15156 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15157 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15158 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15159 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15160 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15161 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15162 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15163 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15164 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15165 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15166 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15167 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15168 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15169 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15171 [$(subdir) = elf && $(config-cflags-avx) = yes]
15172 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15173 [$(subdir) = elf && $(config-cflags-avx) = yes]
15174 (CFLAGS-tst-auditmod4a.c): Likewise.
15175 [$(subdir) = elf && $(config-cflags-avx) = yes]
15176 (CFLAGS-tst-auditmod4b.c): Likewise.
15177 [$(subdir) = elf && $(config-cflags-avx) = yes]
15178 (CFLAGS-tst-auditmod6b.c): Likewise.
15179 [$(subdir) = elf && $(config-cflags-avx) = yes]
15180 (CFLAGS-tst-auditmod6c.c): Likewise.
15181 [$(subdir) = elf && $(config-cflags-avx) = yes]
15182 (CFLAGS-tst-auditmod7b.c): Likewise.
15183 * elf/tst-audit3.c: Move to ...
15184 * sysdeps/x86_64/tst-audit3.c: ... here.
15185 * elf/tst-audit4.c: Move to ...
15186 * sysdeps/x86_64/tst-audit4.c: ... here.
15187 * elf/tst-audit5.c: Move to ...
15188 * sysdeps/x86_64/tst-audit5.c: ... here.
15189 * elf/tst-audit6.c: Move to ...
15190 * sysdeps/x86_64/tst-audit6.c: ... here.
15191 * elf/tst-audit7.c: Move to ...
15192 * sysdeps/x86_64/tst-audit7.c: ... here.
15193 * elf/tst-auditmod3a.c: Move to ...
15194 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15195 * elf/tst-auditmod3b.c: Move to ...
15196 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15197 * elf/tst-auditmod4a.c: Move to ...
15198 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15199 * elf/tst-auditmod4b.c: Move to ...
15200 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15201 * elf/tst-auditmod5a.c: Move to ...
15202 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15203 * elf/tst-auditmod5b.c: Move to ...
15204 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15205 * elf/tst-auditmod6a.c: Move to ...
15206 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15207 * elf/tst-auditmod6b.c: Move to ...
15208 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15209 * elf/tst-auditmod6c.c: Move to ...
15210 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15211 * elf/tst-auditmod7a.c: Move to ...
15212 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15213 * elf/tst-auditmod7b.c: Move to ...
15214 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15216 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15219 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15220 define unconditionally.
15221 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15222 define unconditionally.
15223 (INT8_C, INT16_C, etc.): Likewise.
15225 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15227 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15228 __ehdr_start with hidden visibility.
15230 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15232 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15234 * math/libm-test.inc (cos_test): Use accurate hex constants.
15235 (sincost_test): Likewise.
15237 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15239 * math/libm-test.inc (catan_test): Add more tests.
15240 (catanh_test): Likewise.
15242 * math/s_catanf.c (__catanf): Use suffixed floating-point
15244 * math/s_catanhf.c (__catanhf): Likewise.
15245 * math/s_catanhl.c (__catanhl): Likewise.
15246 * math/s_catanl.c (__catanl): Likewise.
15249 * math/s_catan.c (__catan): Calculate imaginary part of result
15250 with log1p not log unless computing log of number close to 0.
15251 * math/s_catanf.c (__catanf): Likewise.
15252 * math/s_catanl.c (__catanl): Likewise.
15253 * math/s_catanh.c (__catanh): Calculate real part of result with
15254 log1p not log unless computing log of number close to 0.
15255 * math/s_catanhf.c (__catanhf): Likewise.
15256 * math/s_catanhl.c (__catanhl): Likewise.
15257 * math/libm-test.inc (catan_test): Add more tests.
15258 (catanh_test): Likewise.
15259 * sysdeps/i386/fpu/libm-test-ulps: Update.
15260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15262 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15264 * benchtests/Makefile: Mention files in which fast and slow
15265 paths of math functions are implemented.
15267 2013-04-23 Roland McGrath <roland@hack.frob.com>
15269 * sysdeps/posix/timespec_get.c: New file.
15271 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15273 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15275 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15277 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15278 powerpc/power5/fpu folders.
15279 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15280 * benchtests/Makefile: Add modf testcase.
15281 * benchtests/bench-modf.c: New file: Benchmark test for mo
15283 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15286 * time/Makefile (tests): Add tst-strptime-whitespace.
15287 * time/strptime_l.c (get_number): Use ISSPACE.
15288 (__strptime_internal): Likewise.
15289 * time/tst-strptime-whitespace.c: New test case.
15291 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15293 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15295 (_nss_files_init): Set it here.
15297 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15299 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15300 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15303 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15305 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15307 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15309 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15312 2013-04-21 David S. Miller <davem@davemloft.net>
15314 * po/ru.po: Update Russion translation from translation project.
15316 2013-04-17 Adam Conrad <adconrad@0c3.net>
15318 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15321 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15323 * configure.in: Remove i386 configure warning. Remove i386 case.
15324 * configure: Regenerate.
15325 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15326 Add example to error message.
15327 * sysdeps/i386/configure: Regenerate.
15329 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15331 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15333 * benchtests/cos-inputs: New file.
15334 * benchtests/slowcos-inputs: New file.
15335 * benchtests/slowcos.c: New file.
15336 * benchtests/slowtan-inputs: New file.
15337 * benchtests/slowtan.c: New file.
15338 * benchtests/tan-inputs: New file.
15340 2013-04-16 Roland McGrath <roland@hack.frob.com>
15342 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15345 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15347 * benchtests/Makefile: Include cppflags-iterator.mk to add
15348 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15350 * Makefile.in (bench-clean): New target.
15351 * benchtests/Makefile (bench-clean): Likewise.
15353 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15355 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15357 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15359 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15361 2013-04-15 Andreas Schwab <schwab@suse.de>
15363 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15364 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15365 * nscd/pwdcache.c (cache_addpw): Likewise.
15366 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15369 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15371 * benchtests/Makefile (bench): Write all output to
15372 bench-out.tmp together.
15374 2013-04-15 Andreas Schwab <schwab@suse.de>
15376 * nscd/nscd.c (main): Don't fork again after closing files.
15378 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15380 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15382 * benchtests/Rules (bench-deps): Collect dependencies into a
15383 single variable. Add Makefile to dependencies.
15384 ($(objpfx)bench-%.c): Depend on bench-deps.
15386 2013-04-12 Roland McGrath <roland@hack.frob.com>
15387 Xavier Roche <roche+kml2@exalead.com>
15390 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15391 just that it's a file descriptor.
15392 * manual/llio.texi (Synchronizing AIO Operations): Update description
15393 for EBADF error from aio_fsync.
15395 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15397 * Rules (bench): Move target definition...
15398 * benchtests/Makefile: ... here.
15400 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15402 * math/libm-test.inc (cos_test): Fix PI/2 test.
15403 (sincos_test): Likewise.
15404 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15405 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15407 2013-04-11 Andreas Schwab <schwab@suse.de>
15410 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15411 accept exponent character only when digits were seen.
15412 * stdio-common/Makefile (tests): Add bug26.
15413 * stdio-common/bug26.c: New file.
15416 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15419 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15421 * Makeconfig (rtld-prefix): Define built linker prefix.
15422 * Rules (run-bench): Use it.
15423 * math/Makefile (run-regen-ulps): Likewise.
15425 * Rules (bench): Remove eval.
15427 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15428 Roland McGrath <roland@hack.frob.com>
15429 Ondrej Bilka <neleai@seznam.cz>
15432 * time/getdate.c: Include ctype.h and alloca.h.
15433 (__getdate_r): Trim leading and trailing spaces of input.
15434 * time/tst-getdate.c (tests): Add tests with leading and
15437 2013-04-08 Roland McGrath <roland@hack.frob.com>
15440 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15441 when computing value.
15443 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15445 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15446 Use testrun.sh to run libm tests.
15449 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15451 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15454 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15456 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15458 * Makefile.in (regen-ulps): New target.
15459 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15460 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15461 [ifneq (no,$(PERL)] (regen-ulps): New target.
15462 [ifeq (no,$(PERL)] (regen-ulps): New target.
15463 * math/libm-test.inc (ulps_file_name): Define.
15464 (output_dir): New variable.
15465 (options): Add "output-dir" option.
15466 (parse_opt): Handle 'o' case.
15467 (main): If output_dir is non-NULL use it as a prefix
15469 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15471 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15473 [BZ #10060, #10062]
15474 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15475 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15476 fail configure if __sync_val_compare_and_swap is not inlined.
15477 * sysdeps/i386/configure: Regenerate.
15478 * configure.in: Build for i686 when configured for i386.
15479 * configure: Regenerate.
15480 * README: Remove i386 reference.
15482 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15484 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15485 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15487 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15489 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15490 (lmsnanval): New variables.
15491 (F): Add conversion tests.
15492 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15493 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15495 * stdio-common/tstdiomisc.c (F): Properly collect individual
15498 [BZ #14686, #15336]
15499 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15500 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15501 Instead, use input NaN values or generate a qNaN by arithmetic
15502 operation. Also fix bugs to comply with the standard.
15503 * math/libm-test.inc (remainder_test): Add more tests.
15505 [BZ #15335, #15342]
15506 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15507 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15508 input NaN values or generate a qNaN by arithmetic operation.
15510 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15513 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15516 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15519 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15520 underflowed result.
15521 * math/s_cexpf.c (__cexpf): Likewise.
15522 * math/s_cexpl.c (__cexpl): Likewise.
15523 * math/libm-test.inc (cexp_test): Add more tests.
15525 2013-04-03 Andreas Schwab <schwab@suse.de>
15528 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15529 order arrays from heap if bigger than alloca cutoff.
15531 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15533 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15534 (SNAN_TESTS_double): Refer to GCC PR56831.
15535 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15538 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15540 * Rules (bench): Move bench.out after the run is complete.
15542 * Rules (bench): Echo currently running benchmark.
15544 * benchtests/Makefile (bench): Add atan and slowatan.
15545 * benchtests/atan-inputs: New file.
15546 * benchtests/slowatan-inputs: New file.
15547 * benchtests/slowatan.c: New file.
15549 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15550 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15554 * sysdeps/unix/sysv/linux/kernel-features.h
15555 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15556 __ASSUME_XFS_RESTRICTED_CHOWN.
15557 * sysdeps/unix/sysv/linux/pathconf.c
15558 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15559 Save and restore errno.
15561 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15564 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15565 arguments using __kernel_casinh.
15566 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15567 arguments using __kernel_casinhf.
15568 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15569 arguments using __kernel_casinhl.
15570 * math/libm-test.inc (cacosh_test): Add more tests.
15571 * sysdeps/i386/fpu/libm-test-ulps: Update.
15572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15574 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15576 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15577 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15579 * bench/Makefile (bench): Add sin and slowsin.
15580 * benchtests/sin-inputs: New file.
15581 * benchtests/slowsin-inputs: New file.
15582 * benchtests/slowsin.c: New file.
15584 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15585 (bench): Add slowexp and slowpow.
15586 (exp-ITER): Increase iterations.
15587 (pow-ITER): Likewise.
15588 * benchtests/exp-inputs: Change input.
15589 * benchtests/pow-inputs: Likewise.
15590 * benchtests/slowexp-inputs: New file.
15591 * benchtests/slowexp.c: New file.
15592 * benchtests/slowpow-inputs: New file.
15593 * benchtests/slowpow.c: New file.
15595 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15597 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15599 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15600 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15601 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15602 * benchtests/Makefile: Add rint benchtest.
15603 * benchtests/rint-inputs: Input for rint benchtest.
15605 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15607 * Versions.def (libm): Add GLIBC_2.18.
15608 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15609 hidden libm prototypes.
15610 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15611 * math/Makefile (libm-calls): Add s_issignaling.
15612 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15613 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15614 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15616 * math/math.h [__USE_GNU] (issignaling): New macro.
15617 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15618 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15619 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15620 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15621 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15622 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15623 * manual/arith.texi (issignaling): New section.
15624 * manual/libm-err-tab.pl (@all_functions): Update comment.
15625 * math/gen-libm-test.pl (parse_args): Apply special handling for
15627 * math/libm-test.inc (print_float, issignaling_test): New
15629 (check_float_internal): Add issignaling checks.
15630 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15631 default definition.
15632 * sysdeps/powerpc/math-tests.h: New file.
15633 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15635 * math/test-snan.c (TEST_FUNC): Likewise.
15637 2013-03-30 David S. Miller <davem@davemloft.net>
15639 * po/de.po: Update from translation team.
15641 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15644 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15645 imaginary part less than 1.0 and real part less than 0.5
15647 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15648 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15649 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15650 (cacos_test): Add more tests.
15651 (casin_test): Likewise.
15652 (casinh_test): Likewise.
15653 * sysdeps/i386/fpu/libm-test-ulps: Update.
15654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15656 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15658 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15659 ONE with its value.
15661 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15662 (__pow_mp): Replace ONE and MONE with their values.
15663 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15664 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15665 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15666 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15667 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15668 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15670 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15672 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15673 (__pow_mp): Replace ZERO and MZERO with their values.
15674 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15675 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15676 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15677 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15678 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15679 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15682 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15684 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15686 2013-03-28 Roland McGrath <roland@hack.frob.com>
15688 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15689 Declare with __attribute__ ((weak)).
15690 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15691 Call __call_tls_dtors only if it's not NULL.
15693 2013-03-28 Roland McGrath <roland@hack.frob.com>
15695 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15696 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15697 magic __ehdr_start linker symbol if it's defined.
15698 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15699 them up here if it was already done.
15701 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15702 (_dl_aux_init): Use const in cast when setting it.
15703 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15704 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15705 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15707 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15709 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15710 * csu/libc-tls.c: Nor here.
15711 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15713 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15714 (__libc_message): Never call vsyslog.
15716 2013-03-28 Alan Modra <amodra@gmail.com>
15718 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15720 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15723 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15726 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15730 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15733 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15734 Don't add gid passed as argument.
15736 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15738 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15741 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15742 imaginary part between 1.0 and 1.5 and real part less than 0.5
15744 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15745 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15746 * math/libm-test.inc (cacos_test): Add more tests.
15747 (casin_test): Likewise.
15748 (casinh_test): Likewise.
15749 * sysdeps/i386/fpu/libm-test-ulps: Update.
15750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15752 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15754 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15757 (denorm): Likewise.
15758 (__dbl_mp): Likewise.
15759 (add_magnitudes): Likewise.
15760 (sub_magnitudes): Likewise.
15768 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15770 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15771 (__dubcos): Likewise.
15772 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15773 (__ieee754_acos): Likewise.
15774 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15775 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15776 (__exp1): Likewise.
15777 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15778 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15780 (my_log2): Likewise.
15781 (checkint): Likewise.
15782 * sysdeps/ieee754/dbl-64/e_remainder.c
15783 (__ieee754_remainder): Likewise.
15784 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15785 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15786 (bsloww): Likewise.
15787 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15789 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15790 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15791 MANTISSA_STORE_T to store computations on mantissa. Use
15792 macros for rounding and division.
15793 (denorm): Likewise.
15794 (__dbl_mp): Likewise.
15795 (add_magnitudes): Likewise.
15796 (sub_magnitudes): Likewise.
15799 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15800 powers of two in terms of TWOPOW macro.
15801 (mp_no): Make type of mantissa as MANTISSA_T.
15802 [!RADIXI]: Define RADIXI.
15803 [!TWO52]: Define TWO52.
15804 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15806 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15808 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15809 llroundl symbol when building for PPC32.
15811 2013-03-24 Mark H Weaver <mhw@netris.org>
15813 * manual/arith.texi (Normalization Functions): Fix prototypes for
15814 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15816 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15819 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15820 high value to check if expl overflow.
15821 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15822 to check for underflow and overflow.
15823 * math/libm-test.inc: Add exp test.
15825 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15828 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15831 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15833 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15836 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15838 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15839 wrap blocks consisting of several statements.
15841 * sysdeps/generic/math-tests.h: New file.
15842 * sysdeps/i386/fpu/math-tests.h: Likewise.
15843 * math/test-snan.c: Include it.
15844 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15846 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15849 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15850 (__ieee754_j0l): Do not improve calculations using cos of twice
15851 input for inputs above LDBL_MAX / 2.0L.
15852 (__ieee754_y0l): Likewise.
15853 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15854 (__ieee754_j1l): Do not improve calculations using cos of twice
15855 input for inputs above LDBL_MAX / 2.0L.
15856 (__ieee754_y1l): Likewise.
15857 * math/libm-test.inc (j0_test): Add another test.
15858 (j1_test): Likewise.
15859 (y0_test): Likewise.
15860 (y1_test): Likewise.
15861 * sysdeps/i386/fpu/libm-test-ulps: Update.
15863 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15865 * Rules ($(objpfx)bench-%.c): Include code from a C source
15868 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15871 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15872 imaginary part 1.0 and real part less than 0.5 specially.
15873 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15874 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15875 * math/libm-test.inc (cacos_test): Add more tests.
15876 (casin_test): Likewise.
15877 (casinh_test): Likewise.
15878 * sysdeps/i386/fpu/libm-test-ulps: Update.
15879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15881 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15883 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15884 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15886 2013-03-20 Joseph Myers <joseph@codesourcery.com>
15888 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15889 * config.make.in (config-cflags-sse4): Remove variable.
15890 (config-cflags-avx): Likewise.
15891 (config-cflags-sse2avx): Likewise.
15892 (config-cflags-novzeroupper): Likewise.
15893 (config-asflags-i686): Likewise.
15894 (have-mfma4): Likewise.
15895 (have-as-vis3): Likewise.
15897 * configure.in (MIG): Do not AC_SUBST.
15898 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15899 (libc_cv_cc_sse4): Do not AC_SUBST.
15900 (libc_cv_cc_avx): Likewise.
15901 (libc_cv_cc_sse2avx): Likewise.
15902 (libc_cv_cc_novzeroupper): Likewise.
15903 (libc_cv_cc_fma4): Likewise.
15904 (libc_cv_as_i686): Likewise.
15905 (libc_cv_sparc_as_vis3): Likewise.
15906 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15908 (config-asflags-i686): Likewise.
15909 (config-cflags-avx): Likewise.
15910 (config-cflags-sse2avx): Likewise.
15911 (have-mfma4): Likewise.
15912 (config-cflags-novzeroupper): Likewise.
15913 * sysdeps/mach/configure.in (MIG): Likewise.
15914 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15915 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15917 (config-cflags-avx): Likewise.
15918 (config-cflags-sse2avx): Likewise.
15919 (have-mfma4): Likewise.
15920 (config-cflags-novzeroupper): Likewise.
15921 * configure: Regenerated.
15922 * sysdeps/i386/configure: Likewise.
15923 * sysdeps/mach/configure: Likewise.
15924 * sysdeps/sparc/configure: Likewise.
15925 * sysdeps/x86_64/configure: Likewise.
15927 2013-03-20 Roland McGrath <roland@hack.frob.com>
15930 * locale/programs/localedef.c (options): Put N_ translation marker
15931 on argument names, not just descriptions.
15933 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15935 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15937 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
15940 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15942 2013-03-19 Roland McGrath <roland@hack.frob.com>
15944 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15945 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15946 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15947 [!BEFORE_ABORT] (before_abort): New function.
15948 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15949 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15950 (writev_for_fatal): New function.
15951 (WRITEV_FOR_FATAL): New macro; call that.
15952 (backtrace_and_maps): New function.
15953 (BEFORE_ABORT): New macro; call that.
15954 (struct str_list): Type removed.
15955 (__libc_message, __libc_fatal): Functions removed.
15956 Include <sysdeps/posix/libc_fatal.c> instead.
15958 2013-03-19 Joseph Myers <joseph@codesourcery.com>
15960 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15962 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15965 2013-03-19 Andreas Schwab <schwab@suse.de>
15967 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15968 * sysdeps/gnu/configure: Regenerate.
15970 * configure.in: Substitute libc_cv_rtlddir.
15971 * configure: Regenerate.
15972 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15973 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15974 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15975 * elf/Makefile (install-others, CFLAGS-interp.c)
15976 (ldso_install, common-ldd-rewrite): Likewise.
15977 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15978 $(inst_slibdir)/$(rtld-installed-name).
15979 * scripts/rellns-sh: Add -p option.
15980 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15983 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15985 * manual/nptl.texi: Renamed to ...
15986 * manual/threads.texi: ... this.
15987 * manual/Makefile (chapters): Update.
15989 2013-03-18 Roland McGrath <roland@hack.frob.com>
15992 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15993 on argument names, not just descriptions.
15994 * malloc/memusagestat.c (options): Likewise.
15995 * nss/getent.c (options): Likewise.
15997 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16000 * iconv/iconv_prog.c (options): Put N_ translation marker
16001 on argument names, not just descriptions.
16002 * iconv/iconvconfig.c (options): Likewise.
16004 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16006 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16007 implementation which is faster on all x86_64 architectures.
16008 Tested on AMD, Intel Nehalem, SNB, IVB.
16009 * sysdeps/x86_64/strnlen.S: Likewise.
16011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16012 Remove all multiarch strlen and strnlen versions.
16013 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16014 Remove strlen and strnlen related parts.
16016 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16017 Inline strlen part.
16018 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16020 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16021 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16022 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16023 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16024 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16025 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16027 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16029 * manual/memory.texi (Malloc Tunable Parameters):
16030 Sort parameters alphabetically. Add comments for missing entries.
16032 2013-03-17 David S. Miller <davem@davemloft.net>
16034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16036 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16039 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16040 for arguments at most half maximum finite value.
16041 * math/libm-test.inc (j0_test): Add more tests.
16042 (j1_test): Likewise.
16043 (y0_test): Likewise.
16044 (y1_test): Likewise.
16045 * sysdeps/i386/fpu/libm-test-ulps: Update.
16046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16049 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16050 1 / x and functions P and Q for arguments above 0x1p256L.
16051 (__ieee754_y0l): Likewise.
16052 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16053 (__ieee754_y1l): Likewise.
16054 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16055 (j1_test): Likewise.
16056 (y0_test): Likewise.
16057 (y1_test): Likewise.
16059 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16061 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16064 2013-03-15 Roland McGrath <roland@hack.frob.com>
16066 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16067 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16068 zero since it's initialized to EXEC_PAGESIZE.
16070 * sysdeps/unix/sysv/linux/ldsodefs.h
16071 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16072 * sysdeps/generic/ldsodefs.h: ... here.
16074 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16076 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16078 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16080 * math/test-snan.c: Renamed from
16081 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16082 * math/Makefile (tests): Add test-snan.
16083 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16086 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16087 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16089 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16090 __builtin_nan family of functions.
16091 * math/libm-test.inc (initialize): Initialize qnan_value with
16092 __builtin_nan family of functions.
16093 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16095 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16097 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16098 storage class. Initialize qNaN_var and sNaN_var with
16099 __builtin_nan and __builtin_nans families of functions,
16102 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16103 (sqrt_test): Remove duplicate test with qNaN input.
16104 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16105 (round_test, signbit_test, significand_test): Note missing +/-Inf
16106 as well as qNaN tests.
16108 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16109 qNaN_var. Fix a few strings, too.
16110 * math/libm-test.inc (nan_value): Rename to qnan_value.
16111 * math/gen-libm-test.pl (%beautify): Adjust to that.
16112 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16113 * math/test-misc.c (main): Likewise.
16114 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16115 to __qnan_bytes, and __qnan_union, respectively.
16116 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16118 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16119 and lqnanval, respectively.
16120 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16121 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16122 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16123 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16125 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16126 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16129 * math/test-misc.c (main): Fix copy'n'pastos.
16130 * misc/tst-efgcvt.c (special): Likewise.
16132 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16133 Remove declarations.
16135 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16137 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16138 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16139 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16140 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16142 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16144 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16145 macro to return vdso values correctly in IFUNC implementations.
16146 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16147 Optimization by using IFUNC.
16149 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16150 Richard Henderson <rth@redhat.com>
16151 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16153 * Makefile.in (bench): New target.
16154 * NEWS: Mention the benchmark framework.
16155 * Rules (bench): Likewise.
16156 (binaries-bench): Generate binaries for functions to
16158 * benchtests/Makefile: New makefile for benchmark tests.
16159 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16161 * benchtests/exp-inputs: New input file for EXP function.
16162 * benchtests/pow-inputs: New input file for POW function.
16163 * scripts/bench.pl: New script to generate source files for
16164 benchmark programs.
16166 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16168 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16169 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16170 computations on mantissa. Use macros for rounding and
16172 (denorm): Likewise.
16173 (__dbl_mp): Likewise.
16174 (add_magnitudes): Likewise.
16175 (sub_magnitudes): Likewise.
16178 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16179 powers of two in terms of TWOPOW macro.
16180 (mp_no): Make type of mantissa as MANTISSA_T.
16181 [!RADIXI]: Define RADIXI.
16182 [!TWO52]: Define TWO52.
16183 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16185 * manual/nptl.texi (cindex): Modify threads to pthreads.
16187 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16189 * sysdeps/x86_64/preconfigure: Regenerated.
16191 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16194 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16196 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16197 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16199 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16200 * math/libm-test.inc (j0_test): Do not allow one spurious
16201 underflow exception.
16202 (y1_test): Likewise.
16204 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16206 * manual/Makefile (chapters): Add nptl.
16207 * manual/debug.texi (Debugging Support): Add link to Threads
16209 * manual/nptl.texi: New file.
16211 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16213 2013-03-14 Petr Baudis <pasky@ucw.cz>
16215 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16216 for non-NULL pointer before the memory validity test. Pointed
16217 out by Holger Brunck <holger.brunck@keymile.com>.
16219 2013-03-13 Andreas Schwab <schwab@suse.de>
16221 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16224 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16226 * timezone/zic.c: Update from tzcode 2013b.
16228 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16230 * manual/install.texi (Configuring and compiling):
16231 Mention i686 and i586.
16232 * INSTALL: Regenerate.
16234 2013-03-12 Roland McGrath <roland@hack.frob.com>
16236 * sysdeps/init_array/elf-init.c: New file.
16238 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16239 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16241 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16242 __gmon_start__ as global, but as static with a .preinit_array pointer.
16243 * sysdeps/init_array/gmon-start.c: New file. Use that.
16244 * sysdeps/init_array/crti.S: New file, empty except for comments.
16245 * sysdeps/init_array/crtn.S: Likewise.
16247 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16249 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16252 Remove Prefer_SSE_for_memop.
16253 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16254 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16255 HAS_PREFER_SSE_FOR_MEMOP.
16256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16259 Remove bzero, memset ifunc support.
16260 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16261 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16262 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16263 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16265 2013-03-11 Andreas Schwab <schwab@suse.de>
16268 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16271 (GLIBC_2.16): Remove pthread_atfork.
16273 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16275 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16276 (ptestcases.h): Likewise.
16278 2013-03-08 Roland McGrath <roland@hack.frob.com>
16280 * Makeconfig ($(common-objpfx)config.status): Depend on
16281 sysdeps/*/preconfigure{,.in} too.
16283 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16285 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16286 (__free_hook): Use void * instead of __malloc_ptr_t.
16287 (__malloc_hook): Likewise.
16288 (__realloc_hook): Likewise.
16289 (__memalign_hook): Likewise.
16290 (__after_morecore_hook): Likewise.
16291 * malloc/arena.c (save_malloc_hook): Likewise.
16292 (save_free_hook): Likewise.
16293 * malloc/hooks.c (malloc_hook_ini): Likewise.
16294 (realloc_hook_ini): Likewise.
16295 (memalign_hook_ini): Likewise.
16296 * malloc/malloc.c (malloc_hook_ini): Likewise.
16297 (realloc_hook_ini): Likewise.
16298 (memalign_hook_ini): Likewise.
16299 (__free_hook): Likewise.
16300 (__malloc_hook): Likewise.
16301 (__realloc_hook): Likewise.
16302 (__memalign_hook): Likewise.
16303 (__libc_malloc): Likewise.
16304 (__libc_free): Likewise.
16305 (__libc_realloc): Likewise.
16306 (__libc_memalign): Likewise.
16307 (__libc_valloc): Likewise.
16308 (__libc_pvalloc): Likewise.
16309 (__libc_calloc): Likewise.
16310 (__posix_memalign): Likewise.
16311 * malloc/morecore.c (__sbrk): Likewise.
16312 (__default_morecore): Likewise.
16314 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16316 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16317 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16318 __malloc_ptrdiff_t.
16320 * malloc/malloc.h (__malloc_size_t): Remove macro.
16321 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16323 (old_memalign_hook): Likewise.
16324 (old_realloc_hook): Likewise.
16325 (struct hdr): Likewise.
16327 (mallochook): Likewise.
16328 (memalignhook): Likewise.
16329 (reallochook): Likewise.
16330 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16331 (tr_old_realloc_hook): Likewise.
16332 (tr_old_memalign_hook): Likewise.
16333 (tr_mallochook): Likewise.
16334 (tr_reallochook): Likewise.
16335 (tr_memalignhook): Likewise.
16337 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16339 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16340 default_ldbl_pack and using as default implementation.
16341 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16343 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16344 redundant definition.
16345 (ldbl_insert_mantissa): Likewise.
16346 (ldbl_canonicalize): Likewise.
16347 (ldbl_nearbyint): Likewise.
16348 (ldbl_pack): Rename to ldbl_pack_ppc.
16349 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16350 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16351 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16353 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16356 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16357 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16358 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16359 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16360 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16361 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16362 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16364 2013-03-07 Andreas Jaeger <aj@suse.de>
16366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16369 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16371 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16372 Include mpa.h and declare __MPEXP.
16373 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16374 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16375 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16376 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16377 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16378 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16379 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16381 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16382 (__slowpow): Use long double EXPL and LOGL functions to
16384 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16385 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16386 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16387 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16388 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16389 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16392 intermediate variable to calculate exponent.
16394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16398 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16399 [!NO__SQR]: Define __sqr.
16400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16401 and NO__SQR. Remove all code except __mul and __sqr. Include
16402 sysdeps/ieee754/dbl-64/mpa.c.
16403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16406 * posix/Makefile (tests): Add tst-pathconf.
16407 * posix/tst-pathconf.c: New test case.
16408 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16410 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16412 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16414 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16416 2013-03-06 Andreas Jaeger <aj@suse.de>
16418 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16419 definition via __MAP_ANONYMOUS.
16421 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16422 it's not part of Linux headers.
16424 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16425 (MAP_HUGE_MASK): Define.
16427 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16429 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16430 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16432 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16433 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16435 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16436 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16438 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16440 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16441 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16442 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16443 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16444 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16445 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16447 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16450 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16451 Handle f2fs and efivarfs.
16453 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16456 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16457 (EFIVARFS_MAGIC): Add.
16458 (F2FS_LINK_MAX): Add.
16460 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16462 * stdio-common/vfprintf.c: Replace __builtin_expect with
16465 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16468 * sysdeps/generic/bp-sym.h: Remove file.
16469 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16470 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16471 <bp-sym.h> and <bp-asm.h>.
16472 (__longjmp): Don't use BP_SYM.
16473 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16475 (memcpy): Don't use BP_SYM.
16476 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16477 <bp-sym.h> and <bp-asm.h>.
16478 (memcpy): Don't use BP_SYM.
16479 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16481 (memcpy): Don't use BP_SYM.
16482 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16484 (memset): Don't use BP_SYM.
16485 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16486 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16487 (__bzero): Don't use BP_SYM.
16488 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16489 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16490 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16491 <bp-sym.h> and <bp-asm.h>.
16492 (memcmp): Don't use BP_SYM. Remove comment about bounded
16494 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16495 <bp-sym.h> and <bp-asm.h>.
16496 (memcpy): Don't use BP_SYM.
16497 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16498 <bp-sym.h> and <bp-asm.h>.
16499 (memset): Don't use BP_SYM.
16500 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16501 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16502 (__bzero): Don't use BP_SYM.
16503 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16504 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16505 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16506 <bp-sym.h> and <bp-asm.h>.
16507 (strncmp): Don't use BP_SYM. Remove comment about bounded
16509 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16510 <bp-sym.h> and <bp-asm.h>.
16511 (memcpy): Don't use BP_SYM.
16512 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16513 <bp-sym.h> and <bp-asm.h>.
16514 (memset): Don't use BP_SYM.
16515 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16516 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16517 (__bzero): Don't use BP_SYM.
16518 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16519 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16520 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16521 <bp-sym.h> and <bp-asm.h>.
16522 (__memchr): Don't use BP_SYM.
16523 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16524 <bp-sym.h> and <bp-asm.h>.
16525 (memcmp): Don't use BP_SYM. Remove comment about bounded
16527 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16528 <bp-sym.h> and <bp-asm.h>.
16529 (memcpy): Don't use BP_SYM.
16530 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16531 <bp-sym.h> and <bp-asm.h>.
16532 (__mempcpy): Don't use BP_SYM.
16533 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16534 <bp-sym.h> and <bp-asm.h>.
16535 (__memrchr): Don't use BP_SYM.
16536 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16537 <bp-sym.h> and <bp-asm.h>.
16538 (memset): Don't use BP_SYM.
16539 (__bzero): Likewise.
16540 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16541 <bp-sym.h> and <bp-asm.h>.
16542 (__rawmemchr): Don't use BP_SYM.
16543 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16544 <bp-sym.h> and <bp-asm.h>.
16545 (__STRCMP): Don't use BP_SYM.
16546 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16547 <bp-sym.h> and <bp-asm.h>.
16548 (strchr): Don't use BP_SYM.
16549 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16550 <bp-sym.h> and <bp-asm.h>.
16551 (__strchrnul): Don't use BP_SYM.
16552 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16553 <bp-sym.h> and <bp-asm.h>.
16554 (strlen): Don't use BP_SYM.
16555 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16556 <bp-sym.h> and <bp-asm.h>.
16557 (strncmp): Don't use BP_SYM. Remove comment about bounded
16559 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16560 <bp-sym.h> and <bp-asm.h>.
16561 (__strnlen): Don't use BP_SYM.
16562 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16563 <bp-sym.h> and <bp-asm.h>.
16564 (__GI__setjmp): Don't use BP_SYM.
16565 (_setjmp): Likewise.
16566 (__sigsetjmp): Likewise.
16567 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16568 (L(start_addresses)): Don't use BP_SYM.
16569 (_start): Likewise.
16570 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16572 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16573 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16574 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16575 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16576 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16578 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16579 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16580 about bounded pointers.
16581 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16582 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16583 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16585 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16586 about bounded pointers. Remove GKM FIXME comments.
16587 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16588 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16590 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16591 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16592 Remove GKM FIXME comments.
16593 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16594 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16595 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16597 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16598 about bounded pointers. Remove GKM FIXME comment.
16599 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16601 (strncmp): Don't use BP_SYM. Remove comment about bounded
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16604 <bp-sym.h> and <bp-asm.h>.
16605 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16607 <bp-sym.h> and <bp-asm.h>.
16608 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16611 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16613 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16616 2013-03-05 David S. Miller <davem@davemloft.net>
16618 * po/es.po: Update from translation team.
16620 2013-03-05 Andreas Jaeger <aj@suse.de>
16622 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16623 <bits/mman-linux.h>.
16624 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16626 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16627 <bits/mman-linux.h> to end of file.
16628 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16630 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16631 <bits/mman-linux.h> to end of file.
16632 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16634 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16635 <bits/mman-linux.h> to end of file.
16637 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16638 (MCL_CURRENT, MCL_FUTURE): Define here.
16640 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16643 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16645 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16647 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16649 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16650 fourth parameter needed for rt_sigprocmask syscall.
16651 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16652 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16653 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16654 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16655 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16656 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16658 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16661 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16662 comment about bounded pointers.
16663 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16664 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16666 2013-03-04 Andreas Jaeger <aj@suse.de>
16668 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16669 common definitions.
16671 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16672 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16673 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16674 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16675 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16676 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16678 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16681 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16682 __ieee754_sqrl instead of __sqrl.
16684 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16686 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16687 * sysdeps/powerpc/fpu_control.h: ... here.
16688 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16689 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16690 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16691 * sysdeps/powerpc/bits/mathinline.h: ... here.
16693 2013-03-01 Roland McGrath <roland@hack.frob.com>
16695 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16696 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16697 to just [NEED_DL_SYSINFO_DSO].
16698 * elf/dl-support.c: Likewise.
16699 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16700 * elf/rtld.c (dl_main): Likewise.
16701 * elf/setup-vdso.h (setup_vdso): Likewise.
16702 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16703 * sysdeps/unix/sysv/linux/dl-sysdep.c
16704 (_dl_discover_osversion): Likewise.
16706 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16708 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16709 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16711 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16713 * NEWS: Mention libm performance improvements and non-x86 PI
16716 * csu/libc-start.c (__pthread_initialize_minimal): Change
16717 function arguments.
16718 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16720 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16723 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16724 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16725 <bp-sym.h> and <bp-asm.h>.
16726 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16727 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16729 (memcpy): Don't use BP_SYM.
16730 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16732 (__mpn_add_n): Don't use BP_SYM.
16733 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16734 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16736 (__mpn_addmul_1): Don't use BP_SYM.
16737 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16738 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16740 (_setjmp): Don't use BP_SYM.
16741 (__novmx_setjmp): Likewise.
16742 (__GI__setjmp): Likewise.
16743 (__vmx_setjmp): Likewise.
16744 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16746 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16747 (__bzero): Don't use BP_SYM.
16748 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16749 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16750 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16751 <bp-sym.h> and <bp-asm.h>.
16752 (memcpy): Don't use BP_SYM.
16753 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16754 <bp-sym.h> and <bp-asm.h>.
16755 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16756 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16757 <bp-sym.h> and <bp-asm.h>.
16758 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16759 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16761 (__mpn_lshift): Don't use BP_SYM.
16762 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16763 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16765 (memset): Don't use BP_SYM.
16766 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16767 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16768 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16770 (__mpn_mul_1): Don't use BP_SYM.
16771 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16772 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16773 <bp-sym.h> and <bp-asm.h>.
16774 (memcmp): Don't use BP_SYM.
16775 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16776 <bp-sym.h> and <bp-asm.h>.
16777 (memcpy): Don't use BP_SYM.
16778 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16779 <bp-sym.h> and <bp-asm.h>.
16780 (memset): Don't use BP_SYM.
16781 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16782 <bp-sym.h> and <bp-asm.h>.
16783 (strncmp): Don't use BP_SYM.
16784 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16785 <bp-sym.h> and <bp-asm.h>.
16786 (memcpy): Don't use BP_SYM.
16787 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16788 <bp-sym.h> and <bp-asm.h>.
16789 (memset): Don't use BP_SYM.
16790 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16791 <bp-sym.h> and <bp-asm.h>.
16792 (__memchr): Don't use BP_SYM.
16793 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16794 <bp-sym.h> and <bp-asm.h>.
16795 (memcmp): Don't use BP_SYM.
16796 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16797 <bp-sym.h> and <bp-asm.h>.
16798 (memcpy): Don't use BP_SYM.
16799 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16800 <bp-sym.h> and <bp-asm.h>.
16801 (__mempcpy): Don't use BP_SYM.
16802 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16803 <bp-sym.h> and <bp-asm.h>.
16804 (__memrchr): Don't use BP_SYM.
16805 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16806 <bp-sym.h> and <bp-asm.h>.
16807 (memset): Don't use BP_SYM.
16808 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16809 <bp-sym.h> and <bp-asm.h>.
16810 (__rawmemchr): Don't use BP_SYM.
16811 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16812 <bp-sym.h> and <bp-asm.h>.
16813 (__STRCMP): Don't use BP_SYM.
16814 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16815 <bp-sym.h> and <bp-asm.h>.
16816 (strchr): Don't use BP_SYM.
16817 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16818 <bp-sym.h> and <bp-asm.h>.
16819 (__strchrnul): Don't use BP_SYM.
16820 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16821 <bp-sym.h> and <bp-asm.h>.
16822 (strlen): Don't use BP_SYM.
16823 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16824 <bp-sym.h> and <bp-asm.h>.
16825 (strncmp): Don't use BP_SYM.
16826 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16827 <bp-sym.h> and <bp-asm.h>.
16828 (__strnlen): Don't use BP_SYM.
16829 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16831 (__mpn_rshift): Don't use BP_SYM.
16832 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16833 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16834 <bp-sym.h> and <bp-asm.h>.
16835 (__sigsetjmp): Don't use BP_SYM.
16836 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16837 (L(start_addresses)): Don't use BP_SYM.
16838 (_start): Likewise.
16839 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16841 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16842 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16843 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16844 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16846 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16847 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16848 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16849 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16851 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16853 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16854 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16856 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16858 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16859 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16860 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16862 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16864 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16866 (strncmp): Don't use BP_SYM,
16867 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16869 (__mpn_sub_n): Don't use BP_SYM.
16870 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16871 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16873 (__mpn_submul_1): Don't use BP_SYM.
16874 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16876 <bp-sym.h> and <bp-asm.h>.
16877 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16879 <bp-sym.h> and <bp-asm.h>.
16880 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16883 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16886 Use ZK to minimize writes to Z.
16887 (sub_magnitudes): Simplify code a bit.
16888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16889 Use ZK to minimize writes to Z.
16890 (sub_magnitudes): Simplify code a bit.
16892 2013-02-27 Roland McGrath <roland@hack.frob.com>
16894 * csu/gmon-start.c: Add special exception to license text.
16896 2013-02-27 Richard Henderson <rth@redhat.com>
16898 * scripts/config.guess: Update from config.git.
16899 * scripts/config.sub: Likewise.
16901 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16903 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16905 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16907 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16909 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16911 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16913 2013-02-26 Roland McGrath <roland@hack.frob.com>
16915 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16916 [$(build-shared = yes].
16918 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16920 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16921 (__mul): Reduce iterations for calculating mantissa.
16923 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16925 (__mpranred): Likewise.
16928 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16929 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16931 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16933 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16934 Define __attribute__.
16936 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16938 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16940 * posix/regex_internal.h (__attribute): Remove.
16941 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16942 (re_string_context_at): Likewise.
16943 (bitset_not): Use __attribute__ and mark function as possibly
16945 (bitset_merge): Likewise.
16946 (bitset_mask): Likewise.
16947 (re_string_char_size_at): Likewise.
16948 (re_string_wchar_at): Likewise.
16949 (re_string_elem_size_at): Likewise.
16951 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16953 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16957 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16961 (denorm): Likewise.
16962 (__dbl_mp): Likewise.
16963 (add_magnitudes): Likewise.
16964 (sub_magnitudes): Likewise.
16968 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16971 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16974 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16978 up changes with default code.
16979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16982 2013-02-24 Allan McRae <allan@archlinux.org>
16984 * manual/socket.texi (The Internet Namespace): Order menu items
16985 to match that in the file.
16987 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16988 node listing of the info page menu.
16990 2013-02-21 Joseph Myers <joseph@codesourcery.com>
16993 * sysdeps/i386/bp-asm.h: Remove file.
16994 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16995 (PARMS): Do not use macros from bp-asm.h.
16999 (__mpn_add_n): Do not use BP_SYM
17000 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17002 (PARMS): Do not use macros from bp-asm.h.
17005 (__mpn_addmul_1): Do not use BP_SYM
17006 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17008 (PARMS): Do not use macros from bp-asm.h.
17009 (SIGMSK): Likewise.
17010 (_setjmp): Likewise. Do not use BP_SYM.
17011 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17013 (PARMS): Do not use macros from bp-asm.h.
17014 (SIGMSK): Likewise.
17015 (setjmp): Likewise. Do not use BP_SYM.
17016 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17018 (PARMS): Do not use macros from bp-asm.h.
17019 (__frexp): Do not use BP_SYM.
17021 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17023 (PARMS): Do not use macros from bp-asm.h.
17024 (__frexpf): Do not use BP_SYM.
17025 (frexpf): Likewise.
17026 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17028 (PARMS): Do not use macros from bp-asm.h.
17029 (__frexpl): Do not use BP_SYM.
17030 (frexpl): Likewise.
17031 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17033 (PARMS): Do not use macros from bp-asm.h.
17034 (__remquo): Do not use BP_SYM.
17035 (remquo): Likewise.
17036 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17038 (PARMS): Do not use macros from bp-asm.h.
17039 (__remquof): Do not use BP_SYM.
17040 (remquof): Likewise.
17041 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17043 (PARMS): Do not use macros from bp-asm.h.
17044 (__remquol): Do not use BP_SYM.
17045 (remquol): Likewise.
17046 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17048 (PARMS): Do not use macros from bp-asm.h.
17051 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17052 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17054 (PARMS): Do not use macros from bp-asm.h.
17055 (strlen): Do not use BP_SYM.
17056 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17058 (PARMS): Do not use macros from bp-asm.h.
17062 (__mpn_add_n): Do not use BP_SYM.
17063 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17065 (PARMS): Do not use macros from bp-asm.h.
17068 (__mpn_addmul_1): Do not use BP_SYM.
17069 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17072 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17074 (PARMS): Do not use macros from bp-asm.h.
17077 (__mpn_lshift): Do not use BP_SYM.
17078 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17080 (PARMS): Do not use macros from bp-asm.h.
17084 (memcpy): Likewise. Do not use BP_SYM.
17085 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17086 libc_hidden_def and weak_alias.
17087 (mempcpy): Do not use BP_SYM in weak_alias.
17088 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17090 (PARMS): Do not use macros from bp-asm.h.
17093 [!BZERO_P] (CHR): Likewise.
17094 (memset): Likewise. Do not use BP_SYM.
17095 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17097 (PARMS): Do not use macros from bp-asm.h.
17100 (__mpn_mul_1): Do not use BP_SYM.
17101 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17103 (PARMS): Do not use macros from bp-asm.h.
17106 (__mpn_rshift): Do not use BP_SYM.
17107 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17109 (PARMS): Do not use macros from bp-asm.h.
17112 (strchr): Likewise. Do not use BP_SYM.
17113 (index): Do not use BP_SYM in weak_alias.
17114 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17116 (PARMS): Do not use macros from bp-asm.h.
17119 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17120 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17122 (PARMS): Do not use macros from bp-asm.h.
17123 (strlen): Do not use BP_SYM.
17124 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17126 (PARMS): Do not use macros from bp-asm.h.
17130 (__mpn_sub_n): Do not use BP_SYM.
17131 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17133 (PARMS): Do not use macros from bp-asm.h.
17136 (__mpn_submul_1): Do not use BP_SYM.
17137 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17139 (PARMS): Do not use macros from bp-asm.h.
17143 (__mpn_add_n): Do not use BP_SYM.
17144 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17147 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17149 (PARMS): Do not use macros from bp-asm.h.
17152 (memcmp): Do not use BP_SYM.
17153 (bcmp): Do not use BP_SYM in weak_alias.
17154 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17156 (PARMS): Do not use macros from bp-asm.h.
17160 (memcpy): Likewise. Do not use BP_SYM.
17161 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17163 (PARMS): Do not use macros from bp-asm.h.
17167 (memmove): Likewise. Do not use BP_SYM.
17168 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17170 (PARMS): Do not use macros from bp-asm.h.
17174 (__mempcpy): Likewise. Do not use BP_SYM.
17175 (mempcpy): Do not use BP_SYM in weak_alias.
17176 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17178 (PARMS): Do not use macros from bp-asm.h.
17181 [!BZERO_P] (CHR): Likewise.
17182 (memset): Likewise. Do not use BP_SYM.
17183 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17185 (PARMS): Do not use macros from bp-asm.h.
17187 (strcmp): Do not use BP_SYM.
17188 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17190 (PARMS): Do not use macros from bp-asm.h.
17193 [USE_AS_STRTOK_R] (SAVE): Likewise.
17194 (FUNCTION): Likewise. Do not use BP_SYM.
17195 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17197 (strtok_r): Likewise.
17198 (__GI___strtok_r): Likewise.
17199 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17200 (PARMS): Do not use macros from bp-asm.h.
17203 (__mpn_lshift): Do not use BP_SYM.
17204 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17205 (PARMS): Do not use macros from bp-asm.h.
17208 (__memchr): Do not use BP_SYM.
17209 (memchr): Do not use BP_SYM in weak_alias.
17210 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17211 (PARMS): Do not use macros from bp-asm.h.
17214 (memcmp): Do not use BP_SYM.
17215 (bcmp): Do not use BP_SYM in weak_alias.
17216 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17217 (PARMS): Do not use macros from bp-asm.h.
17220 (__mpn_mul_1): Do not use BP_SYM.
17221 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17223 (PARMS): Do not use macros from bp-asm.h.
17226 (__rawmemchr): Do not use BP_SYM.
17227 (rawmemchr): Do not use BP_SYM in weak_alias.
17228 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17229 (PARMS): Do not use macros from bp-asm.h.
17232 (__mpn_rshift): Do not use BP_SYM.
17233 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17234 (PARMS): Do not use macros from bp-asm.h.
17235 (SIGMSK): Likewise.
17236 (__sigsetjmp): Likewise. Do not use BP_SYM.
17237 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17238 (_start): Do not use BP_SYM.
17239 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17240 (PARMS): Do not use macros from bp-asm.h.
17243 (__stpcpy): Likewise. Do not use BP_SYM.
17244 (stpcpy): Do not use BP_SYM in weak_alias.
17245 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17247 (PARMS): Do not use macros from bp-asm.h.
17251 (__stpncpy): Likewise. Do not use BP_SYM.
17252 (stpncpy): Do not use BP_SYM in weak_alias.
17253 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17254 (PARMS): Do not use macros from bp-asm.h.
17257 (strchr): Likewise. Do not use BP_SYM.
17258 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17260 (PARMS): Do not use macros from bp-asm.h.
17263 (__strchrnul): Likewise. Do not use BP_SYM.
17264 (strchrnul): Do not use BP_SYM in weak_alias.
17265 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17267 (PARMS): Do not use macros from bp-asm.h.
17269 (strcspn): Do not use BP_SYM.
17270 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17272 (PARMS): Do not use macros from bp-asm.h.
17275 (strpbrk): Likewise. Do not use BP_SYM.
17276 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17278 (PARMS): Do not use macros from bp-asm.h.
17281 (strrchr): Likewise. Do not use BP_SYM.
17282 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17283 (PARMS): Do not use macros from bp-asm.h.
17285 (strspn): Do not use BP_SYM.
17286 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17287 (PARMS): Do not use macros from bp-asm.h.
17291 (FUNCTION): Likewise. Do not use BP_SYM.
17292 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17294 (strtok_r): Likewise.
17295 (__GI___strtok_r): Likewise.
17296 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17297 (PARMS): Do not use macros from bp-asm.h.
17301 (__mpn_sub_n): Do not use BP_SYM.
17302 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17304 (PARMS): Do not use macros from bp-asm.h.
17307 (__mpn_submul_1): Do not use BP_SYM.
17308 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17310 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17312 (PARMS): Do not use macros from bp-asm.h.
17317 (__clone): Do not use BP_SYM.
17318 (clone): Do not use BP_SYM in weak_alias.
17319 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17321 (PARMS): Do not use macros from bp-asm.h.
17323 (__mmap64): Do not use BP_SYM.
17324 (mmap64): Do not use BP_SYM in weak_alias.
17325 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17326 <bp-sym.h> and <bp-asm.h>.
17327 (PARMS): Do not use macros from bp-asm.h.
17328 (__posix_fadvise64_l64): Do not use BP_SYM.
17329 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17330 (PARMS): Do not use macros from bp-asm.h.
17332 (semtimedop): Do not use BP_SYM.
17333 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17336 2013-02-21 Allan McRae <allan@archlinux.org>
17338 * manual/message.texi (Charset conversion in gettext):
17339 Move @end statement to beginning of line.
17341 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17348 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17349 (denorm): Likewise.
17350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17353 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17355 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17356 tail-call to the resolved function if pltexit isn't needed.
17358 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17361 or Y being zero as being unlikely.
17362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17365 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17367 * manual/nss.texi (System Databases and Name Service Switch):
17368 Remove frobnicate @pxref.
17370 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17372 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17373 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17375 2013-02-20 Petr Machata <pmachata@redhat.com>
17377 * elf/elf.h (R_ARM_TARGET1): New macro.
17378 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17379 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17380 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17381 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17382 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17383 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17384 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17385 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17386 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17387 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17388 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17389 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17390 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17391 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17392 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17393 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17394 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17395 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17396 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17397 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17398 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17399 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17400 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17401 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17402 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17403 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17404 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17405 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17406 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17407 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17408 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17409 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17410 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17411 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17412 (R_ARM_THM_GOT_BREL12): Likewise.
17413 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17414 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17415 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17416 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17417 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17418 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17419 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17420 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17421 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17423 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17425 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17426 __attribute_used__ to __attribute__ ((unused)).
17428 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17430 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17433 comment formatting.
17434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17436 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17439 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17441 (ENTER): Remove both macro definitions.
17443 (CHECK_BOUNDS_LOW): Likewise.
17444 (CHECK_BOUNDS_HIGH): Likewise.
17445 (CHECK_BOUNDS_BOTH): Likewise.
17446 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17447 (RETURN_BOUNDED_POINTER): Likewise.
17448 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17449 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17450 (POP_ERRNO_LOCATION_RETURN): Likewise.
17451 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17452 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17453 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17455 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17456 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17457 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17458 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17459 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17460 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17461 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17462 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17463 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17464 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17465 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17466 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17467 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17468 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17470 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17471 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17473 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17474 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17475 * sysdeps/i386/i586/memset.S (memset): Likewise.
17476 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17477 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17478 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17480 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17481 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17482 Change uses of L(2) to L(out).
17483 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17484 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17485 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17486 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17487 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17489 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17490 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17492 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17493 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17494 (RETURN): Do not use macro LEAVE.
17495 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17496 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17497 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17498 * sysdeps/i386/i686/memset.S (memset): Likewise.
17499 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17500 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17501 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17502 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17504 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17505 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17506 L(1_2) and L(1_3) into L(1).
17507 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17508 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17509 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17510 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17511 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17512 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17513 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17514 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17515 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17517 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17518 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17519 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17520 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17521 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17522 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17523 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17524 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17525 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17526 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17527 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17528 * sysdeps/i386/strspn.S (strspn): Likewise.
17529 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17531 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17532 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17533 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17534 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17535 L(1_3) into L(1_1).
17536 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17537 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17538 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17540 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17542 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17544 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17547 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17549 * math/atest-exp.c (exp_mpn): Remove ROUND.
17550 * math/atest-exp2.c (exp_mpn): Likewise.
17551 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17553 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17554 * stdlib/tst-tls-atexit-lib.c: Likewise.
17555 * stdlib/tst-tls-atexit.c: Likewise.
17557 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17559 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17560 and __attribute_alloc_size__.
17562 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17564 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17565 __attribute_alloc_size__.
17566 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17567 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17569 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17571 * include/programs/xmalloc.h: New file.
17572 * catgets/gencat.c: Include it.
17573 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17574 * elf/pldd.c: Likewise.
17575 * iconv/iconv_charmap.c: Likewise.
17576 * iconv/iconvconfig.c: Likewise.
17577 * iconv/strtab.c: Likewise.
17578 * locale/programs/locale.c: Likewise.
17579 * locale/programs/localedef.h: Likewise.
17580 * locale/programs/simple-hash.c: Likewise.
17581 * nscd/nscd.h: Likewise.
17582 * nss/makedb.c: Likewise.
17583 * sysdeps/generic/ldconfig.h: Likewise.
17585 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17587 * Versions.def: Add GLIBC_2.18.
17588 * include/link.h (struct link_map): New member l_tls_dtor_count.
17589 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17590 (__call_tls_dtors): Likewise.
17591 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17592 __cxa_thread_atexit_impl.
17593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17601 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17609 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17610 (tests): Add test case tst-tls-atexit.
17611 (modules-names): Add shared library for tst-tls-atexit.
17612 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17613 (GLIBC_PRIVATE): Add __call_tls_dtors.
17614 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17616 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17617 * stdlib/tst-tls-atexit.c: New test case.
17618 * stdlib/tst-tls-atexit-lib.c: New test case.
17620 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17622 * elf/Versions (ld): Add _dl_find_dso_for_object.
17623 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17624 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17625 (dl_open_worker): Use _dl_find_dso_for_object.
17626 * elf/dl-sym.c (do_sym): Likewise.
17627 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17629 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17631 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17632 Syntactic changes only.
17633 (_dl_runtime_profile): Do a tail-call to the resolved function.
17635 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17638 * sysdeps/x86_64/bp-asm.h: Remove file.
17639 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17640 <bp-sym.h> and <bp-asm.h>.
17641 (__clone): Do not use BP_SYM.
17642 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17643 <bp-sym.h> and <bp-asm.h>.
17644 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17645 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17647 (_setjmp): Do not use BP_SYM.
17648 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17650 (setjmp): Do not use BP_SYM.
17651 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17653 (mempcpy): Do not use BP_SYM in weak_alias.
17654 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17656 (strchr): Do not use BP_SYM.
17657 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17659 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17660 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17661 (_start): Do not use BP_SYM.
17662 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17664 (strcat): Do not use BP_SYM.
17665 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17667 (STRCMP): Do not use BP_SYM.
17668 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17670 (STRCPY): Do not use BP_SYM.
17671 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17673 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17675 (FUNCTION): Do not use BP_SYM.
17676 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17678 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17680 2013-02-17 Andreas Jaeger <aj@suse.de>
17682 * time/Versions: Sort entries.
17683 * string/Versions: Likewise.
17684 * resolv/Versions: Likewise.
17685 * posix/Versions: Likewise.
17686 * iconv/Versions: Likewise.
17687 * elf/Versions: Likewise.
17688 * wcsmbs/Versions: Likewise.
17690 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17692 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17693 loop termination condition.
17695 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17696 variable to calculate EZ.
17699 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17700 the lower precision input.
17702 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17705 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17706 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17707 (run-via-rtld-prefix): Do not handle %-bp tests.
17708 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17709 (all-object-suffixes): Remove .ob.
17710 (bppfx): Remove variable.
17711 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17712 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17713 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17714 [$(build-bounded) = yes] (libtype.ob): Likewise.
17715 * Makerules (elide-routines.ob): Remove variable.
17716 (do-tests-clean): Do not handle *-bp.out.
17717 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17718 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17719 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17720 (tests): Do not include $(tests-bp.out).
17721 (xtests): Do not include $(xtests-bp.out).
17722 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17723 [$(build-bounded) = yes] ($(addprefix
17724 $(objpfx),$(binaries-bounded))): Remove rule.
17725 ($(objpfx)%-bp.out): Remove rule.
17726 * config.make.in (build-bounded): Remove variable.
17727 * crypt/Makefile [$(build-bounded) = yes]
17728 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17729 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17730 append to variable.
17731 [$(build-bounded) = yes] (install-lib): Likewise.
17732 [$(build-bounded) = yes] (generated): Likewise.
17733 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17735 * intl/Makefile [$(build-bounded) = yes]
17736 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17737 * math/Makefile [$(build-bounded) = yes]
17738 ($(tests:%=$(objpfx)%-bp): Likewise.
17739 * misc/Makefile [$(build-bounded) = yes]
17740 ($(objpfx)tst-tsearch-bp): Likewise.
17741 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17742 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17744 * string/Makefile (o-objects.ob): Remove variable.
17745 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17746 (CFLAGS-.ob): Remove variable.
17747 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17748 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17749 both definitions of variable.
17750 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17751 (ASFLAGS-.ob): Remove variable.
17753 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17756 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17757 Remove __BOUNDED_POINTERS__ from condition.
17758 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17759 * string/bits/string2.h [!__NO_STRING_INLINES &&
17760 !__BOUNDED_POINTERS__]: Likewise.
17761 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17763 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17764 Remove conditional code.
17765 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17766 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17767 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17771 * csu/libc-start.c: Do not include <bp-sym.h>.
17772 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17773 * elf/dl-open.c: Do not include <bp-sym.h>.
17774 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17775 * math/fegetenv.c: Do not include <bp-sym.h>.
17776 (fegetenv): Do not use BP_SYM in versioned symbols.
17777 * nptl/sysdeps/pthread/bits/libc-lockP.h
17778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17781 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17783 (__pthread_mutex_destroy): Likewise.
17784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17785 (__pthread_mutex_lock): Likewise.
17786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17787 (__pthread_mutex_trylock): Likewise.
17788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17789 (__pthread_mutex_unlock): Likewise.
17790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17791 (__pthread_mutexattr_init): Likewise.
17792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17793 (__pthread_mutexattr_destroy): Likewise.
17794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17795 (__pthread_mutexattr_settype): Likewise.
17796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17797 (__pthread_rwlock_init): Likewise.
17798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17799 (__pthread_rwlock_destroy): Likewise.
17800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17801 (__pthread_rwlock_rdlock): Likewise.
17802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17803 (__pthread_rwlock_tryrdlock): Likewise.
17804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17805 (__pthread_rwlock_wrlock): Likewise.
17806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17807 (__pthread_rwlock_trywrlock): Likewise.
17808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17809 (__pthread_rwlock_unlock): Likewise.
17810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17811 (__pthread_key_create): Likewise.
17812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17813 (__pthread_setspecific): Likewise.
17814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17815 (__pthread_getspecific): Likewise.
17816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17819 (_pthread_cleanup_push_defer): Likewise.
17820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17821 (_pthread_cleanup_pop_restore): Likewise.
17822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17823 (pthread_setcancelstate): Likewise.
17824 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17826 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17827 (memchr): Do not use BP_SYM in weak_alias.
17828 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17829 (fegetenv): Do not use BP_SYM in versioned symbols.
17830 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17831 (fesetenv): Do not use BP_SYM in versioned symbols.
17832 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17833 (feupdateenv): Do not use BP_SYM in versioned symbols.
17834 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17835 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17836 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17837 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17838 (open64): Do not use BP_SYM in weak_alias.
17839 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17840 (fegetenv): Do not use BP_SYM in versioned symbols.
17841 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17842 (fesetenv): Do not use BP_SYM in versioned symbols.
17843 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17844 (feupdateenv): Do not use BP_SYM in versioned symbols.
17845 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17846 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17847 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17848 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17849 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17850 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17851 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17853 (__libc_start_main): Do not use BP_SYM.
17855 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17858 redundant return line.
17860 (denorm): Likewise.
17861 (dbl_mp): Likewise.
17862 (sub_magnitudes): Likewise.
17868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17870 (denorm): Likewise.
17871 (dbl_mp): Likewise.
17872 (sub_magnitudes): Likewise.
17879 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17881 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17882 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17885 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17886 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17887 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17888 of __mul for squares.
17889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17893 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17894 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17896 2013-02-13 Joseph Myers <joseph@codesourcery.com>
17899 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17901 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17902 prototype or function definition. Rename ubp_* variables and
17903 parameters. Remove argv definitions conditional on
17904 [__BOUNDED_POINTERS__].
17905 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17906 * elf/dl-runtime.c (_dl_fixup): Likewise.
17907 * include/set-hooks.h (RUN_HOOK): Likewise.
17908 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17910 * string/strcpy.c (strcpy): Do not use __unbounded.
17911 * sysdeps/generic/frame.h (struct layout): Likewise.
17912 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17913 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17914 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17915 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17916 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17917 (__backtrace): Likewise.
17918 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17920 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17921 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17922 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17924 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17925 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17926 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17927 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17928 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17929 Do not use __unbounded.
17930 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17931 Rename __unboundedrlimits parameter to rlimits in prototype.
17932 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17933 Do not use __unbounded.
17934 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17935 not use __ptrvalue.
17936 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17937 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17938 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17939 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17940 __ptrvalue or __unbounded.
17941 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17942 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17944 (__new_msgctl): Do not use __ptrvalue.
17945 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17947 (__libc_msgrcv): Do not use __ptrvalue.
17948 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17949 startup_info): Do not use __unbounded.
17950 (__libc_start_main): Likewise. Rename ubp_* variables and
17951 parameters. Remove argv definitions conditional on
17952 [__BOUNDED_POINTERS__].
17953 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17955 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17957 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17959 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17961 (__new_shmctl): Do not use __ptrvalue.
17962 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17963 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17965 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17966 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17967 (__libc_sigaction): Likewise.
17968 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17969 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17971 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17973 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
17975 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17977 * string/mempcpy.c: Implement by calling memcpy.
17979 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17981 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17983 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17986 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17987 values in the mantissa.
17989 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17990 minimize writes to Z.
17991 (sub_magnitudes): Simplify code a bit.
17993 2013-02-12 Roland McGrath <roland@hack.frob.com>
17995 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17996 from the message. The linker prefixes all warnings with that already.
17998 2013-02-12 Andreas Schwab <schwab@suse.de>
18001 * posix/regexec.c (extend_buffers): Add parameter min_len.
18002 (check_matching): Pass minimum needed length.
18003 (clean_state_log_if_needed): Likewise.
18004 (get_subexp): Likewise.
18005 * posix/Makefile (tests): Add bug-regex34.
18006 (bug-regex34-ENV): Define.
18007 * posix/bug-regex34.c: New file.
18010 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18011 elements compare against the byte sequence of it, not its name.
18012 * posix/Makefile (tests): Add bug-regex35.
18013 (bug-regex35-ENV): Define.
18014 * posix/bug-regex35.c: New file.
18016 2013-02-11 Tom de Vries <tom@codesourcery.com>
18018 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18020 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18021 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18022 (CHECK_EOL): Add undef.
18024 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18026 * bits/stdlib-bsearch.h: New file.
18027 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18028 * stdlib/stdlib.h: Likewise.
18030 2013-02-11 Roland McGrath <roland@hack.frob.com>
18032 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18033 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18035 * manual/search.texi (Array Search Function): Add missing const in
18037 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18038 declaration to use rlim_t.
18039 (Basic Scheduling Functions): Remove erroneous const from
18040 sched_getparam prototype. Remove erroneous * from
18041 sched_get_priority_max and sched_get_priority_min prototypes.
18042 (Resource Usage): Fix summary @comment on vtimes to refer to
18043 sys/vtimes.h rather than vtimes.h.
18044 Add missing *s in vtimes prototype.
18045 (Limits on Resources): Fix ulimit prototype to return long int.
18046 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18047 prototypes to use long int rather than double.
18048 (BSD Random): Fix initstate and setstate to use char *, not void *.
18049 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18050 prototype to make second argument 'struct aiocb64 *const[]'.
18051 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18052 (Status of AIO Operations): Remove erroneous const in aio_return and
18053 aio_return64 prototypes.
18054 (Synchronizing I/O): Fix sync prototype to return void.
18055 * manual/startup.texi (Suboptions): Remove an erroneous const in
18056 getsubopt prototype.
18057 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18058 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18059 use size_t rather than int.
18060 (Scanning All Users): Likewise for getpwent_r.
18061 (Setting Groups): Add missing const to setgroups prototype.
18062 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18063 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18064 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18065 'const void *' rather than 'const char *'.
18066 (Host Address Functions): Likewise for inet_ntop.
18067 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18068 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18069 ssize_t for return value.
18070 (Sending Data): Likewise for send, sendto, sendmsg.
18071 (Socket Option Functions): Add a missing const in setsockopt prototype.
18072 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18073 use wchar_t for the argument.
18074 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18075 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18077 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18078 double/float/long double for second argument.
18079 Fix return types of significand, significandf, significandl.
18080 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18081 argument in fchmod prototype.
18082 (File Owner): Use uid_t and gid_t in fchown prototype.
18083 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18084 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18085 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18086 use 'const struct dirent **' as argument types to CMP function pointer
18088 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18089 (File Times): Fix summary magic @comment for struct utimbuf and utime
18090 to refer to utime.h, not time.h.
18091 * manual/string.texi (Argz Functions): Add missing const in
18092 argz_extract and argz_next prototypes.
18093 (Finding Tokens in a String): Likewise for basename.
18094 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18095 (Copying and Concatenation): Fix typo in wmemmove prototype.
18096 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18097 (Signal Stack): Remove erroneous const in sigstack prototype.
18098 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18100 (Simple Calendar Time): Likewise for stime.
18101 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18103 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18104 say sys/sysctl.h instead.
18105 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18106 and vsyslog prototypes.
18108 2013-02-11 Tom de Vries <tom@codesourcery.com>
18110 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18113 2013-02-11 Roland McGrath <roland@hack.frob.com>
18115 * misc/sys/mman.h: Fix typo in mremap comment.
18117 2013-02-08 Roland McGrath <roland@hack.frob.com>
18119 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18120 the '\0' terminator.
18122 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18125 * debug/segfault.c: Don't include <bp-checks.h>.
18126 * sysdeps/generic/bp-checks.h: Remove file.
18127 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18128 (__GETDENTS): Don't use CHECK_N.
18129 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18130 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18131 (__getgroups): Don't use CHECK_N.
18132 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18133 (setgroups): Don't use CHECK_N.
18134 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18135 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18136 (__libc_msgrcv): Don't use CHECK_N.
18137 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18138 (__libc_msgsnd): Don't use CHECK_N.
18139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18141 (__libc_pread): Don't use CHECK_N.
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18143 include <bp-checks.h>.
18144 (__libc_pread64): Don't use CHECK_N.
18145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18146 include <bp-checks.h>.
18147 (__libc_pwrite): Don't use CHECK_N.
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18149 include <bp-checks.h>.
18150 (__libc_pwrite64): Don't use CHECK_N.
18151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18153 (__libc_pread): Don't use CHECK_N.
18154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18155 include <bp-checks.h>.
18156 (__libc_pread64): Don't use CHECK_N.
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18158 include <bp-checks.h>.
18159 (__libc_pwrite): Don't use CHECK_N.
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18161 include <bp-checks.h>.
18162 (__libc_pwrite64): Don't use CHECK_N.
18163 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18164 (do_pread): Don't use CHECK_N.
18165 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18166 (do_pread64): Don't use CHECK_N.
18167 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18168 (do_pwrite): Don't use CHECK_N.
18169 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18170 (do_pwrite64): Don't use CHECK_N.
18171 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18172 (__libc_readv): Don't use CHECK_N.
18173 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18174 (semop): Don't use CHECK_N.
18175 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18177 (semtimedop): Don't use CHECK_N.
18178 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18179 (__libc_pread): Don't use CHECK_N.
18180 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18182 (__libc_pread64): Don't use CHECK_N.
18183 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18185 (__libc_pwrite): Don't use CHECK_N.
18186 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18188 (__libc_pwrite64): Don't use CHECK_N.
18189 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18191 (__libc_msgrcv): Don't use CHECK_N.
18192 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18193 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18194 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18195 (__libc_writev): Don't use CHECK_N.
18197 2013-02-08 Roland McGrath <roland@hack.frob.com>
18199 * string/strcpy.c: Removed unused variable.
18201 * Makeconfig (+sysdep-includes): Define with := rather than =.
18202 Use an existing include/ subdir of each sysdeps dir before it.
18204 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18206 * nscd/connection.c (register_traced_file): Comment function.
18207 [HAVE_INOTIFY] (union __inev): Define.
18208 [HAVE_INOTIFY] (inotify_check_files): New function.
18209 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18210 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18212 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18214 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18216 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18217 loaded if not already and that a failure is permanent.
18219 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18222 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18223 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18225 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18228 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18229 (CHECK_1_NULL_OK): Likewise.
18230 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18231 (__fxstat): Do not use CHECK_1.
18232 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18234 (___fxstat64): Do not use CHECK_1.
18235 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18237 (__fxstatat): Do not use CHECK_1.
18238 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18240 (__fxstatat64): Do not use CHECK_1.
18241 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18243 (__fxstat): Do not use CHECK_1.
18244 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18246 (__fxstatat): Do not use CHECK_1.
18247 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18249 (__getresgid): Do not use CHECK_1.
18250 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18252 (__getresuid): Do not use CHECK_1.
18253 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18255 (__lxstat): Do not use CHECK_1.
18256 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18258 (__old_msgctl): Do not use CHECK_1.
18259 (__new_msgctl): Likewise.
18260 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18262 (__new_setrlimit): Do not use CHECK_1.
18263 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18265 (__old_shmctl): Do not use CHECK_1.
18266 (__new_shmctl): Likewise.
18267 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18269 (__xstat): Do not use CHECK_1.
18270 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18271 (__lxstat): Do not use CHECK_1.
18272 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18274 (___lxstat64): Do not use CHECK_1.
18275 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18276 (__old_msgctl): Do not use CHECK_1.
18277 (__new_msgctl): Likewise.
18278 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18280 (__gettimeofday): Do not use CHECK_1.
18281 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18282 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18283 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18285 (__gettimeofday): Do not use CHECK_1.
18286 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18287 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18288 (__new_shmctl): Do not use CHECK_1.
18289 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18291 (do_sigtimedwait): Do not use CHECK_1.
18292 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18294 (do_sigwaitinfo): Do not use CHECK_1.
18295 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18297 (msgctl): Do not use CHECK_1.
18298 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18300 (shmctl): Do not use CHECK_1.
18301 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18302 (ustat): Do not use CHECK_1.
18303 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18305 (__fxstat): Do not use CHECK_1.
18306 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18308 (__fxstatat): Do not use CHECK_1.
18309 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18311 (__lxstat): Do not use CHECK_1.
18312 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18314 (__xstat): Do not use CHECK_1.
18315 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18316 (__xstat): Do not use CHECK_1.
18317 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18318 (___xstat64): Do not use CHECK_1.
18321 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18323 (CHECK_BOUNDS_HIGH): Likewise.
18324 * string/strcpy.c: Do not include <bp-checks.h>.
18325 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18327 2013-02-07 Roland McGrath <roland@hack.frob.com>
18329 * nscd/nscd-client.h (__nscd_drop_map_ref):
18330 Add __attribute__ ((unused)).
18331 * nis/nss-nisplus.h (niserr2nss): Likewise.
18333 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18334 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18336 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18337 Remove inline keyword.
18338 * include/rounding-mode.h (round_away): Likewise.
18339 * libio/wfileops.c (adjust_wide_data): Likewise.
18340 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18341 (__m128i_strloadu_tolower): Likewise.
18342 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18343 (__m128i_strloadu_tolower): Likewise.
18344 * time/mktime.c (ydhms_diff): Likewise.
18345 * locale/elem-hash.h (elem_hash): Likewise.
18346 * locale/setlocale.c (setdata): Likewise.
18347 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18348 (re_string_wchar_at): Likewise.
18349 (bitset_not, bitset_merge, bitset_mask): Likewise.
18350 [!(__GNUC__ > 3)] (inline): Remove macro.
18351 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18352 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18353 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18354 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18355 * string/memcmp.c (memcmp_bytes): Likewise.
18356 * locale/programs/locarchive.c (compute_hashval): Likewise.
18357 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18358 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18359 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18360 * nss/getent.c (print_rpc, print_protocols): Likewise.
18361 (print_passwd, print_group, print_aliases): Likewise.
18362 * nis/nss-nisplus.h (niserr2nss): Likewise.
18363 * nscd/connections.c (restart_p): Likewise.
18364 Change return type to bool.
18366 2013-02-05 Roland McGrath <roland@hack.frob.com>
18368 * Makeconfig (all-Depend-files): Add existing
18369 $(sorted-subdirs:=/Depend) files.
18370 (all-subdirs): Remove nss.
18371 * sysdeps/unix/inet/Subdirs: Add it here instead.
18372 * hesiod/Depend: New file.
18374 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18375 instead of calling alloca.
18377 * io/lseek.c (__lseek): Rename to __libc_lseek.
18378 Define __lseek as an alias.
18380 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18382 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18384 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18385 else clause and remove check for non-standard endianness.
18387 2013-02-04 David S. Miller <davem@davemloft.net>
18389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18391 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18394 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18395 (__ubp_memchr): Remove prototype.
18396 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18397 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18398 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18399 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18400 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18402 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18403 (__ubp_memchr): Likewise.
18404 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18405 (__ubp_memchr): Likewise.
18406 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18407 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18408 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18409 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18411 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18412 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18413 (__getcwd): Do not use CHECK_STRING.
18414 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18416 (__real_chown): Do not use CHECK_STRING.
18417 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18419 (fchownat): Do not use CHECK_STRING.
18420 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18422 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18424 (__lchown): Do not use CHECK_STRING.
18425 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18426 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18427 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18428 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18430 include <bp-checks.h>.
18431 (truncate64): Do not use CHECK_STRING.
18432 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18434 (__real_chown): Do not use CHECK_STRING.
18435 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18437 (__lchown): Do not use CHECK_STRING.
18438 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18440 (__chown): Do not use CHECK_STRING.
18441 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18443 (truncate64): Do not use CHECK_STRING.
18444 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18446 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18447 (__xmknod): Do not use CHECK_STRING.
18448 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18450 (__xmknodat): Do not use CHECK_STRING.
18451 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18452 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18454 2013-02-04 Andreas Schwab <schwab@suse.de>
18457 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18458 * include/netdb.h: Likewise for h_errno.
18459 * elf/tst-stackguard1.c: Include <tls.h>.
18461 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18463 * elf/link.h (struct link_map): Extend the l_addr comment.
18464 * include/link.h (struct link_map): Likewise.
18466 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18469 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18470 (BOUNDED_1): Remove macro.
18471 * debug/backtrace.c: Don't include <bp-checks.h>.
18472 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18473 (__backtrace): Likewise.
18474 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18476 (__backtrace): Don't use BOUNDED_1.
18477 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18479 (__backtrace): Don't use BOUNDED_1.
18480 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18481 (__backtrace): Don't use BOUNDED_1.
18482 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18483 (shmat): Don't use BOUNDED_N.
18485 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18488 * sysdeps/generic/bp-start.h: Remove file.
18489 * csu/libc-start.c: Don't include <bp-start.h>.
18490 (LIBC_START_MAIN): Set up __environ directly instead of using
18491 INIT_ARGV_and_ENVIRON.
18492 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18496 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18498 (CHECK_FCNTL): Likewise.
18499 (CHECK_N_PAGES): Likewise.
18502 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18504 (CHECK_SIGSET_NULL_OK): Likewise.
18505 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18507 (sigpending): Don't use CHECK_SIGSET.
18508 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18510 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18511 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18513 (do_sigsuspend): Don't use CHECK_SIGSET.
18514 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18516 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18517 (do_sigwait): Don't use CHECK_SIGSET.
18518 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18520 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18521 include <bp-checks.h>.
18522 (sigpending): Don't use CHECK_SIGSET.
18523 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18524 include <bp-checks.h>.
18525 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18526 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18528 (sigpending): Don't use CHECK_SIGSET.
18529 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18531 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18534 * sysdeps/generic/bp-semctl.h: Remove file.
18535 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18536 <bp-checks.h> and <bp-semctl.h>.
18537 (__old_semctl): Don't use CHECK_SEMCTL.
18538 (__new_semctl): Likewise.
18539 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18541 (__old_semctl): Don't use CHECK_SEMCTL.
18542 (__new_semctl): Likewise.
18543 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18544 <bp-checks.h> and <bp-semctl.h>.
18545 (__old_semctl): Don't use CHECK_SEMCTL.
18546 (__new_semctl): Likewise.
18547 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18548 <bp-checks.h> and <bp-semctl.h>.
18549 (semctl): Don't use CHECK_SEMCTL.
18552 * Makerules (elide-bp-thunks): Remove variable.
18553 (elide-routines.oS): Don't use $(elide-bp-thunks).
18554 (elide-routines.os): Likewise.
18555 (elide-routines.o): Likewise.
18556 (elide-routines.op): Likewise.
18557 (elide-routines.og): Likewise.
18558 (objects): Don't use $(bp-thunks).
18559 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18561 (common-generated): Do not add s-proto-bp.d.
18562 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18565 Do not generate makefile rules for bounded-pointer thunks.
18566 * sysdeps/generic/bp-thunks.h: Remove file.
18567 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18568 * sysdeps/unix/s-proto-bp.S: Likewise.
18571 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18572 parts of result separately when argument is not close to line from
18573 -i to i and one part of argument is small.
18574 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18575 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18576 * math/libm-test.inc (cacos_test): Add more tests.
18577 (casin_test): Likewise.
18578 (casinh_test): Likewise.
18579 * sysdeps/i386/fpu/libm-test-ulps: Update.
18580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18582 2013-01-31 David S. Miller <davem@davemloft.net>
18584 * po/de.po: Update from translation team.
18586 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18588 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18590 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18592 * configure.in (_AC_PROG_CC_C89): New definition.
18593 * configure: Regenerate.
18595 * configure.in (AC_PROG_CPP): New definition.
18596 * configure: Regenerate.
18598 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18600 * debug/tst-backtrace.h: New file.
18601 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18602 (ret): Remove variable.
18604 (FAIL): Remove macro.
18605 (NO_INLINE): Likewise.
18606 (fn1): Use match function instead of strstr.
18607 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18608 (ret): Remove variable.
18610 (FAIL): Remove macro.
18611 (NO_INLINE): Likewise.
18612 (fn): Use match function instead of strstr.
18613 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18614 (ret): Remove variable.
18616 (FAIL): Remove macro.
18617 (NO_INLINE): Likewise.
18618 (handle_signal): Use match function instead of strstr.
18619 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18620 (ret): Remove variable.
18622 (FAIL): Remove macro.
18623 (NO_INLINE): Likewise.
18624 (handle_signal): Use match function instead of strstr.
18626 2013-01-23 Roland McGrath <roland@hack.frob.com>
18628 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18630 2013-01-23 David S. Miller <davem@davemloft.net>
18632 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18633 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18634 argument of CAS if possible.
18635 * sysdeps/sparc/sparc64/bits/atomic.h
18636 (__arch_compare_and_exchange_val_32_acq): Likewise.
18637 (__arch_compare_and_exchange_val_64_acq): Likewise.
18639 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18641 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18642 * sysdeps/posix/ulimit.c: ... this.
18643 Include <limits.h>.
18644 * sysdeps/unix/bsd/ulimit.c: Remove file.
18646 2013-01-23 Adam Conrad <adconrad@0c3.net>
18648 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18649 (LDFLAGS-tst-array5): Likewise.
18651 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18654 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18655 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18656 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18657 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18659 2013-01-21 David S. Miller <davem@davemloft.net>
18661 * sysdeps/sparc/backtrace.c: New file.
18662 * sysdeps/sparc/sparc32/backtrace.h: New file.
18663 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18664 * sysdeps/sparc/sparc64/backtrace.h: New file.
18665 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18666 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18669 2013-01-21 Andreas Schwab <schwab@suse.de>
18672 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18675 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18677 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18679 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18681 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18682 Mark Mitchell <mark@codesourcery.com>
18683 Tom de Vries <tom@codesourcery.com>
18684 Paul Pluzhnikov <ppluzhnikov@google.com>
18686 * debug/tst-backtrace2.c: New file.
18687 * debug/tst-backtrace3.c: Likewise.
18688 * debug/tst-backtrace4.c: Likewise.
18689 * debug/tst-backtrace5.c: Likewise.
18690 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18691 (CFLAGS-tst-backtrace3.c): Likewise.
18692 (CFLAGS-tst-backtrace4.c): Likewise.
18693 (CFLAGS-tst-backtrace5.c): Likewise.
18694 (LDFLAGS-tst-backtrace2): Likewise.
18695 (LDFLAGS-tst-backtrace3): Likewise.
18696 (LDFLAGS-tst-backtrace4): Likewise.
18697 (LDFLAGS-tst-backtrace5): Likewise.
18698 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18699 tst-backtrace4 and tst-backtrace5.
18701 2013-01-18 Anton Blanchard <anton@samba.org>
18702 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18704 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18705 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18706 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18707 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18709 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18710 "+r" and remove output regs list as redundant. Add explicit inline
18711 asm to specify register of return val to work around compiler codegen
18712 bug. Remove (int) cast on return value. Add return type parameter to
18713 use in macro so that this macro does not truncate return value for
18715 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18716 pass to INTERNAL_VSYSCALL_NCS.
18717 (INLINE_VSYSCALL): Add 'long int' as return type to
18718 INTERNAL_VSYSCALL_NCS macro invocation.
18719 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18720 INTERNAL_VSYSCALL_NCS macro invocation.
18721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18723 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18726 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18727 Fix application of SIMD FP exception mask.
18729 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18730 mp_no from a power of two.
18731 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18732 __mpexp_twomm1. Use __pow_mp.
18734 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18737 2013-01-17 David S. Miller <davem@davemloft.net>
18739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18741 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18744 * include/complex.h: Condition contents on [!_COMPLEX_H].
18745 (__kernel_casinhf): New prototype.
18746 (__kernel_casinh): Likewise.
18747 (__kernel_casinhl): Likewise.
18748 * math/Makefile (libm_calls): Add k_casinh.
18749 * math/k_casinh.c: New file.
18750 * math/k_casinhf.c: Likewise.
18751 * math/k_casinhl.c: Likewise.
18752 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18753 finite nonzero arguments.
18754 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18755 finite nonzero arguments.
18756 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18757 finite nonzero arguments.
18758 * math/s_casinh.c: Do not include <float.h>.
18759 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18760 * math/s_casinhf.c: Do not include <float.h>.
18761 (__casinhf): Move code for finite nonzero arguments to
18763 * math/s_casinhl.c: Do not include <float.h>.
18764 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18766 (__casinhl): Move code for finite nonzero arguments to
18768 * math/libm-test.inc (cacos_test): Add more tests.
18769 * sysdeps/i386/fpu/libm-test-ulps: Update.
18770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18772 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18774 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18775 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18776 [!HAVE_MREMAP]: Remove [defined linux] case.
18777 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18779 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18781 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18783 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18785 * elf/elf.h (R_386_SIZE32): New relocation.
18786 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18788 (elf_machine_rela): Likewise.
18789 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18790 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18792 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18794 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18795 (FP_FAST_FMA): Do not define.
18796 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18797 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18798 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18799 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18800 !_SOFT_FLOAT]: Likewise.
18801 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18802 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18804 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18805 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18806 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18807 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18808 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18809 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18812 2013-01-16 Andreas Schwab <schwab@suse.de>
18815 * include/stdlib.h (__mktemp): Add declaration.
18816 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18817 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18819 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18821 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18823 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18824 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18825 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18827 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18828 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18830 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18832 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18833 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18834 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18836 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18837 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18839 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18841 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18843 2013-01-15 David S. Miller <davem@davemloft.net>
18845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18846 trunc{,f} to libm-sysdep_routes.
18847 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18857 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18858 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18859 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18860 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18861 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18862 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18865 nearbyint{,f} to libm-sysdep_routes.
18866 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18877 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18879 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18880 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18882 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18883 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18884 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18886 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18887 libc_feholdexcept and libc_fesetenv.
18889 2013-01-15 Mike Frysinger <vapier@gentoo.org>
18891 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18893 2013-01-14 David S. Miller <davem@davemloft.net>
18895 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18896 (SPARC_ASM_VIS2_IFUNC): Likewise.
18897 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18899 use of 'siam' instruction.
18900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18921 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18933 routines to libm-sysdep_routines.
18934 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18937 fdim/fdimf to libm-sysdep_routines.
18938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18946 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18947 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18948 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18949 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18951 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18953 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18954 to optimize copies.
18956 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18960 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18961 local variable MPTWO.
18962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18965 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18967 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18970 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18972 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18974 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18976 * manual/pattern.texi (glob_t): Document gl_flags.
18977 (glob64_t): Likewise.
18979 2013-01-11 David S. Miller <davem@davemloft.net>
18981 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18982 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18983 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
18984 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18985 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18986 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18987 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18988 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18989 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18990 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18991 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18992 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18993 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18995 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18996 sparc V9 rather than using V8 code.
18997 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18998 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19000 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19002 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19005 2013-01-11 Roland McGrath <roland@hack.frob.com>
19007 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19008 not in the main loop.
19009 * configure: Regenerated.
19011 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19013 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19014 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19016 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19017 [!__GLIBC_HAVE_LONG_LONG] case.
19018 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19019 condition to just #else.
19020 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19021 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19022 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19023 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19025 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19026 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19027 #elif condition to just #else.
19028 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19029 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19030 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19031 #elif condition to just #else.
19033 2013-01-11 Steve Ellcey <sellcey@mips.com>
19035 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19036 (EF_MIPS_ARCH_64): Fix value.
19037 (EF_MIPS_ARCH_32R2): New.
19038 (EF_MIPS_ARCH_64R2): New.
19040 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19042 * Makeconfig (+link-pie-before-libc): New.
19043 (+link-pie-after-libc): Likewise.
19044 (+link-pie-tests): Likewise.
19045 (+link-pie): Rewritten.
19046 (link-before-libc): Remove $(config-LDFLAGS).
19047 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19048 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19049 (config-LDFLAGS): Renamed to ...
19050 (rtld-LDFLAGS): This.
19051 (rtld-tests-LDFLAGS): New macro.
19052 (link-libc-rpath-link): Likewise.
19053 (link-libc-tests-rpath-link): Likewise.
19054 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19055 (link-libc): Prepand $(link-libc-rpath-link).
19056 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19057 (test-program-prefix): New macro.
19058 (test-via-rtld-prefix): Likewise.
19059 (test-program-cmd): Likewise.
19060 (host-test-program-cmd): Likewise.
19061 * Makefile ($(common-objpfx)testrun.sh): Replace
19062 $(run-program-prefix) with $(test-program-prefix).
19063 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19065 ($(common-objpfx)shlib.lds): Likewise.
19066 (build-module-helper): Likewise.
19067 ($(common-objpfx)format.lds): Likewise.
19068 * Rules (binaries-pie-tests): New.
19069 (binaries-pie-notests): Likewise.
19070 (binaries-pie): Rewritten.
19071 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19072 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19073 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19074 (make-test-out): Replace $(host-built-program-cmd) with
19075 $(host-test-program-cmd).
19076 * config.make.in (build-hardcoded-path-in-tests): New variable.
19077 * configure.in (--enable-hardcoded-path-in-tests): New configure
19079 (hardcoded_path_in_tests): New AC_SUBST.
19080 * configure: Regenerated.
19081 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19082 $(built-program-cmd) with $(test-program-cmd).
19083 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19084 (test_program_cmd): This.
19085 * elf/Makefile ($(objpfx)order.out): Run test with
19086 $(test-program-prefix).
19087 ($(objpfx)order2.out): Likewise.
19088 ($(objpfx)tst-initorder.out): Likewise.
19089 ($(objpfx)tst-initorder2.out): Likewise.
19090 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19091 $(test-program-cmd).
19092 ($(objpfx)tst-array1-static.out): Likewise.
19093 ($(objpfx)tst-array2.out): Likewise.
19094 ($(objpfx)tst-array3.out): Likewise.
19095 ($(objpfx)tst-array4.out): Likewise.
19096 ($(objpfx)tst-array5.out): Likewise.
19097 ($(objpfx)tst-array5-static.out): Likewise.
19098 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19099 $(test-program-cmd).
19100 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19101 $(run-program-prefix) with $(test-program-prefix).
19102 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19103 (test_program_prefix): This.
19104 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19105 $(run-program-prefix) with $(test-program-prefix).
19106 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19107 (test_program_prefix): This.
19108 * iconvdata/tst-tables.sh: Likewise.
19109 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19110 $(run-program-prefix) with $(test-program-prefix).
19111 ($(objpfx)tst-translit.out): Likewise.
19112 ($(objpfx)tst-gettext2.out): Likewise.
19113 ($(objpfx)tst-gettext4.out): Likewise.
19114 ($(objpfx)tst-gettext6.out): Likewise.
19115 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19116 (test_program_prefix): This.
19117 * intl/tst-gettext2.sh: Likewise.
19118 * intl/tst-gettext4.sh Likewise.
19119 * intl/tst-gettext6.sh: Likewise.
19120 * intl/tst-translit.sh: Likewise.
19121 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19122 with $(test-program-cmd).
19123 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19124 $(run-program-prefix) with $(test-program-prefix).
19125 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19126 (test_program_prefix): This.
19127 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19128 $(run-program-prefix) with $(test-program-prefix).
19129 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19130 (test_program_prefix): This.
19131 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19132 * posix/Makefile ($(objpfx)globtest.out): Replace
19133 $(run-via-rtld-prefix) and $(test-wrapper) with
19134 $(test-program-prefix) and $(test-via-rtld-prefix).
19135 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19136 $(test-program-prefix).
19137 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19138 $(host-test-program-cmd).
19139 (tst-spawn-ARGS): Likewise.
19140 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19141 $(test-program-prefix).
19142 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19143 (test_via_rtld_prefix): This.
19144 (test_wrapper): Renamed to ...
19145 (test_program_prefix): This.
19146 (run_program_prefix): Replaced by test_program_prefix.
19147 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19148 (test_program_prefix): This.
19149 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19150 with $(host-test-program-cmd).
19151 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19152 $(run-program-prefix) with $(test-program-prefix).
19153 ($(objpfx)tst-printf.out): Likewise.
19154 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19155 $(test-program-cmd).
19156 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19157 (test_program_prefix): This.
19158 * stdio-common/tst-unbputc.sh: Likewise.
19159 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19160 $(run-program-prefix) with $(test-program-prefix).
19161 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19162 (test_program_prefix): This.
19163 * string/Makefile ($(objpfx)tst-svc.out): Replace
19164 $(built-program-cmd) with $(test-program-cmd).
19166 2013-01-11 Andreas Jaeger <aj@suse.de>
19169 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19170 value. Sync with Linux 3.7.
19172 2013-01-10 David S. Miller <davem@davemloft.net>
19174 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19175 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19176 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19178 2013-01-10 Roland McGrath <roland@hack.frob.com>
19180 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19182 * configure: Regenerated.
19184 2013-01-10 David S. Miller <davem@davemloft.net>
19186 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19187 sparc V9 rather than using V8 code.
19188 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19189 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19191 2013-01-10 Roland McGrath <roland@hack.frob.com>
19193 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19194 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19195 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19196 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19197 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19198 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19199 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19200 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19201 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19202 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19203 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19204 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19205 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19206 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19207 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19208 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19209 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19210 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19211 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19212 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19213 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19214 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19215 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19216 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19217 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19218 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19219 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19221 2013-01-10 David S. Miller <davem@davemloft.net>
19223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19225 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19227 * posix/Makefile (tests-static): New variable.
19228 (tests): Add $(tests-static).
19229 (tst-exec-static-ARGS): New variable.
19230 (tst-spawn-static-ARGS): Likewise.
19231 * posix/tst-exec-static.c: New file.
19232 * posix/tst-spawn-static.c: Likewise.
19233 * posix/tst-exec.c: Support run directly.
19234 * posix/tst-spawn.c: Likewise.
19236 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19238 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19240 * math/bits/mathcalls.h (llrint): Likewise.
19241 (llround): Likewise.
19242 * stdlib/stdlib.h (struct drand48_data): Likewise.
19243 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19244 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19245 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19247 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19249 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19250 (elf_greg_t): Likewise.
19251 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19252 (__jmp_buf): Likewise.
19253 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19255 (llrint): Likewise, for all definitions.
19256 (llrintl): Likewise.
19258 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19259 Remove [__GNUC__] condition.
19260 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19261 condition to just [__USE_ISOC99].
19262 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19264 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19267 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19268 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19270 (_POSIX_V6_ILP32_OFF32): Likewise.
19271 (_XBS5_ILP32_OFF32): Likewise.
19272 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19273 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19275 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19277 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19279 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19280 doubles __mpexp_twomm1. Adjust usage.
19281 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19284 2013-01-10 Andreas Schwab <schwab@suse.de>
19287 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19288 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19290 2013-01-09 David S. Miller <davem@davemloft.net>
19293 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19294 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19295 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19296 TCP_FASTOPEN): Define.
19297 (tcp_repair_opt): New structure.
19298 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19300 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19301 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19302 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19303 (tcp_cookie_transactions): New structure.
19305 2013-01-09 Anton Blanchard <anton@samba.org>
19307 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19308 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19309 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19310 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19312 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19314 * include/features.h (__USE_ANSI): Remove.
19316 2013-01-09 Roland McGrath <roland@hack.frob.com>
19318 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19320 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19322 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19324 * sysdeps/s390/fpu/libm-test-ulps: Update.
19326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19328 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19332 (denorm): Likewise.
19333 (__mp_dbl): Likewise.
19334 (__dbl_mp): Likewise.
19335 (add_magnitudes): Likewise.
19336 (sub_magnitudes): Likewise.
19342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19346 (denorm): Likewise.
19347 (__mp_dbl): Likewise.
19348 (__dbl_mp): Likewise.
19349 (add_magnitudes): Likewise.
19350 (sub_magnitudes): Likewise.
19356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19360 (denorm): Likewise.
19361 (__mp_dbl): Likewise.
19362 (__dbl_mp): Likewise.
19363 (add_magnitudes): Likewise.
19364 (sub_magnitudes): Likewise.
19371 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19373 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19374 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19375 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19376 2 && __USE_EXTERN_INLINES]: Likewise.
19378 2013-01-08 Andreas Jaeger <aj@suse.de>
19381 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19383 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19384 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19386 2013-01-07 Anton Blanchard <anton@samba.org>
19388 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19389 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19390 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19391 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19392 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19393 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19394 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19395 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19397 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19398 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19399 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19400 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19401 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19402 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19403 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19404 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19405 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19406 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19407 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19408 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19409 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19410 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19411 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19412 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19413 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19414 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19415 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19416 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19417 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19418 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19419 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19420 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19421 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19422 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19423 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19424 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19425 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19426 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19427 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19428 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19429 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19430 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19432 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19434 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19435 (__MALLOC_PMT): Likewise.
19436 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19437 [__GNUC__], only on [_LIBC].
19438 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19439 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19440 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19441 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19442 forward declaration.
19443 (realloc_hook_ini): Likewise.
19444 (memalign_hook_ini): Likewise.
19445 (__libc_memalign): Do not use __MALLOC_PMT in variable
19447 (__libc_valloc): Likewise.
19448 (__libc_pvalloc): Likewise.
19449 (__libc_calloc): Likewise.
19450 (__posix_memalign): Likewise.
19453 * math/s_casinh.c: Include <float.h>.
19454 (__casinh): Do not do computation with squaring and square root
19455 for large arguments.
19456 * math/s_casinhf.c: Include <float.h>.
19457 (__casinhf): Do not do computation with squaring and square root
19458 for large arguments.
19459 * math/s_casinhl.c: Include <float.h>.
19460 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19461 (__casinhl): Do not do computation with squaring and square root
19462 for large arguments.
19463 * math/libm-test.inc (casin_test): Add more tests.
19464 (casinh_test): Likewise.
19465 * sysdeps/i386/fpu/libm-test-ulps: Update.
19466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19468 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19470 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19471 (__x86_64_raw_data_cache_size): Likewise.
19472 (__x86_64_data_cache_size_half): Likewise.
19473 (__x86_64_raw_data_cache_size_half): Likewise.
19474 (__x86_64_shared_cache_size): Likewise.
19475 (__x86_64_raw_shared_cache_size): Likewise.
19476 (__x86_64_shared_cache_size_half): Likewise.
19477 (__x86_64_raw_shared_cache_size_half): Likewise.
19478 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19480 (__x86_data_cache_size): This.
19481 (__x86_64_raw_data_cache_size): Renamed to ...
19482 (__x86_raw_data_cache_size): This.
19483 (__x86_64_data_cache_size_half): Renamed to ...
19484 (__x86_data_cache_size_half): This.
19485 (__x86_64_raw_data_cache_size_half): Renamed to ...
19486 (__x86_raw_data_cache_size_half): This.
19487 (__x86_64_shared_cache_size): Renamed to ...
19488 (__x86_shared_cache_size): This.
19489 (__x86_64_raw_shared_cache_size): Renamed to ...
19490 (__x86_raw_shared_cache_size): This.
19491 (__x86_64_shared_cache_size_half): Renamed to ...
19492 (__x86_shared_cache_size_half): This.
19493 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19494 (__x86_raw_shared_cache_size_half): This.
19495 * sysdeps/x86_64/memcpy.S: Updated.
19496 * sysdeps/x86_64/memset.S: Likewise.
19497 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19498 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19499 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19501 2013-01-04 David S. Miller <davem@davemloft.net>
19503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19505 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19507 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19508 1 to avoid redefinition warning.
19509 (__USE_GNU): Don't define.
19510 (init_signaling_nan): Protoize.
19512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19514 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19516 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19518 (__cpymn): Likewise.
19519 (norm): Remove commented code.
19520 (denorm): Likewise.
19521 (__mp_dbl): Likewise.
19523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19524 (__cpymn): Likewise.
19525 (norm): Remove commented code.
19526 (denorm): Likewise.
19527 (__mp_dbl): Likewise.
19530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19531 mp_no value for 1.0 and 2.0.
19532 (norm): Use RADIXI instead of radixi.d.
19533 (denorm): Likewise.
19534 (__mul): Use 0.0 instead of zero.d.
19535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19536 mp_no value for 1.0 and 2.0.
19537 (norm): Use RADIXI instead of radixi.d.
19538 (denorm): Likewise.
19539 (__mul): Use 0.0 instead of zero.d.
19541 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19544 * math/s_casinh.c (__casinh): Reduce finite argument to first
19545 quadrant then set signs of results at the end.
19546 * math/s_casinhf.c (__casinhf): Likewise.
19547 * math/s_casinhl.c (__casinhl): Likewise.
19548 * math/libm-test.inc (casin_test): Add more tests.
19549 (casinh_test): Likewise.
19550 * sysdeps/i386/fpu/libm-test-ulps: Update.
19551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19553 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19555 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19557 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19559 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19561 (denorm): Likewise.
19562 (__mp_dbl): Likewise.
19565 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19566 and adjust the header comment.
19568 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19569 variable name from declaration.
19571 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19574 Initialize COMMON_CPUID_INDEX_7 element.
19575 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19576 (CPUID_RTM): Likewise.
19577 (HAS_RTM): Likewise.
19578 (COMMON_CPUID_INDEX_7): New enum.
19580 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19583 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19584 size is zero, record memory as freed.
19586 2013-01-03 Andreas Jaeger <aj@suse.de>
19588 * po/ia.po: Add new Interlingua translation.
19590 2012-01-03 Allan McRae <allan@archlinux.org>
19592 * locale/programs/localedef.c: Fix description of '--posix' flag.
19594 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19596 * NEWS: Update dates in second copyright notice.
19597 * README: Update copyright dates in example.
19598 * manual/libc.texinfo: Update copyright dates.
19599 * scripts/test-installation.pl: Update copyright date in --version
19602 * hurd/ctty-input.c: Fix copyright notice formatting.
19603 * hurd/ctty-output.c: Likewise.
19604 * hurd/dtable.c: Likewise.
19605 * hurd/hurd-raise.c: Likewise.
19606 * hurd/hurdprio.c: Likewise.
19607 * hurd/msgportdemux.c: Likewise.
19608 * misc/sys/file.h: Likewise.
19609 * misc/sys/ioctl.h: Likewise.
19610 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19611 * sysdeps/mach/hurd/chdir.c: Likewise.
19612 * sysdeps/mach/hurd/fchdir.c: Likewise.
19613 * sysdeps/mach/hurd/rename.c: Likewise.
19614 * sysdeps/mach/hurd/rmdir.c: Likewise.
19615 * sysdeps/mach/hurd/seekdir.c: Likewise.
19616 * sysdeps/mach/hurd/setsid.c: Likewise.
19617 * sysdeps/posix/wait3.c: Likewise.
19619 * All files with FSF copyright notices: Update copyright dates
19620 using scripts/update-copyrights.
19621 * intl/plural.c: Regenerated.
19622 * locale/programs/charmap-kw.h: Likewise.
19623 * locale/programs/locfile-kw.h: Likewise.
19625 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19627 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19630 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19631 calculation loop and add branch prediction.
19633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19634 check access beyond bounds of m1np.
19636 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19638 (__inv): Remove local variable MPTWO to use the global
19640 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19641 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19643 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19644 MP3HALFS static const.
19646 2013-01-01 David S. Miller <davem@davemloft.net>
19648 * po/ca.po: Update from translation team.
19650 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19652 * scripts/update-copyrights: New file.
19653 * Makeconfig: Reformat copyright notice.
19654 * ctype/ctype.h: Likewise.
19655 * debug/swprintf_chk.c: Likewise.
19656 * elf/dl-cache.c: Likewise.
19657 * elf/dl-debug.c: Likewise.
19658 * elf/dl-object.c: Likewise.
19659 * grp/initgroups.c: Likewise.
19660 * hurd/Makefile: Likewise.
19661 * hurd/hurd/signal.h: Likewise.
19662 * hurd/hurdfault.c: Likewise.
19663 * hurd/hurdioctl.c: Likewise.
19664 * hurd/hurdlookup.c: Likewise.
19665 * hurd/intr-msg.c: Likewise.
19666 * iconv/gconv_open.c: Likewise.
19667 * libio/swprintf.c: Likewise.
19668 * locale/lc-ctype.c: Likewise.
19669 * locale/nl_langinfo.c: Likewise.
19670 * mach/Machrules: Likewise.
19671 * mach/Makefile: Likewise.
19672 * malloc/obstack.h: Likewise.
19673 * manual/Makefile: Likewise.
19674 * manual/tsort.awk: Likewise.
19675 * misc/bits/stab.def: Likewise.
19676 * nis/nis_print_group_entry.c: Likewise.
19677 * nis/nis_table.c: Likewise.
19678 * nis/nss_compat/compat-pwd.c: Likewise.
19679 * nis/nss_compat/compat-spwd.c: Likewise.
19680 * po/Makefile: Likewise.
19681 * posix/fnmatch.c: Likewise.
19682 * posix/regex.h: Likewise.
19683 * resolv/Makefile: Likewise.
19684 * resolv/nss_dns/dns-network.c: Likewise.
19685 * resolv/res_hconf.c: Likewise.
19686 * scripts/gen-sorted.awk: Likewise.
19687 * soft-fp/soft-fp.h: Likewise.
19688 * stdio-common/printf.h: Likewise.
19689 * stdlib/monetary.h: Likewise.
19690 * stdlib/random.c: Likewise.
19691 * stdlib/random_r.c: Likewise.
19692 * sysdeps/generic/Makefile: Likewise.
19693 * sysdeps/gnu/Makefile: Likewise.
19694 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19695 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19696 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19697 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19698 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19699 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19700 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19701 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19702 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19703 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19704 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19705 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19706 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19707 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19708 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19709 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19710 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19711 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19712 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19714 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19715 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19716 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19717 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19718 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19719 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19720 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19721 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19722 * sysdeps/mach/hurd/errnos.awk: Likewise.
19723 * sysdeps/mach/hurd/fork.c: Likewise.
19724 * sysdeps/mach/hurd/getcwd.c: Likewise.
19725 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19726 * sysdeps/mach/hurd/mmap.c: Likewise.
19727 * sysdeps/mach/hurd/utimes.c: Likewise.
19728 * sysdeps/mach/hurd/xmknod.c: Likewise.
19729 * sysdeps/posix/profil.c: Likewise.
19730 * sysdeps/posix/readdir_r.c: Likewise.
19731 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19732 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19733 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19734 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19735 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19736 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19737 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19738 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19740 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19741 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19742 * sysdeps/pthread/lio_listio.c: Likewise.
19743 * sysdeps/sparc/dl-procinfo.h: Likewise.
19744 * sysdeps/unix/i386/sysdep.S: Likewise.
19745 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19746 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19747 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19748 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19750 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19751 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19752 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19753 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19754 * sysdeps/wordsize-32/divdi3.c: Likewise.
19755 * time/sys/time.h: Likewise.
19756 * wcsmbs/Makefile: Likewise.
19758 2013-01-01 David S. Miller <davem@davemloft.net>
19760 * po/fr.po: Update from translation team.
19762 * catgets/gencat.c: Update copyright year.
19763 * csu/version.c: Likewise.
19764 * debug/catchsegv.sh: Likewise.
19765 * debug/pcprofiledump.c: Likewise.
19766 * debug/xtrace.sh: Likewise.
19767 * elf/ldconfig.c: Likewise.
19768 * elf/ldd.bash.in: Likewise.
19769 * elf/pldd.c: Likewise.
19770 * elf/sotruss.ksh: Likewise.
19771 * elf/sprof.c: Likewise.
19772 * iconv/iconv_prog.c: Likewise.
19773 * iconv/iconvconfig.c: Likewise.
19774 * locale/programs/locale.c: Likewise.
19775 * locale/programs/localedef.c: Likewise.
19776 * login/programs/pt_chown.c: Likewise.
19777 * malloc/memusage.sh: Likewise.
19778 * malloc/memusagestat.c: Likewise.
19779 * malloc/mtrace.pl: Likewise.
19780 * nscd/nscd.c: Likewise.
19781 * nss/getent.c: Likewise.
19782 * nss/makedb.c: Likewise.
19783 * posix/getconf.c: Likewise.
19785 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19787 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19790 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19792 * math/bits/mathcalls.h (modf): Use __nonnull.
19794 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19796 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19797 (split): Use macro CN instead of the bare value.
19798 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19800 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19801 instead of the bare value.
19802 (power1): Likewise.
19804 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19806 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19808 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19810 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19812 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19813 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19814 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19815 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19817 2012-12-28 Andreas Jaeger <aj@suse.de>
19819 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19820 values are from Linux 3.7.
19822 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19823 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19825 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19827 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19830 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19832 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19833 variables with preprocessor constants.
19834 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19835 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19836 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19838 2012-12-27 Bruno Haible <bruno@clisp.org>
19841 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19844 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19846 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19847 and use variable directly.
19848 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19850 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19852 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19853 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19855 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19856 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19857 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19858 include directive. Remove local variable MPONE.
19859 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19860 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19861 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19863 2012-12-25 David S. Miller <davem@davemloft.net>
19865 * version.h (RELEASE): Set to "development".
19866 (VERSION): Set to "2.17.90".
19867 * NEWS: Add 2.18 section.
19869 2012-12-21 David S. Miller <davem@davemloft.net>
19871 * po/hr.po: Update from translation team.
19873 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19875 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19877 2012-12-19 Steve Ellcey <sellcey@mips.com>
19879 * NEWS: Mention new memcpy for MIPS.
19881 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19883 * manual/contrib.texi (Contributors): Spelling correction.
19885 2012-12-15 David S. Miller <davem@davemloft.net>
19887 * po/ru.po: Update from translation team.
19889 2012-12-13 David S. Miller <davem@davemloft.net>
19891 * NEWS: Mention IFUNC testsuite enhancements.
19893 * po/pl.po: Update from translation team.
19894 * po/bg.po: Likewise.
19896 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19897 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19899 2012-12-11 David S. Miller <davem@davemloft.net>
19901 * po/sv.po: Update from translation team.
19903 * po/vi.po: Update from translation team.
19905 * po/cs.po: Update from translation team.
19907 * po/de.po: Update from translation team.
19908 * po/eo.po: Likewise.
19909 * po/nl.po: Likewise.
19911 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19914 * manual/argp.texi (Argp Helper Functions): Move node to follow
19915 Argp Parsing State.
19918 * manual/conf.texi (Limits on File System Capacity): Mention if
19919 terminating null is included in the max size.
19921 2012-12-10 Andreas Jaeger <aj@suse.de>
19923 * po/cs.po: Update from translation team.
19925 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19927 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19928 void pointer and cast to uintptr_t.
19929 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19931 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19932 * sysdeps/s390/s390-64/memset.S: Likewise.
19934 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
19937 * menual/message.texi (Message Translation): Fix typos.
19938 (Helper programs for gettext): Likewise.
19940 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19943 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19946 2012-12-07 David S. Miller <davem@davemloft.net>
19948 * po/libc.pot: Update.
19950 2012-12-07 Richard Henderson <rth@redhat.com>
19953 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19954 normal/normal case to before the switch.
19955 (_FP_DIV): Likewise.
19957 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19958 Mike Frysinger <vapier@gentoo.org>
19960 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19961 check for __NR_fadvise64_64.
19963 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19965 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19966 0, not just to plain "0" as a statement.
19967 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19970 2012-12-06 Joseph Myers <joseph@codesourcery.com>
19972 * NEWS: Use sourceware.org in Bugzilla URL.
19974 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19977 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19979 * stdio-common/tst-put-error.c (do_test): Add newline to the
19980 padded test to ensure flush.
19982 2012-12-05 Jeff Law <law@redhat.com>
19984 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19986 2012-12-05 Joseph Myers <joseph@codesourcery.com>
19988 * README: Don't refer to ports add-on as distributed separately.
19989 Mention AArch64 in list of systems supported in the ports add-on.
19991 * LICENSES: Add more non-FSF copyright and license notices.
19993 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19996 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19998 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19999 10000 as width of padded output.
20001 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20003 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20005 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20006 variable LX with __attribute__ ((unused)).
20007 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20009 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20010 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20011 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20012 with __attribute__ ((unused)).
20014 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20016 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20018 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20020 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20021 (CFLAGS-nldbl-acos.c): New variable.
20022 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20023 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20024 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20025 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20026 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20027 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20028 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20029 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20030 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20031 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20032 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20033 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20034 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20035 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20036 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20037 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20038 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20039 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20040 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20041 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20042 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20043 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20044 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20045 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20046 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20047 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20048 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20049 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20050 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20051 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20052 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20053 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20054 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20055 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20056 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20057 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20058 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20059 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20060 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20061 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20062 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20063 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20064 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20065 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20066 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20067 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20068 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20069 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20070 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20071 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20072 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20073 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20074 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20075 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20076 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20077 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20078 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20079 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20080 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20081 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20082 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20083 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20084 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20085 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20086 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20087 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20088 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20089 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20090 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20091 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20092 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20093 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20094 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20095 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20096 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20097 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20098 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20099 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20100 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20101 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20102 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20103 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20104 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20105 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20106 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20107 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20108 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20109 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20110 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20111 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20112 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20113 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20114 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20115 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20116 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20117 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20118 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20121 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20124 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20125 whole low double instead of just low 47 bits when splitting values
20128 2012-12-03 Allan McRae <allan@archlinux.org>
20130 * manual/stdio.texi (Predefined Printf Handlers): Remove
20131 @hsep and @vsep usage.
20133 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20135 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20136 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20138 2012-12-03 Jeff Law <law@redhat.com>
20140 * time/sys/time.h (settimeofday): Do not mark TV argument
20143 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20145 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20146 when currently writing and seek to current position when not.
20147 * libio/Makefile (tests): Remove bug-fclose1.
20148 * libio/bug-fclose1.c: Delete.
20150 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20152 * manual/arith.texi (feenableexcept): Fix typo.
20153 (fedisableexcept): Likewise.
20155 2012-11-30 Roland McGrath <roland@hack.frob.com>
20157 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20158 second, differently-typed declaration, rather than a cast.
20160 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20162 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20163 * include/rpc/svc.h: ... here.
20165 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20168 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20169 depending n and resplen2 to catch cases where answer
20172 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20174 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20175 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20177 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20179 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20181 2012-11-29 Roland McGrath <roland@hack.frob.com>
20183 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20185 2012-11-28 Jeff Law <law@redhat.com>
20188 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20189 dataset_temporary. Track alloca usage into alloca_used.
20190 If dataset is large allocate and release it via malloc/free.
20192 2012-06-04 Florian Weimer <fweimer@redhat.com>
20195 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20197 2012-11-28 David S. Miller <davem@davemloft.net>
20199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20201 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20204 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20205 of pi/2 rounded to nearest to 64 bits.
20206 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20207 nearest to 64 bits.
20208 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20211 2012-11-28 Jeff Law <law@redhat.com>
20212 Martin Osvald <mosvald@redhat.com>
20215 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20216 * sunrpc/svc.c: Include time.h.
20217 (__svc_accept_failed): New function.
20218 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20219 any reason other than EINTR, call __svc_accept_failed.
20220 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20221 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20223 2012-11-28 Andreas Schwab <schwab@suse.de>
20225 * scripts/abilist.awk: Also handle indirect functions in .opd
20228 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20231 * sysdeps/x86/fpu/powl_helper.c: New file.
20232 * sysdeps/x86/fpu/Makefile: Likewise.
20233 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20235 (__ieee754_powl): Use __powl_helper for finite arguments except
20236 integer exponents below 8.
20237 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20239 (__ieee754_powl): Use __powl_helper for finite arguments except
20240 integer exponents below 8.
20241 * math/libm-test.inc (pow_test): Add more tests and enable some
20242 previously disabled tests.
20243 * sysdeps/i386/fpu/libm-test-ulps: Update.
20244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20246 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20247 Carlos O'Donell <carlos_odonell@mentor.com>
20249 * nss/makedb.c (is_prime): Assert that input is odd and greater
20250 than 4. Note that fact in a comment too.
20251 (next_prime): Add 4 to input.
20253 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20256 * libio/Makefile (tests): Add test case tst-fwrite-error.
20257 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20258 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20259 * libio/tst-fwrite-error.c: New test case.
20261 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20263 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20264 before casting to void *.
20265 * include/libc-internal.h (__pointer_type): New macro.
20266 (__integer_if_pointer_type_sub): Likewise.
20267 (__integer_if_pointer_type): Likewise.
20268 (cast_to_integer): Likewise.
20269 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20270 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20271 before casting to atomic64_t.
20272 (atomic_exchange_acq): Likewise.
20273 (__arch_exchange_and_add_body): Likewise.
20274 (__arch_add_body): Likewise.
20275 (atomic_add_negative): Likewise.
20276 (atomic_add_zero): Likewise.
20278 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20280 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20281 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20282 (add_fdes): Likewise.
20283 (linear_search_fdes): Likewise.
20284 (binary_search_unencoded_fdes): Likewise.
20286 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20288 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20290 2012-11-24 Adam Conrad <adconrad@0c3.net>
20292 * configure.in: Autodetect C++ header directories.
20293 * configure: Regenerated.
20295 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20297 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20299 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20303 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20305 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20306 LDBL_MANT_DIG == 106]: Disable some tests.
20307 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20309 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20313 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20314 input for small inputs. Return +/- pi/2 for large inputs.
20315 * math/libm-test.inc (atan_test): Add more tests.
20317 * sysdeps/generic/unwind-dw2-fde-glibc.c
20318 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20319 __attribute__ ((unused)).
20322 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20323 x * y if x and y are nonzero and z is zero.
20326 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20327 nonzero exponents with absolute value below 0x1p-117 to +/-
20331 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20332 up arguments below 2**-450, not just those below 2**-500.
20333 * math/libm-test.inc (hypot_test): Add another test.
20336 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20337 Return a+b for ratio over 2**120, not 2**60.
20338 * math/libm-test.inc (hypot_test): Add another test.
20340 * math/libm-test.inc (clog_test): Use
20341 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20342 (clog10_test): Likewise.
20345 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20347 2012-11-22 Andreas Schwab <schwab@suse.de>
20349 * sysdeps/i386/fpu/libm-test-ulps: Update.
20351 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20353 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20354 printf output with newline.
20356 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20359 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20360 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20361 -z nodlopen, -z initfirst and -z execstack support.
20362 * configure: Regenerated.
20364 * elf/elf.h (DF_1_NODIRECT): New macro.
20365 (DF_1_IGNMULDEF): Likewise.
20366 (DF_1_NOKSYMS): Likewise.
20367 (DF_1_NOHDR): Likewise.
20368 (DF_1_EDITED): Likewise.
20369 (DF_1_NORELOC): Likewise.
20370 (DF_1_SYMINTPOSE): Likewise.
20371 (DF_1_GLOBAUDIT): Likewise.
20372 (DF_1_SINGLETON): Likewise.
20373 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20374 DT_1_SUPPORTED_MASK bits.
20375 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20377 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20379 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20381 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20383 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20386 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20387 (sendmmsg): Move declarations...
20388 * socket/sys/socket.h: ... here.
20389 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20390 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20392 * socket/recvmmsg.c: ... this new file.
20393 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20394 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20395 definition of __sendmmsg hidden.
20396 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20397 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20398 Move ENOSYS stub into and include it from...
20399 * socket/sendmmsg.c: ... this new file.
20400 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20401 (sysdep_routines): Move recvmmsg and sendmmsg...
20402 * socket/Makefile (routines): ... here.
20403 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20404 (GLIBC_PRIVATE): Add __sendmmsg.
20405 * include/sys/socket.h (__sendmmsg): Add declarations.
20406 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20409 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20411 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20412 variable I1 with __attribute__ ((unused)).
20413 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20415 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20417 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20418 DUMMY variables with __attribute__ ((unused)).
20420 * bits/byteswap.h: Include <bits/types.h>.
20421 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20423 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20425 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20426 string_t. Do not manually set errno.
20427 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20428 length with __strnlen. Make sure to both set errno and return it on
20431 2012-11-19 David S. Miller <davem@davemloft.net>
20433 With help from Joseph Myers.
20434 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20435 very large arguments properly.
20436 * math/libm-test.inc (atan_test): New tests.
20437 (atan2_test): New tests.
20438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20441 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20444 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20447 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20448 [POSIX] (EADDRNOTAVAIL): Likewise.
20449 [POSIX] (EAFNOSUPPORT): Likewise.
20450 [POSIX] (EALREADY): Likewise.
20451 [POSIX] (ECONNABORTED): Likewise.
20452 [POSIX] (ECONNREFUSED): Likewise.
20453 [POSIX] (ECONNRESET): Likewise.
20454 [POSIX] (EDESTADDRREQ): Likewise.
20455 [POSIX] (EDQUOT): Likewise.
20456 [POSIX] (EHOSTUNREACH): Likewise.
20457 [POSIX] (EIDRM): Likewise.
20458 [POSIX] (EISCONN): Likewise.
20459 [POSIX] (ELOOP): Likewise.
20460 [POSIX] (EMULTIHOP): Likewise.
20461 [POSIX] (ENETDOWN): Likewise.
20462 [POSIX] (ENETUNREACH): Likewise.
20463 [POSIX] (ENOBUFS): Likewise.
20464 [POSIX] (ENODATA): Likewise.
20465 [POSIX] (ENOLINK): Likewise.
20466 [POSIX] (ENOMSG): Likewise.
20467 [POSIX] (ENOPROTOOPT): Likewise.
20468 [POSIX] (ENOSR): Likewise.
20469 [POSIX] (ENOSTR): Likewise.
20470 [POSIX] (ENOTCONN): Likewise.
20471 [POSIX] (ENOTSOCK): Likewise.
20472 [POSIX] (EOPNOTSUPP): Likewise.
20473 [POSIX] (EOVERFLOW): Likewise.
20474 [POSIX] (EPROTO): Likewise.
20475 [POSIX] (EPROTONOSUPPORT): Likewise.
20476 [POSIX] (EPROTOTYPE): Likewise.
20477 [POSIX] (ESTALE): Likewise.
20478 [POSIX] (ETIME): Likewise.
20479 [POSIX] (ETXTBSY): Likewise.
20480 [POSIX] (EWOULDBLOCK): Likewise.
20481 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20482 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20483 [POSIX] (SEEK_CUR): Likewise.
20484 [POSIX] (SEEK_END): Likewise.
20485 [POSIX || UNIX98] (mode_t): Do not require.
20486 [POSIX] (off_t): Likewise.
20487 [POSIX] (pid_t): Likewise.
20488 [POSIX] (sys/stat.h): Do not allow header.
20489 [POSIX] (unistd.h): Likewise.
20490 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20491 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20492 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20493 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20495 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20496 sigevent): Specify elements.
20497 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20499 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20500 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20502 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20503 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20504 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20505 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20506 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20507 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20508 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20509 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20510 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20511 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20512 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20513 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20514 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20515 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20517 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20519 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20521 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20523 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20524 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20525 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20526 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20527 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20528 Specify lower bound on value.
20529 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20530 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20531 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20532 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20533 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20534 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20535 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20536 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20538 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20540 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20541 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20542 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20543 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20544 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20545 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20546 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20547 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20548 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20549 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20550 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20551 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20552 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20553 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20554 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20555 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20557 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20559 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20560 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20561 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20562 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20563 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20564 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20566 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20567 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20568 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20569 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20570 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20571 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20572 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20574 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20575 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20576 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20577 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20578 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20579 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20580 specify as optional.
20581 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20582 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20583 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20584 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20585 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20586 [XPG3] (NL_LANGMAX): Likewise.
20587 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20588 [POSIX || XPG3] (NL_NMAX): Likewise.
20589 [POSIX || XPG3] (NL_SETMAX): Likewise.
20590 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20591 [XPG3] (NZERO): Likewise.
20592 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20593 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20594 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20595 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20596 (REG_ERANGE): Expect.
20597 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20599 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20600 Use (void) in prototype.
20601 [POSIX] (*_t): Allow.
20602 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20603 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20604 (WRDE_BADVAL): Expect.
20606 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20608 [XPG3 || XPG4] (O_RSYNC): Likewise.
20609 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20611 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20612 [XPG3 || XPG4] (sigqueue): Likewise.
20613 [XPG3 || XPG4] (sigtimedwait): Likewise.
20614 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20615 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20616 [XPG3 || XPG4] (vsnprintf): Likewise.
20617 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20619 [XPG3 || XPG4] (blksize_t): Likewise.
20620 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20622 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20623 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20624 [XPG3 || XPG4] (struct itimerspec): Likewise.
20625 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20626 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20627 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20628 [XPG3 || XPG4] (clockid_t): Likewise.
20629 [XPG3 || XPG4] (timer_t): Likewise.
20630 [XPG3 || XPG4] (clock_getres): Likewise.
20631 [XPG3 || XPG4] (clock_gettime): Likewise.
20632 [XPG3 || XPG4] (clock_settime): Likewise.
20633 [XPG3 || XPG4] (nanosleep): Likewise.
20634 [XPG3 || XPG4] (timer_create): Likewise.
20635 [XPG3 || XPG4] (timer_delete): Likewise.
20636 [XPG3 || XPG4] (timer_gettime): Likewise.
20637 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20638 [XPG3 || XPG4] (timer_settime): Likewise.
20639 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20640 [XPG3 || XPG4] (getlogin_r): Likewise.
20641 [XPG3 || XPG4] (pread): Likewise.
20642 [XPG3 || XPG4] (pthread_atfork): Likewise.
20643 [XPG3 || XPG4] (pwrite): Likewise.
20646 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20649 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20651 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20652 finalizing MALLSTREAM.
20654 * sysdeps/mach/hurd/syncfs.c: New file.
20656 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20659 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20660 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20661 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20662 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20663 (_nss_dns_gethostbyname4_r): Likewise.
20664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20665 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20667 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20670 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20672 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20674 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20675 * elf/cache.c (print_entry): Print ",AArch64" for
20678 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20679 * elf/cache.c (print_entry): Print ",hard-float" for
20682 2012-11-18 David S. Miller <davem@davemloft.net>
20684 With help from Joseph Myers.
20685 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20687 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20689 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20690 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20692 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20693 * math/libm-test.inc (y0_test): New tests.
20694 (y1_test): New tests.
20695 * sysdeps/i386/fpu/libm-test-ulps: Update.
20696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20699 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20701 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20703 * configure: Regenerated.
20705 2012-11-17 David S. Miller <davem@davemloft.net>
20708 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20709 nonzero exponents with absolute value below 0x1p-128 to +/-
20712 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20714 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20716 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20718 * posix/getconf-speclist.c: New file.
20719 * posix/posix-envs.def: Likewise.
20720 * posix/confstr.c (START_ENV_GROUP): New macro.
20721 (END_ENV_GROUP): Likewise.
20722 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20723 (KNOWN_PRESENT_ENV_STRING): Likewise.
20724 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20725 (UNKNOWN_ENVIRONMENT): Likewise.
20726 (confstr): Include posix-envs.def instead of handling
20727 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20728 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20729 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20730 (END_ENV_GROUP): Likewise.
20731 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20732 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20733 (UNKNOWN_ENVIRONMENT): Likewise.
20734 (__sysconf): Include posix-envs.def instead of handling associated
20735 cases directly here.
20736 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20737 preprocessing getconf-speclist.c rather than running getconf or
20738 generating empty file.
20740 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20742 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20744 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20747 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20749 2012-11-16 David S. Miller <davem@davemloft.net>
20751 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20752 smaller than LDBL_EPSILON/2.0L, just return xm1.
20754 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20756 * elf/tst-array1.c (init): Set constructor priority to 1000.
20757 (fini): Set destructor priority to 1000.
20758 * elf/tst-array2dep.c: Likewise.
20760 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20763 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20764 (_IO_new_file_xsputn): Also return EOF if none of the input
20765 data was written when overflow failed.
20766 * libio/iopadn.c (_IO_padn): Likewise.
20767 * libio/iowpadn.c (_IO_wpadn): Likewise.
20768 * stdio-common/tst-put-error.c: Add copyright notice.
20769 (do_test): Add case for printing padded string.
20770 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20771 _IO_padn returned error.
20772 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20773 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20776 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20778 * libio/libioP.h: Add comment note that the references to C++
20779 bits are now obsolete.
20781 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20783 * math/libm-test.inc (check_complex): Use asprintf.
20785 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20787 * debug/pcprofiledump.c (print_version): Update copyright year.
20788 * malloc/memusagestat.c (print_version): Likewise.
20790 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20793 * elf/Makefile (tests): Add tst-audit8.
20794 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20795 ($(objpfx)tst-audit8.out): New target.
20796 (tst-audit8-ENV): New variable.
20797 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20798 audit if l_reloc_result is NULL.
20799 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20800 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20801 * elf/tst-audit8.c: New file.
20803 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20805 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20806 * misc/Makefile (CFLAGS-select.c): Define.
20807 * posix/Makefile (CFLAGS-pause.c): Define.
20809 2012-11-13 David S. Miller <davem@davemloft.net>
20811 * crypt/Makefile: Move test targets after toplevel Rules
20812 inclusion. Grab any necessary sysdep routines when linking.
20813 * crypt/md5.c (md5_process_block): Remove define, we will always
20814 name it __md5_process_block.
20815 (md5_finish_ctx): Update md5_process_block call.
20816 (md5_stream): Likewise.
20817 (md5_process_bytes): Likewise.
20818 (md5_process_block): Rename to __md5_process_block and move to ...
20819 * crypt/md5-block.c: ... here.
20820 * crypt/sha256.c (sha256_process_block): Move to ...
20821 * crypt/sha256-block.c: ... here.
20822 * crypt/sha512.c (sha512_process_block): Move to ...
20823 * crypt/sha512-block.c: ... here.
20824 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20826 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20827 * sysdeps/sparc/sparc64/multiarch/Makefile
20828 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20830 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20831 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20833 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20834 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20835 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20836 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20837 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20838 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20839 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20840 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20841 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20843 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20844 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20846 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20848 2012-11-13 Joseph Myers <joseph@codesourcery.com>
20850 * timezone/tzselect.ksh: Update from tzcode git revision
20851 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20852 * timezone/zdump.c: Likewise.
20853 * timezone/zic.c: Likewise.
20854 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20855 in TZVERSION setting, not $(PKGVERSION).
20856 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20857 REPORT_BUGS_TO settings.
20860 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20863 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20865 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20866 detection to immediately after _FP_ROUND().
20867 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20870 2012-11-11 David S. Miller <davem@davemloft.net>
20872 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20874 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20875 __close rather than their public counterparts.
20877 2012-11-10 Joseph Myers <joseph@codesourcery.com>
20879 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20881 [UNIX98] (sem_timedwait): Do not expect.
20882 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20883 [XPG4 || UNIX98] (sockatmark): Do not expect.
20884 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20885 (clock_getcpuclockid): Do not expect.
20886 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20887 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20889 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20890 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20891 [UNIX98] (vwscanf): Likewise.
20892 [UNIX98] (vswscanf): Likewise.
20894 2012-11-09 Joseph Myers <joseph@codesourcery.com>
20896 * timezone/version.h: Remove file.
20897 * timezone/README: Do not refer to version.h.
20898 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20899 $(objpfx)version.h.
20900 ($(objpfx)zdump.o): Likewise.
20901 ($(objpfx)version.h): New target.
20903 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20905 * timezone/README: Don't mention modification to tzselect.ksh.
20906 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20907 work on unmodified tzselect.ksh. Substitute version numbers in
20910 * Makefile (format-me): Remove.
20911 (INSTALL): Adjust indentation. Use commands directly instead of
20912 using $(format-me).
20914 * aclocal.m4 (ACX_PKGVERSION): New macro.
20915 (ACX_BUGURL): Likewise.
20916 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20917 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20918 (REPORT_BUGS_TO): Likewise.
20919 * configure: Regenerated.
20920 * config.h.in (PKGVERSION): New macro.
20921 (REPORT_BUGS_TO): Likewise.
20922 * config.make.in (PKGVERSION): New variable.
20923 (PKGVERSION_TEXI): Likewise.
20924 (REPORT_BUGS_TO): Likewise.
20925 (REPORT_BUGS_TEXI): Likewise.
20926 * Makefile (format-me): Use -I$(common-objpfx)manual.
20927 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20928 ($(common-objpfx)manual/%): New target.
20929 (manual/%): Remove target.
20930 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20931 (print_version): Use PKGVERSION.
20932 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20933 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20934 and REPORT_BUGS_TO.
20935 ($(objpfx)xtrace): Likewise.
20936 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20937 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20938 (print_version): Use PKGVERSION.
20939 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20940 (do_version): Use PKGVERSION.
20941 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20943 (common-ldd-rewrite): Likewise.
20944 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20945 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20946 (print_version): Use PKGVERSION.
20947 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20948 * elf/pldd.c (argp_program_bug_address): Remove variable.
20949 (more_help): New function.
20950 (argp): Use more_help.
20951 (print_version): Use PKGVERSION.
20952 * elf/sln.c (main): Use PKGVERSION.
20953 (usage): Use REPORT_BUGS_TO.
20954 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20955 (top level): Use PKGVERSION.
20956 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20957 (print_version): Use PKGVERSION.
20958 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20959 (print_version): Use PKGVERSION.
20960 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20961 (print_version): Use PKGVERSION.
20962 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20963 (print_version): Use PKGVERSION.
20964 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20965 (print_version): Use PKGVERSION.
20966 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20967 (print_version): Use PKGVERSION.
20968 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20970 ($(objpfx)memusage): Likewise.
20971 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20972 (do_version): Use PKGVERSION.
20973 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20974 (print_version): Use PKGVERSION.
20975 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20976 ($PKGVERSION): New variable.
20977 ($REPORT_BUGS_TO): Likewise.
20978 (usage): Use $REPORT_BUGS_TO.
20979 (top level): Use $PKGVERSION.
20980 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20981 ($(objpfx)pkgvers.texi): New rule.
20982 ($(objpfx)stamp-pkgvers): Likewise.
20983 * manual/install.texi: Include pkgvers.texi.
20984 (--with-pkgversion): Document new configure option.
20985 (--with-bugurl): Likewise.
20986 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20987 than necessarily for this particular distribution. Use
20988 REPORT_BUGS_TO for where to report bugs.
20989 * INSTALL: Regenerated.
20990 * manual/libc.texinfo: Include pkgvers.texi.
20991 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20992 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20993 (print_version): Use PKGVERSION.
20994 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20995 (print_version): Use PKGVERSION.
20996 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20997 (print_version): Use PKGVERSION.
20998 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20999 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21001 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21002 (print_version): Use PKGVERSION.
21003 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21004 (print_version): Use PKGVERSION.
21005 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21008 * timezone/checktab.awk: Update from tzcode 2012i.
21009 * timezone/ialloc.c: Likewise.
21010 * timezone/private.h: Likewise.
21011 * timezone/scheck.c: Likewise.
21012 * timezone/tzfile.h: Likewise.
21013 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21014 (TZVERSION): Hardcode tzcode version number.
21015 * timezone/zdump.c: Update from tzcode 2012i.
21016 * timezone/zic.c: Likewise.
21017 * timezone/version.h: New file.
21018 * timezone/README: Describe version.h. Update upstream location.
21021 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21022 (mktemp): Enable declaration.
21023 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21024 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21025 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21026 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21028 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21030 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21032 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21034 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21036 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21040 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21041 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21042 for copies of such integer values.
21043 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21044 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21046 2012-11-09 Andreas Jaeger <aj@suse.de>
21048 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21049 definitions and declarations that are provided by
21050 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21052 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21054 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21055 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21056 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21059 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21061 * elf/elf.h: Update comment before AArch64 relocations.
21063 2012-11-07 David S. Miller <davem@davemloft.net>
21065 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21066 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21067 (__start_context): Declare.
21068 (__makecontext_ret): Delete.
21069 (__makecontext): Hook up __start_context instead of
21071 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21072 (sysdep_routines): Add __start_context when in stdlib.
21074 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21076 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21077 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21078 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21080 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21081 (READELF): New variable. Use it instead of hardcoded "readelf".
21083 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21085 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21086 * sysdeps/x86/Makefile: Here.
21087 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21088 * sysdeps/x86/tst-xmmymm.sh: This.
21090 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21092 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21094 [UNIX98] (pthread_barrier_t): Do not expect.
21095 [UNIX98] (pthread_barrierattr_t): Likewise.
21096 [UNIX98] (pthread_spinlock_t): Likewise.
21097 [UNIX98] (pthread_barrier_destroy): Likewise.
21098 [UNIX98] (pthread_barrier_init): Likewise.
21099 [UNIX98] (pthread_barrier_wait): Likewise.
21100 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21101 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21102 [UNIX98] (pthread_barrierattr_init): Likewise.
21103 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21104 [UNIX98] (pthread_getcpuclockid): Likewise.
21105 [UNIX98] (pthread_mutex_timedlock): Likewise.
21106 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21107 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21108 [UNIX98] (pthread_sigmask): Likewise.
21109 [UNIX98] (pthread_spin_destroy): Likewise.
21110 [UNIX98] (pthread_spin_init): Likewise.
21111 [UNIX98] (pthread_spin_lock): Likewise.
21112 [UNIX98] (pthread_spin_trylock): Likewise.
21113 [UNIX98] (pthread_spin_unlock): Likewise.
21114 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21116 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21117 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21118 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21119 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21120 [XPG3 || XPG4] (pthread_key_t): Likewise.
21121 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21122 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21123 [XPG3 || XPG4] (pthread_once_t): Likewise.
21124 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21125 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21126 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21127 [XPG3 || XPG4] (pthread_t): Likewise.
21129 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21131 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21133 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21134 Change function return type to int.
21136 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21137 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21138 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21139 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21140 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21141 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21142 [!POSIX] (posix_madvise): Likewise.
21143 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21145 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21146 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21147 (mode_t): Likewise.
21148 (posix_mem_offset): Likewise.
21149 (posix_typed_mem_get_info): Likewise.
21150 (posix_typed_mem_open): Likewise.
21152 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21153 Change condition to [XOPEN2K8].
21155 * conform/conformtest.pl: Preprocess allow-header data with -x c
21156 instead of from stdin.
21157 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21158 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21159 [C99-based standards] (cerfc): Likewise.
21160 [C99-based standards] (cexp2): Likewise.
21161 [C99-based standards] (cexpm1): Likewise.
21162 [C99-based standards] (clog10): Likewise.
21163 [C99-based standards] (clog1p): Likewise.
21164 [C99-based standards] (clog2): Likewise.
21165 [C99-based standards] (clgamma): Likewise.
21166 [C99-based standards] (ctgamma): Likewise.
21167 [C99-based standards] (cerff): Likewise.
21168 [C99-based standards] (cerfcf): Likewise.
21169 [C99-based standards] (cexp2f): Likewise.
21170 [C99-based standards] (cexpm1f): Likewise.
21171 [C99-based standards] (clog10f): Likewise.
21172 [C99-based standards] (clog1pf): Likewise.
21173 [C99-based standards] (clog2f): Likewise.
21174 [C99-based standards] (clgammaf): Likewise.
21175 [C99-based standards] (ctgammaf): Likewise.
21176 [C99-based standards] (cerfl): Likewise.
21177 [C99-based standards] (cerfcl): Likewise.
21178 [C99-based standards] (cexp2l): Likewise.
21179 [C99-based standards] (cexpm1l): Likewise.
21180 [C99-based standards] (clog10l): Likewise.
21181 [C99-based standards] (clog1pl): Likewise.
21182 [C99-based standards] (clog2l): Likewise.
21183 [C99-based standards] (clgammal): Likewise.
21184 [C99-based standards] (ctgammal): Likewise.
21185 * conform/data/inttypes.h-data [C99-based standards]: Include
21186 stdint.h-data. Remove all expectations for stdint.h contents.
21187 [C99-based standards] (PRI*): Do not allow.
21188 [C99-based standards] (SCN*): Likewise.
21189 [C99-based standards] (*_t): Likewise.
21190 [C99-based-standards] (PRId8): Expect macro.
21191 [C99-based-standards] (PRIi8): Likewise.
21192 [C99-based-standards] (PRIo8): Likewise.
21193 [C99-based-standards] (PRIu8): Likewise.
21194 [C99-based-standards] (PRIx8): Likewise.
21195 [C99-based-standards] (PRIX8): Likewise.
21196 [C99-based-standards] (SCNd8): Likewise.
21197 [C99-based-standards] (SCNi8): Likewise.
21198 [C99-based-standards] (SCNo8): Likewise.
21199 [C99-based-standards] (SCNu8): Likewise.
21200 [C99-based-standards] (SCNx8): Likewise.
21201 [C99-based-standards] (PRIdLEAST8): Likewise.
21202 [C99-based-standards] (PRIiLEAST8): Likewise.
21203 [C99-based-standards] (PRIoLEAST8): Likewise.
21204 [C99-based-standards] (PRIuLEAST8): Likewise.
21205 [C99-based-standards] (PRIxLEAST8): Likewise.
21206 [C99-based-standards] (PRIXLEAST8): Likewise.
21207 [C99-based-standards] (SCNdLEAST8): Likewise.
21208 [C99-based-standards] (SCNiLEAST8): Likewise.
21209 [C99-based-standards] (SCNoLEAST8): Likewise.
21210 [C99-based-standards] (SCNuLEAST8): Likewise.
21211 [C99-based-standards] (SCNxLEAST8): Likewise.
21212 [C99-based-standards] (PRIdFAST8): Likewise.
21213 [C99-based-standards] (PRIiFAST8): Likewise.
21214 [C99-based-standards] (PRIoFAST8): Likewise.
21215 [C99-based-standards] (PRIuFAST8): Likewise.
21216 [C99-based-standards] (PRIxFAST8): Likewise.
21217 [C99-based-standards] (PRIXFAST8): Likewise.
21218 [C99-based-standards] (SCNdFAST8): Likewise.
21219 [C99-based-standards] (SCNiFAST8): Likewise.
21220 [C99-based-standards] (SCNoFAST8): Likewise.
21221 [C99-based-standards] (SCNuFAST8): Likewise.
21222 [C99-based-standards] (SCNxFAST8): Likewise.
21223 [C99-based-standards] (PRId16): Likewise.
21224 [C99-based-standards] (PRIi16): Likewise.
21225 [C99-based-standards] (PRIo16): Likewise.
21226 [C99-based-standards] (PRIu16): Likewise.
21227 [C99-based-standards] (PRIx16): Likewise.
21228 [C99-based-standards] (PRIX16): Likewise.
21229 [C99-based-standards] (SCNd16): Likewise.
21230 [C99-based-standards] (SCNi16): Likewise.
21231 [C99-based-standards] (SCNo16): Likewise.
21232 [C99-based-standards] (SCNu16): Likewise.
21233 [C99-based-standards] (SCNx16): Likewise.
21234 [C99-based-standards] (PRIdLEAST16): Likewise.
21235 [C99-based-standards] (PRIiLEAST16): Likewise.
21236 [C99-based-standards] (PRIoLEAST16): Likewise.
21237 [C99-based-standards] (PRIuLEAST16): Likewise.
21238 [C99-based-standards] (PRIxLEAST16): Likewise.
21239 [C99-based-standards] (PRIXLEAST16): Likewise.
21240 [C99-based-standards] (SCNdLEAST16): Likewise.
21241 [C99-based-standards] (SCNiLEAST16): Likewise.
21242 [C99-based-standards] (SCNoLEAST16): Likewise.
21243 [C99-based-standards] (SCNuLEAST16): Likewise.
21244 [C99-based-standards] (SCNxLEAST16): Likewise.
21245 [C99-based-standards] (PRIdFAST16): Likewise.
21246 [C99-based-standards] (PRIiFAST16): Likewise.
21247 [C99-based-standards] (PRIoFAST16): Likewise.
21248 [C99-based-standards] (PRIuFAST16): Likewise.
21249 [C99-based-standards] (PRIxFAST16): Likewise.
21250 [C99-based-standards] (PRIXFAST16): Likewise.
21251 [C99-based-standards] (SCNdFAST16): Likewise.
21252 [C99-based-standards] (SCNiFAST16): Likewise.
21253 [C99-based-standards] (SCNoFAST16): Likewise.
21254 [C99-based-standards] (SCNuFAST16): Likewise.
21255 [C99-based-standards] (SCNxFAST16): Likewise.
21256 [C99-based-standards] (PRId32): Likewise.
21257 [C99-based-standards] (PRIi32): Likewise.
21258 [C99-based-standards] (PRIo32): Likewise.
21259 [C99-based-standards] (PRIu32): Likewise.
21260 [C99-based-standards] (PRIx32): Likewise.
21261 [C99-based-standards] (PRIX32): Likewise.
21262 [C99-based-standards] (SCNd32): Likewise.
21263 [C99-based-standards] (SCNi32): Likewise.
21264 [C99-based-standards] (SCNo32): Likewise.
21265 [C99-based-standards] (SCNu32): Likewise.
21266 [C99-based-standards] (SCNx32): Likewise.
21267 [C99-based-standards] (PRIdLEAST32): Likewise.
21268 [C99-based-standards] (PRIiLEAST32): Likewise.
21269 [C99-based-standards] (PRIoLEAST32): Likewise.
21270 [C99-based-standards] (PRIuLEAST32): Likewise.
21271 [C99-based-standards] (PRIxLEAST32): Likewise.
21272 [C99-based-standards] (PRIXLEAST32): Likewise.
21273 [C99-based-standards] (SCNdLEAST32): Likewise.
21274 [C99-based-standards] (SCNiLEAST32): Likewise.
21275 [C99-based-standards] (SCNoLEAST32): Likewise.
21276 [C99-based-standards] (SCNuLEAST32): Likewise.
21277 [C99-based-standards] (SCNxLEAST32): Likewise.
21278 [C99-based-standards] (PRIdFAST32): Likewise.
21279 [C99-based-standards] (PRIiFAST32): Likewise.
21280 [C99-based-standards] (PRIoFAST32): Likewise.
21281 [C99-based-standards] (PRIuFAST32): Likewise.
21282 [C99-based-standards] (PRIxFAST32): Likewise.
21283 [C99-based-standards] (PRIXFAST32): Likewise.
21284 [C99-based-standards] (SCNdFAST32): Likewise.
21285 [C99-based-standards] (SCNiFAST32): Likewise.
21286 [C99-based-standards] (SCNoFAST32): Likewise.
21287 [C99-based-standards] (SCNuFAST32): Likewise.
21288 [C99-based-standards] (SCNxFAST32): Likewise.
21289 [C99-based-standards] (PRId64): Likewise.
21290 [C99-based-standards] (PRIi64): Likewise.
21291 [C99-based-standards] (PRIo64): Likewise.
21292 [C99-based-standards] (PRIu64): Likewise.
21293 [C99-based-standards] (PRIx64): Likewise.
21294 [C99-based-standards] (PRIX64): Likewise.
21295 [C99-based-standards] (SCNd64): Likewise.
21296 [C99-based-standards] (SCNi64): Likewise.
21297 [C99-based-standards] (SCNo64): Likewise.
21298 [C99-based-standards] (SCNu64): Likewise.
21299 [C99-based-standards] (SCNx64): Likewise.
21300 [C99-based-standards] (PRIdLEAST64): Likewise.
21301 [C99-based-standards] (PRIiLEAST64): Likewise.
21302 [C99-based-standards] (PRIoLEAST64): Likewise.
21303 [C99-based-standards] (PRIuLEAST64): Likewise.
21304 [C99-based-standards] (PRIxLEAST64): Likewise.
21305 [C99-based-standards] (PRIXLEAST64): Likewise.
21306 [C99-based-standards] (SCNdLEAST64): Likewise.
21307 [C99-based-standards] (SCNiLEAST64): Likewise.
21308 [C99-based-standards] (SCNoLEAST64): Likewise.
21309 [C99-based-standards] (SCNuLEAST64): Likewise.
21310 [C99-based-standards] (SCNxLEAST64): Likewise.
21311 [C99-based-standards] (PRIdFAST64): Likewise.
21312 [C99-based-standards] (PRIiFAST64): Likewise.
21313 [C99-based-standards] (PRIoFAST64): Likewise.
21314 [C99-based-standards] (PRIuFAST64): Likewise.
21315 [C99-based-standards] (PRIxFAST64): Likewise.
21316 [C99-based-standards] (PRIXFAST64): Likewise.
21317 [C99-based-standards] (SCNdFAST64): Likewise.
21318 [C99-based-standards] (SCNiFAST64): Likewise.
21319 [C99-based-standards] (SCNoFAST64): Likewise.
21320 [C99-based-standards] (SCNuFAST64): Likewise.
21321 [C99-based-standards] (SCNxFAST64): Likewise.
21322 [C99-based-standards] (PRIdMAX): Likewise.
21323 [C99-based-standards] (PRIiMAX): Likewise.
21324 [C99-based-standards] (PRIoMAX): Likewise.
21325 [C99-based-standards] (PRIuMAX): Likewise.
21326 [C99-based-standards] (PRIxMAX): Likewise.
21327 [C99-based-standards] (PRIXMAX): Likewise.
21328 [C99-based-standards] (SCNdMAX): Likewise.
21329 [C99-based-standards] (SCNiMAX): Likewise.
21330 [C99-based-standards] (SCNoMAX): Likewise.
21331 [C99-based-standards] (SCNuMAX): Likewise.
21332 [C99-based-standards] (SCNxMAX): Likewise.
21333 [C99-based-standards] (PRIdPTR): Likewise.
21334 [C99-based-standards] (PRIiPTR): Likewise.
21335 [C99-based-standards] (PRIoPTR): Likewise.
21336 [C99-based-standards] (PRIuPTR): Likewise.
21337 [C99-based-standards] (PRIxPTR): Likewise.
21338 [C99-based-standards] (PRIXPTR): Likewise.
21339 [C99-based-standards] (SCNdPTR): Likewise.
21340 [C99-based-standards] (SCNiPTR): Likewise.
21341 [C99-based-standards] (SCNoPTR): Likewise.
21342 [C99-based-standards] (SCNuPTR): Likewise.
21343 [C99-based-standards] (SCNxPTR): Likewise.
21344 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21346 * conform/data/stdint.h-data: Update comments to clarify
21348 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21350 [C99-based standards] (INT8_MAX): Likewise.
21351 [C99-based standards] (INT16_MIN): Likewise.
21352 [C99-based standards] (INT16_MAX): Likewise.
21353 [C99-based standards] (INT32_MIN): Likewise.
21354 [C99-based standards] (INT32_MAX): Likewise.
21355 [C99-based standards] (INT64_MIN): Likewise.
21356 [C99-based standards] (INT64_MAX): Likewise.
21357 [C99-based standards] (UINT8_MAX): Likewise.
21358 [C99-based standards] (UINT16_MAX): Likewise.
21359 [C99-based standards] (UINT32_MAX): Likewise.
21360 [C99-based standards] (UINT64_MAX): Likewise.
21361 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21362 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21363 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21364 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21365 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21366 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21367 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21368 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21369 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21370 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21371 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21372 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21373 [C99-based standards] (INT_FAST8_MIN): Likewise.
21374 [C99-based standards] (INT_FAST8_MAX): Likewise.
21375 [C99-based standards] (INT_FAST16_MIN): Likewise.
21376 [C99-based standards] (INT_FAST16_MAX): Likewise.
21377 [C99-based standards] (INT_FAST32_MIN): Likewise.
21378 [C99-based standards] (INT_FAST32_MAX): Likewise.
21379 [C99-based standards] (INT_FAST64_MIN): Likewise.
21380 [C99-based standards] (INT_FAST64_MAX): Likewise.
21381 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21382 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21383 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21384 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21385 [C99-based standards] (INTPTR_MIN): Likewise.
21386 [C99-based standards] (INTPTR_MAX): Likewise.
21387 [C99-based standards] (UINTPTR_MAX): Likewise.
21388 [C99-based standards] (INTMAX_MIN): Likewise.
21389 [C99-based standards] (INTMAX_MAX): Likewise.
21390 [C99-based standards] (UINTMAX_MAX): Likewise.
21391 [C99-based standards] (PTRDIFF_MIN): Likewise.
21392 [C99-based standards] (PTRDIFF_MAX): Likewise.
21393 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21394 [C99-based standards] (SIZE_MAX): Likewise.
21395 [C99-based standards] (WCHAR_MAX): Likewise.
21396 [C99-based standards] (WINT_MAX): Likewise.
21397 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21398 constraint on value.
21399 [C99-based standards] (WCHAR_MIN): Likewise.
21400 [C99-based standards] (WINT_MIN): Likewise.
21401 [C99-based standards] (*_t): Allow.
21402 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21403 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21404 Include math.h-data and complex.h-data. Remove all expectations
21405 of math.h and complex.h contents.
21406 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21408 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21409 (struct tm): Expect tag.
21410 [C99-based-standards] (wcstof): Expect function.
21411 [C99-based-standards] (wcstold): Likewise.
21412 [C99-based-standards] (wcstoll): Likewise.
21413 [C99-based-standards] (wcstoull): Likewise.
21414 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21415 macro-int-constant. Specify type.
21416 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21417 constraint on value.
21418 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21420 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21422 [ISO C standards]: Do not allow headers.
21423 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21424 wcs[abcdefghijklmnopqrstuvwxyz]*.
21425 [ISO C standards] (*_t): Do not allow.
21426 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21428 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21429 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21431 [ISO C standards]: Do not allow headers.
21432 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21433 is[abcdefghijklmnopqrstuvwxyz]*.
21434 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21435 to[abcdefghijklmnopqrstuvwxyz]*.
21436 [ISO C standards] (*_t): Do not allow.
21437 * conform/data/stdalign.h-data: New file.
21438 * conform/data/stdbool.h-data: Likewise.
21439 * conform/data/stdnoreturn.h-data: Likewise.
21441 2012-11-07 Roland McGrath <roland@hack.frob.com>
21444 * manual/filesys.texi (Directory Entries): Typo fix.
21445 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21447 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21449 * elf/elf.h (EM_AARCH64): New macro.
21450 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21451 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21452 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21453 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21454 (R_AARCH64_TLSDESC): Likewise.
21455 (NT_ARM_TLS): Likewise.
21456 (NT_ARM_HW_BREAK): Likewise.
21457 (NT_ARM_HW_WATCH): Likewise.
21459 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21462 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21463 (__ieee754_powl): Saturate nonzero exponents with absolute value
21464 below 0x1p-79 to +/- 0x1p-79.
21465 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21466 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21467 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21468 nonzero exponents with absolute value below 0x1p-32 to +/-
21470 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21471 (__ieee754_powl): Saturate nonzero exponents with absolute value
21472 below 0x1p-79 to +/- 0x1p-79.
21473 * math/libm-test.inc (pow_test): Add more tests.
21475 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21477 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21478 _dl_s390_cap_flags with kernel. Increase string length.
21479 (_dl_s390_platforms): Add z196 and zEC12.
21481 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21483 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21484 Change XOPEN21K to XOPEN2K.
21486 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21488 * string/memmove.c: Use memcpy when possible.
21490 2012-11-06 Andreas Jaeger <aj@suse.de>
21492 * po/eo.po: Update from translation team.
21494 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21498 exponent and small x and y exponents, scale x or y up. Increase
21499 by 2 the exponent used in scaling up.
21500 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21501 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21502 * math/libm-test.inc (fma_test): Add more tests.
21503 (fma_test_towardzero): Likewise.
21504 (fma_test_downward): Likewise.
21505 (fma_test_upward): Likewise.
21507 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21510 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21514 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21515 namespace for names of struct fields.
21516 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21518 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21519 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21521 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21524 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21526 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21528 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21532 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21535 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21538 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21539 definitely overflow as x * y not x * y + z.
21540 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21541 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21542 * math/libm-test.inc (fma_test): Add more tests.
21543 (fma_test_towardzero): Likewise.
21544 (fma_test_downward): Likewise.
21545 (fma_test_upward): Likewise.
21547 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21551 * include/stub-tag.h: Remove file.
21552 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21554 * manual/maint.texi (Porting): Don't reference it.
21555 * Makerules ($(objpfx)stubs): Likewise.
21556 * dirent/closedir.c: Don't include <stub-tag.h>.
21557 * dirent/dirfd.c: Likewise.
21558 * dirent/fdopendir.c: Likewise.
21559 * dirent/getdents.c: Likewise.
21560 * dirent/getdents64.c: Likewise.
21561 * dirent/opendir.c: Likewise.
21562 * dirent/readdir.c: Likewise.
21563 * dirent/readdir64.c: Likewise.
21564 * dirent/readdir64_r.c: Likewise.
21565 * dirent/readdir_r.c: Likewise.
21566 * dirent/rewinddir.c: Likewise.
21567 * dirent/seekdir.c: Likewise.
21568 * dirent/telldir.c: Likewise.
21569 * gmon/profil.c: Likewise.
21570 * grp/setgroups.c: Likewise.
21571 * inet/if_index.c: Likewise.
21572 * io/access.c: Likewise.
21573 * io/chdir.c: Likewise.
21574 * io/chmod.c: Likewise.
21575 * io/chown.c: Likewise.
21576 * io/close.c: Likewise.
21577 * io/dup.c: Likewise.
21578 * io/dup2.c: Likewise.
21579 * io/dup3.c: Likewise.
21580 * io/euidaccess.c: Likewise.
21581 * io/faccessat.c: Likewise.
21582 * io/fchdir.c: Likewise.
21583 * io/fchmod.c: Likewise.
21584 * io/fchmodat.c: Likewise.
21585 * io/fchown.c: Likewise.
21586 * io/fchownat.c: Likewise.
21587 * io/fcntl.c: Likewise.
21588 * io/flock.c: Likewise.
21589 * io/fstatfs.c: Likewise.
21590 * io/fstatfs64.c: Likewise.
21591 * io/fstatvfs.c: Likewise.
21592 * io/fstatvfs64.c: Likewise.
21593 * io/futimens.c: Likewise.
21594 * io/fxstat.c: Likewise.
21595 * io/fxstat64.c: Likewise.
21596 * io/fxstatat.c: Likewise.
21597 * io/fxstatat64.c: Likewise.
21598 * io/getcwd.c: Likewise.
21599 * io/isatty.c: Likewise.
21600 * io/lchmod.c: Likewise.
21601 * io/lchown.c: Likewise.
21602 * io/link.c: Likewise.
21603 * io/linkat.c: Likewise.
21604 * io/lseek.c: Likewise.
21605 * io/lseek64.c: Likewise.
21606 * io/lxstat64.c: Likewise.
21607 * io/mkdir.c: Likewise.
21608 * io/mkdirat.c: Likewise.
21609 * io/mkfifo.c: Likewise.
21610 * io/mkfifoat.c: Likewise.
21611 * io/open.c: Likewise.
21612 * io/open64.c: Likewise.
21613 * io/openat.c: Likewise.
21614 * io/openat64.c: Likewise.
21615 * io/pipe.c: Likewise.
21616 * io/pipe2.c: Likewise.
21617 * io/poll.c: Likewise.
21618 * io/posix_fadvise.c: Likewise.
21619 * io/posix_fadvise64.c: Likewise.
21620 * io/posix_fallocate.c: Likewise.
21621 * io/posix_fallocate64.c: Likewise.
21622 * io/read.c: Likewise.
21623 * io/readlink.c: Likewise.
21624 * io/readlinkat.c: Likewise.
21625 * io/rmdir.c: Likewise.
21626 * io/sendfile.c: Likewise.
21627 * io/sendfile64.c: Likewise.
21628 * io/statfs.c: Likewise.
21629 * io/statfs64.c: Likewise.
21630 * io/statvfs.c: Likewise.
21631 * io/statvfs64.c: Likewise.
21632 * io/symlink.c: Likewise.
21633 * io/symlinkat.c: Likewise.
21634 * io/ttyname.c: Likewise.
21635 * io/ttyname_r.c: Likewise.
21636 * io/umask.c: Likewise.
21637 * io/unlink.c: Likewise.
21638 * io/unlinkat.c: Likewise.
21639 * io/utime.c: Likewise.
21640 * io/utimensat.c: Likewise.
21641 * io/write.c: Likewise.
21642 * io/xmknod.c: Likewise.
21643 * io/xmknodat.c: Likewise.
21644 * io/xstat.c: Likewise.
21645 * io/xstat64.c: Likewise.
21646 * login/getpt.c: Likewise.
21647 * login/grantpt.c: Likewise.
21648 * login/unlockpt.c: Likewise.
21649 * math/e_acoshl.c: Likewise.
21650 * math/e_acosl.c: Likewise.
21651 * math/e_asinl.c: Likewise.
21652 * math/e_atan2l.c: Likewise.
21653 * math/e_atanhl.c: Likewise.
21654 * math/e_coshl.c: Likewise.
21655 * math/e_expl.c: Likewise.
21656 * math/e_fmodl.c: Likewise.
21657 * math/e_gammal_r.c: Likewise.
21658 * math/e_hypotl.c: Likewise.
21659 * math/e_j0l.c: Likewise.
21660 * math/e_j1l.c: Likewise.
21661 * math/e_jnl.c: Likewise.
21662 * math/e_lgammal_r.c: Likewise.
21663 * math/e_log10l.c: Likewise.
21664 * math/e_log2l.c: Likewise.
21665 * math/e_logl.c: Likewise.
21666 * math/e_powl.c: Likewise.
21667 * math/e_rem_pio2l.c: Likewise.
21668 * math/e_sinhl.c: Likewise.
21669 * math/e_sqrtl.c: Likewise.
21670 * math/fclrexcpt.c: Likewise.
21671 * math/fedisblxcpt.c: Likewise.
21672 * math/feenablxcpt.c: Likewise.
21673 * math/fegetenv.c: Likewise.
21674 * math/fegetexcept.c: Likewise.
21675 * math/fegetround.c: Likewise.
21676 * math/feholdexcpt.c: Likewise.
21677 * math/fesetenv.c: Likewise.
21678 * math/fesetround.c: Likewise.
21679 * math/feupdateenv.c: Likewise.
21680 * math/fgetexcptflg.c: Likewise.
21681 * math/fraiseexcpt.c: Likewise.
21682 * math/fsetexcptflg.c: Likewise.
21683 * math/ftestexcept.c: Likewise.
21684 * math/k_cosl.c: Likewise.
21685 * math/k_rem_pio2l.c: Likewise.
21686 * math/k_sinl.c: Likewise.
21687 * math/k_tanl.c: Likewise.
21688 * math/s_asinhl.c: Likewise.
21689 * math/s_atanl.c: Likewise.
21690 * math/s_cbrtl.c: Likewise.
21691 * math/s_erfl.c: Likewise.
21692 * math/s_expm1l.c: Likewise.
21693 * math/s_log1pl.c: Likewise.
21694 * math/s_tanhl.c: Likewise.
21695 * misc/acct.c: Likewise.
21696 * misc/brk.c: Likewise.
21697 * misc/chflags.c: Likewise.
21698 * misc/chroot.c: Likewise.
21699 * misc/fchflags.c: Likewise.
21700 * misc/fgetxattr.c: Likewise.
21701 * misc/flistxattr.c: Likewise.
21702 * misc/fremovexattr.c: Likewise.
21703 * misc/fsetxattr.c: Likewise.
21704 * misc/fsync.c: Likewise.
21705 * misc/ftruncate.c: Likewise.
21706 * misc/futimes.c: Likewise.
21707 * misc/futimesat.c: Likewise.
21708 * misc/getdomain.c: Likewise.
21709 * misc/getdtsz.c: Likewise.
21710 * misc/gethostid.c: Likewise.
21711 * misc/gethostname.c: Likewise.
21712 * misc/getloadavg.c: Likewise.
21713 * misc/getpagesize.c: Likewise.
21714 * misc/getsysstats.c: Likewise.
21715 * misc/getxattr.c: Likewise.
21716 * misc/gtty.c: Likewise.
21717 * misc/ioctl.c: Likewise.
21718 * misc/lgetxattr.c: Likewise.
21719 * misc/listxattr.c: Likewise.
21720 * misc/llistxattr.c: Likewise.
21721 * misc/lremovexattr.c: Likewise.
21722 * misc/lsetxattr.c: Likewise.
21723 * misc/lutimes.c: Likewise.
21724 * misc/madvise.c: Likewise.
21725 * misc/mincore.c: Likewise.
21726 * misc/mlock.c: Likewise.
21727 * misc/mlockall.c: Likewise.
21728 * misc/mmap.c: Likewise.
21729 * misc/mprotect.c: Likewise.
21730 * misc/msync.c: Likewise.
21731 * misc/munlock.c: Likewise.
21732 * misc/munlockall.c: Likewise.
21733 * misc/munmap.c: Likewise.
21734 * misc/preadv.c: Likewise.
21735 * misc/preadv64.c: Likewise.
21736 * misc/ptrace.c: Likewise.
21737 * misc/pwritev.c: Likewise.
21738 * misc/pwritev64.c: Likewise.
21739 * misc/readv.c: Likewise.
21740 * misc/reboot.c: Likewise.
21741 * misc/remap_file_pages.c: Likewise.
21742 * misc/removexattr.c: Likewise.
21743 * misc/revoke.c: Likewise.
21744 * misc/select.c: Likewise.
21745 * misc/setdomain.c: Likewise.
21746 * misc/setegid.c: Likewise.
21747 * misc/seteuid.c: Likewise.
21748 * misc/sethostid.c: Likewise.
21749 * misc/sethostname.c: Likewise.
21750 * misc/setregid.c: Likewise.
21751 * misc/setreuid.c: Likewise.
21752 * misc/setxattr.c: Likewise.
21753 * misc/sstk.c: Likewise.
21754 * misc/stty.c: Likewise.
21755 * misc/swapoff.c: Likewise.
21756 * misc/swapon.c: Likewise.
21757 * misc/sync.c: Likewise.
21758 * misc/syncfs.c: Likewise.
21759 * misc/syscall.c: Likewise.
21760 * misc/truncate.c: Likewise.
21761 * misc/ualarm.c: Likewise.
21762 * misc/usleep.c: Likewise.
21763 * misc/ustat.c: Likewise.
21764 * misc/utimes.c: Likewise.
21765 * misc/vhangup.c: Likewise.
21766 * misc/writev.c: Likewise.
21767 * posix/_exit.c: Likewise.
21768 * posix/alarm.c: Likewise.
21769 * posix/execve.c: Likewise.
21770 * posix/fexecve.c: Likewise.
21771 * posix/fork.c: Likewise.
21772 * posix/fpathconf.c: Likewise.
21773 * posix/getaddrinfo.c: Likewise.
21774 * posix/getegid.c: Likewise.
21775 * posix/geteuid.c: Likewise.
21776 * posix/getgid.c: Likewise.
21777 * posix/getgroups.c: Likewise.
21778 * posix/getlogin.c: Likewise.
21779 * posix/getlogin_r.c: Likewise.
21780 * posix/getpgid.c: Likewise.
21781 * posix/getpid.c: Likewise.
21782 * posix/getppid.c: Likewise.
21783 * posix/getresgid.c: Likewise.
21784 * posix/getresuid.c: Likewise.
21785 * posix/getsid.c: Likewise.
21786 * posix/getuid.c: Likewise.
21787 * posix/glob64.c: Likewise.
21788 * posix/nanosleep.c: Likewise.
21789 * posix/pathconf.c: Likewise.
21790 * posix/pause.c: Likewise.
21791 * posix/posix_madvise.c: Likewise.
21792 * posix/pread.c: Likewise.
21793 * posix/pread64.c: Likewise.
21794 * posix/pwrite.c: Likewise.
21795 * posix/pwrite64.c: Likewise.
21796 * posix/sched_getaffinity.c: Likewise.
21797 * posix/sched_getp.c: Likewise.
21798 * posix/sched_gets.c: Likewise.
21799 * posix/sched_primax.c: Likewise.
21800 * posix/sched_primin.c: Likewise.
21801 * posix/sched_rr_gi.c: Likewise.
21802 * posix/sched_setaffinity.c: Likewise.
21803 * posix/sched_setp.c: Likewise.
21804 * posix/sched_sets.c: Likewise.
21805 * posix/sched_yield.c: Likewise.
21806 * posix/setgid.c: Likewise.
21807 * posix/setlogin.c: Likewise.
21808 * posix/setpgid.c: Likewise.
21809 * posix/setresgid.c: Likewise.
21810 * posix/setresuid.c: Likewise.
21811 * posix/setsid.c: Likewise.
21812 * posix/setuid.c: Likewise.
21813 * posix/sleep.c: Likewise.
21814 * posix/spawni.c: Likewise.
21815 * posix/sysconf.c: Likewise.
21816 * posix/times.c: Likewise.
21817 * posix/wait.c: Likewise.
21818 * posix/wait3.c: Likewise.
21819 * posix/wait4.c: Likewise.
21820 * posix/waitpid.c: Likewise.
21821 * resolv/gai_sigqueue.c: Likewise.
21822 * resource/getpriority.c: Likewise.
21823 * resource/getrlimit.c: Likewise.
21824 * resource/getrusage.c: Likewise.
21825 * resource/nice.c: Likewise.
21826 * resource/setpriority.c: Likewise.
21827 * resource/setrlimit.c: Likewise.
21828 * resource/ulimit.c: Likewise.
21829 * rt/aio_cancel.c: Likewise.
21830 * rt/aio_fsync.c: Likewise.
21831 * rt/aio_read.c: Likewise.
21832 * rt/aio_sigqueue.c: Likewise.
21833 * rt/aio_suspend.c: Likewise.
21834 * rt/aio_write.c: Likewise.
21835 * rt/clock_getres.c: Likewise.
21836 * rt/clock_gettime.c: Likewise.
21837 * rt/clock_nanosleep.c: Likewise.
21838 * rt/clock_settime.c: Likewise.
21839 * rt/lio_listio.c: Likewise.
21840 * rt/mq_close.c: Likewise.
21841 * rt/mq_getattr.c: Likewise.
21842 * rt/mq_notify.c: Likewise.
21843 * rt/mq_open.c: Likewise.
21844 * rt/mq_receive.c: Likewise.
21845 * rt/mq_send.c: Likewise.
21846 * rt/mq_setattr.c: Likewise.
21847 * rt/mq_timedreceive.c: Likewise.
21848 * rt/mq_timedsend.c: Likewise.
21849 * rt/mq_unlink.c: Likewise.
21850 * rt/shm_open.c: Likewise.
21851 * rt/shm_unlink.c: Likewise.
21852 * rt/timer_create.c: Likewise.
21853 * rt/timer_delete.c: Likewise.
21854 * rt/timer_getoverr.c: Likewise.
21855 * rt/timer_gettime.c: Likewise.
21856 * rt/timer_settime.c: Likewise.
21857 * setjmp/__longjmp.c: Likewise.
21858 * setjmp/setjmp.c: Likewise.
21859 * signal/kill.c: Likewise.
21860 * signal/killpg.c: Likewise.
21861 * signal/raise.c: Likewise.
21862 * signal/sigaction.c: Likewise.
21863 * signal/sigaltstack.c: Likewise.
21864 * signal/sigblock.c: Likewise.
21865 * signal/sigignore.c: Likewise.
21866 * signal/sigintr.c: Likewise.
21867 * signal/signal.c: Likewise.
21868 * signal/sigpause.c: Likewise.
21869 * signal/sigpending.c: Likewise.
21870 * signal/sigqueue.c: Likewise.
21871 * signal/sigreturn.c: Likewise.
21872 * signal/sigset.c: Likewise.
21873 * signal/sigsetmask.c: Likewise.
21874 * signal/sigstack.c: Likewise.
21875 * signal/sigsuspend.c: Likewise.
21876 * signal/sigtimedwait.c: Likewise.
21877 * signal/sigvec.c: Likewise.
21878 * signal/sigwait.c: Likewise.
21879 * signal/sigwaitinfo.c: Likewise.
21880 * signal/sysv_signal.c: Likewise.
21881 * socket/accept.c: Likewise.
21882 * socket/accept4.c: Likewise.
21883 * socket/bind.c: Likewise.
21884 * socket/connect.c: Likewise.
21885 * socket/getpeername.c: Likewise.
21886 * socket/getsockname.c: Likewise.
21887 * socket/getsockopt.c: Likewise.
21888 * socket/isfdtype.c: Likewise.
21889 * socket/listen.c: Likewise.
21890 * socket/recv.c: Likewise.
21891 * socket/recvfrom.c: Likewise.
21892 * socket/recvmsg.c: Likewise.
21893 * socket/send.c: Likewise.
21894 * socket/sendmsg.c: Likewise.
21895 * socket/sendto.c: Likewise.
21896 * socket/setsockopt.c: Likewise.
21897 * socket/shutdown.c: Likewise.
21898 * socket/sockatmark.c: Likewise.
21899 * socket/socket.c: Likewise.
21900 * socket/socketpair.c: Likewise.
21901 * stdio-common/ctermid.c: Likewise.
21902 * stdio-common/cuserid.c: Likewise.
21903 * stdio-common/remove.c: Likewise.
21904 * stdio-common/rename.c: Likewise.
21905 * stdio-common/renameat.c: Likewise.
21906 * stdio-common/tempname.c: Likewise.
21907 * stdlib/getcontext.c: Likewise.
21908 * stdlib/makecontext.c: Likewise.
21909 * stdlib/setcontext.c: Likewise.
21910 * stdlib/swapcontext.c: Likewise.
21911 * stdlib/system.c: Likewise.
21912 * streams/fattach.c: Likewise.
21913 * streams/fdetach.c: Likewise.
21914 * streams/getmsg.c: Likewise.
21915 * streams/getpmsg.c: Likewise.
21916 * streams/putmsg.c: Likewise.
21917 * streams/putpmsg.c: Likewise.
21918 * sysdeps/unix/bsd/getpt.c: Likewise.
21919 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21920 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21921 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21924 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21925 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21926 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21927 * sysvipc/msgctl.c: Likewise.
21928 * sysvipc/msgget.c: Likewise.
21929 * sysvipc/msgrcv.c: Likewise.
21930 * sysvipc/msgsnd.c: Likewise.
21931 * sysvipc/semctl.c: Likewise.
21932 * sysvipc/semget.c: Likewise.
21933 * sysvipc/semop.c: Likewise.
21934 * sysvipc/semtimedop.c: Likewise.
21935 * sysvipc/shmat.c: Likewise.
21936 * sysvipc/shmctl.c: Likewise.
21937 * sysvipc/shmdt.c: Likewise.
21938 * sysvipc/shmget.c: Likewise.
21939 * termios/tcdrain.c: Likewise.
21940 * termios/tcflow.c: Likewise.
21941 * termios/tcflush.c: Likewise.
21942 * termios/tcgetattr.c: Likewise.
21943 * termios/tcgetpgrp.c: Likewise.
21944 * termios/tcsendbrk.c: Likewise.
21945 * termios/tcsetattr.c: Likewise.
21946 * termios/tcsetpgrp.c: Likewise.
21947 * time/adjtime.c: Likewise.
21948 * time/clock.c: Likewise.
21949 * time/getitimer.c: Likewise.
21950 * time/gettimeofday.c: Likewise.
21951 * time/setitimer.c: Likewise.
21952 * time/settimeofday.c: Likewise.
21953 * time/stime.c: Likewise.
21954 * time/time.c: Likewise.
21956 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
21958 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21961 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21963 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21965 2012-11-03 Joseph Myers <joseph@codesourcery.com>
21968 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21969 FE_TONEAREST before applying Dekker multiplication and Knuth
21970 addition. Clear inexact exceptions and check for exact zero
21971 results afterwards.
21972 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21973 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21974 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21975 * math/libm-test.inc (fma_test): Add more tests.
21976 (fma_test_towardzero): Likewise.
21977 (fma_test_downward): Likewise.
21978 (fma_test_upward): Likewise.
21979 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21981 (libc_fesetround): New macro.
21982 (libc_fesetroundf): Likewise.
21983 (libc_fesetroundl): Likewise.
21984 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21986 (libc_fesetround_387): Likewise.
21987 (libc_fesetroundf): New macro.
21988 (libc_fesetround): Likewise.
21989 (libc_fesetroundl): Likewise.
21990 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21992 (libc_fesetroundf): New macro.
21993 (libc_fesetround): Likewise.
21994 (libc_fesetroundl): Likewise.
21995 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21996 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21997 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21999 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22000 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22002 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22003 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22005 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22009 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22010 integer constant usable in #if and use that to give value to enum
22012 (FE_DIVBYZERO): Likewise.
22013 (FE_UNDERFLOW): Likewise.
22014 (FE_OVERFLOW): Likewise.
22015 (FE_INVALID): Likewise.
22016 (FE_INVALID_SNAN): Likewise.
22017 (FE_INVALID_ISI): Likewise.
22018 (FE_INVALID_IDI): Likewise.
22019 (FE_INVALID_ZDZ): Likewise.
22020 (FE_INVALID_IMZ): Likewise.
22021 (FE_INVALID_COMPARE): Likewise.
22022 (FE_INVALID_SOFTWARE): Likewise.
22023 (FE_INVALID_SQRT): Likewise.
22024 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22025 (FE_TONEAREST): Likewise.
22026 (FE_TOWARDZERO): Likewise.
22027 (FE_UPWARD): Likewise.
22028 (FE_DOWNWARD): Likewise.
22029 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22030 (FE_DIVBYZERO): Likewise.
22031 (FE_OVERFLOW): Likewise.
22032 (FE_UNDERFLOW): Likewise.
22033 (FE_INEXACT): Likewise.
22034 (FE_TONEAREST): Likewise.
22035 (FE_DOWNWARD): Likewise.
22036 (FE_UPWARD): Likewise.
22037 (FE_TOWARDZERO): Likewise.
22038 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22039 (FE_UNDERFLOW): Likewise.
22040 (FE_OVERFLOW): Likewise.
22041 (FE_DIVBYZERO): Likewise.
22042 (FE_INVALID): Likewise.
22043 (FE_TONEAREST): Likewise.
22044 (FE_TOWARDZERO): Likewise.
22045 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22046 (FE_OVERFLOW): Likewise.
22047 (FE_UNDERFLOW): Likewise.
22048 (FE_DIVBYZERO): Likewise.
22049 (FE_INEXACT): Likewise.
22050 (FE_TONEAREST): Likewise.
22051 (FE_TOWARDZERO): Likewise.
22052 (FE_UPWARD): Likewise.
22053 (FE_DOWNWARD): Likewise.
22054 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22055 (FE_DIVBYZERO): Likewise.
22056 (FE_OVERFLOW): Likewise.
22057 (FE_UNDERFLOW): Likewise.
22058 (FE_INEXACT): Likewise.
22059 (FE_TONEAREST): Likewise.
22060 (FE_DOWNWARD): Likewise.
22061 (FE_UPWARD): Likewise.
22062 (FE_TOWARDZERO): Likewise.
22064 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22066 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22068 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22070 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22071 commands. Quote $PWD.
22072 (blacklist_exports): Don't use remove_newlines. Replace "declare
22074 (remove_newlines): Remove.
22076 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22078 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22079 * stdlib/stdlib.h (atof): Moved to ...
22080 * include/bits/stdlib-float.h: Here. New file.
22081 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22082 * stdlib/bits/stdlib-float.h: New file.
22083 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22085 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22088 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22090 * conform/conformtest.pl (@headers): Add fenv.h.
22091 * conform/data/fenv.h-data: New file.
22092 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22093 include of <math/fenv.h>.
22095 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22096 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22097 && !UNIX98]. Enables tests for XOPEN2K8.
22098 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22099 POSIX2008]: Likewise.
22101 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22102 (struct rusage): Do not expect type or its members.
22105 * math/math.h (FP_NAN): Define macro to integer constant usable in
22106 #if and use that to give value to enum constant.
22107 (FP_INFINITE): Likewise.
22108 (FP_ZERO): Likewise.
22109 (FP_SUBNORMAL): Likewise.
22110 (FP_NORMAL): Likewise.
22112 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22114 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22115 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22118 2012-11-02 Roland McGrath <roland@hack.frob.com>
22120 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22121 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22122 autoconf-time if not.
22123 * configure.in: Remove AC_PREREQ.
22125 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22127 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22128 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22129 of the internal implementation.
22131 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22133 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22134 except include of <misc/sys/syslog.h>.
22136 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22139 function returns with a NULL context exit with zero.
22141 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22143 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22145 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22147 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22148 (run_program_cmd): This.
22149 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22150 (tst_langinfo): New variable. Use it.
22152 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22154 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22155 floating point opcodes.
22157 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22159 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22162 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22164 * sysdeps/mach/hurd/powerpc: Remove directory.
22165 * sysdeps/mach/powerpc: Likewise.
22167 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22169 * scripts/check-local-headers.sh: Ignore c++ headers.
22171 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22173 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22174 __libc_cleanup_region_start argument.
22176 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22181 x * y using scaling, not as x * y + z.
22182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22183 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22184 * math/libm-test.inc (fma_test): Add more tests.
22185 (fma_test_towardzero): Likewise.
22186 (fma_test_downward): Likewise.
22187 (fma_test_upward): Likewise.
22189 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22191 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22193 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22195 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22198 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22200 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22202 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22209 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22212 Fix the order of the list for glibc 2.17.
22213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22216 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22220 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22223 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22224 for low part of x being zero before using __atanl (y).
22225 * math/libm-test.inc (atan2_test): Add another test.
22227 * manual/install.texi (Configuring and compiling): Document
22228 general use of test-wrapper and test-wrapper-env.
22229 * INSTALL: Regenerated.
22231 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22232 (__fma): Do not extract and scale down low bits on after-rounding
22233 systems when result rounded to normal precision would have normal
22235 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22236 (__fmal): Do not extract and scale down low bits on after-rounding
22237 systems when result rounded to normal precision would have normal
22239 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22240 (__fmal): Do not extract and scale down low bits on after-rounding
22241 systems when result rounded to normal precision would have normal
22243 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22245 (fma_test): Add more tests.
22246 (fma_test_towardzero): Likewise.
22247 (fma_test_downward): Likewise.
22248 (fma_test_upward): Likewise.
22250 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22252 * sysdeps/i386/tininess.h: Renamed to ...
22253 * sysdeps/x86/tininess.h: This.
22254 * sysdeps/x86_64/tininess.h: Removed.
22256 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22258 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22259 input. Use $(build-program-cmd).
22260 ($(objpfx)tst-array1-static.out): Likewise.
22261 ($(objpfx)tst-array2.out): Likewise.
22262 ($(objpfx)tst-array3.out): Likewise.
22263 ($(objpfx)tst-array4.out): Likewise.
22264 ($(objpfx)tst-array5.out): Likewise.
22265 ($(objpfx)tst-array5-static.out): Likewise.
22267 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22269 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22272 * nss/nsswitch.h (nss_interface_function): Provide new
22273 macro for use with NSS functions.
22274 * grp/initgroups.c: Use new macro.
22275 * nss/getXXbyYY.c: Likewise.
22276 * nss/getXXbyYY_r.c: Likewise.
22277 * nss/getXXent.c: Likewise.
22278 * nss/getXXent_r.c: Likewise.
22279 * sysdeps/posix/getaddrinfo.c: Likewise.
22281 2012-10-30 Andreas Jaeger <aj@suse.de>
22283 * po/ru.po: Update Russion translation from translation project.
22285 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22290 result and shift together with sticky bit instead of replicating
22291 round-to-nearest rounding.
22292 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22293 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22294 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22295 missing underflow exceptions.
22296 (fma_test_towardzero): Add more tests.
22297 (fma_test_downward): Likewise.
22298 (fma_test_upward): Likewise.
22301 * sysdeps/generic/tininess.h: New file.
22302 * sysdeps/i386/tininess.h: Likewise.
22303 * sysdeps/sh/tininess.h: Likewise.
22304 * sysdeps/x86_64/tininess.h: Likewise.
22305 * stdlib/tst-strtod-underflow.c: Likewise.
22306 * stdlib/tst-tininess.c: Likewise.
22307 * stdlib/strtod_l.c: Include <tininess.h>.
22308 (round_and_return): Do not set errno for exact underflow cases.
22309 Force an underflow exception when setting errno for underflow.
22310 Determine underflow based on rounding to normal precision if
22311 TININESS_AFTER_ROUNDING.
22312 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22313 ERANGE for exact underflow cases.
22314 * stdlib/Makefile (tests): Add tst-tininess and
22315 tst-strtod-underflow.
22316 ($(objpfx)tst-tininess): Use $(link-libm).
22317 ($(objpfx)tst-strtod-underflow): Likewise.
22319 2012-10-30 Andreas Jaeger <aj@suse.de>
22322 * elf/Makefile (tests): Remove conditional for have-initfini-array
22323 since this is now always required and the variable does not exist
22325 (tests-static): Likewise.
22326 (modules-names): Likewise.
22328 * po/eo.po: Add Esperanto translation from translation project.
22330 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22331 merged with constructor/destructor.
22332 (init_array): Likewise.
22333 * elf/tst-array2dep.c (fini_array): Likewise.
22334 (init_array): Likewise.
22336 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22338 * manual/message.texi: Delete @cartouche tags.
22340 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22342 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22344 * sysdeps/mach/hurd/fsync.c: Likewise.
22346 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22347 [_POSIX_REALTIME_SIGNALS]: Change condition to
22348 [_POSIX_REALTIME_SIGNALS > 0].
22350 2012-10-27 Andreas Jaeger <aj@suse.de>
22352 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22353 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22354 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22355 [__WORDSIZE != 64]: Likewise.
22357 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22359 * iconvdata/tst-table.sh: Remove ${SHELL}.
22360 * iconvdata/tst-tables.sh: Likewise.
22362 2012-10-25 David S. Miller <davem@davemloft.net>
22364 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22365 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22368 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22370 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22371 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22372 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22375 2012-10-25 Roland McGrath <roland@hack.frob.com>
22377 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22378 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22381 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22382 Jim Blandy <jimb@codesourcery.com>
22384 * scripts/cross-test-ssh.sh: New file.
22385 * manual/install.texi (Configuring and compiling): Document use of
22387 * INSTALL: Regenerated.
22389 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22391 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22394 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22396 * Makeconfig (run-program-prefix): Fix comment.
22398 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22399 Jim Blandy <jimb@codesourcery.com>
22401 * Makeconfig (test-wrapper): New variable,
22402 (test-wrapper-env): Likewise.
22403 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22404 (run-built-tests): Define to yes.
22405 (run-program-prefix): Use $(test-wrapper).
22406 (built-program-cmd): Likewise.
22407 * Rules (make-test-out): Use $(test-wrapper-env) and
22408 $(host-built-program-cmd).
22409 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22410 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22412 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22413 $(test-wrapper-env) to tst-rtld-load-self.sh.
22414 ($(objpfx)order2.out): Use $(test-wrapper).
22415 ($(objpfx)tst-initorder.out): Likewise.
22416 ($(objpfx)tst-initorder2.out): Likewise.
22417 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22418 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22419 (test_wrapper_env): New variable. Use it to run ld.so.
22420 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22421 Use it to run ld.so.
22422 (test_wrapper_env): Likewise.
22423 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22424 $(test-wrapper) to run-iconv-test.sh.
22425 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22426 (ICONV): Use $test_wrapper.
22427 * posix/Makefile ($(objpfx)globtest.out): Pass
22428 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22429 globtest.sh, not $(run-program-prefix).
22430 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22431 (test_wrapper): Likewise.
22432 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22433 set together with run_via_rtld_prefix.
22434 (run_program_prefix): Define in terms of test_wrapper and
22435 run_via_rtld_prefix.
22437 2012-10-24 Roland McGrath <roland@hack.frob.com>
22439 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22440 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22444 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22445 Declare __clock_getres, __clock_gettime, __clock_settime,
22446 __clock_nanosleep, and __clock_getcpuclockid.
22447 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22448 Remove librt_hidden_def (clock_gettime).
22449 * sysdeps/unix/clock_gettime.c: Likewise.
22450 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22451 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22452 * rt/clock_getres.c: Define __clock_getres as an alias.
22453 * sysdeps/posix/clock_getres.c: Likewise.
22454 * rt/clock_settime.c: Define __clock_settime as an alias.
22455 * sysdeps/unix/clock_settime.c: Likewise.
22456 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22457 * sysdeps/unix/clock_nanosleep.c: Likewise.
22458 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22459 * rt/clock-compat.c: New file.
22460 * rt/Makefile (librt-routines): Add clock-compat and move
22461 $(clock-routines) to ...
22462 (routines): ... here, new variable.
22463 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22464 Don't add get_clockfreq here.
22465 * rt/Versions (libc: GLIBC_2.17): New version set.
22466 Add clock_* symbols here.
22467 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22468 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22469 (GLIBC_2.17): Add clock_* symbols.
22470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22472 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22481 * NEWS: Mention the move.
22483 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22484 Use __open, __read, __close rather than their public counterparts.
22485 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22486 (__get_clockfreq_via_cpuinfo): Likewise.
22487 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22488 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22490 * config.h.in (HAVE_IFUNC): New #undef.
22491 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22493 * configure: Regenerated.
22495 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22497 * configure.in: Move READELF check to start of file.
22498 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22499 libc_cv_asm_gnu_indirect_function in the process.
22500 * configure: Regenerated.
22502 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22504 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22505 send the output to /dev/null.
22506 (libc_cv_cc_with_libunwind): Likewise.
22507 (libc_cv_as_noexecstack): Likewise.
22508 * configure: Regenerate.
22510 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22512 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22514 * posix/globtest.sh (TMPDIR): Do not set.
22515 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22516 (testout): Likewise.
22518 2012-10-24 Andreas Jaeger <aj@suse.de>
22520 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22521 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22522 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22523 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22524 posix_fadvise64, posix_fallocate64.
22526 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22527 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22528 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22530 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22532 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22535 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22536 <bits/fcntl-linux.h>.
22537 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22539 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22540 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22541 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22542 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22543 [__WORDSIZE != 64]: Likewise.
22545 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22547 * Makeconfig (run-built-tests): New variable.
22548 * Rules [$(cross-compiling) = yes]: Change condition to
22549 [$(run-built-tests) = no].
22550 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22551 to [$(run-built-tests) = yes].
22552 * elf/Makefile [$(cross-compiling) = no]: Likewise
22553 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22554 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22555 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22556 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22557 * io/Makefile [$(cross-compiling) = no]: Likewise.
22558 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22559 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22560 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22561 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22562 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22563 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22564 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22565 * string/Makefile [$(cross-compiling) = no]: Likewise.
22567 * posix/Makefile ($(objpfx)globtest.out): Pass
22568 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22569 $(rtld-installed-name).
22570 * posix/globtest.sh (elf_objpfx): Remove variable.
22571 (rtld_installed_name): Likewise.
22572 (library_path): Likewise.
22573 (run_program_prefix): New variable. Use for running globtest
22576 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22577 Joseph Myers <joseph@codesourcery.com>
22579 * Makeconfig (host-built-program-cmd): New variable.
22580 * elf/Makefile (tst-stackguard1-ARGS): Use
22581 $(host-built-program-cmd).
22582 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22583 (tst-spawn-ARGS): Likewise.
22584 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22586 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22587 Jim Blandy <jimb@codesourcery.com>
22589 * Makeconfig (run-via-rtld-prefix): New variable.
22590 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22591 (built-program-cmd): Likewise.
22593 2012-10-22 Andreas Jaeger <aj@suse.de>
22595 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22596 __O_RSYNC if it exists, otherwise to O_SYNC.
22598 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22599 Joseph Myers <joseph@codesourcery.com>
22601 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22603 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22605 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22608 2012-10-22 Andreas Jaeger <aj@suse.de>
22610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22614 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22615 bits/fcntl-linux.h.
22617 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22618 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22620 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22622 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22625 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22626 Joseph Myers <joseph@codesourcery.com>
22628 * config.make.in (NM): New variable.
22630 2012-10-21 Andreas Jaeger <aj@suse.de>
22632 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22633 definitions and declarations that are provided by
22634 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22636 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22639 * elf/Makefile (tests-static): Add tst-leaks1-static.
22640 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22641 ($(objpfx)tst-leaks1-static): New rule.
22642 ($(objpfx)tst-leaks1-static-mem): Likewise.
22643 (tst-leaks1-static-ENV): New macro.
22644 * elf/dl-open.c (dl_open_worker): Check the main application
22645 only if SHARED is defined.
22646 * elf/tst-leaks1-static.c: New file.
22648 2012-10-20 Andreas Jaeger <aj@suse.de>
22650 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22651 generic values for Linux.
22652 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22653 and declarations that are provided by <bits/fcntl-linux.h> and
22654 include <bits/fcntl-linux.h>.
22655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22656 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22658 2012-10-20 Roland McGrath <roland@hack.frob.com>
22660 * io/fcntl.h: Move include of <bits/types.h> to the top and
22661 include it unconditionally.
22663 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22665 * wcsmbs/Makefile (tests-ifunc): New variable.
22666 (tests): Add $(tests-ifunc).
22667 * wcsmbs/test-wcschr-ifunc.c: New file.
22668 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22669 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22670 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22671 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22672 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22674 * string/Makefile (tests-ifunc): New variable.
22675 (tests): Add $(tests-ifunc).
22676 * string/test-memccpy.c (TEST_NAME): New macro.
22677 * string/test-memchr.c (TEST_NAME): Likewise.
22678 * string/test-memcmp.c (TEST_NAME): Likewise.
22679 * string/test-memcpy.c (TEST_NAME): Likewise.
22680 * string/test-memmem.c (TEST_NAME): Likewise.
22681 * string/test-memmove.c (TEST_NAME): Likewise.
22682 * string/test-memset.c (TEST_NAME): Likewise.
22683 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22684 * string/test-stpcpy.c (TEST_NAME): Likewise.
22685 * string/test-stpncpy.c (TEST_NAME): Likewise.
22686 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22687 * string/test-strcasestr.c (TEST_NAME): Likewise.
22688 * string/test-strcat.c (TEST_NAME): Likewise.
22689 * string/test-strchr.c (TEST_NAME): Likewise.
22690 * string/test-strcmp.c(TEST_NAME): Likewise.
22691 * string/test-strcpy.c (TEST_NAME): Likewise.
22692 * string/test-strcspn.c (TEST_NAME): Likewise.
22693 * string/test-strlen.c (TEST_NAME): Likewise.
22694 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22695 * string/test-strncmp.c (TEST_NAME): Likewise.
22696 * string/test-strncpy.c (TEST_NAME): Likewise.
22697 * string/test-strnlen.c (TEST_NAME): Likewise.
22698 * string/test-strpbrk.c (TEST_NAME): Likewise.
22699 * string/test-strrchr.c (TEST_NAME): Likewise.
22700 * string/test-strspn.c (TEST_NAME): Likewise.
22701 * string/test-strstr.c (TEST_NAME): Likewise.
22702 * string/test-bcopy-ifunc.c: New file.
22703 * string/test-bzero-ifunc.c: Likewise.
22704 * string/test-memccpy-ifunc.c: Likewise.
22705 * string/test-memchr-ifunc.c: Likewise.
22706 * string/test-memcmp-ifunc.c: Likewise.
22707 * string/test-memcpy-ifunc.c: Likewise.
22708 * string/test-memmem-ifunc.c: Likewise.
22709 * string/test-memmove-ifunc.c: Likewise.
22710 * string/test-mempcpy-ifunc.c: Likewise.
22711 * string/test-memset-ifunc.c: Likewise.
22712 * string/test-rawmemchr-ifunc.c: Likewise.
22713 * string/test-stpcpy-ifunc.c: Likewise.
22714 * string/test-stpncpy-ifunc.c: Likewise.
22715 * string/test-strcasecmp-ifunc.c: Likewise.
22716 * string/test-strcasestr-ifunc.c: Likewise.
22717 * string/test-strcat-ifunc.c: Likewise.
22718 * string/test-strchr-ifunc.c: Likewise.
22719 * string/test-strchrnul-ifunc.c: Likewise.
22720 * string/test-strcmp-ifunc.c: Likewise.
22721 * string/test-strcpy-ifunc.c: Likewise.
22722 * string/test-strcspn-ifunc.c: Likewise.
22723 * string/test-strlen-ifunc.c: Likewise.
22724 * string/test-strncasecmp-ifunc.c: Likewise.
22725 * string/test-strncat-ifunc.c: Likewise.
22726 * string/test-strncmp-ifunc.c: Likewise.
22727 * string/test-strncpy-ifunc.c: Likewise.
22728 * string/test-strnlen-ifunc.c: Likewise.
22729 * string/test-strpbrk-ifunc.c: Likewise.
22730 * string/test-strrchr-ifunc.c: Likewise.
22731 * string/test-strspn-ifunc.c: Likewise.
22732 * string/test-strstr-ifunc.c: Likewise.
22734 * debug/Makefile (tests-ifunc): New variable.
22735 (tests): Add $(tests-ifunc).
22736 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22737 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22738 * debug/test-stpcpy_chk-ifunc.c: New file.
22739 * debug/test-strcpy_chk-ifunc.c: Likewise.
22741 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22744 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22745 header is not read in.
22747 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22749 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22750 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22751 directly. Pass built executable to script as
22752 $(built-program-cmd).
22753 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22754 $testprogram without using LD_LIBRARY_PATH and $ldso.
22756 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22757 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22758 $(rtld-installed-name).
22759 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22760 (rtld_installed_name): Likewise.
22761 (library_path): Likewise.
22762 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22763 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22764 $(run-program-prefix) to tst-tables.sh.
22765 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22766 it to run tst-table-from and tst-table-to.
22767 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22768 Pass it to tst-table.sh.
22769 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22770 $(run-program-prefix) to tst-gettext.sh.
22771 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22773 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22775 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22776 to run tst-gettext.
22777 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22778 to run tst-gettext2.
22779 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22780 to run tst-translit.
22781 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22782 $(run-program-prefix) to tst-mtrace.sh.
22783 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22785 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22786 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22787 $(rtld-installed-name).
22788 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22789 (rtld_installed_name): Likewise.
22790 (run_program_prefix): New variable. Use it to run wordexp-test.
22792 * Makeconfig (ARCH): Remove all definitions.
22793 (machine): Likewise.
22794 [ARCH]: Remove conditional code.
22795 [!objdir]: Give error.
22796 [!objdir] (objpfx): Remove.
22797 [!objdir] (common-objpfx): Likewise.
22798 [!objdir] (common-objdir): Likewise.
22799 * configure.in (config_makefile): Remove. Hardcode Makefile in
22800 AC_CONFIG_FILES call.
22801 * configure: Regenerated.
22804 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22806 (testout): Likewise.
22808 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22809 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22810 $(rtld-installed-name).
22811 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22812 (rtld_installed_name): Likwise.
22813 (runit): Remove function.
22814 (run_getconf): New variable, Use it for running getconf binary.
22816 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22819 * string/test-memmem.c (check_result): New function.
22820 (do_one_test): Use it.
22821 (check1): New function.
22822 (test_main): Use it.
22824 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22826 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22828 2012-10-18 Joseph Myers <joseph@codesourcery.com>
22830 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22831 (_G_LSEEK64): Likewise.
22832 (_G_MMAP64): Likewise.
22833 (_G_FSTAT64): Likewise.
22834 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22835 (_G_LSEEK64): Likewise.
22836 (_G_MMAP64): Likewise.
22837 (_G_FSTAT64): Likewise.
22838 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22839 unconditional. Call __mmap64 directly.
22840 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22841 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22842 __lseek64 directly.
22843 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22844 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22846 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22847 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22848 __lseek64 directly.
22849 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22850 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22851 __lseek64 directly.
22852 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22853 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22854 __lseek64 directly.
22855 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22856 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22857 __fxstat64 directly.
22858 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22859 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22861 (freopen64) [!_G_OPEN64]: Remove conditional code.
22862 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22864 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22865 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22867 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22868 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22870 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22871 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22873 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22874 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22876 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22877 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22879 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22880 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22882 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22884 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22887 * manual/memory.texi (Malloc Tunable Parameters): Add note
22888 about free list pointers overwriting some perturb bytes.
22889 Wording suggested by Roland McGrath.
22891 2012-10-17 Joseph Myers <joseph@codesourcery.com>
22893 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22894 (lgamma_test): Likewise.
22895 (tgamma_test): Likewise.
22897 2012-10-16 Florian Weimer <fweimer@redhat.com>
22900 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22901 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22903 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22905 * NEWS: Mention BZ #14716.
22906 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22907 when removing AVAILABLE1_USES_J macro.
22909 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22911 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22912 (__bswap_64): __uint64_t for unsigned 64-bit int.
22914 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22916 * include/string.h (memmem): Declare libc hidden alias.
22917 * string/memmem.c (memmem): Define libc hidden alias.
22918 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22919 __read, __close instead of open, read, close.
22921 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22923 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22924 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22926 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22927 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22928 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22930 (__rawmemchr_sse2): Likewise.
22931 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22932 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22933 (__strchr_sse2): Likewise.
22934 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22935 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22936 (__strcasecmp_sse2): Likewise.
22937 (__strncasecmp_sse2): Likewise.
22938 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22939 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22940 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22941 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22942 (__strrchr_sse2): Likewise.
22943 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22945 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22946 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22947 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22948 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22949 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22950 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22951 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22952 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22953 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22954 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22955 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22956 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22957 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22958 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22959 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22960 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22961 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22962 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22963 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22964 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22965 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22966 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22967 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22968 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22969 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22970 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22971 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22972 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22973 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22974 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22976 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22978 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22979 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22980 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22981 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22983 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22985 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22986 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22987 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22988 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22990 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22991 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22992 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22993 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22994 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22995 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22996 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22997 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22998 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22999 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23000 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23001 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23002 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23003 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23004 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23005 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23006 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23007 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23008 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23009 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23010 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23011 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23012 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23013 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23014 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23015 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23016 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23017 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23018 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23019 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23020 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23021 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23022 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23023 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23024 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23025 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23026 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23027 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23028 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23029 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23030 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23032 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23033 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23034 * include/ifunc-impl-list.h: New file.
23035 * misc/ifunc-impl-list.c: Likewise.
23036 * misc/Makefile (routines): Add ifunc-impl-list.
23037 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23038 * string/test-string.h: Include <ifunc-impl-list.h>.
23039 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23040 impl_array): New variables.
23041 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23043 (test_init): Call __libc_ifunc_impl_list to initialize
23044 func_list if TEST_IFUNC and TEST_NAME are defined.
23046 * string/Makefile (strop-tests): Add bcopy and bzero.
23047 * string/test-bcopy.c: New file.
23048 * string/test-bzero.c: Likewise.
23049 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23051 * string/test-memset.c: Support bzero test if TEST_BZERO is
23053 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23055 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23057 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23060 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23062 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23063 * configure: Regenerated.
23065 * Makeconfig (+link-static-before-libc): Don't include
23066 $(link-static-libc).
23068 * libio/libio.h (_IO_pos_t): Remove.
23070 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23072 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23075 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23077 * crypt/crypt-entry.c: Include fips-private.h.
23078 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23079 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23080 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23081 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23083 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23085 * crypt/crypt-private.h: Include stdbool.h.
23086 (_ufc_setup_salt_r): Return bool.
23087 * crypt/crypt-entry.c: Include errno.h.
23088 (__crypt_r): Return NULL with EINVAL for bad salt.
23089 * crypt/crypt_util.c (bad_for_salt): New.
23090 (_ufc_setup_salt_r): Check that salt is long enough and within
23091 the specified alphabet.
23092 * crypt/badsalttest.c: New file.
23093 * crypt/Makefile (tests): Add it.
23094 ($(objpfx)badsalttest): New.
23096 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23098 * NEWS: Add entry for BZ #14602.
23100 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23102 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23104 * math/libm-test.inc: Update comment listing what functions and
23106 (isgreater_test): New function.
23107 (isgreaterequal_test): Likewise.
23108 (isless_test): Likewise.
23109 (islessequal_test): Likewise.
23110 (islessgreater_test): Likewise.
23111 (isunordered_test): Likewise.
23112 (main): Call the new functions.
23114 2012-10-09 Roland McGrath <roland@hack.frob.com>
23116 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23117 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23118 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23119 * sysdeps/i386/configure: Regenerated.
23120 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23121 * sysdeps/mach/configure: Regenerated.
23122 * sysdeps/mach/hurd/configure: Regenerated.
23123 * sysdeps/powerpc/configure: Regenerated.
23124 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23125 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23126 * sysdeps/s390/s390-32/configure: Regenerated.
23127 * sysdeps/s390/s390-64/configure: Regenerated.
23128 * sysdeps/sh/configure: Regenerated.
23129 * sysdeps/sparc/configure: Regenerated.
23130 * sysdeps/unix/sysv/linux/configure: Regenerated.
23131 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23132 * sysdeps/x86_64/configure: Regenerated.
23134 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23135 defined. Don't check if MAP is NULL.
23137 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23139 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23140 (_G_stat64): Likewise.
23141 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23142 (_G_stat64): Likewise.
23143 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23144 instead of struct _G_stat64.
23145 * libio/fileops.c (mmap_remap_check): Likewise.
23146 (decide_maybe_mmap): Likewise.
23147 (_IO_new_file_seekoff): Likewise.
23148 (_IO_file_stat): Likewise.
23149 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23151 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23152 instead of struct _G_stat64.
23153 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23155 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23158 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23160 (CHECK_EOL): New macro.
23161 (two_way_short_needle): Check beginning of haystack for EOL. Use
23163 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23164 Replace with CHECK_EOL.
23165 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23166 Replace with CHECK_EOL.
23168 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23170 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23172 * math/libm-test.inc: Update comment listing what functions and
23174 (finite_test): New function.
23175 (isinf_test): Likewise.
23176 (isnan_test): Likewise.
23177 (fpclassify_test): Test subnormal input.
23178 (isfinite_test): Likewise.
23179 (isnormal_test): Likewise.
23180 (main): Call the new functions.
23182 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23185 * Makerules (%.dynsym): Force C locale when running
23186 $(OBJDUMP) --dynamic-syms.
23188 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23190 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23193 2012-10-06 David S. Miller <davem@davemloft.net>
23195 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23196 upper 32-bits of the length value in %o2 since we use branch-on-register
23197 tests which consider the entire 64-bit register.
23199 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23201 * string/test-strstr.c (check2): Add a test for page boundary.
23203 2012-10-05 David S. Miller <davem@davemloft.net>
23205 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23206 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23208 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23210 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23211 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23212 and bzero when HWCAP_SPARC_CRYPTO is present.
23214 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23217 * string/test-strstr.c (check2): New function.
23218 (test_main): Call check2.
23220 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23222 * string/bug-strcasestr1.c (do_test): Moved to ...
23223 * string/test-strcasestr.c (check1): Here. New function.
23224 (do_one_test): Break out result checking code into ...
23225 (check_result): This. New function.
23226 (do_one_test): Call check_result.
23227 (test_main): Call check1.
23228 * string/bug-strchr1.c (do_test): Moved to ...
23229 * string/test-strchr.c (check1): Here. New function.
23230 (do_one_test): Break out result checking code into ...
23231 (check_result): This. New function.
23232 (do_one_test): Call check_result.
23233 (test_main): Call check1.
23234 * string/bug-strstr1.c (main): Moved to ...
23235 * string/test-strstr.c (check1): Here. New function.
23236 (do_one_test): Break out result checking code into ...
23237 (check_result): This. New function.
23238 (do_one_test): Call check_result.
23239 (test_main): Call check1.
23240 * string/bug-strcasestr1.c: Removed.
23241 * string/bug-strchr1.c: Likewise.
23242 * string/bug-strstr1.c: Likewise.
23244 * elf/Makefile (dl-routines): Add hwcaps.
23245 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23246 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23247 (_dl_important_hwcaps): Moved to ...
23248 * elf/dl-hwcaps.c: Here. New file.
23249 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23252 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23253 if IS_IN_rtld isn't defined.
23255 * elf/dl-support.c (_dl_sysinfo_map): New.
23256 Include "get-dynamic-info.h" and "setup-vdso.h".
23257 (_dl_non_dynamic_init): Call setup_vdso.
23258 * elf/dynamic-link.h: Don't include <assert.h>.
23259 (elf_get_dynamic_info): Moved to ...
23260 * elf/get-dynamic-info.h: Here. New file.
23261 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23262 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23263 * elf/setup-vdso.h: Here. New file.
23264 * elf/rtld.c: Include "setup-vdso.h".
23265 (dl_main): Call setup_vdso.
23267 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23269 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23270 creal in comment listing functions tested. List finite, isinf,
23271 isnan, isless, islessequal, isgreater, isgreaterequal,
23272 islessgreater, isunordered, lgamma_r and pow10 as functions and
23273 macros not tested. Mention which functions not tested are aliases
23274 for other functions. Fix typo. Note that signs of NaNs are not
23277 * scripts/config.guess: Update from config.git.
23278 * scripts/config.sub: Likewise.
23280 2012-10-04 Roland McGrath <roland@hack.frob.com>
23282 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23283 * misc/madvise.c (madvise): Renamed to __madvise.
23284 Make madvise a weak alias.
23285 * include/sys/mman.h: Declare __madvise.
23286 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23287 * sysdeps/unix/syscalls.list
23288 (madvise): Make __madvise the strong name, and madvise a weak alias.
23289 * sysdeps/unix/sysv/linux/syscalls.list
23290 (madvise, mmap): Remove redundant entries.
23291 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23292 * malloc/malloc.c (mtrim): Likewise.
23293 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23295 2012-10-03 Roland McGrath <roland@hack.frob.com>
23297 * sysdeps/mach/hurd/dl-cache.c: File removed.
23298 * config.h.in (USE_LDCONFIG): New #undef.
23299 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23300 * configure: Regenerated.
23301 * elf/Makefile (dl-routines): Add dl-cache only under
23302 [$(use-ldconfig) = yes].
23303 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23304 cache on [USE_LDCONFIG].
23305 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23307 * elf/rtld.c (dl_main): Likewise.
23309 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23311 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23312 _SC_LEVEL4_CACHE_LINESIZE.
23314 2012-10-03 Roland McGrath <roland@hack.frob.com>
23316 * sysdeps/unix/bsd/confstr.h: File removed.
23318 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23320 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23323 2012-10-02 Roland McGrath <roland@hack.frob.com>
23325 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23326 Make 'mapoff' field ElfW(Off) rather than off_t.
23328 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23330 * nscd/Makefile: Remove nscd-cflags and all its users.
23331 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23332 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23335 * malloc.c (malloc_printerr): Clarify error message.
23337 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23341 Set bit_FMA_Usable if FMA is supported.
23342 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23344 (bit_FMA4_Usable): Updated.
23345 (index_FMA_Usable): New macro.
23346 (CPUID_FMA): Likewise
23347 (HAS_FMA): Defined with bit_FMA_Usable.
23349 2012-10-01 Roland McGrath <roland@hack.frob.com>
23351 * bits/types.h (__swblk_t): Type removed.
23352 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23353 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23354 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23355 (__SWBLK_T_TYPE): Likewise.
23356 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23357 (__SWBLK_T_TYPE): Likewise.
23358 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23359 (__SWBLK_T_TYPE): Likewise.
23360 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23361 (__SWBLK_T_TYPE): Likewise.
23363 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23364 Honza Horak <hhorak@redhat.com>
23366 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23367 (xdr_mapname): Use YPMAXMAP as maxsize.
23368 (xdr_peername): Use YPMAXPEER as maxsize.
23369 (xdr_keydat): Use YPAXRECORD as maxsize.
23370 (xdr_valdat): Use YPMAXRECORD as maxsize.
23372 2012-10-01 Roland McGrath <roland@hack.frob.com>
23374 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23376 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23377 * csu/init-first.c: ... here.
23378 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23379 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23380 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23381 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23382 * sysdeps/i386/init-first.c: File removed.
23383 * sysdeps/sh/init-first.c: File removed.
23385 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23388 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23389 if x * y might underflow to zero and z is zero.
23390 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23391 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23392 * math/libm-test.inc (min_subnorm_value): New variable.
23393 (fma_test): Add more tests.
23394 (fma_test_towardzero): Likewise.
23395 (fma_test_downward): Likewise
23396 (fma_test_upward): Likewise.
23397 (initialize): Set min_subnorm_value.
23399 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23404 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23405 mode for addition resulting in exact zero.
23406 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23407 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23409 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23410 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23411 * math/libm-test.inc (fma_test): Add more tests.
23412 (fma_test_towardzero): New function.
23413 (fma_test_downward): Likewise.
23414 (fma_test_upward): Likewise.
23415 (main): Call the new functions.
23417 2012-09-28 David S. Miller <davem@davemloft.net>
23419 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23421 2012-09-28 Roland McGrath <roland@hack.frob.com>
23423 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23424 instead of SIGALRM.
23426 * sysdeps/gnu/_G_config.h: Moved to ...
23427 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23428 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23429 * sysdeps/generic/_G_config.h: ... here.
23431 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23433 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23435 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23436 Conditionalize target on [libnss_test1.so-version].
23438 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23440 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23441 (elfobjdir): Move out of conditionals.
23443 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23444 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23445 (__nss_lookup_function): Conditionalize label remove_from_tree on
23446 [!DO_STATIC_NSS || SHARED], matching its only use.
23448 2012-09-28 David S. Miller <davem@davemloft.net>
23450 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23451 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23453 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23455 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23456 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23457 when HWCAP_SPARC_CRYPTO is present.
23459 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23461 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23463 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23466 * stdio-common/vfprintf.c (process_string_arg): Revert
23469 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23471 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23473 * stdio-common/tst-sprintf.c: Include <locale.h>
23474 (main): Test sprintf's handling of incomplete multibyte
23477 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23479 * elf/dl-runtime.c (VERSYMIDX): Removed.
23480 * elf/dl-version.c (VERSYMIDX): Likewise.
23481 * elf/do-rel.h (VERSYMIDX): Likewise.
23482 (VALIDX): Likewise.
23483 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23484 * elf/rtld.c (VALIDX): Likewise.
23485 (ADDRIDX): Likewise.
23486 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23487 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23488 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23489 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23490 (VALIDX): Likewise.
23491 (ADDRIDX): Likewise.
23493 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23495 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23497 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23500 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23502 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23503 addresses are in the same scope as 192.0.2/24.
23504 * posix/gai.conf: Document new scope table defaults.
23506 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23509 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23510 for ftell. Compute offsets from write pointers instead.
23511 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23513 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23516 * libio/Makefile (tests): New test case tst-fseek.
23517 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23518 combination works in wide mode.
23519 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23520 state when the external buffer state changes.
23522 2012-09-27 David S. Miller <davem@davemloft.net>
23525 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23526 pass reloc->r_addend in as the 'high' argument to
23527 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23531 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23533 * rt/tst-aio2.c: Include <pthread.h>.
23534 * rt/tst-aio3.c: Likewise.
23536 2012-09-27 Steve Ellcey <sellcey@mips.com>
23538 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23540 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23542 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23543 contents on [SHARED].
23545 2012-09-26 Marek Polacek <polacek@redhat.com>
23549 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23550 for C++ and GCC <4.3 as well as for non GCC compilers.
23552 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23556 2012-09-25 Roland McGrath <roland@hack.frob.com>
23558 * Makefile.in (all, install): Declare with .PHONY.
23559 Reported by Michael Hope <michael.hope@linaro.org>.
23561 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23563 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23564 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23566 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23568 (sydep_routines): Add the new and the internal functions.
23569 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23570 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23572 (GLIBC_2.17): Add the new function.
23573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23574 (GLIBC_2.17): Likewise.
23575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23576 (GLIBC_2.17): Likewise.
23577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23578 (GLIBC_2.17): Likewise.
23579 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23581 2012-09-25 Alan Modra <amodra@gmail.com>
23583 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23584 Add release barrier before setting once_control to say
23585 initialisation is done. Add hints on lwarx. Use macro in
23587 (clear_once_control): Add release barrier.
23589 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23592 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23594 * math/s_clog10.c (__clog10): Likewise.
23595 * math/s_clog10f.c (__clog10f): Likewise.
23596 * math/s_clog10l.c (__clog10l): Likewise.
23597 * math/s_clogf.c (__clogf): Likewise.
23598 * math/s_clogl.c (__clogl): Likewise.
23599 * math/Makefile (libm-calls): Add x2y2m1.
23600 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23601 (__x2y2m1): Likewise.
23602 (__x2y2m1l): Likewise.
23603 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23604 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23605 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23606 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23607 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23608 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23609 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23610 * sysdeps/i386/fpu/libm-test-ulps: Update.
23611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23614 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23615 int as type of variable DEPTH.
23616 (glob): Use size_t instead of int as type of variables NEWCOUNT
23619 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23621 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23622 Add s_sincosf-sse2.
23623 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23624 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23625 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23626 macros for using routine as __sincosf_ia32.
23627 Use macro for function declaration and weak_alias.
23628 * sysdeps/i386/fpu/libm-test-ulps: Update.
23630 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23633 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23634 subnormal argument.
23635 * math/s_cexpf.c (__cexpf): Likewise.
23636 * math/s_csinf.c (__csinf): Likewise.
23637 * math/s_csinhf.c (__csinhf): Likewise.
23638 * math/s_ctanf.c (__ctanf): Likewise.
23639 * math/s_ctanhf.c (__ctanhf): Likewise.
23640 * math/s_ccosh.c (__ccoshf): Likewise.
23641 * math/s_cexp.c (__cexpl): Likewise.
23642 * math/s_csin.c (__csin): Likewise.
23643 * math/s_csinh.c (__csinh): Likewise.
23644 * math/s_ctan.c (__ctan): Likewise.
23645 * math/s_ctanh.c (ctanh): Likewise.
23646 * math/s_ccoshl.c (__ccoshl): Likewise.
23647 * math/s_cexpl.c (__cexpl): Likewise.
23648 * math/s_csinl.c (__csinl): Likewise.
23649 * math/s_csinhl.c (__csinhl): Likewise.
23650 * math/s_ctanl.c (__ctanl): Likewise.
23651 * math/s_ctanhl.c (__ctanhl): Likewise.
23653 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23655 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23656 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23657 (_IO_off_t): Define to __off_t, not _G_off_t.
23658 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23659 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23660 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23661 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23662 type of __dummy and __dummy2 fields.
23663 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23664 (_G_ssize_t): Likewise.
23665 (_G_off_t): Likewise.
23666 (_G_pid_t): Likewise.
23667 (_G_uid_t): Likewise.
23668 (_G_wchar_t): Likewise.
23669 (_G_wint_t): Likewise.
23670 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23671 (_G_ssize_t): Likewise.
23672 (_G_off_t): Likewise.
23673 (_G_pid_t): Likewise.
23674 (_G_uid_t): Likewise.
23675 (_G_wchar_t): Likewise.
23676 (_G_wint_t): Likewise.
23677 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23678 (_G_ssize_t): Likewise.
23679 (_G_off_t): Likewise.
23680 (_G_pid_t): Likewise.
23681 (_G_uid_t): Likewise.
23682 (_G_wchar_t): Likewise.
23683 (_G_wint_t): Likewise.
23685 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23687 * malloc/arena.c: Include malloc-sysdep.h.
23688 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23689 is sufficient to shrink the heap or an unmap is needed.
23690 * sysdeps/generic/malloc-sysdep.h: New file. Define
23691 new function check_may_shrink_heap.
23692 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23693 new function check_may_shrink_heap.
23695 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23697 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23700 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23702 * catgets/test-gencat.sh: Add "set -e".
23703 * elf/tst-pathopt.sh: Likewise.
23704 * grp/tst_fgetgrent.sh: Likewise.
23705 * iconvdata/run-iconv-test.sh: Likewise.
23706 * intl/tst-gettext.sh: Likewise.
23707 * intl/tst-gettext2.sh: Likewise.
23708 * intl/tst-gettext4.sh: Likewise.
23709 * intl/tst-gettext6.sh: Likewise.
23710 * intl/tst-translit.sh: Likewise.
23711 * io/ftwtest-sh: Likewise.
23712 * libio/test-freopen.sh: Likewise.
23713 * malloc/tst-mtrace.sh: Likewise.
23714 * posix/globtest.sh: Likewise.
23715 * posix/tst-getconf.sh: Likewise.
23716 * posix/wordexp-tst.sh: Likewise.
23717 * stdio-common/tst-printf.sh: Likewise.
23718 * stdio-common/tst-unbputc.sh: Likewise.
23719 * stdlib/tst-fmtmsg.sh: Likewise.
23720 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23721 * catgets/Makefile: Do not specify -e option when running
23722 testsuite shell scripts.
23723 * elf/Makefile: Likewise.
23724 * grp/Makefile: Likewise.
23725 * iconvdata/Makefile: Likewise.
23726 * intl/Makefile: Likewise.
23727 * io/Makefile: Likewise.
23728 * libio/Makefile: Likewise.
23729 * malloc/Makefile: Likewise.
23730 * posix/Makefile: Likewise.
23731 * stdio-common/Makefile: Likewise.
23732 * stdlib/Makefile: Likewise.
23733 * sysdeps/x86_64/Makefile: Likewise.
23735 * io/ftwtest-sh: Add copyright header.
23736 * posix/globtest.sh: Likewise.
23737 * posix/tst-getconf.sh: Likewise.
23738 * posix/wordexp-tst.sh: Likewise.
23739 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23741 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23744 * Makeconfig (+link): Defined as $(+link-static) if
23745 $(build-shared) isn't yes.
23746 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23748 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23750 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23753 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23754 new chunk size with MALLOC_ALIGN_MASK.
23756 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23759 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23761 (__printf_fphex): Determine rounding using get_rounding_mode and
23763 * stdio-common/tst-printf-round.c (struct hex_test): New
23765 (hex_tests): New variable.
23766 (test_hex_in_one_mode): New function.
23767 (do_test): Also run tests for hex float output.
23769 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23771 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23772 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23773 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23774 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23775 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23776 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23777 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23778 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23780 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23782 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23783 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23784 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23785 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23787 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23790 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23792 * elf/tst-rtld-load-self.sh: New test.
23793 * elf/Makefile: Run it.
23795 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23797 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23798 (tst-writev-ENV): Remove.
23799 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23801 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23803 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23805 2012-09-17 Joseph Myers <joseph@codesourcery.com>
23807 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23809 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23811 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23812 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23813 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23816 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23819 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23820 * config.make.in (have-cpp-asm-debuginfo): Removed.
23821 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23822 * configure: Regenerated.
23824 2012-09-14 Joseph Myers <joseph@codesourcery.com>
23827 * stdio-common/printf_fp.c: Include <stdbool.h> and
23829 (___printf_fp): Determine rounding using get_rounding_mode and
23831 * stdio-common/tst-printf-round.c: New file.
23832 * stdio-common/Makefile (tests): Add tst-printf-round.
23833 (link-libm): New variable.
23834 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23836 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23839 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23840 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23842 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23845 2012-09-13 Joseph Myers <joseph@codesourcery.com>
23847 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23848 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23849 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23850 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23852 2012-09-12 Joseph Myers <joseph@codesourcery.com>
23855 * include/rounding-mode.h: New file.
23856 * sysdeps/generic/get-rounding-mode.h: Likewise.
23857 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23858 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23859 (MAX_VALUE): New macro.
23860 (MIN_VALUE): Likewise.
23861 (overflow_value): New function.
23862 (underflow_value): Likewise.
23863 (round_and_return): Use overflow_value and underflow_value to
23864 determine return values in overflow and underflow cases. Use
23865 round_away to determine rounding depending on rounding mode.
23866 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23867 determine return values in overflow and underflow cases.
23868 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23869 (struct test_results): New structure.
23870 (struct test): Use struct test_results to store expected results
23871 for all rounding modes.
23872 (TEST): Include expected results for all rounding modes.
23873 (test_in_one_mode): New function.
23874 (do_test): Use test_in_one_mode to compute and check results.
23875 Check results for all rounding modes.
23876 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23879 2012-12-09 Allan McRae <allan@archlinux.org>
23881 * sysdeps/i386/fpu/libm-test-ulps: Update
23883 2012-09-11 Joseph Myers <joseph@codesourcery.com>
23885 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23886 (_G_int32_t): Likewise.
23887 (_G_uint16_t): Likewise.
23888 (_G_uint32_t): Likewise.
23889 (_G_HAVE_BOOL): Likewise.
23890 (_G_HAVE_ATEXIT): Likewise.
23891 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23892 (_G_HAVE_IO_FILE_OPEN): Likewise.
23893 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23894 (_G_int32_t): Likewise.
23895 (_G_uint16_t): Likewise.
23896 (_G_uint32_t): Likewise.
23897 (_G_HAVE_BOOL): Likewise.
23898 (_G_HAVE_ATEXIT): Likewise.
23899 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23900 (_G_HAVE_IO_FILE_OPEN): Likewise.
23901 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23902 (_G_int32_t): Likewise.
23903 (_G_uint16_t): Likewise.
23904 (_G_uint32_t): Likewise.
23905 (_G_HAVE_BOOL): Likewise.
23906 (_G_HAVE_ATEXIT): Likewise.
23907 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23908 (_G_HAVE_IO_FILE_OPEN): Likewise.
23910 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23912 * csu/libc-tls.c: Update copyright years.
23914 2012-09-10 Joseph Myers <joseph@codesourcery.com>
23916 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23917 [!_G_USING_THUNKS]: Remove conditional code.
23918 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23919 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23921 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23922 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23923 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23924 (_G_VTABLE_LABEL_PREFIX): Likewise.
23925 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23926 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23927 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23928 (_G_VTABLE_LABEL_PREFIX): Likewise.
23929 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23930 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23931 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23932 (_G_VTABLE_LABEL_PREFIX): Likewise.
23933 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23935 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23937 * libio/Makefile: Include ../Makeconfig before tests.
23938 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23939 only if $(build-shared) is yes.
23941 * iconv/gconv_db.c: Update copyright years.
23943 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23945 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23946 unwind info if defined PIC. Fix special cases description.
23947 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23949 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23951 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23953 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23955 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23957 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23960 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23961 (LDLIBS-tst-chk4): This.
23962 (LDFLAGS-tst-chk5): Renamed to ...
23963 (LDLIBS-tst-chk5): This.
23964 (LDFLAGS-tst-chk6): Renamed to ...
23965 (LDLIBS-tst-chk6): This.
23966 (LDFLAGS-tst-lfschk4): Renamed to ...
23967 (LDLIBS-tst-lfschk4): This.
23968 (LDFLAGS-tst-lfschk5): Renamed to ...
23969 (LDLIBS-tst-lfschk5): This.
23970 (LDFLAGS-tst-lfschk6): Renamed to ...
23971 (LDLIBS-tst-lfschk6): This.
23973 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23974 on $(common-objpfx)soversions.mk.
23976 2012-09-07 Joseph Myers <joseph@codesourcery.com>
23979 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23982 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23984 * malloc/arena.c (arena_get_retry): New function that gets
23985 another arena for the caller to try its request on.
23986 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23987 current arena cannot fulfill the request.
23988 (__libc_memalign): Likewise.
23989 (__libc_memalign): Likewise.
23990 (__libc_pvalloc): Likewise.
23991 (__libc_calloc): Likewise.
23993 2012-09-05 John Tobey <john.tobey@gmail.com>
23996 * manual/arith.texi (Operations on Complex): Fix description
23997 of carg branch cut.
23999 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24002 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24006 * manual/memory.texi (Memory): Make order of menu items match
24009 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24011 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24012 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24013 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24015 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24017 * csu/libc-tls.c (static_dtv): Renamed to ...
24018 (_dl_static_dtv): This. Make it global.
24019 (_dl_initial_dtv): Removed.
24020 (__libc_setup_tls): Updated.
24021 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24022 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24025 2012-09-06 Petr Machata <pmachata@redhat.com>
24027 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24028 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24029 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24030 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24032 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24035 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24036 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24039 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24042 * Makeconfig (link-static-before-libc): Replace $(+prector)
24044 (link-static-after-libc): Replace $(+postctor) with
24046 (link-bounded): Replace $(+prector)/$(+postctor) with
24047 $(+prectorT)/$(+postctorT).
24048 (+prectorT): New macro.
24049 (+postctorT): Likewise.
24051 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24053 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24054 (round_str): Handle values above the maximum for IBM long double
24056 * stdlib/tst-strtod-round.c (tests): Regenerated.
24058 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24060 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24062 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24063 zarch_nohighgprs around the zarch optimized routines.
24064 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24065 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24066 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24069 2012-09-05 David S. Miller <davem@davemloft.net>
24071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24073 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24074 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24075 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24076 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24079 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24081 * malloc/arena.c: Fold copyright years.
24082 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24084 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24086 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24088 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24090 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24092 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24094 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24095 change internal state upon failure.
24097 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24099 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24100 * malloc/memusage.c (mmap): Likewise.
24101 (mmap64, mremap): Likewise. Adjust name in comment.
24103 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24105 * libio/fileops.c: Fix typos in comments.
24106 * libio/oldfileops.c: Likewise.
24107 * libio/wfileops.c: Likewise.
24109 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24112 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24113 (tst-malloc-usable-ENV): Set environment for test case.
24114 * malloc/hooks.c (malloc_check_get_size): New function to get
24116 * malloc/malloc.c (musable): Use malloc_check_get_size.
24117 * malloc/tst-malloc-usable.c: New test case.
24119 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24121 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24123 2012-09-05 Allan McRae <allan@archlinux.org>
24126 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24127 determine header location.
24128 * configure: Regenerated.
24130 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24132 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24134 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24135 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24137 (test): Regenerate.
24139 2012-09-04 David S. Miller <davem@davemloft.net>
24141 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24142 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24143 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24145 2012-09-04 Florian Weimer <fweimer@redhat.com>
24147 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24150 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24152 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24155 * libio/iogetdelim.c: Include <limits.h>.
24156 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24157 + len + 1 would overflow.
24159 2012-09-03 Andreas Jaeger <aj@suse.de>
24161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24162 * sysdeps/i386/fpu/libm-test-ulps: Update.
24164 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24166 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24167 Add s_sinf-sse2, s_conf-sse2.
24169 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24170 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24171 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24172 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24174 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24175 for using routine as __sinf_ia32.
24176 Use macro for function declaration and weak_alias.
24177 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24178 for using routine as __cosf_ia32.
24179 Use macro for function declaration and weak_alias.
24181 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24182 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24184 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24185 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24188 * math/libm-test.inc (cos_test): Add more test cases.
24189 (sin_test): Likewise.
24190 (sincos_test): Likewise.
24192 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24194 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24195 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24197 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24199 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24202 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24203 first element of the GOT.
24204 (elf_machine_load_address): Return the difference between
24205 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24207 2012-09-01 Allan McRae <allan@archlinux.org>
24210 * configure.in (AWK): Require gawk version 3.0 or later.
24211 * configure: Regenerated.
24213 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24215 * sysdeps/unix/sysv/linux/kernel-features.h
24216 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24217 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24218 [__NR_clock_getres]: Make code unconditional.
24219 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24220 (clock_getcpuclockid): Remove code left unreachable by removal of
24222 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24223 code unconditional.
24224 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24225 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24226 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24227 Make code unconditional.
24228 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24229 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24230 * sysdeps/unix/sysv/linux/clock_settime.c
24231 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24233 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24234 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24236 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24239 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24240 scripts/test-installation.pl.
24242 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24243 and $ld_so_version if it is set.
24245 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24248 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24249 failure if reading from procfs failed.
24250 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24252 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24254 * sysdeps/unix/sysv/linux/kernel-features.h
24255 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24256 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24257 Remove conditional code.
24258 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24259 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24260 Remove conditional code.
24261 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24262 * sysdeps/unix/sysv/linux/i386/fxstat.c
24263 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24264 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24265 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24266 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24267 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24268 * sysdeps/unix/sysv/linux/i386/lxstat.c
24269 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24270 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24271 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24272 Remove conditional code.
24273 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24274 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24275 Remove conditional code.
24276 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24277 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24278 <kernel-features.h>.
24279 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24281 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24282 Remove conditional code.
24283 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24284 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24285 Remove conditional.
24287 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24290 * NEWS: Add fixed bug number.
24292 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24295 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24296 underflowing exponent in case of negative sign.
24297 * stdlib/tst-strtod-round-data: Add more tests.
24298 * stdlib/tst-strtod-round.c (tests): Regenerated.
24301 * stdlib/strtod_l.c (NDIG): Remove.
24302 (HEXNDIG): Likewise.
24303 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24304 smallest representable value.
24305 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24306 lie within an exact representation of 1/2 ulp of the result.
24307 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24309 (TENS_P9_IDX): Define unconditionally.
24310 (TENS_P9_SIZE): Likewise.
24311 (TENS_P10_IDX): Likewise.
24312 (TENS_P10_SIZE): Likewise.
24313 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24314 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24315 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24316 entries for 10^2^13 and 10^2^14.
24317 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24318 (TENS_P13_IDX): Define.
24319 (TENS_P13_SIZE): Likewise.
24320 (TENS_P14_IDX): Likewise.
24321 (TENS_P14_SIZE): Likewise.
24322 (_fpioconst_pow10): Change array size to
24323 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24325 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24326 1024]: Add entries for 10^2^13 and 10^2^14.
24327 [LAST_POW10 > _LAST_POW10]: Remove #error.
24328 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24329 (_fpioconst_pow10): Change array size to
24330 FPIOCONST_POW10_ARRAY_SIZE.
24331 * stdlib/gen-fpioconst.c: New file.
24332 * stdlib/gen-tst-strtod-round.c: Likewise.
24333 * stdlib/tst-strtod-round-data: Likewise.
24334 * stdlib/tst-strtod-round.c: Likewise.
24335 * stdlib/Makefile (tests): Add tst-strtod-round.
24338 * stdlib/strtod_l.c: Include <stdint.h>.
24339 (NDEBUG): Do not define.
24340 (round_and_return): Change EXPONENT parameter to type intmax_t.
24341 Rearrange calculations to avoid internal overflow possibilities.
24342 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24343 Rearrange calculations to avoid internal overflow possibilities.
24344 Assert that number fits inside MPNSIZE limbs.
24345 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24346 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24347 calculations and add assertions to avoid internal overflow
24348 possibilities. Add casts to avoid signed/unsigned operations.
24349 * stdlib/tst-strtod-overflow.c: New file.
24350 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24352 2012-08-25 Marek Polacek <polacek@redhat.com>
24354 * time/time.h: Fix some typos in comments.
24356 2012-08-23 Roland McGrath <roland@hack.frob.com>
24358 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24359 * posix/tst-rfc3484-2.c: Likewise.
24360 * posix/tst-rfc3484-3.c: Likewise.
24362 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24364 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24365 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24367 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24369 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24370 #include of fxstatat64.c.
24372 2012-08-22 Roland McGrath <roland@hack.frob.com>
24374 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24375 * shadow/getspent_r.c: Likewise.
24376 * shadow/getspnam.c: Likewise.
24377 * shadow/getspnam_r.c: Likewise.
24378 * gshadow/getsgent.c: Likewise.
24379 * gshadow/getsgent_r.c: Likewise.
24380 * gshadow/getsgnam.c: Likewise.
24381 * gshadow/getsgnam_r.c: Likewise.
24382 * inet/getnetbyad.c: Likewise.
24383 * inet/getnetbyad_r.c: Likewise.
24384 * inet/getnetbynm.c: Likewise.
24385 * inet/getnetbynm_r.c: Likewise.
24386 * inet/getnetent.c: Likewise.
24387 * inet/getnetent_r.c: Likewise.
24388 * inet/getproto.c: Likewise.
24389 * inet/getproto_r.c: Likewise.
24390 * inet/getprtent.c: Likewise.
24391 * inet/getprtent_r.c: Likewise.
24392 * inet/getprtname.c: Likewise.
24393 * inet/getprtname_r.c: Likewise.
24394 * inet/getrpcbyname.c: Likewise.
24395 * inet/getrpcbyname_r.c: Likewise.
24396 * inet/getrpcbynumber.c: Likewise.
24397 * inet/getrpcbynumber_r.c: Likewise.
24398 * inet/getrpcent.c: Likewise.
24399 * inet/getrpcent_r.c: Likewise.
24400 * inet/getaliasent.c: Likewise.
24401 * inet/getaliasent_r.c: Likewise.
24402 * inet/getaliasname.c: Likewise.
24403 * inet/getaliasname_r.c: Likewise.
24404 * nscd/getgrgid_r.c: Likewise.
24405 * nscd/getgrnam_r.c: Likewise.
24406 * nscd/gethstbyad_r.c: Likewise.
24407 * nscd/gethstbynm3_r.c: Likewise.
24408 * nscd/getpwnam_r.c: Likewise.
24409 * nscd/getpwuid_r.c: Likewise.
24410 * nscd/getsrvbynm_r.c: Likewise.
24411 * nscd/getsrvbypt_r.c: Likewise.
24412 * nscd/gai.c: Likewise.
24414 * configure.in (build_nscd): New substituted variable, set
24415 by --disable-build-nscd and defaults to $use_nscd.
24416 * configure: Regenerated.
24417 * config.make.in (build-nscd): New substituted variable.
24418 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24419 Change conditional to require [$(build-nscd) = yes] as well.
24420 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24423 * configure.in (use_nscd): New substituted variable, set by
24424 --disable-nscd. If enabled, define USE_NSCD.
24425 * configure: Regenerated.
24426 * config.h.in: Add USE_NSCD.
24427 * config.make.in (use-nscd): New substituted variable.
24428 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24429 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24430 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24431 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24432 (CFLAGS-getgrnam_r.c): Likewise.
24433 (CFLAGS-initgroups.c): Likewise.
24434 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24435 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24437 * inet/getnetgrent_r.c
24438 (nscd_setnetgrent): New function, broken out of ...
24439 (setnetgrent): ... here. Call it.
24440 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24441 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24442 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24443 * nscd/Makefile (routines, aux): Move definitions after include of
24444 Makeconfig. Conditionalize on [$(use-nscd) != no].
24445 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24446 Conditionalize on [USE_NSCD].
24447 (is_nscd, nscd_init_cb): Likewise.
24448 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24449 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24450 * nss/nss_db/db-init.c: Likewise.
24451 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24453 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24454 (make_request): Use it.
24455 (cache_valid_p): New function.
24456 (__check_pf): Use it.
24457 * NEWS: Add item for --disable-nscd.
24459 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24461 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24462 to support sed >= 4.2.1-20-ga9bf076.
24463 * configure: Regenerated.
24465 2012-08-22 Roland McGrath <roland@hack.frob.com>
24467 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24468 Conditionalize whole body on [IREL].
24470 2012-08-22 Jeff Law <law@redhat.com>
24473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24474 if the family is PF_UNSPEC.
24476 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24478 * Makerules (lib-version): Rename from V.
24479 (install-lib-nosubdir): Change V to lib-version.
24481 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24484 * powerpc32/power6/wcschr.c: New file.
24485 * powerpc32/power6/wcscpy.c: New file.
24486 * powerpc32/power6/wcsrchr.c: New file.
24487 * powerpc64/power6/wcschr.c: New file.
24488 * powerpc64/power6/wcscpy.c: New file.
24489 * powerpc64/power6/wcsrchr.c: New file.
24491 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24493 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24494 (two_way_short_needle): Use it.
24495 * string/strstr.c (AVAILABLE1_USES_J): Define.
24496 * string/strcasestr.c: Likewise.
24498 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24500 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24503 * NEWS: Add an entry.
24504 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24505 define their defaults.
24506 (two_way_short_needle): Detect end-of-string on-the-fly.
24507 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24508 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24509 * string/bug-strcasestr1.c: New test.
24510 * string/Makefile: Run it.
24512 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24515 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24516 the first character.
24518 2012-08-21 Roland McGrath <roland@hack.frob.com>
24520 * csu/elf-init.c (__libc_csu_irel): Function removed.
24521 * csu/libc-start.c (apply_irel): New function.
24522 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24524 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24526 * sysdeps/unix/sysv/linux/kernel-features.h
24527 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24528 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24529 <kernel-features.h>.
24530 [__NR_fadvise64_64]: Make code unconditional.
24531 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24532 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24533 !__NR_fadvise64_64)]: Likewise.
24534 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24535 !__NR_fadvise64_64))]: Likewise.
24536 [__NR_fadvise64]: Make code unconditional.
24537 [!__NR_fadvise64]: Remove conditional code.
24538 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24539 <kernel-features.h>.
24540 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24542 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24545 not include <kernel-features.h>.
24546 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24548 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24550 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24551 include <kernel-features.h>.
24552 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24554 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24557 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24559 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24560 slight instruction rearrangements per scrollpipe analysis.
24561 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24563 2012-08-20 Roland McGrath <roland@hack.frob.com>
24565 * manual/syslog.texi (syslog; vsyslog, closelog):
24566 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24567 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24569 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24570 DSOCAPS to match condition on defining it.
24572 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24574 * sysdeps/unix/sysv/linux/kernel-features.h
24575 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24577 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24578 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24580 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24581 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24583 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24584 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24586 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24587 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24589 * sysdeps/unix/sysv/linux/kernel-features.h
24590 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24591 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24593 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24594 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24595 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24596 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24597 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24598 Make code unconditional.
24599 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24600 (__mmap64) [!__NR_mmap2]: Likewise.
24601 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24602 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24603 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24604 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24605 [__NR_mmap2]: Make code unconditional.
24606 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24607 (__mmap64) [!__NR_mmap2]: Likewise.
24609 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24611 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24613 2012-08-18 Andreas Jaeger <aj@suse.de>
24615 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24617 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24619 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24620 * include/unistd.h (__have_sock_cloexec): Likewise.
24621 (__have_pipe2): Likewise.
24622 (__have_dup3): Likewise.
24624 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24627 * include/unistd.h (__have_pipe2): Change define into an extern int.
24628 (__have_dup3): Likewise.
24629 * socket/have_sock_cloexec.c: Include fcntl.h.
24630 (__have_pipe2): New variable.
24631 (__have_dup3): Likewise.
24633 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24635 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24637 2012-08-17 Marek Polacek <polacek@redhat.com>
24639 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24640 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24642 2012-08-17 Roland McGrath <roland@hack.frob.com>
24644 * configure.in: Add AC_SUBST for sysheaders.
24645 * configure: Regenerated.
24646 * config.make.in (sysheaders): New substituted variable.
24648 * sysdeps/unix/mkfifo.c: Moved ...
24649 * sysdeps/posix/mkfifo.c: ... here.
24650 * sysdeps/unix/mkfifoat.c: Moved ...
24651 * sysdeps/posix/mkfifoat.c: ... here.
24653 * sysdeps/unix/utime.c: Moved ...
24654 * sysdeps/posix/utime.c: ... here.
24656 * sysdeps/unix/time.c: Moved ...
24657 * sysdeps/posix/time.c: ... here.
24658 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24659 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24661 * sysdeps/unix/nice.c: Moved ...
24662 * sysdeps/posix/nice.c: ... here.
24664 * sysdeps/unix/alarm.c: Moved ...
24665 * sysdeps/posix/alarm.c: ... here.
24667 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24669 2012-08-17 Jeff Law <law@redhat.com>
24671 * intl/Makefile (codeset_mo): New variable.
24672 ($(codeset_mo)): New target.
24673 (tst-codeset.out): Depend on that. Remove explicit rule.
24674 (tst-gettext3.out, tst-gettext5.out): Likewise.
24675 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24676 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24677 * intl/tst-codeset.sh: Remove.
24678 * intl/tst-gettext3.sh: Likewise.
24679 * intl/tst-gettext5.sh: Likewise.
24681 2012-08-17 Roland McGrath <roland@hack.frob.com>
24683 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24684 * sysdeps/unix/syscalls.list: ... here.
24686 * sysdeps/posix/getaddrinfo.c
24687 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24688 (gaiconf_init, gaiconf_reload): Use them.
24689 [!_STATBUF_ST_NSEC]
24690 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24691 Define using time_t rather than struct timespec.
24693 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24694 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24696 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24698 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24699 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24702 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24703 __libc_cleanup_push argument.
24705 * bits/param.h: New file.
24706 * misc/sys/param.h: New file.
24707 * include/sys/param.h: New file.
24708 * misc/Makefile (headers): Add bits/param.h.
24709 * sysdeps/generic/sys/param.h: File removed.
24710 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24711 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24712 * sysdeps/mach/hurd/bits/param.h: New file.
24713 * sysdeps/mach/hurd/sys/param.h: File removed.
24715 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24718 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24720 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24721 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24724 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24725 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24726 rather than -D_IO_MTSAFE_IO conditionally.
24727 * stdio-common/Makefile (CPPFLAGS): Likewise.
24728 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24729 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24730 Use $(libio-mtsafe).
24731 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24732 of -D_IO_MTSAFE_IO.
24733 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24734 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24735 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24736 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24737 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24738 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24739 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24740 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24741 (CFLAGS-fread_u_chk.c): Likewise.
24742 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24743 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24744 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24745 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24746 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24747 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24748 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24749 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24750 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24752 * libio/Makefile: Test [$(libc-reentrant) = yes]
24753 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24756 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24757 * sysdeps/pthread/configure: File removed.
24758 * sysdeps/pthread/Makeconfig: New file.
24759 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24760 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24762 2012-08-16 Gary Benson <gbenson@redhat.com>
24764 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24765 unmapping the first object in a namespace.
24767 2012-08-16 Roland McGrath <roland@hack.frob.com>
24769 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24770 (__internal_setnetgrent): ... this. Add internal_function to
24771 definition. Add libc_hidden_def.
24772 (setnetgrent): Update caller.
24773 (internal_endnetgrent): Renamed to ...
24774 (__internal_endnetgrent): ... this. Add internal_function to
24775 definition. Add libc_hidden_def.
24776 (endnetgrent): Update caller.
24777 (internal_getnetgrent_r): Renamed to ...
24778 (__internal_getnetgrent_r): ... this. Add internal_function to
24779 definition. Add libc_hidden_def.
24780 (__getnetgrent_r): Update caller.
24781 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24783 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24785 * stdlib/longlong.h: Update from GCC.
24787 2012-08-16 Roland McGrath <roland@hack.frob.com>
24789 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24790 on _QL, which is set by umul_ppmm but never used.
24791 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24792 variables, which are set by GMP macros but never used.
24793 * stdio-common/_itowa.c (_itowa): Likewise.
24794 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24795 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24797 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24799 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24800 struct La_sh_regs is not constant.
24801 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24802 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24803 and struct La_sparc64_regs are not constant.
24805 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24807 * sysdeps/unix/sysv/linux/kernel-features.h
24808 (__ASSUME_POSIX_TIMERS): Remove.
24809 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24810 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24811 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24812 Make code unconditional.
24813 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24814 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24815 Make code unconditional.
24816 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24817 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24818 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24819 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24820 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24821 Make code unconditional.
24822 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24823 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24824 (__libc_missing_posix_timers): Remove.
24826 2012-08-15 Roland McGrath <roland@hack.frob.com>
24828 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24829 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24831 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24833 * elf/dl-sym.c: Include <stdlib.h>.
24835 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24836 constants, which avoids warnings in 32-bit builds.
24838 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24839 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24841 * misc/lseek.c: File moved to ...
24842 * io/lseek.c: ... here.
24844 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24846 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24847 shifting LEN more than 31 bits at once.
24849 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24852 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24853 segmentation fault for a case of two empty input strings.
24854 * string/test-strncasecmp.c (check1): Renamed to...
24855 (bz12205): ...this.
24856 (bz14195): Add new testcase for two empty input strings and N > 0.
24857 (test_main): Call new testcase, adapt for renamed function.
24859 2012-08-15 Andreas Jaeger <aj@suse.de>
24862 * crypt/md5test2.c: New test, based on test supplied by Serge
24863 Belyshev <belyshev@depni.sinp.msu.ru>.
24864 * crypt/Makefile (xtests): Add md5test-giant..
24865 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24867 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24870 * crypt/md5.c (md5_process_block): Don't assume the buffer
24871 length is less than 2**32.
24872 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24873 length is less than 2**64.
24875 2012-08-15 Roland McGrath <roland@hack.frob.com>
24877 * string/str-two-way.h: Include <sys/param.h>.
24878 (MAX): Macro removed.
24880 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24881 Move #define and #undef of memmove to just before and after
24882 including <string.h>.
24884 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24885 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24886 and after including <string.h>. Move declarations of
24887 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24888 to before #include "string/memmove.c".
24890 * include/dirent.h: Declare __getdirentries.
24892 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24893 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24895 2012-08-14 Mike Frysinger <vapier@gentoo.org>
24897 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24898 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24899 * sysdeps/i386/configure: Regenerated.
24900 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24901 STABS_CURRENT_FILE, and STABS_FUN.
24902 (END): Remove call to STABS_FUN_END.
24903 (STABS_CURRENT_FILE1): Delete.
24904 (STABS_CURRENT_FILE): Likewise.
24905 (STABS_FUN): Likewise.
24906 (STABS_FUN_END): Likewise.
24907 (STABS_FUN2): Likewise.
24908 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24909 * sysdeps/x86_64/configure: Regenerated.
24911 2012-08-14 Roland McGrath <roland@hack.frob.com>
24913 * elf/dl-open.c: Include <atomic.h>.
24914 * elf/dl-lookup.c: Likewise.
24916 2012-08-14 Joseph Myers <joseph@codesourcery.com>
24918 * sysdeps/unix/sysv/linux/kernel-features.h
24919 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24920 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24922 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24924 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24925 condition on __ASSUME_CLONE_THREAD_FLAGS.
24927 2012-08-14 Andreas Jaeger <aj@suse.de>
24929 * sysdeps/i386/fpu/libm-test-ulps: Update.
24931 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24933 * include/atomic.h (atomic_exchange_and_add): Split into ...
24934 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24937 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24941 2012-08-13 Jeff Law <law@redhat.com>
24943 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24944 null byte in the output string.
24946 2012-08-10 Joseph Myers <joseph@codesourcery.com>
24948 * sysdeps/unix/sysv/linux/kernel-features.h
24949 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24950 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24951 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24952 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24953 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24954 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24955 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24957 2012-08-09 Jeff Law <law@redhat.com>
24960 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24961 When avoid_arena is set, don't retry in the that arena. Pick the
24962 next one, whatever it might be.
24963 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24964 (arena_lock): Pass in new parameter to arena_get2.
24965 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24967 (__libc_malloc): Unify retrying after main arena failure with
24968 __libc_memalign version.
24969 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24971 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24974 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24975 to __redirect_strstr.
24976 (__strstr_sse42): Use typeof __redirect_strstr.
24977 (__strstr_ia32): Likewise.
24978 (__libc_strstr): New prototype.
24979 (strstr): Renamed to ...
24980 (__libc_strstr): This.
24981 (strstr): New strong alias of __libc_strstr.
24982 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24983 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24986 (__libc_time): New prototype.
24987 (time_ifunc): Replace time with __libc_time.
24988 (time): New strong alias and hidden definition of __libc_time.
24989 (__GI_time): Remove strong alias.
24990 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24991 Include <stddef.h>.
24992 (memmove): Redefined to __redirect_memmove.
24993 (__memmove_sse2): Use typeof __redirect_memmove.
24994 (__memmove_ssse3): Likewise.
24995 (__memmove_ssse3_back): Likewise.
24996 (__libc_memmove): New prototype.
24997 (memmove): Renamed to ...
24998 (__libc_memmove): This.
24999 (memmove): New strong alias of __libc_memmove.
25001 2012-08-08 Mark Salter <msalter@redhat.com>
25004 (R_MN10300_TLS_GD): Define.
25005 (R_MN10300_TLS_LD): Likewise.
25006 (R_MN10300_TLS_LDO): Likewise.
25007 (R_MN10300_TLS_GOTIE): Likewise.
25008 (R_MN10300_TLS_IE): Likewise.
25009 (R_MN10300_TLS_LE): Likewise.
25010 (R_MN10300_TLS_DTPMOD): Likewise.
25011 (R_MN10300_TLS_DTPOFF): Likewise.
25012 (R_MN10300_TLS_TPOFF): Likewise.
25013 (R_MN10300_SYM_DIFF): Likewise.
25014 (R_MN10300_ALIGN): Likewise.
25015 (R_MN10300_NUM): Update.
25017 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25019 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25022 2012-08-08 Roland McGrath <roland@hack.frob.com>
25024 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25026 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25027 sysdeps/unix -> sysdeps/posix move.
25028 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25030 2012-08-07 Allan McRae <allan@archlinux.org>
25033 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25034 (SUNOS_CPP): Likewise.
25035 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25037 (open_input): Call CPP using execvp.
25039 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25041 * sysdeps/unix/sysv/linux/kernel-features.h
25042 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25043 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25044 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25045 (__ASSUME_WAITID_SYSCALL): Likewise.
25046 * sysdeps/unix/sysv/linux/dl-execstack.c
25047 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25048 code unconditional.
25049 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25051 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25052 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25053 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25055 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25057 [__ASSUME_WAITID_SYSCALL]: Likewise.
25058 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25060 2012-08-07 Roland McGrath <roland@hack.frob.com>
25062 * sysdeps/unix/closedir.c: Renamed to ...
25063 * sysdeps/posix/closedir.c: ... here.
25064 * sysdeps/unix/dirfd.c: Renamed to ...
25065 * sysdeps/posix/dirfd.c: ... here.
25066 * sysdeps/unix/dirstream.h: Renamed to ...
25067 * sysdeps/posix/dirstream.h: ... here.
25068 * sysdeps/unix/fdopendir.c: Renamed to ...
25069 * sysdeps/posix/fdopendir.c: ... here.
25070 * sysdeps/unix/opendir.c: Renamed to ...
25071 * sysdeps/posix/opendir.c: ... here.
25072 * sysdeps/unix/readdir.c: Renamed to ...
25073 * sysdeps/posix/readdir.c: ... here.
25074 * sysdeps/unix/readdir_r.c: Renamed to ...
25075 * sysdeps/posix/readdir_r.c: ... here.
25076 * sysdeps/unix/rewinddir.c: Renamed to ...
25077 * sysdeps/posix/rewinddir.c: ... here.
25078 * sysdeps/unix/seekdir.c: Renamed to ...
25079 * sysdeps/posix/seekdir.c: ... here.
25080 * sysdeps/unix/telldir.c: Renamed to ...
25081 * sysdeps/posix/telldir.c: ... here.
25082 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25083 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25084 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25085 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25087 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25088 * bits/fcntl.h: ... here.
25090 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25092 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25093 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25094 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25095 (struct flock): Move l_start, l_len to the beginning.
25096 Use __pid_t for l_pid.
25097 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25098 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25099 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25100 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25101 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25102 [__USE_LARGEFILE64] (struct flock64): New type.
25103 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25105 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25106 * bits/dirent.h: ... here.
25108 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25109 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25111 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25113 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25114 Change from 2.6.0 to 2.6.16.
25115 * sysdeps/unix/sysv/linux/configure: Regenerated.
25116 * sysdeps/unix/sysv/linux/kernel-features.h
25117 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25118 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25120 (__ASSUME_UTIMES): Likewise.
25121 (__ASSUME_CLONE_STOPPED): Remove.
25122 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25123 architectures, not kernel version.
25124 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25125 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25126 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25127 (__ASSUME_WAITID_SYSCALL): Likewise.
25128 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25129 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25130 * README: State 2.6.16 as minimum Linux kernel version. Do not
25131 refer to older versions.
25133 2012-08-06 Roland McGrath <roland@hack.frob.com>
25135 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25136 Define alphasort64 as an alias.
25137 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25138 Define versionsort64 as an alias.
25139 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25140 Define scandir64 as an alias.
25141 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25142 Define scandirat64 as an alias.
25143 * dirent/alphasort64.c (alphasort64):
25144 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25145 * dirent/versionsort64.c: Likewise.
25146 * dirent/scandir64.c: Likewise.
25147 * dirent/scandirat64.c: Likewise.
25148 * sysdeps/wordsize-64/alphasort.c: File removed.
25149 * sysdeps/wordsize-64/alphasort64.c: File removed.
25150 * sysdeps/wordsize-64/scandir.c: File removed.
25151 * sysdeps/wordsize-64/scandir64.c: File removed.
25152 * sysdeps/wordsize-64/scandirat.c: File removed.
25153 * sysdeps/wordsize-64/scandirat64.c: File removed.
25154 * sysdeps/wordsize-64/versionsort.c: File removed.
25155 * sysdeps/wordsize-64/versionsort64.c: File removed.
25156 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25157 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25158 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25159 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25160 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25161 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25162 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25163 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25165 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25166 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25167 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25168 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25169 [defined __arch64__ || defined __sparcv9]
25170 (__INO_T_MATCHES_INO64_T): New macro.
25171 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25172 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25173 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25174 * sysdeps/unix/sysv/linux/bits/dirent.h
25175 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25176 (_DIRENT_MATCHES_DIRENT64): New macro.
25178 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25179 Define lockf64 as an alias.
25180 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25181 Define fseeko64 as an alias.
25182 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25183 Define ftello64 as an alias.
25184 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25185 Define _IO_fgetpos64 and fgetpos64 as aliases.
25186 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25187 Define _IO_fsetpos64 and fsetpos64 as aliases.
25188 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25189 Conditionalize body on this.
25190 * libio/fseeko64.c: Likewise.
25191 * libio/ftello64.c: Likewise.
25192 * libio/iofgetpos64.c: Likewise.
25193 * libio/iofsetpos64.c: Likewise.
25194 * sysdeps/wordsize-64/lockf.c: File removed.
25195 * sysdeps/wordsize-64/lockf64.c: File removed.
25196 * sysdeps/wordsize-64/fseeko.c: File removed.
25197 * sysdeps/wordsize-64/fseeko64.c: File removed.
25198 * sysdeps/wordsize-64/ftello.c: File removed.
25199 * sysdeps/wordsize-64/ftello64.c: File removed.
25200 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25201 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25202 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25203 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25204 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25205 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25206 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25207 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25208 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25209 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25210 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25211 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25212 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25213 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25215 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25216 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25217 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25218 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25219 [defined __arch64__ || defined __sparcv9]
25220 (__OFF_T_MATCHES_OFF64_T): New macro.
25221 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25222 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25223 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25224 (__OFF_T_MATCHES_OFF64_T): New macro.
25226 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25228 * stdlib/secure-getenv.c (__secure_getenv): Replace
25229 GLIBC_2_16 with GLIBC_2_17.
25231 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25233 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25234 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25236 2012-08-03 David S. Miller <davem@davemloft.net>
25238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25240 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25242 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25244 (__ASSUME_CORRECT_SI_PID): Likewise.
25245 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25246 (__ASSUME_TMPFS_NAME): Likewise.
25247 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25248 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25249 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25250 (HAVE_AUX_SECURE): Make definition unconditional.
25251 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25252 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25254 2012-08-03 Roland McGrath <roland@hack.frob.com>
25256 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25257 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25258 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25259 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25260 __eloop_threshold instead of SYMLOOP_MAX.
25262 * sysdeps/generic/eloop-threshold.h: New file.
25263 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25265 * elf/chroot_canon.c (chroot_canon): Likewise.
25267 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25270 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25271 Change to 2.6.0 everywhere.
25272 * sysdeps/unix/sysv/linux/configure: Regenerated.
25273 * sysdeps/unix/sysv/linux/kernel-features.h
25274 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25275 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25277 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25278 (__ASSUME_FUTEX_REQUEUE): Remove.
25279 (__ASSUME_STATFS64): Define unconditionally.
25280 (__ASSUME_AT_SECURE): Likewise.
25281 (__ASSUME_CORRECT_SI_PID): Likewise.
25282 (__ASSUME_TGKILL): Define without depending on kernel version for
25284 (__ASSUME_UTIMES): Likewise.
25285 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25287 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25288 (__ASSUME_TMPFS_NAME): Likewise.
25289 * README: Update reference to Linux kernel versions.
25291 2012-08-02 Marek Polacek <polacek@redhat.com>
25294 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25295 libc_cv_asm_type_prefix with %.
25296 * configure: Regenerated.
25297 * include/libc-symbols.h: Remove comment about
25298 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25299 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25300 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25301 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25302 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25303 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25304 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25305 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25306 * elf/tst-unique2mod1.c: Likewise.
25307 * elf/tst-unique1mod2.c: Likewise.
25308 * elf/tst-unique1mod1.c: Likewise.
25309 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25310 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25311 Replace ASM_TYPE_DIRECTIVE with .type.
25312 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25313 * sysdeps/i386/sysdep.h: Likewise.
25314 * sysdeps/x86_64/sysdep.h: Likewise.
25315 * sysdeps/sh/sysdep.h: Likewise.
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25317 Do not define ASM_TYPE_DIRECTIVE.
25318 * sysdeps/powerpc/sysdep.h: Likewise.
25319 * sysdeps/powerpc/powerpc32/sysdep.h:
25320 Replace ASM_TYPE_DIRECTIVE with .type.
25321 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25322 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25323 * sysdeps/i386/fpu/e_powf.S: Likewise.
25324 * sysdeps/i386/fpu/e_expl.S: Likewise.
25325 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25326 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25327 * sysdeps/i386/fpu/e_pow.S: Likewise.
25328 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25329 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25330 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25331 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25332 * sysdeps/i386/fpu/e_log2.S: Likewise.
25333 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25334 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25335 * sysdeps/i386/fpu/e_powl.S: Likewise.
25336 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25337 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25338 * sysdeps/i386/fpu/e_logl.S: Likewise.
25339 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25340 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25341 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25342 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25343 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25344 * sysdeps/i386/fpu/e_log.S: Likewise.
25345 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25346 * sysdeps/i386/fpu/e_logf.S: Likewise.
25347 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25348 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25349 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25350 * sysdeps/i386/fpu/e_log10.S: Likewise.
25351 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25352 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25353 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25354 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25355 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25356 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25357 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25358 * sysdeps/i386/i686/strtok.S: Likewise.
25359 * sysdeps/i386/i386-mcount.S: Likewise.
25360 * sysdeps/i386/strtok.S: Likewise.
25361 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25362 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25363 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25364 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25365 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25366 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25367 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25368 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25369 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25370 * sysdeps/x86_64/_mcount.S: Likewise.
25371 * sysdeps/x86_64/strtok.S: Likewise.
25372 * sysdeps/sh/_mcount.S: Likewise.
25374 2012-08-01 Roland McGrath <roland@hack.frob.com>
25376 * libio/iofopen.c: Include <fcntl.h>.
25377 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25378 (_IO_fopen64, fopen64): Define as aliases.
25379 * libio/iofopen64.c: Include <fcntl.h>.
25380 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25381 Conditionalize body on this.
25382 * sysdeps/wordsize-64/iofopen.c: File removed.
25383 * sysdeps/wordsize-64/iofopen64.c: File removed.
25385 2012-08-01 Marek Polacek <polacek@redhat.com>
25387 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25388 Use dlfcn directly instead of a variable.
25389 (binfmt-subdir): Do not define.
25392 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25394 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25395 Remove all definitions.
25396 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25397 <kernel-features.h>.
25398 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25399 (miss_F_GETOWN_EX): Remove all definitions.
25400 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25402 [!__ASSUME_FCNTL64]: Remove conditional code.
25403 [__ASSUME_FCNTL64]: Make code unconditional.
25404 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25405 <kernel-features.h>.
25406 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25407 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25408 (lockf64) [__NR_fcntl64]: Make code unconditional.
25409 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25411 * sysdeps/unix/sysv/linux/kernel-features.h
25412 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25413 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25414 Make code unconditional.
25415 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25416 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25418 [__NR_vfork]: Make code unconditional.
25419 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25420 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25422 [__NR_vfork]: Make code unconditional.
25423 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25424 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25426 2012-08-01 Roland McGrath <roland@hack.frob.com>
25428 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25429 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25431 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25432 Define mkstemp64 as an alias.
25433 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25434 Define mkstemps64 as an alias.
25435 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25436 Define mkostemp64 as an alias.
25437 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25438 Define mkostemps64 as an alias.
25439 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25440 Conditionalize body on this.
25441 * misc/mkostemp64.c: Likewise.
25442 * misc/mkostemps64.c: Likewise.
25443 * misc/mkstemps64.c: Likewise.
25444 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25445 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25446 * sysdeps/wordsize-64/mkostemp.c: File removed.
25447 * sysdeps/wordsize-64/mkstemp.c: File removed.
25448 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25449 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25450 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25451 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25454 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25455 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25456 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25457 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25459 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25460 compat_symbol macros from <shlib-compat.h> rather than the underlying
25461 default_symbol_version and symbol_version macros, so that DEFAULT
25462 lines in shlib-versions are respected.
25463 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25465 2012-08-01 Florian Weimer <fweimer@redhat.com>
25467 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25468 Declare with warn_unused_result.
25469 (setgid, setregid, setegid, setresgid): Likewise.
25470 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25472 * WUR-REPORT: Remove set*id functions.
25474 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25476 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25478 2012-07-31 Roland McGrath <roland@hack.frob.com>
25481 * include/sys/socket.h (__libc_accept, __libc_accept4):
25482 Add attribute_hidden.
25483 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25485 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25487 * inet/getnetgrent_r.c (setup): Likewise.
25489 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25491 2012-07-31 David S. Miller <davem@davemloft.net>
25493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25495 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25498 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25499 value between 1.0 and 2.0 and smaller part has absolute value less
25501 * math/s_clog10.c (__clog10): Likewise.
25502 * math/s_clog10f.c (__clog10f): Likewise.
25503 * math/s_clog10l.c (__clog10l): Likewise.
25504 * math/s_clogf.c (__clogf): Likewise.
25505 * math/s_clogl.c (__clogl): Likewise.
25506 * math/libm-test.inc (clog_test): Add more tests.
25507 (clog10_test): Likewise.
25508 * sysdeps/i386/fpu/libm-test-ulps: Update.
25509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25511 2012-07-31 Florian Weimer <fweimer@redhat.com>
25513 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25514 Exit with zero in case no suitable GID is found, and write a
25515 message to standard error.
25517 2012-07-30 Roland McGrath <roland@hack.frob.com>
25519 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25521 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25522 (MAXPATHLEN): Removed.
25523 (NOGROUP, NODEV): New macros.
25524 (setbit, clrbit, isset, isclr): New macros.
25525 (howmany, roundup, powerof2): New macros.
25526 (DEV_BSIZE): New macro.
25528 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25529 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25531 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25532 definition on [!__NO_LONG_DOUBLE_MATH].
25534 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25535 PTR_MANGLE and PTR_DEMANGLE.
25537 * socket/accept4.c (accept4): Rename to __libc_accept4.
25538 Define accept4 as a weak alias.
25540 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25541 on [_DIRENT_HAVE_D_TYPE].
25542 * io/ftw.c (ftw_dir): Likewise.
25544 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25546 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25548 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25549 Use the BSD numbers rather than the arbitrary ones we had.
25550 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25551 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25552 (SIGXCPU, SIGXFSZ): New macros.
25555 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25556 initializer on [_LIBC_REENTRANT].
25558 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25559 definitions inside [_POSIX_MAPPED_FILES].
25561 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25563 * dirent/opendir.c: Include <fcntl.h>.
25565 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25566 (__libc_getspecific): Likewise.
25567 (__libc_key_create): Likewise.
25569 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25570 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25571 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25572 (tmpfile64): Define as alias.
25573 * sysdeps/wordsize-64/tmpfile.c: File removed.
25574 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25575 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25576 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25578 * stdio-common/vfscanf.c: Include <stdbool.h>.
25579 * nss/makedb.c: Likewise.
25580 * stdio-common/_i18n_number.h: Likewise.
25581 * argp/argp-help.c: Likewise.
25582 * posix/wordexp.c: Likewise.
25583 * sysdeps/posix/spawni.c: Likewise.
25584 * nss/nss_files/files-initgroups.c: Likewise.
25585 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25586 * nss/nss_files/files-initgroups.c: Likewise.
25587 * nss/nss_db/db-netgrp.c: Likewise.
25588 * nss/nss_db/db-initgroups.c: Likewise.
25589 * io/fchmodat.c: Include <sys/stat.h>.
25591 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25592 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25594 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25597 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25598 Add multiple inclusion protection.
25600 2012-07-27 David S. Miller <davem@davemloft.net>
25602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25604 2012-07-27 Gary Benson <gbenson@redhat.com>
25607 * elf/rtld.c: Include <stap-probe.h>.
25608 (dl_main): Added static probes "init_start" and "init_complete".
25609 * elf/dl-load.c: Include <stap-probe.h>.
25610 (lose): Take new parameter "nsid".
25611 Added static probe "map_failed".
25612 (_dl_map_object_from_fd): Pass namespace id to lose.
25613 Added static probe "map_start".
25614 (open_verify): Pass namespace id to lose.
25615 * elf/dl-open.c: Include <stap-probe.h>.
25616 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25617 and "reloc_complete".
25618 * elf/dl-close.c: Include <stap-probe.h>.
25619 (_dl_close_worker): Added static probes "unmap_start" and
25621 * elf/rtld-debugger-interface.txt: New file documenting the above.
25623 2012-07-26 Roland McGrath <roland@hack.frob.com>
25625 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25626 rather than a string variable.
25627 * sunrpc/rpc_main.c (h_output): Likewise.
25628 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25630 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25632 * inet/check_native.c: New file.
25634 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25637 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25638 if larger part has absolute value 1.0.
25639 * math/s_clog10.c (__clog10): Likewise.
25640 * math/s_clog10f.c (__clog10f): Likewise.
25641 * math/s_clog10l.c (__clog10l): Likewise.
25642 * math/s_clogf.c (__clogf): Likewise.
25643 * math/s_clogl.c (__clogl): Likewise.
25644 * math/libm-test.inc (clog_test): Add more tests.
25645 (clog10_test): Likewise.
25646 * sysdeps/i386/fpu/libm-test-ulps: Update.
25647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25649 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25650 (pltexit): Likewise.
25651 (La_regs): Likewise.
25652 (La_retval): Likewise.
25653 (int_retval): Likewise.
25654 Update #error for removed macros to refer only to definitions in
25656 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25658 (pltexit): Likewise.
25659 (La_regs): Likewise.
25660 (La_retval): Likewise.
25661 (int_retval): Likewise.
25662 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25664 (pltexit): Likewise.
25665 (La_regs): Likewise.
25666 (La_retval): Likewise.
25667 (int_retval): Likewise.
25668 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25670 (pltexit): Likewise.
25671 (La_regs): Likewise.
25672 (La_retval): Likewise.
25673 (int_retval): Likewise.
25674 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25676 (pltexit): Likewise.
25677 (La_regs): Likewise.
25678 (La_retval): Likewise.
25679 (int_retval): Likewise.
25680 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25682 (pltexit): Likewise.
25683 (La_regs): Likewise.
25684 (La_retval): Likewise.
25685 (int_retval): Likewise.
25686 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25688 (pltexit): Likewise.
25689 (La_regs): Likewise.
25690 (La_retval): Likewise.
25691 (int_retval): Likewise.
25692 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25693 macro definitions in tst-audit.h.
25694 * sysdeps/i386/tst-audit.h: New file.
25695 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25696 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25697 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25698 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25699 * sysdeps/sh/tst-audit.h: Likewise.
25700 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25701 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25702 * sysdeps/x86_64/tst-audit.h: Likewise.
25704 2012-07-26 Andreas Jaeger <aj@suse.de>
25706 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25709 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25710 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25711 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25713 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25714 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25715 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25717 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25720 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25722 (si_call_addr, si_syscall, si_arch): Define new macro.
25723 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25725 (si_call_addr, si_syscall, si_arch): Define new marcro.
25726 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25728 (si_call_addr, si_syscall, si_arch): Define new macro.
25729 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25731 (si_call_addr, si_syscall, si_arch): Define new macro.
25733 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25736 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25737 Change to 2.4.21 where previously 2.4.1.
25738 * sysdeps/unix/sysv/linux/configure: Regenerated.
25739 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25740 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25741 Linux kernel version.
25742 (__ASSUME_STD_AUXV): Remove.
25743 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25745 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25746 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25747 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25748 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25749 (__ASSUME_NETLINK_SUPPORT): Likewise.
25750 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25751 (__no_netlink_support): Remove conditional definition.
25752 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25754 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25755 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25756 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25757 (if_nameindex_ioctl): Remove.
25758 (if_nameindex_netlink): Do not handle __no_netlink_support.
25759 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25761 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25762 Remove conditional code.
25763 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25765 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25767 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25768 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25769 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25771 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25772 [!__ASSUME_STD_AUXV]: Remove conditional code.
25773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25774 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25775 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25777 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25778 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25780 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25782 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25783 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25785 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25787 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25790 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25793 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25794 code unconditional.
25795 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25797 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25799 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25802 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25804 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25807 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25808 code unconditional.
25809 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25811 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25813 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25816 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25817 code unconditional.
25818 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25820 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25822 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25825 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25827 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25828 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25829 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25830 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25831 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25832 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25833 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25834 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25835 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25836 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25837 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25838 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25839 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25840 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25841 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25842 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25843 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25844 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25845 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25846 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25847 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25848 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25849 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25851 2012-07-25 Florian Weimer <fweimer@redhat.com>
25853 * Versions.def: Add GLIBC_2.17.
25854 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25855 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25856 Introduce __libc_secure_getenv.
25857 * stdlib/Versions (2.17): Add secure_getenv
25858 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25859 * stdlib/secure-getenv.c: Rename __secure_getenv to
25860 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25861 symbol __secure_getenv for GLIBC_2.0.
25862 * stdlib/tst-secure-getenv.c: New.
25863 * stdlib/Makefile (tests): Add testcase.
25864 * manual/startup.texi (Environment Access): Document
25866 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25867 __libc_secure_getenv.
25868 * inet/ruserpass.c (ruserpass): Likewise.
25869 * malloc/mtrace.c (mtrace): Likewise.
25870 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25871 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25872 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25873 * sysdeps/posix/tempname.c: Likewise. Evaluate
25874 HAVE_SECURE_GETENV.
25875 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25876 __secure_getenv to __libc_secure_getenv.
25877 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25884 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25890 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25892 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25893 (struct La_i86_retval): Likewise.
25894 (struct La_x86_64_regs): Likewise.
25895 (struct La_x86_64_retval): Likewise.
25896 (struct La_x32_regs): Likewise.
25897 (struct La_x32_retval): Likewise.
25898 (struct La_ppc32_regs): Likewise.
25899 (struct La_ppc32_retval): Likewise.
25900 (struct La_ppc64_regs): Likewise.
25901 (struct La_ppc64_retval): Likewise.
25902 (struct La_sh_regs): Likewise.
25903 (struct La_sh_retval): Likewise.
25904 (struct La_s390_32_regs): Likewise.
25905 (struct La_s390_32_retval): Likewise.
25906 (struct La_s390_64_regs): Likewise.
25907 (struct La_s390_64_retval): Likewise.
25908 (struct La_sparc32_regs): Likewise.
25909 (struct La_sparc32_retval): Likewise.
25910 (struct La_sparc64_regs): Likewise.
25911 (struct La_sparc64_retval): Likewise.
25912 (struct audit_ifaces): Remove architecture-specific pltenter and
25914 * sysdeps/i386/ldsodefs.h: New file.
25915 * sysdeps/powerpc/ldsodefs.h: Likewise.
25916 * sysdeps/s390/ldsodefs.h: Likewise.
25917 * sysdeps/sh/ldsodefs.h: Likewise.
25918 * sysdeps/sparc/ldsodefs.h: Likewise.
25919 * sysdeps/x86_64/ldsodefs.h: Likewise.
25921 2012-07-25 Marek Polacek <polacek@redhat.com>
25924 * math/libm-test.inc (yn_test): Add another test.
25925 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25926 to ERANGE when the result is +-Inf.
25927 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25928 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25929 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25930 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25932 2012-07-24 Joseph Myers <joseph@codesourcery.com>
25934 * conform/data/time.h-data (NULL): Use macro-constant. Require
25936 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25938 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25940 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25942 * configure.in <sysdeps resolving>: Correct printing
25944 * configure: Regenerate.
25946 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25948 * math/w_ilogb.c: Include <limits.h>.
25949 * math/w_ilogbl.c: Likewise.
25951 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25953 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25954 va_copy. Document allowing for unavailable va_copy only as
25955 pre-C99 compatibility.
25956 * manual/string.texi (Copying and Concatenation): Use va_copy
25957 instead of __va_copy in concat example.
25959 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25961 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25962 (__sendto): Use create_address_port. Initialize APORT and deallocate
25965 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25966 with O_NOLINK passed to __file_name_lookup.
25968 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25969 with O_NOLINK passed to __file_name_lookup.
25971 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25972 negative N or less than NGIDS.
25974 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25975 type to string_t. Set ERANGE as errno and return it if NAME is not big
25976 enough. Use memcpy instead of strncpy.
25978 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25980 * elf/Makefile (check-data): Remove.
25981 (localplt.data): New vpath directive.
25982 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25983 instead of $(check-data).
25984 * scripts/data/localplt-generic.data: Move to ...
25985 * sysdeps/generic/localplt.data: ... here.
25986 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25987 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25988 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25991 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25994 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25997 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26000 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26003 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26007 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26009 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26010 PPC32 and PPC64 files.
26011 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26012 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26014 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26016 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26017 __makecontext_ret to ...
26018 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26019 ... here and call exit if uc_link is NULL. New file.
26020 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26021 __makecontext_ret.S.
26022 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26023 __makecontext_ret to ...
26024 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26025 ... here and call exit if uc_link is NULL. New file.
26026 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26027 __makecontext_ret.S.
26029 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26031 * elf/elf.h (R_390_IRELATIVE): New definition.
26032 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26033 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26034 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26035 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26036 (elf_machine_lazy_rel): Likewise.
26037 * sysdeps/s390/dl-irel.h: New file.
26038 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26039 * sysdeps/s390/s390-64/memset.S: New asm code.
26040 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26041 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26042 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26043 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26044 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26045 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26046 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26047 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26048 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26049 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26050 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26051 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26052 * sysdeps/s390/s390-32/memset.S: New asm code.
26053 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26055 2012-07-17 Marek Polacek <polacek@redhat.com>
26058 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26059 * sysdeps/s390/s390-64/configure.in: Likewise.
26060 * sysdeps/sparc/configure.in: Likewise.
26061 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26062 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26063 * sysdeps/i386/configure.in: Likewise.
26064 * sysdeps/x86_64/configure.in: Likewise.
26065 * sysdeps/sh/configure.in: Likewise.
26066 * sysdeps/s390/s390-32/configure: Regenerated.
26067 * sysdeps/s390/s390-64/configure: Likewise.
26068 * sysdeps/x86_64/configure: Likewise.
26069 * sysdeps/sh/configure: Likewise.
26070 * sysdeps/powerpc/powerpc64/configure: Likewise.
26071 * sysdeps/powerpc/powerpc32/configure: Likewise.
26072 * sysdeps/sparc/configure: Likwise.
26073 * sysdeps/i386/configure: Likewise.
26075 * elf/dl-open.c: Comment fixes.
26077 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26079 * Makefile [CXX] (check-data): Remove.
26080 [CXX] (c++-types.data): New vpath directive.
26081 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26082 vpath. Do not allow for C++ type data being missing.
26083 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26084 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26085 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26086 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26087 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26088 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26089 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26092 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26095 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26098 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26101 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26104 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26107 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26110 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26113 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26114 definitions to architecture-specific files.
26115 (TLS_IE): Likewise.
26116 (TLS_LD): Likewise.
26117 (TLS_GD): Likewise.
26118 * sysdeps/i386/tls-macros.h: New file.
26119 * sysdeps/powerpc/tls-macros.h: Likewise.
26120 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26121 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26122 * sysdeps/sh/tls-macros.h: Likewise.
26123 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26124 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26125 * sysdeps/x86_64/tls-macros.h: Likewise.
26127 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26129 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26130 zero value for regular exit case.
26132 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26133 (__start_context): Preserve zero value for regular exit case.
26135 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26136 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26138 * manual/setjmp.texi (setcontext): Clarify normal process
26139 termination when uc_link is the null pointer.
26140 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26143 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26145 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26146 preprocessor. Test for each exception mask separately.
26148 2012-07-16 Andreas Jaeger <aj@suse.de>
26150 * po/ru.po: Update from translation team.
26152 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26154 * conform/data/string.h-data (NULL): Use macro-constant. Require
26156 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26157 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26158 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26159 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26160 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26162 2012-07-13 Andreas Jaeger <aj@suse.de>
26164 * po/fr.po: Update from translation team.
26166 2012-07-12 Marek Polacek <polacek@redhat.com>
26169 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26170 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26173 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26176 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26177 Change to 2.4.1 where previously 2.4.0.
26178 * sysdeps/unix/sysv/linux/configure: Regenerated.
26179 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26180 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26182 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26183 (__ASSUME_AT_CLKTCK): Remove.
26184 (__ASSUME_AT_PAGESIZE): Likewise.
26185 (__ASSUME_AT_XID): Likewise.
26186 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26187 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26188 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26190 (HAVE_AUX_PAGESIZE): Likewise.
26191 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26192 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26193 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26195 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26199 the temporary buffer used to invoke __gethostbyname2_r,
26200 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26201 host_data / struct gaih_addrtuple.
26202 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26203 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26204 header file nss/nsswitch.h.
26205 * nss/nsswitch.h (global scope): Add definition of implementation
26206 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26207 resolv/nss_dns/dns-host.c).
26209 2012-07-11 Andreas Jaeger <aj@suse.de>
26211 * po/fr.po: Update from translation team.
26213 * po/sv.po: Update from translation team
26214 * po/fr.po: Another update from translation team.
26216 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26218 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26219 for subnormals or multiply small sinh result by itself.
26220 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26223 2012-07-11 David S. Miller <davem@davemloft.net>
26225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26227 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26230 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26231 (INTERNAL_MARK): Shift it here.
26233 2012-07-10 Marek Polacek <polacek@redhat.com>
26236 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26237 libc_cv_asm_global_directive with .globl.
26238 * configure: Regenerated.
26239 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26241 * sysdeps/i386/configure: Regenerated.
26242 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26244 * sysdeps/x86_64/configure: Regenerated.
26245 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26246 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26247 * elf/tst-unique2mod2.c: Likewise.
26248 * elf/tst-unique2mod1.c: Likewise.
26249 * elf/tst-unique1mod2.c: Likewise.
26250 * elf/tst-unique1mod1.c: Likewise.
26251 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26252 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26253 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26254 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26255 * sysdeps/mach/sysdep.h: Likewise.
26256 * sysdeps/i386/sysdep.h: Likewise.
26257 * sysdeps/i386/i386-mcount.S: Likewise.
26258 * sysdeps/x86_64/_mcount.S: Likewise.
26259 * sysdeps/x86_64/sysdep.h: Likewise.
26260 * sysdeps/sh/_mcount.S: Likewise.
26261 * sysdeps/sh/sysdep.h: Likewise.
26262 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26263 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26264 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26265 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26266 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26267 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26268 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26269 * locale/localeinfo.h: Likewise.
26270 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26271 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26273 2012-07-09 Roland McGrath <roland@hack.frob.com>
26276 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26278 * manual/message.texi (The Uniforum approach): Likewise.
26279 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26280 (glibc iconv Implementation): Likewise.
26282 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26285 * math/s_clog.c (__clog): Avoid scaling a value down where that
26286 could result in underflow.
26287 * math/s_clog10.c (__clog10): Likewise.
26288 * math/s_clog10f.c (__clog10f): Likewise.
26289 * math/s_clog10l.c (__clog10l): Likewise.
26290 * math/s_clogf.c (__clogf): Likewise.
26291 * math/s_clogl.c (__clogl): Likewise.
26292 * math/libm-test.inc (clog_test): Add more tests.
26293 (clog10_test): Likewise.
26294 * sysdeps/i386/fpu/libm-test-ulps: Update.
26295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26297 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26300 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26301 by 7 not 8 to examine high bit of fractional part.
26304 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26305 for call to __mcount_internal.
26306 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26307 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26308 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26310 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26313 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26314 approximation for values within 0x1p-13f of an odd multiple of
26316 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26317 exception. Add more tests.
26318 * sysdeps/i386/fpu/libm-test-ulps: Update.
26321 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26322 inputs and return -1 for them. Do not check for +Inf in case not
26323 reachable for +Inf.
26324 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26325 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26326 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26327 and return -1 for them. Do not check for +Inf in case not
26328 reachable for +Inf.
26329 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26331 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26332 and return -1 for them. Do not check for +Inf in case not
26333 reachable for +Inf.
26334 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26335 spurious underflow.
26336 * sysdeps/i386/fpu/libm-test-ulps: Update.
26337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26339 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26341 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26343 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26347 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26348 could result in spurious underflow. Scale down values above
26349 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26350 * math/s_csqrtf.c (__csqrtf): Likewise.
26351 * math/s_csqrtl.c (__csqrtl): Likewise.
26352 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26353 spurious underflow.
26354 * sysdeps/i386/fpu/libm-test-ulps: Update.
26355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26357 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26359 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26361 * catgets/xopen-msg.awk: New file.
26362 * catgets/xopen-msg.sed: Removed.
26364 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26366 * intl/po2test.awk: New file.
26367 * intl/po2test.sed: Removed.
26369 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26372 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26373 or multiply small sinh result by itself.
26374 * math/s_ctanf.c (__ctanf): Likewise.
26375 * math/s_ctanh.c (__ctanh): Likewise.
26376 * math/s_ctanhf.c (__ctanhf): Likewise.
26377 * math/s_ctanhl.c (__ctanhl): Likewise.
26378 * math/s_ctanl.c (__ctanl): Likewise.
26379 * math/libm-test.inc (ctan_test_tonearest): New function.
26380 (ctan_test_towardzero): Likewise.
26381 (ctan_test_downward): Likewise.
26382 (ctan_test_upward): Likewise.
26383 (ctanh_test_tonearest): Likewise.
26384 (ctanh_test_towardzero): Likewise.
26385 (ctanh_test_downward): Likewise.
26386 (ctanh_test_upward): Likewise.
26387 (main): Call these new functions.
26388 * sysdeps/i386/fpu/libm-test-ulps: Update.
26389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26391 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26393 * .gitignore: Delete /ports entry.
26395 2012-07-03 Andreas Jaeger <aj@suse.de>
26397 * po/bg.po: Update from translation team.
26398 * po/cs.po: Likewise.
26399 * po/de.po: Likewise.
26400 * po/hr.po: Likewise.
26401 * po/nl.pl: Likewise.
26402 * po/pl.po: Likewise.
26403 * po/vi.po: Likewise.
26405 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26407 * Makeconfig [!+link] (+link-before-libc): New variable.
26408 [!+link] (+link-after-libc): Likewise.
26409 [!+link] (+link-tests): Likewise.
26410 [!+link] (+link): Define in terms of $(+link-before-libc) and
26411 $(+link-after-libc).
26412 [!+link-static] (+link-static-before-libc): New variable.
26413 [!+link-static] (+link-static-after-libc): Likewise.
26414 [!+link-static] (+link-static-tests): Likewise.
26415 [!+link-static] (+link-static): Define in terms of
26416 $(+link-static-before-libc) and $(+link-static-after-libc).
26417 [build-shared] (link-libc-before-gnulib): New variable.
26418 [build-shared] (link-libc-tests): Likewise.
26419 [build-shared] (link-libc): Define in terms of
26420 $(link-libc-before-gnulib).
26421 [!build-shared] (link-libc-tests): New variable.
26422 (link-libc-static-tests): New variable.
26423 [!gnulib] (gnulib-arch): New variable.
26424 [!gnulib] (gnulib-tests): Likewise.
26425 [!gnulib] (static-gnulib-arch): Likewise.
26426 [!gnulib] (static-gnulib-tests): Likewise.
26427 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26428 Define with "=" instead of ":=".
26429 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26430 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26431 * Rules (binaries-all-notests): New variable.
26432 (binaries-all-tests): Likewise.
26433 (binaries-static-notests): Likewise.
26434 (binaries-static-tests): Likewise.
26435 (binaries-all): Define using $(binaries-all-notests) and
26436 $(binaries-all-tests).
26437 (binaries-static): Define using $(binaries-static-notests) and
26438 $(binaries-static-tests).
26439 (binaries-shared-tests): New variable.
26440 (binaries-shared-notests): Likewise.
26441 (binaries-shared): Remove variable.
26442 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26443 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26444 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26445 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26446 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26447 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26448 * elf/Makefile (sln-modules): New variable.
26449 (extra-objs): Add $(sln-modules:=.o).
26450 (ldconfig-modules): Add static-stubs.
26451 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26452 * elf/static-stubs.c: New file.
26455 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26456 by 7 not 8 to examine high bit of fractional part. Use volatile
26457 variables when splitting into final array of floats if
26458 __FLT_EVAL_METHOD__ != 0.
26459 * math/libm-test.inc (cos_test): Add another test.
26460 (sin_test): Likewise.
26461 * sysdeps/i386/fpu/libm-test-ulps: Update.
26464 * math/libm-test.inc (cosh_test): Add more tests.
26466 * version.h (RELEASE): Set to "development".
26467 (VERSION): Set to "2.16.90".
26469 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26471 * NEWS: Update copyright. Remove last-updated date.
26472 Mention math library bug fixes and timezone data changes.
26473 * README: Mention GNU/Hurd, x32, and HPPA support status.
26475 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26477 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26479 2012-06-27 Andreas Jaeger <aj@suse.de>
26481 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26483 2012-06-25 Andreas Jaeger <aj@suse.de>
26485 * sysdeps/s390/fpu/libm-test-ulps: Update.
26487 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26488 Thomas Schwinge <thomas@codesourcery.com>
26490 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26491 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26492 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26495 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26497 * sysdeps/mach/start.c: Remove file.
26498 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26499 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26500 * sysdeps/sh/init-first.c: Likewise.
26502 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26503 registers for frame unwinding purposes, add CFI directives.
26504 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26505 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26506 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26509 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26510 __fortify_fail returning.
26511 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26513 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26514 sysdeps/sh/____longjmp_chk.S.
26515 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26516 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26517 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26518 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26520 * sysdeps/sh/abort-instr.h: New file.
26521 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26522 process in case exit returns.
26524 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26525 initialize the GOT register before use.
26527 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26528 calculation of ARGC > 4.
26530 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26531 meaningful names to some local labels.
26533 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26534 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26536 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26537 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26538 (__arch_compare_and_exchange_val_16_acq): Likewise.
26539 (__arch_compare_and_exchange_val_32_acq): Likewise.
26540 (atomic_exchange_and_add): Fix gUSA sequence.
26541 (atomic_add): Likewise.
26542 (atomic_add_negative): Likewise.
26543 (atomic_add_zero): Likewise.
26544 (atomic_bit_test_set): Likewise.
26546 2012-06-22 Andreas Schwab <schwab@redhat.com>
26549 * include/link.h (struct link_map): Add l_free_initfini.
26550 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26552 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26553 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26554 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26557 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26559 * configure.in: Use AC_LANG_SOURCE.
26560 * configure: Regenerate.
26562 2012-06-22 Roland McGrath <roland@hack.frob.com>
26564 * configure.in (libc_cv_localstatedir): New substituted variable.
26565 * configure: Regenerated.
26566 * config.make.in (localstatedir): New variable, substituted from
26567 libc_cv_localstatedir.
26568 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26569 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26570 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26571 * sysdeps/gnu/configure: Regenerated.
26573 2012-06-21 Jeff Law <law@redhat.com>
26576 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26577 free. Simplify list management for _LIBC case.
26579 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26582 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26583 Clear sign bit of 64-bit integer value before comparing against
26586 * sysdeps/mach/configure: Regenerated.
26588 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26591 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26593 2012-06-21 Jeff Law <law@redhat.com>
26596 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26597 uint16_t for elements in the "seen" array to avoid char overflows.
26598 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26599 * elf/dl-open.c (dl_open_worker): Likewise.
26601 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26603 * scripts/list-sources.sh: Scan PORTS for translations.
26604 * po/libc.pot: Regenerated.
26606 2012-06-21 Andreas Jaeger <aj@suse.de>
26609 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26611 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26612 * bits/byteswap-16.h (__bswap_16): Likewise.
26613 * bits/byteswap.h (__bswap_constant_16): Likewise.
26615 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26618 * sysdeps/i386/fpu_control.h: Removed.
26619 * sysdeps/x86_64/fpu_control.h: Moved to ...
26620 * sysdeps/x86/fpu_control.h: Here.
26622 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26623 (_FPU_SETCW): Likewise.
26625 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26628 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26629 * sysdeps/x86/fpu/bits/mathinline.h: This.
26630 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26634 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26635 functions if __x86_64__ is defined.
26637 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26639 * string/endian.h: Add !__ASSEMBLER__ condition for including
26640 conversion interfaces.
26642 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26645 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26646 of ABS(x) in calculating zero to negative powers other than odd
26648 * math/libm-test.inc (pow_test): Add more tests.
26650 2012-06-15 Andreas Jaeger <aj@suse.de>
26652 * manual/contrib.texi (Contributors): Update entry of Liubov
26653 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26656 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26658 * string/string.h: Add __wur to GNU version of strerror_r.
26660 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26663 * string/Makefile (tests): Add tst-strtok_r.
26664 * string/tst-strtok_r.c: New file.
26665 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26666 RAX_LP/RDX_LP on SAVE_PTR.
26668 2012-06-14 Roland McGrath <roland@hack.frob.com>
26670 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26672 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26674 * libm_test.inc (csqrt_test): Allow more spurious underflow
26676 (j0_test): Likewise.
26677 (j1_test): Likewise.
26678 (y0_test): Likewise.
26679 (y1_test): Likewise.
26681 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26683 * po/Makefile (libc.pot): Use UTF-8 charset.
26685 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26688 Suppress sign-conversion warning from FD_SET.
26689 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26690 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26691 not unsigned long int.
26692 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26694 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26698 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26699 __extern_always_inline instead of __extern_inline.
26700 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26701 (__signbit): Likewise.
26702 (__signbitl): Support C++ namespace.
26703 (lrintf): New inline function.
26705 (llrintf): Likewise.
26706 (llrint): Likewise.
26716 (floorf): Likewise.
26717 (nearbyint): Likewise.
26718 (nearbyintf): Likewise.
26720 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26722 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26723 non-default versions.
26725 2012-06-11 Roland McGrath <roland@hack.frob.com>
26728 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26730 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26732 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26733 (FE_UPWARD, FE_DOWNWARD): Don't define.
26734 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26735 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26737 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26739 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26740 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26742 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26744 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26745 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26746 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26747 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26749 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26752 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26753 * sysdeps/i386/fpu/Implies: New file.
26754 * sysdeps/x86_64/fpu/Implies: Likewise.
26755 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26756 * sysdeps/x86/fpu/bits/fenv.h: This.
26758 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26761 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26764 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26765 character 0xffff that matches the last element of the
26768 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26770 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26773 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26775 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26776 values higher than 25.6283.
26778 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26780 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26781 subnormal exponent extraction and add some __builtin_expect.
26782 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26783 Fix for subnormal mantissa calculation.
26785 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26787 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26788 cpu2 is -1 and errno is not ENOSYS.
26790 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26793 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26794 * sysdeps/x86/bits/string.h: This.
26795 * sysdeps/x86_64/bits/string.h: Removed.
26797 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26798 if not compiling for x86-64, but compiling for >= i486.
26800 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26801 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26803 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26804 New macro from Linux kernel 3.4.0.
26805 (FP_XSTATE_MAGIC2): Likewise.
26806 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26807 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26808 (struct _fpx_sw_bytes): New struct.
26809 (struct _xsave_hdr): Likewise.
26810 (struct _ymmh_state): Likewise.
26811 (struct _xstate): Likewise.
26813 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26814 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26815 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26816 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26817 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26818 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26820 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26821 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26822 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26823 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26824 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26825 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26827 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26830 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26831 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26832 (sysdep_headers): Include sys/platform/ppc.h.
26833 * sysdeps/powerpc/test-gettimebase.c: Test for
26834 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26835 * manual/Makefile (appendices): Include platform.texi.
26836 * manual/contrib.texi (Contributors): Update @node pointers.
26837 * manual/maint.texi (Maintenance): Likewise.
26838 (Platform): New node.
26839 * manual/platform.texi: New file. Document the new features.
26841 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26842 Jakub Jelinek <jakub@redhat.com>
26845 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26846 where __builtin_expect is unavailable.
26848 2012-06-03 David S. Miller <davem@davemloft.net>
26850 * stdlib/longlong.h: Updated from GCC.
26852 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26855 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26856 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26859 (GLIBC_2.16): Likewise.
26861 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26863 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26865 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26868 (default-abi): New variable.
26869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26870 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26872 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26874 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26876 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26879 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26880 definition. Document in comment.
26882 2012-06-01 David S. Miller <davem@davemloft.net>
26884 * stdlib/longlong.h: Updated from GCC.
26886 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26889 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26890 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26891 sys/debugreg.h sys/io.h here.
26892 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26893 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26895 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26896 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26897 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26898 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26899 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26900 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26902 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26903 Define only if __x86_64__ is defined.
26905 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26908 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26909 Use int64_t for variable i.
26910 * math/libm-test.inc (fmod_test): Add more tests.
26912 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26913 z computation is not scheduled after fetestexcept.
26914 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26915 Use math_force_eval instead of asm to ensure calculation scheduled
26916 before exception test.
26917 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26918 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26920 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26922 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26923 computation is not scheduled after fetestexcept.
26925 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26928 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26929 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26931 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26933 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26934 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26936 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26939 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26941 (__WCHAR_MIN): Support __WORDSIZE == 64.
26942 (__WCHAR_MAX): Likewise.
26944 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26945 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26948 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26949 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26952 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26953 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26955 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26956 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26958 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26959 Defined to 1 if __x86_64__ isn't defined.
26960 (_STAT_VER_LINUX_OLD): New.
26961 (st_atime): Remove duplicate.
26962 (st_mtime): Likewise.
26963 (st_ctime): Likewise.
26965 2012-05-31 David S. Miller <davem@davemloft.net>
26967 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26970 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26972 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26976 * elf/dl-reloc.c: Include <_itoa.h>.
26977 (_dl_reloc_bad_type): Remove use of INTUSE.
26978 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26979 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26980 * stdio-common/psiginfo.c (psiginfo): Likewise.
26981 * stdio-common/psignal.c (psignal): Likewise.
26982 * string/strsignal.c (strsignal): Likewise.
26983 * include/signal.h (_sys_siglist): Declare hidden proto.
26984 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26985 INTVARDEF with libc_hidden_data_def.
26986 * stdio-common/itoa-udigits.c: Likewise.
26987 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26988 (_itoa_lower_digits_internal): Remove declaration.
26989 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26990 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26991 (_sys_sigabbrev_internal): Remove aliases.
26992 (_sys_siglist): Define hidden alias.
26994 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26996 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26999 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27002 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27003 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27005 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27006 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27007 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27008 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27009 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27010 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27012 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27013 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27014 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27016 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27024 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27025 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27026 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27028 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27029 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27030 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27031 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27032 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27033 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27035 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27036 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27038 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27039 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27041 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27042 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27043 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27045 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27046 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27048 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27050 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27051 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27052 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27054 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27056 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27058 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27060 * math/math.h (M_El): Use two more decimal places.
27061 (M_LOG2El): Likewise.
27062 (M_LOG10El): Likewise.
27063 (M_LN2l): Likewise.
27064 (M_LN10l): Likewise.
27066 (M_PI_2l): Likewise.
27067 (M_PI_4l): Likewise.
27068 (M_1_PIl): Likewise.
27069 (M_2_PIl): Likewise.
27070 (M_2_SQRTPIl): Likewise.
27071 (M_SQRT2l): Likewise.
27072 (M_SQRT1_2l): Likewise.
27074 2012-05-31 David S. Miller <davem@davemloft.net>
27076 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27077 values between float registers.
27078 * sysdeps/sparc/sparc64/memset.S: Likewise.
27079 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27081 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27083 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27084 -D_FORTIFY_SOURCE=1.
27085 (CPPFLAGS-tst-longjmp_chk.c): Define.
27086 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27087 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27088 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27089 CFLAGS-tst-wchar-h.c.
27091 2012-05-31 Marek Polacek <polacek@redhat.com>
27094 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27095 __endmntent_internal): Remove declaration.
27096 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27097 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27098 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27100 2012-05-30 David S. Miller <davem@davemloft.net>
27102 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27103 (___Q_simulate_exceptions): Use real FP ops rather than writing
27105 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27108 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27111 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27112 * sysdeps/x86/bits/xtitypes.h: This.
27114 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27115 * sysdeps/x86/bits/wordsize.h: This.
27117 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27118 * sysdeps/x86/bits/huge_vall.h: This.
27120 * sysdeps/i386/bits/select.h: Removed.
27121 * sysdeps/x86_64/bits/select.h: Renamed to ...
27122 * sysdeps/x86/bits/select.h: This.
27124 * sysdeps/i386/bits/setjmp.h: Removed.
27125 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27126 * sysdeps/x86/bits/setjmp.h: This.
27128 * sysdeps/i386/bits/mathdef.h: Removed.
27129 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27130 * sysdeps/x86/bits/mathdef.h: This.
27132 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27135 * include/sys/socket.h (__connect_internal)
27136 (__libc_sa_len_internal): Remove declaration.
27137 (__connect, __libc_sa_len): Declare hidden_proto.
27138 (SA_LEN): Remove use of INTUSE.
27139 * socket/connect.c: Add libc_hidden_def.
27140 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27141 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27142 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27144 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27145 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27146 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27147 of adding _internal alias.
27149 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27152 * sysdeps/i386/bits/link.h: Removed.
27153 * sysdeps/i386/bits/linkmap.h: Likewise.
27154 * sysdeps/x86_64/bits/link.h: Renamed to ...
27155 * sysdeps/x86/bits/link.h: This.
27156 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27157 * sysdeps/x86/bits/linkmap.h: This.
27159 * sysdeps/i386/bits/endian.h: Removed.
27160 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27161 * sysdeps/x86/bits/endian.h: This.
27163 * sysdeps/i386/bits/byteswap.h: Removed.
27164 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27165 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27166 * sysdeps/x86/bits/byteswap.h: This.
27167 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27168 * sysdeps/x86/bits/byteswap-16.h: This.
27169 * sysdeps/i386/Implies: Add x86.
27170 * sysdeps/x86_64/Implies: Likewise.
27172 2012-05-30 David S. Miller <davem@davemloft.net>
27174 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27175 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27176 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27177 (FP_TRAPPING_EXCEPTIONS): Define.
27178 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27179 (FP_TRAPPING_EXCEPTIONS): Define.
27180 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27181 subnormals only when inexact has been signalled or underflow
27182 exceptions are enabled.
27183 (_FP_PACK_CANONICAL): Likewise.
27185 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27188 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27189 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27191 2012-05-30 Richard Henderson <rth@twiddle.net>
27193 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27194 with #ifndef NOT_IN_libc.
27196 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27197 marked to avoid plt entry.
27199 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27202 * Makeconfig (default-abi): New macro.
27203 (abi-includes): Likewise.
27204 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27205 $(abi-$(default-abi)-lib-soname) for soname if defined.
27206 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27208 * Makefile (installed-stubs): Likewise.
27209 * include/stubs-biarch.h: Removed.
27210 * scripts/lib-names.awk: Only handle one library at a time.
27211 * scripts/soversions.awk: Remove WORDSIZE support.
27212 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27214 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27216 (syscall-list-default-condition): Likewise.
27217 (syscall-list-default-condition): Likewise.
27218 (syscall-list-includes): Likewise.
27219 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27220 syscall-list-* with abi-*. Handle undefined abi-variants.
27221 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27222 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27223 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27224 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27225 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27226 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27228 (syscall-list-32-options): Likewise.
27229 (syscall-list-32-condition): Likewise.
27230 (syscall-list-64-options): Likewise.
27231 (syscall-list-64-condition): Likewise.
27232 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27234 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27237 (abi-64-ld-soname): New macro.
27238 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27239 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27242 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27243 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27245 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27247 * sysdeps/unix/sysv/linux/kernel-features.h
27248 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27249 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27250 include <kernel-features.h>.
27251 [!__NR_ftruncate64]: Remove conditional code.
27252 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27253 [__NR_ftruncate64]: Make code unconditional.
27254 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27255 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27256 include <kernel-features.h>.
27257 [!__NR_ftruncate64]: Remove conditional code.
27258 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27259 [__NR_ftruncate64]: Make code unconditional.
27260 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27262 include <kernel-features.h>.
27263 [!__NR_ftruncate64]: Remove conditional code.
27264 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27265 [__NR_ftruncate64]: Make code unconditional.
27266 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27268 include <kernel-features.h>.
27269 [!__NR_ftruncate64]: Remove conditional code.
27270 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27271 [__NR_ftruncate64]: Make code unconditional.
27272 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27274 * configure.in (libc_cv_fpie): Weaken to a compile test using
27275 LIBC_TRY_CC_OPTION.
27276 * configure: Regenerated.
27278 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27293 2012-05-27 David S. Miller <davem@davemloft.net>
27295 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27297 (__Q_simulate_exceptions): Return void. Change to simulate
27298 exceptions by writing into the %fsr.
27299 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27300 (__Qp_handle_exceptions): Likewise.
27302 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27303 __Qp_handle_exceptions.
27304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27305 __Qp_handle_exceptions.
27306 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27307 as unused and give dummy FP_RND_NEAREST initializer.
27308 (FP_INHIBIT_RESULTS): Define.
27309 (___Q_simulate_exceptions): Update declaration.
27310 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27312 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27313 as unused and give dummy FP_RND_NEAREST initializer.
27314 (__Qp_handle_exceptions): Update declaration.
27315 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27318 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27320 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27321 the temporary FPU control word.
27322 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27323 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27324 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27325 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27326 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27327 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27328 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27329 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27330 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27331 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27332 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27334 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27336 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27339 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27341 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27342 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27343 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27344 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27346 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27347 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27350 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27352 * po/h.po: Update from translation team.
27354 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27356 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27358 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27359 handling of denormals.
27360 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27361 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27362 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27363 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27364 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27365 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27366 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27369 2012-05-26 Marek Polacek <polacek@redhat.com>
27372 * math/libm-test.inc (fma_test): Don't always expect underflow
27375 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27378 * elf/tst-execstack.c: Include stackinfo.h.
27379 (do_test): Adjust test case to ensure that pthread_getattr_np
27380 behaviour remains the same after marking stack executable.
27382 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27384 * sysdeps/unix/sysv/linux/kernel-features.h
27385 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27386 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27388 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27389 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27390 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27392 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27393 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27395 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27397 * configure.in: Define the default includes to being none.
27398 * configure: Regenerated.
27400 2012-05-25 Roland McGrath <roland@hack.frob.com>
27402 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27403 * sysdeps/x86_64/setjmp.S: Likewise.
27404 * sysdeps/i386/bsd-setjmp.S: Likewise.
27405 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27406 * sysdeps/i386/setjmp.S: Likewise.
27407 * sysdeps/i386/__longjmp.S: Likewise.
27408 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27409 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27411 * include/stap-probe.h: New file.
27412 * configure.in: Handle --enable-systemtap.
27413 * configure: Regenerated.
27414 * config.h.in (USE_STAP_PROBE): New #undef.
27415 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27416 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27417 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27419 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27422 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27423 to 2.4.0 where earlier.
27424 * sysdeps/unix/sysv/linux/configure: Regenerated.
27425 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27426 <kernel-features.h>.
27427 [__ASSUME_32BITUIDS]: Make code unconditional.
27428 [!__ASSUME_32BITUIDS]: Remove conditional code.
27429 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27430 <kernel-features.h>.
27431 [__ASSUME_32BITUIDS]: Make code unconditional.
27432 [!__ASSUME_32BITUIDS]: Remove conditional code.
27433 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27434 [__ASSUME_32BITUIDS]: Make code unconditional.
27435 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27436 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27437 <kernel-features.h>.
27438 [__ASSUME_32BITUIDS]: Make code unconditional.
27439 [!__ASSUME_32BITUIDS]: Remove conditional code.
27440 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27441 <kernel-features.h>.
27442 [__ASSUME_32BITUIDS]: Make code unconditional.
27443 [!__ASSUME_32BITUIDS]: Remove conditional code.
27444 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27445 <kernel-features.h>.
27446 [__ASSUME_32BITUIDS]: Make code unconditional.
27447 [!__ASSUME_32BITUIDS]: Remove conditional code.
27448 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27449 <kernel-features.h>.
27450 [__ASSUME_32BITUIDS]: Make code unconditional.
27451 [!__ASSUME_32BITUIDS]: Remove conditional code.
27452 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27453 <kernel-features.h>.
27454 [__ASSUME_32BITUIDS]: Make code unconditional.
27455 [!__ASSUME_32BITUIDS]: Remove conditional code.
27456 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27457 <kernel-features.h>.
27458 [__ASSUME_32BITUIDS]: Make code unconditional.
27459 [!__ASSUME_32BITUIDS]: Remove conditional code.
27460 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27461 <kernel-features.h>.
27462 [__ASSUME_32BITUIDS]: Make code unconditional.
27463 [!__ASSUME_32BITUIDS]: Remove conditional code.
27464 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27465 <kernel-features.h>.
27466 [__ASSUME_32BITUIDS]: Make code unconditional.
27467 [!__ASSUME_32BITUIDS]: Remove conditional code.
27468 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27469 <kernel-features.h>.
27470 [__ASSUME_32BITUIDS]: Make code unconditional.
27471 [!__ASSUME_32BITUIDS]: Remove conditional code.
27472 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27473 <kernel-features.h>.
27474 [__ASSUME_32BITUIDS]: Make code unconditional.
27475 [!__ASSUME_32BITUIDS]: Remove conditional code.
27476 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27477 <kernel-features.h>.
27478 [__NR_setresgid] (__setresgid): Do not declare.
27479 [__ASSUME_32BITUIDS]: Make code unconditional.
27480 [!__ASSUME_32BITUIDS]: Remove conditional code.
27481 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27482 <kernel-features.h>.
27483 [__NR_setresuid] (__setresuid): Do not declare.
27484 [__ASSUME_32BITUIDS]: Make code unconditional.
27485 [!__ASSUME_32BITUIDS]: Remove conditional code.
27486 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27487 <kernel-features.h>.
27488 [__ASSUME_32BITUIDS]: Make code unconditional.
27489 [!__ASSUME_32BITUIDS]: Remove conditional code.
27490 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27491 <kernel-features.h>.
27492 [__ASSUME_32BITUIDS]: Make code unconditional.
27493 [!__ASSUME_32BITUIDS]: Remove conditional code.
27494 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27495 <kernel-features.h>.
27496 [__ASSUME_32BITUIDS]: Make code unconditional.
27497 [!__ASSUME_32BITUIDS]: Remove conditional code.
27498 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27499 <kernel-features.h>.
27500 [__ASSUME_32BITUIDS]: Make code unconditional.
27501 [!__ASSUME_32BITUIDS]: Remove conditional code.
27502 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27503 <kernel-features.h>.
27504 [__ASSUME_32BITUIDS]: Make code unconditional.
27505 [!__ASSUME_32BITUIDS]: Remove conditional code.
27506 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27507 <kernel-features.h>.
27508 [__ASSUME_32BITUIDS]: Make code unconditional.
27509 [!__ASSUME_32BITUIDS]: Remove conditional code.
27510 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27511 <kernel-features.h>.
27512 [__ASSUME_32BITUIDS]: Make code unconditional.
27513 [!__ASSUME_32BITUIDS]: Remove conditional code.
27514 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27515 <kernel-features.h>.
27516 [__ASSUME_32BITUIDS]: Make code unconditional.
27517 [!__ASSUME_32BITUIDS]: Remove conditional code.
27518 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27519 <kernel-features.h>.
27520 [__ASSUME_32BITUIDS]: Make code unconditional.
27521 [!__ASSUME_32BITUIDS]: Remove conditional code.
27522 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27523 <kernel-features.h>.
27524 [__ASSUME_32BITUIDS]: Make code unconditional.
27525 [!__ASSUME_32BITUIDS]: Remove conditional code.
27526 * sysdeps/unix/sysv/linux/kernel-features.h
27527 (__ASSUME_SETRESUID_SYSCALL): Remove.
27528 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27529 (__ASSUME_32BITUIDS): Likewise.
27530 (__ASSUME_LDT_WORKS): Likewise.
27531 (__ASSUME_O_DIRECTORY): Likewise.
27532 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27533 architecture but not kernel version.
27534 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27535 (__ASSUME_MMAP2_SYSCALL): Likewise.
27536 (__ASSUME_STAT64_SYSCALL): Likewise.
27537 (__ASSUME_IPC64): Likewise.
27538 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27539 <kernel-features.h>.
27540 [__ASSUME_32BITUIDS]: Make code unconditional.
27541 [!__ASSUME_32BITUIDS]: Remove conditional code.
27542 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27543 <kernel-features.h>.
27544 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27545 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27546 132096]: Remove conditional code.
27547 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27548 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27549 <kernel-features.h>.
27550 [__ASSUME_32BITUIDS]: Make code unconditional.
27551 [!__ASSUME_32BITUIDS]: Remove conditional code.
27552 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27553 <kernel-features.h>.
27554 [__ASSUME_32BITUIDS]: Make code unconditional.
27555 [!__ASSUME_32BITUIDS]: Remove conditional code.
27556 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27557 <kernel-features.h>.
27558 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27560 (__setresgid): Do not declare.
27561 [__ASSUME_32BITUIDS]: Make code unconditional.
27562 [!__ASSUME_32BITUIDS]: Remove conditional code.
27563 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27564 <kernel-features.h>.
27565 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27567 (__setresuid): Do not declare.
27568 [__ASSUME_32BITUIDS]: Make code unconditional.
27569 [!__ASSUME_32BITUIDS]: Remove conditional code.
27570 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27571 <kernel-features.h>.
27572 [__ASSUME_32BITUIDS]: Make code unconditional.
27573 [!__ASSUME_32BITUIDS]: Remove conditional code.
27574 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27575 <kernel-features.h>.
27576 [__ASSUME_32BITUIDS]: Make code unconditional.
27577 [!__ASSUME_32BITUIDS]: Remove conditional code.
27579 2012-05-25 Richard Henderson <rth@twiddle.net>
27581 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27582 dl_hwcap to ifunc resolver.
27583 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27585 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27586 dl_hwcap to ifunc resolver.
27587 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27589 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27592 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27593 for |x| <= 2**-26, not 2**-57.
27594 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27597 2012-05-24 Jeff Law <law@redhat.com>
27599 * stdio-common/Makefile (tests): Add bug25.
27600 * stdio-common/bug25.c: New test.
27602 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27605 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27606 multiple of MALLOC_ALIGNMENT in size.
27607 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27609 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27611 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27613 (FILENAME_MAX): Use macro-int-constant.
27614 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27615 (_IOFBF): Use macro-int-constant.
27616 (_IOLBF): Likewise.
27617 (_IONBF): Likewise.
27618 (SEEK_CUR): Likewise.
27619 (SEEK_END): Likewise.
27620 (SEEK_SET): Likewise.
27621 (TMP_MAX): Likewise.
27622 (EOF): Use macro-int-constant. Require < 0.
27623 (NULL): Use macro-constant. Require == 0.
27624 (stdin): Require type to be FILE *.
27625 (stdout): Likewise.
27626 (stderr): Likewise.
27627 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27628 macro-int-constant.
27629 (EXIT_SUCCESS): Likewise.
27630 (NULL): Use macro-constant. Require == 0.
27631 (RAND_MAX): Use macro-int-constant.
27632 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27633 [C99-based standards] (strtof): Require function.
27634 [C99-based standards] (strtold): Likewise.
27635 [C99-based standards] (strtoll): Likewise.
27636 [C99-based standards] (strtoull): Likewise.
27637 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27638 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27639 [ISO || ISO99 || ISO11] (math.h): Likewise.
27640 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27641 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27642 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27644 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27647 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27648 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27649 * intl/dgettext.c (DCGETTEXT): Likewise.
27650 * intl/gettext.c (DCGETTEXT): Likewise.
27651 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27652 * posix/regex_internal.h (gettext): Likewise.
27653 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27654 Remove declaration.
27655 * include/argz.h (__argz_count_internal)
27656 (__argz_stringify_internal): Remove declaration.
27657 (__argz_count, __argz_stringify): Declare hidden proto.
27658 * intl/dcgettext.c: Remove use of INTDEF.
27659 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27660 * string/argz-stringify.c: Likewise.
27661 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27662 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27663 Declare hidden proto.
27664 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27665 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27666 Declare hidden proto.
27667 * include/stdio.h (__asprintf_internal): Don't declare.
27668 (__asprintf): Don't define as macro. Declare hidden proto.
27669 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27670 (__fsetlocking): Declare hidden proto.
27671 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27672 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27674 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27675 (_IO_setlinebuf): Remove use of INTUSE.
27676 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27677 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27678 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27679 Remove declaration.
27680 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27681 (_IO_do_flush): Remove use of INTUSE.
27682 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27683 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27684 (_IO_adjust_column, _IO_least_wmarker)
27685 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27686 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27687 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27688 (_IO_default_doallocate, _IO_wdefault_doallocate)
27689 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27690 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27691 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27692 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27693 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27694 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27695 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27696 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27697 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27698 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27699 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27700 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27701 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27703 (_IO_flush_all_internal, _IO_adjust_column_internal)
27704 (_IO_default_uflow_internal, _IO_default_finish_internal)
27705 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27706 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27707 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27708 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27709 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27710 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27711 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27712 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27713 (_IO_file_close_internal, _IO_file_close_it_internal)
27714 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27715 (_IO_file_init_internal, _IO_file_attach_internal)
27716 (_IO_file_fopen_internal, _IO_file_read_internal)
27717 (_IO_file_sync_internal, _IO_file_seek_internal)
27718 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27719 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27720 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27721 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27722 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27723 (_IO_list_all_internal, _IO_link_in_internal)
27724 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27725 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27726 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27727 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27728 (_IO_do_write_internal, _IO_padn_internal)
27729 (_IO_getline_info_internal, _IO_getline_internal)
27730 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27731 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27732 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27733 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27734 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27735 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27736 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27737 with libc_hidden_ver, remove use of INTUSE.
27738 * libio/genops.c: Likewise.
27739 * libio/freopen.c: Likewise.
27740 * libio/freopen64.c: Likewise.
27741 * libio/iofclose.c: Likewise.
27742 * libio/iofdopen.c: Likewise.
27743 * libio/iofflush.c: Likewise.
27744 * libio/iofflush_u.c: Likewise.
27745 * libio/iofgets.c: Likewise.
27746 * libio/iofgets_u.c: Likewise.
27747 * libio/iofopen.c: Likewise.
27748 * libio/iofopncook.c: Likewise.
27749 * libio/iofread.c: Likewise.
27750 * libio/iofread_u.c: Likewise.
27751 * libio/ioftell.c: Likewise.
27752 * libio/iofwrite.c: Likewise.
27753 * libio/iogetline.c: Likewise.
27754 * libio/iogets.c: Likewise.
27755 * libio/iogetwline.c: Likewise.
27756 * libio/iopadn.c: Likewise.
27757 * libio/iopopen.c: Likewise.
27758 * libio/ioseekoff.c: Likewise.
27759 * libio/ioseekpos.c: Likewise.
27760 * libio/iosetbuffer.c: Likewise.
27761 * libio/iosetvbuf.c: Likewise.
27762 * libio/ioungetc.c: Likewise.
27763 * libio/ioungetwc.c: Likewise.
27764 * libio/iovdprintf.c: Likewise.
27765 * libio/iovsprintf.c: Likewise.
27766 * libio/iovsscanf.c: Likewise.
27767 * libio/memstream.c: Likewise.
27768 * libio/obprintf.c: Likewise.
27769 * libio/oldfileops.c: Likewise.
27770 * libio/oldiofclose.c: Likewise.
27771 * libio/oldiofdopen.c: Likewise.
27772 * libio/oldiofopen.c: Likewise.
27773 * libio/oldiopopen.c: Likewise.
27774 * libio/oldstdfiles.c: Likewise.
27775 * libio/putc.c: Likewise.
27776 * libio/setbuf.c: Likewise.
27777 * libio/setlinebuf.c: Likewise.
27778 * libio/stdfiles.c: Likewise.
27779 * libio/strops.c: Likewise.
27780 * libio/vasprintf.c: Likewise.
27781 * libio/vscanf.c: Likewise.
27782 * libio/vsnprintf.c: Likewise.
27783 * libio/vswprintf.c: Likewise.
27784 * libio/wfiledoalloc.c: Likewise.
27785 * libio/wfileops.c: Likewise.
27786 * libio/wgenops.c: Likewise.
27787 * libio/wmemstream.c: Likewise.
27788 * libio/wstrops.c: Likewise.
27789 * libio/__fpurge.c: Likewise.
27790 * libio/__fsetlocking.c: Likewise.
27791 * assert/assert.c: Likewise.
27792 * debug/fgets_chk.c: Likewise.
27793 * debug/fgets_u_chk.c: Likewise.
27794 * debug/fread_chk.c: Likewise.
27795 * debug/fread_u_chk.c: Likewise.
27796 * debug/gets_chk.c: Likewise.
27797 * debug/obprintf_chk.c: Likewise.
27798 * debug/vasprintf_chk.c: Likewise.
27799 * debug/vdprintf_chk.c: Likewise.
27800 * debug/vsnprintf_chk.c: Likewise.
27801 * debug/vsprintf_chk.c: Likewise.
27802 * malloc/mtrace.c: Likewise.
27803 * misc/error.c: Likewise.
27804 * misc/syslog.c: Likewise.
27805 * stdio-common/asprintf.c: Likewise.
27806 * stdio-common/fxprintf.c: Likewise.
27807 * stdio-common/getw.c: Likewise.
27808 * stdio-common/isoc99_fscanf.c: Likewise.
27809 * stdio-common/isoc99_scanf.c: Likewise.
27810 * stdio-common/isoc99_vfscanf.c: Likewise.
27811 * stdio-common/isoc99_vscanf.c: Likewise.
27812 * stdio-common/isoc99_vsscanf.c: Likewise.
27813 * stdio-common/printf-prs.c: Likewise.
27814 * stdio-common/printf_fp.c: Likewise.
27815 * stdio-common/printf_fphex.c: Likewise.
27816 * stdio-common/printf_size.c: Likewise.
27817 * stdio-common/putw.c: Likewise.
27818 * stdio-common/scanf.c: Likewise.
27819 * stdio-common/sprintf.c: Likewise.
27820 * stdio-common/tmpfile.c: Likewise.
27821 * stdio-common/vfprintf.c: Likewise.
27822 * stdio-common/vfscanf.c: Likewise.
27823 * stdlib/strfmon_l.c: Likewise.
27824 * sunrpc/openchild.c: Likewise.
27825 * sunrpc/xdr_stdio.c: Likewise.
27826 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27827 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27829 2012-05-24 Roland McGrath <roland@hack.frob.com>
27831 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27833 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27834 in the third column, to generate for the shared library an IFUNC
27835 that uses _dl_vdso_vsym.
27836 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27837 * Makeconfig (object-suffixes-noshared): New variable.
27839 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27840 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27841 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27842 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27845 * include/sys/time.h (__gettimeofday): Remove macro.
27846 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27847 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27849 (__gettimeofday): Add libc_hidden_def.
27850 (gettimeofday): Add libc_hidden_weak.
27851 * sysdeps/mach/gettimeofday.c: Likewise.
27852 * sysdeps/posix/gettimeofday.c: Likewise.
27853 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27854 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27855 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27856 (__gettimeofday_internal): Remove strong_alias.
27857 (__gettimeofday): Add libc_hidden_def.
27858 (gettimeofday): Add libc_hidden_weak.
27859 * sysdeps/unix/syscalls.list (gettimeofday):
27860 Remove __gettimeofday_internal alias.
27862 2012-05-24 Daniel Jacobowitz <drow@false.org>
27863 H.J. Lu <hongjiu.lu@intel.com>
27866 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27867 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27868 (largebin_index_32_big): New.
27869 (largebin_index): Use it for 16-byte alignment.
27870 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27871 correction with front_misalign.
27873 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27901 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27902 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27904 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27908 * math/libm-test.inc (exp_test): Add test from bug 14036.
27909 (pow_test): Add test from bug 10846.
27911 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27913 (special_function): Do not include flags in test name.
27914 (parse_args): Likewise.
27915 * sysdeps/i386/fpu/libm-test-ulps: Update.
27916 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27917 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27918 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27921 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27923 * math/libm-test.inc ("Philosophy"): Update comment about
27925 (UNDERFLOW_EXCEPTION): New macro.
27926 (UNDERFLOW_EXCEPTION_OK): Likewise.
27927 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27928 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27929 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27930 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27931 (INVALID_EXCEPTION_OK): Update value.
27932 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27933 (OVERFLOW_EXCEPTION_OK): Likewise.
27934 (IGNORE_ZERO_INF_SIGN): Likewise.
27935 (test_exceptions): Handle underflow exceptions.
27936 (acos_test): Update for underflow exception expectations.
27937 (cexp_test): Likewise.
27938 (clog_test): Likewise.
27939 (clog10_test): Likewise.
27940 (csqrt_test): Likewise.
27941 (ctan_test): Likewise.
27942 (ctanh_test): Likewise.
27943 (exp_test): Likewise.
27944 (exp10_test): Likewise.
27945 (exp2_test): Likewise.
27946 (expm1_test): Likewise.
27947 (fma_test): Likewise.
27948 (j0_test): Likewise.
27949 (jn_test): Likewise.
27950 (nexttoward_test): Likewise.
27951 (pow_test): Likewise.
27952 (scalbn_test): Likewise.
27953 (scalbln_test): Likewise.
27954 (tan_test): Likewise.
27955 (y1_test): Likewise.
27956 * sysdeps/i386/fpu/libm-test-ulps: Update.
27957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27959 2012-05-23 David S. Miller <davem@davemloft.net>
27961 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27962 (__libc_sigaction): Remove unused local variables.
27964 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27966 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27968 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27970 mktime: avoid signed integer overflow
27971 * time/mktime.c (__mktime_internal): Do not mishandle the case
27972 where diff == INT_MIN.
27974 mktime: simplify computation of average
27975 * time/mktime.c (ranged_convert): Use new time_t_avg function
27976 instead of rolling our own (probably-slower) code.
27978 mktime: do not assume signed right shift propagates sign bit
27979 * time/mktime.c (isdst_differ): New static function.
27980 (__mktime_internal): No need to normalize tm_isdst now.
27981 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27984 mktime: merge another wrapv change from gnulib
27985 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27986 from some compilers.
27988 mktime: remove incorrect attempt at unusual arithmetics
27989 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27990 The code didn't really work on such machines anyway.
27991 (TYPE_MINIMUM): Assume two's complement.
27992 (twos_complement_arithmetic): Verify that long_int and time_t
27993 are two's complement (or unsigned, in the latter case).
27995 mktime: check signed shifts on long_int and time_t, too
27996 * time/mktime.c (SHR): Check that shifts work as desired
27997 on the types long_int and time_t too, as SHR is used on
28000 mktime: do not assume 'long' is wide enough
28001 * time/mktime.c (verify): Move decl up.
28002 (long_int): New type.
28003 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28004 to remove assumption in the code that 'long' is wide enough to
28005 store year values. This assumption is not true on x32 and on
28006 some non-glibc platforms.
28008 mktime: merge wrapv change from gnulib
28009 * time/mktime.c (WRAPV): New macro.
28010 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28011 (guess_time_tm, __mktime_internal): Do not assume that signed
28012 integer overflow wraps around; modern compilers generate code
28013 where this assumption is no longer valid.
28015 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28017 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28018 Replace "jmp L(pseudo_end)" with "ret".
28019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28022 2012-05-23 Andreas Jaeger <aj@suse.de>
28024 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28025 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28027 2012-05-23 Andreas Jaeger <aj@suse.de>
28028 Maximilian Attems <max@stro.at>
28030 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28033 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28035 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28036 code so that pseudo_end is just ret and the stack pointer is
28037 correct also for static library in error case.
28039 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28041 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28042 move to syscalls.list.
28043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28048 * manual/install.texi (Running make install): Do not mention Linux
28049 kernel version for which pt_chown is not needed.
28050 (Linux): Do not mention problems with nscd with 2.0 kernels.
28051 * INSTALL: Regenerated.
28053 2012-05-23 Andreas Jaeger <aj@suse.de>
28055 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28056 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28058 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28059 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28060 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28061 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28062 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28063 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28064 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28065 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28066 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28067 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28068 * sysdeps/unix/sysv/linux/bits/in.h
28069 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28071 2012-05-22 Roland McGrath <roland@hack.frob.com>
28073 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28074 (PREPARE_VERSION): Just use assert instead, it will be elided
28075 under [NDEBUG] anyway.
28077 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28079 * sysdeps/unix/sysv/linux/Makefile: Include
28080 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28081 (sysdep_routines): Remove sysctl.
28082 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28083 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28084 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28085 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28086 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28088 2012-05-22 Andreas Jaeger <aj@suse.de>
28090 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28091 that pseudo_end is just ret and the stack pointer is correct also
28092 for static library in error case.
28094 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28097 * nss/nsswitch.c (defconfig_entries): New variable.
28098 (__nss_database_lookup): Don't leak defconfig entries.
28099 (nss_parse_service_list): Don't leak on error paths.
28100 (free_database_entries): New function.
28101 (free_defconfig): New function.
28102 (free_mem): Move common code to free_database_entries.
28104 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28106 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28108 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28110 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28111 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28112 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28114 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28115 (INTERNAL_SYSCALL_TYPES): Likewise.
28116 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28117 (LOAD_REGS_TYPES_[1-6]): Likewise.
28118 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28119 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28121 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28123 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28124 copysignl for GLIBC_2_0.
28125 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28126 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28127 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28128 logbl for GLIBC_2_0.
28129 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28130 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28132 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28134 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28135 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28137 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28140 * time/mktime.c: Update copyright years.
28142 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28144 mktime: merge comment-quoting-style change from gnulib
28145 * time/mktime.c: Quote 'like this' in comments.
28146 The GNU coding standards suggest that we no longer quote `like this',
28147 as "`" and "'" are typically rendered asymmetrically nowadays.
28148 The typical gnulib style is to quote 'like this' when quoting
28149 code, and "like this" when quoting English.
28151 * time/mktime.c (compile-command): Add "-I.".
28153 mktime: merge mktime-internal.h change from gnulib
28154 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28156 mktime: merge time_r change from gnulib
28157 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28159 mktime: merge DEBUG change from gnulib
28160 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28161 case system <time.h> has a #define.
28163 mktime: merge <sys/types.h> change from gnulib
28164 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28165 since <time.t> is now guaranteed to define time_t.
28167 mktime: merge HAVE_CONFIG_H change from gnulib
28168 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28170 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28175 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28177 (struct rusage): Use anonymous union to pad each field to
28180 2012-05-21 David S. Miller <davem@davemloft.net>
28182 * Makefules (o-iterator): Remove .s cases.
28183 (compile-command.s): Delete.
28184 (COMPILE.s): Delete.
28185 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28187 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28189 * configure.in (libc_cv_predef_stack_protector): Only consider
28190 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28191 * configure: Regenerated.
28193 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28195 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28196 New macro. Use R*LP on int and pointer.
28197 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28198 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28199 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28200 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28202 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28203 [__WORDSIZE_TIME64_COMPAT32] instead of
28204 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28205 (struct utmp): Likewise.
28206 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28207 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28209 (__WORDSIZE_TIME64_COMPAT32): This.
28210 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28211 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28212 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28213 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28214 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28215 (__WORDSIZE_TIME64_COMPAT32): New macro.
28217 2012-05-21 Andreas Jaeger <aj@suse.de>
28219 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28220 only if [SHARED]. Add prototype for __wcschr_ia32.
28222 2012-05-21 Roland McGrath <roland@hack.frob.com>
28224 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28225 of %rbp unmolested in the jmp_buf while mangling the low bits.
28226 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28227 unmolested high bits of %rbp while demangling the low bits.
28228 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28230 2012-05-21 Andreas Jaeger <aj@suse.de>
28232 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28233 * sunrpc/svc_simple.c: Use it for registerrpc.
28234 * sunrpc/xcrypt.c: Use it for passwd2des.
28236 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28238 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28240 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28241 Don't define if [__SYSCALL_WORDSIZE != 32].
28242 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28245 2012-05-21 Bruno Haible <bruno@clisp.org>
28246 Andreas Jaeger <aj@suse.de>
28248 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28249 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28250 inptr and inend for must_buffer_ch.
28251 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28252 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28253 * stdio-common/Makefile (tests): Remove bug15.
28254 (bug15-ENV): Remove macro.
28255 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28258 2012-05-19 Andreas Jaeger <aj@suse.de>
28259 Roland McGrath <roland@hack.frob.com>
28261 * manual/contrib.texi: Completely rewritten. It contains now an
28262 alphabetical list of contributors and their contributions.
28264 2012-05-21 Richard Henderson <rth@twiddle.net>
28266 * misc/getauxval.c (__getauxval): Use unsigned long int.
28267 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28268 (getauxval): Use unsigned long int.
28270 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28272 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28274 2012-05-21 Roland McGrath <roland@hack.frob.com>
28276 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28277 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28278 __alignof__ (long double).
28280 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28284 2012-05-20 Richard Henderson <rth@twiddle.net>
28286 * misc/getauxval.c: New file.
28287 * misc/sys/auxv.h: New file.
28288 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28289 (routines): Add getauxval.
28290 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28291 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28292 * elf/dl-sysdep.c (_dl_auxv): Remove.
28293 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28294 * elf/dl-support.c (_dl_auxv): New variable.
28295 (_dl_aux_init): Initialize it.
28296 * manual/startup.texi (Auxiliary Vector): New node.
28297 * sysdeps/generic/bits/hwcap.h: New file.
28298 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28299 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28300 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28301 * sysdeps/sparc/sysdep.h: ... here. Include it.
28302 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28303 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28309 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28315 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28319 2012-05-19 David S. Miller <davem@davemloft.net>
28321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28323 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28326 * math/s_ccosh.c: Include <float.h>
28327 (__ccosh): Avoid internal overflow calculating sinh and cosh
28328 values before multiplying by sin and cos values.
28329 * math/s_ccoshf.c: Likewise.
28330 * math/s_ccoshl.c: Likewise.
28331 * math/s_csin.c: Likewise.
28332 * math/s_csinf.c: Likewise.
28333 * math/s_csinl.c: Likewise.
28334 * math/s_csinh.c: Likewise.
28335 * math/s_csinhf.c: Likewise.
28336 * math/s_csinhl.c: Likewise.
28337 * math/libm-test.inc (ccos_test): Add more tests.
28338 (ccosh_test): Likewise.
28339 (csin_test): Likewise.
28340 (csinh_test): Likewise.
28341 * sysdeps/i386/fpu/libm-test-ulps: Update.
28342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28344 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28346 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28347 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28349 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28351 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28353 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28354 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28355 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28356 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28357 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28358 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28359 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28360 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28361 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28362 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28363 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28364 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28365 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28366 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28367 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28368 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28369 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28370 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28371 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28372 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28373 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28374 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28375 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28376 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28377 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28378 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28379 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28380 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28381 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28382 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28383 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28385 2012-05-18 Andreas Jaeger <aj@suse.de>
28387 * csu/.gitignore: Delete.
28389 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28391 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28392 (timex): Use __syscall_slong_t.
28394 2012-05-18 Andreas Jaeger <aj@suse.de>
28395 Carlos O'Donell <carlos_odonell@mentor.com>
28397 * manual/install.texi (Configuring and compiling): Update
28398 description about files modified in the source directory.
28399 * INSTALL: Regenerated.
28401 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28403 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28404 value. Use "or" to set return value to -1.
28405 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28406 negate return value.
28408 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28410 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28411 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28412 failure if the compiler has Graphite support disabled.
28413 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28415 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28416 CFLAGS-memmove.c): Likewise.
28417 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28420 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28422 * sysdeps/x86_64/x32/_itoa.h: New file.
28424 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28425 getdents system call only if kernel and user dirents have the
28426 same d_ino and d_off.
28428 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28429 LLONG_MAX != LONG_MAX.
28430 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28431 (_fitoa_word): Likewise.
28433 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28435 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28436 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28437 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28439 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28440 include <bits/wordsize.h>. Check __x86_64__ instead of
28442 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28443 if __x86_64__ is defined. Use anonymous union on fpstate.
28445 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28448 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28450 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28451 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28452 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28453 Refer to _rtld_local_ro instead of _rtld_global_ro.
28454 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28456 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28458 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28460 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28461 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28462 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28464 * sysdeps/powerpc/powerpc32/dl-machine.c
28465 (__elf_machine_runtime_setup) [PROF]: Don't reference
28468 2012-05-18 Andreas Jaeger <aj@suse.de>
28470 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28471 function only available for GCCs before 3.4 since GCC 3.4
28472 introduced a builtin.
28474 (llrintf): Likewise.
28475 (llrint): Likewise.
28482 (nearbyint): Likewise.
28483 (nearbyintf): Likewise.
28487 (floorf): Likewise.
28489 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28491 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28492 on both fields and cast pointer to __syscall_ulong_t.
28494 * bits/types.h (__fsword_t): New type.
28495 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28496 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28497 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28498 (__FSWORD_T_TYPE): Likewise.
28499 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28500 (__FSWORD_T_TYPE): Likewise.
28501 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28502 (__FSWORD_T_TYPE): Likewise.
28503 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28504 (__FSWORD_T_TYPE): Likewise.
28505 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28506 __SWORD_TYPE with __fsword_t.
28507 (statfs64): Likewise.
28509 2012-05-17 David S. Miller <davem@davemloft.net>
28511 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28513 2012-05-17 Andreas Jaeger <aj@suse.de>
28515 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28518 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28520 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28522 2012-05-17 Andreas Jaeger <aj@suse.de>
28524 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28527 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28529 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28531 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28533 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28534 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28536 2012-05-17 Andreas Jaeger <aj@suse.de>
28537 Carlos O'Donell <carlos_odonell@mentor.com>
28540 * sysdeps/x86_64/multiarch/init-arch.h
28541 (bit_YMM_Usable): Rename to...
28542 (bit_AVX_Usable): ... this.
28543 (bit_FMA4_Usable): New macro.
28544 (bit_XMM_state): New macro.
28545 (bit_YMM_state): New macro.
28546 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28547 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28548 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28549 (CPUID_OSXSAVE): New macro.
28550 (CPUID_AVX): New macro.
28551 (CPUID_FMA4): New macro.
28552 (index_YMM_Usable): Rename to...
28553 (index_AVX_Usable): ... this.
28554 (HAS_AVX): Use HAS_ARCH_FEATURE.
28555 (HAS_FMA4): Likewise.
28556 (HAS_YMM_USABLE): Remove.
28557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28558 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28560 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28561 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28562 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28563 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28564 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28566 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28568 * math/libm-test.c: Support platforms without multiple rounding modes.
28569 * math/bug-nextafter.c: Support platforms without FP exceptions.
28570 * math/bug-nexttoward.c: Likewise.
28571 * math/test-fenv.c: Likewise.
28572 * math/test-misc.c: Likewise.
28573 * stdlib/bug-getcontext.c: Likewise.
28575 2012-05-17 Andreas Jaeger <aj@suse.de>
28577 * manual/examples/search.c (critter_cmp): Change signature to
28579 * manual/string.texi (Collation Functions): Likewise.
28581 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28583 * bits/types.h: Fold copyright years.
28584 * bits/typesizes.h: Likewise.
28585 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28586 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28587 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28588 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28589 * time/time.h: Likewise.
28591 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28594 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28595 in instead of returning them. Return void.
28596 (__libc_mallinfo): Accumulate over all arenas.
28597 (__malloc_stats): Adjust for change in int_mallinfo interface.
28599 2012-05-16 Roland McGrath <roland@hack.frob.com>
28602 * configure.in (NM): Add AC_CHECK_TOOL for it.
28603 (libc_extra_cflags): New substituted variable.
28604 Check for -fstack-protector being used implicitly.
28605 * configure: Regenerated.
28606 * config.make.in (config-extra-cflags): New variable,
28607 gets @libc_extra_cflags@.
28608 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28611 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28612 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28613 * configure: Regenerated.
28614 * config.make.in (CPPUNDEFS): New substituted variable.
28615 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28616 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28617 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28619 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28621 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28622 (mq_attr): Use __syscall_slong_t.
28624 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28626 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28627 Check __x86_64__ instead of __WORDSIZE.
28628 (_STAT_VER_LINUX): Likewise.
28629 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28630 __syscall_ulong_t and __syscall_slong_t.
28631 (stat64): Likewise.
28633 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28635 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28637 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28639 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28641 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28643 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28646 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28647 include <bits/wordsize.h>. Check __x86_64__ instead of
28649 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28651 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28653 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28654 include <bits/wordsize.h>. Check __x86_64__ instead of
28656 (user_regs_struct): Use "__extension__ unsigned long long"
28657 instead of "unsigned long" if __x86_64__ is defined.
28658 (user): Likewise. Pad after pointer field if __ILP32__ is
28661 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28663 * configure.in (makeinfo): Require version 4.5 or later. Allow
28665 * configure: Regenerated.
28666 * manual/install.texi (texinfo): Increase version requirement to
28668 * INSTALL: Regenerated.
28670 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28672 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28674 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28676 * sysdeps/x86_64/x32/ffs.c: New file.
28678 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28680 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28681 defined. Use __syscall_ulong_t.
28682 (shminfo): Use __syscall_ulong_t.
28683 (shm_info): Likewise.
28685 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28688 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28690 (msgqnum_t): Use __syscall_ulong_t.
28691 (msglen_t): Likewise.
28692 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28695 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28696 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28698 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28700 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28701 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28703 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28706 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28707 include <bits/wordsize.h>. Check __x86_64__ instead of
28710 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28711 "unsigned long long int" if __x86_64__ is defined.
28712 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28714 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28715 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28716 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28718 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28720 (GET_PC): Cast to uintptr_t first.
28721 (GET_FRAME): Likewise.
28722 (GET_STACK): Likewise.
28724 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28725 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28726 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28727 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28728 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28729 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28730 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28731 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28732 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28733 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28734 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28735 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28736 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28737 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28738 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28739 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28740 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28741 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28742 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28743 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28744 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28745 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28746 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28747 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28748 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28749 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28750 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28751 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28752 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28754 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28756 * Makerules (+depfiles): Also collect depfiles from .oS in
28758 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28759 .oS, $(libnldbl-routines)).
28761 * Makerules (native-compile-mkdep-flags): Define.
28762 * sunrpc/Makefile (extra-objs): Add $(addprefix
28763 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28764 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28765 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28766 calling $(make-target-directory).
28768 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28770 * bits/types.h (__snseconds_t): Removed.
28771 * time/time.h (struct timespec): Replace __snseconds_t with
28773 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28774 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28776 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28777 (__SNSECONDS_T_TYPE): Likewise.
28778 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28779 (__SNSECONDS_T_TYPE): Likewise.
28780 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28781 (__SNSECONDS_T_TYPE): Likewise.
28783 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28785 * sysdeps/mach/hurd/bits/typesizes.h
28786 (__SYSCALL_SLONG_TYPE): New macro.
28787 (__SYSCALL_ULONG_TYPE): Likewise.
28789 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28791 * bits/types.h (__syscall_slong_t): New type.
28792 (__syscall_ulong_t): Likewise.
28794 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28795 (__SYSCALL_ULONG_TYPE): Likewise.
28796 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28797 (__SYSCALL_SLONG_TYPE): Likewise.
28798 (__SYSCALL_ULONG_TYPE): Likewise.
28799 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28800 (__SYSCALL_SLONG_TYPE): Likewise.
28801 (__SYSCALL_ULONG_TYPE): Likewise.
28802 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28803 (__SYSCALL_SLONG_TYPE): Likewise.
28804 (__SYSCALL_ULONG_TYPE): Likewise.
28806 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28808 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28809 Add sigaltstack-offsets.sym.
28810 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28811 <sigaltstack-offsets.h>.
28812 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28813 longjmp_msg pointer.
28814 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28815 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28817 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28819 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28821 * elf/stackguard-macros.h: Remove file.
28822 * sysdeps/generic/stackguard-macros.h: New file.
28823 * sysdeps/i386/stackguard-macros.h: Likewise.
28824 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28825 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28826 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28827 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28828 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28829 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28830 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28831 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28832 <elf/stackguard-macros.h>.
28835 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28836 __aligned__ in attribute.
28837 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28838 (gregset_t): Likewise.
28840 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28842 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28843 * sysdeps/x86_64/64/Implies-after: Here. New file.
28844 * sysdeps/x86_64/x32/Implies-after: New file.
28846 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28848 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28849 and access return value for _dl_profile_fixup. Use R10_LP to
28852 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28854 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28858 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28859 * sysdeps/x86_64/x32/sysdep.h: New file.
28861 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28863 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28864 * sysdeps/x86_64/setjmp.S: Likewise.
28866 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28868 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28869 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28870 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28871 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28872 remove unused global constant.
28874 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28876 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28877 include of <not-cancel.h>.
28879 2012-05-15 Roland McGrath <roland@hack.frob.com>
28881 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28883 2012-05-15 Jeff Law <law@redhat.com>
28884 Andreas Jaeger <aj@suse.de>
28887 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28889 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28890 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28891 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28892 code changing __hst_map_handle.map.
28894 2012-05-15 Roland McGrath <roland@hack.frob.com>
28896 * configure.in (sysnames): Look for Implies-before and Implies-after
28898 * configure: Regenerated.
28900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28902 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28903 8-byte data alignment with LP_SIZE alignment.
28905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28907 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28912 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28914 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28916 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28917 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28918 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28920 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28924 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28925 (stackinfo_sub_sp): Likewise.
28927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28929 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28934 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28939 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28942 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28944 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28946 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28948 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28949 into R11_LP and load __x86_64_shared_cache_size_half into
28952 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28954 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28957 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28959 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28961 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28963 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28965 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28966 powerpc32/power7/fpu/s_logb.c via #include.
28967 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28968 powerpc32/power7/fpu/s_logbf.c via #include.
28969 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28970 powerpc32/power7/fpu/s_logbl.c via #include.
28972 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28974 * README.libm: Remove file.
28976 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28978 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28979 count for x32. Use R*_LP and omit operand-size suffix.
28981 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28983 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28984 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28985 * sysdeps/x86_64/x32/shlib-versions: New file.
28987 2012-05-14 Roland McGrath <roland@hack.frob.com>
28989 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28990 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28991 Use _dl_fatal_printf instead.
28993 2012-05-14 Joseph Myers <joseph@codesourcery.com>
28995 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28996 set if not set by the user. Do not allow for being unset.
28997 * sysdeps/unix/sysv/linux/configure: Regenerated.
28999 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29001 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29002 the `q' suffix from lea and replace .quad with ASM_ADDR.
29004 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29006 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29007 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29009 (PTR_DEMANGLE): Likewise.
29011 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29013 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29015 (ASM_ADDR): Likewise.
29016 (RAX_LP): Likewise.
29017 (RBP_LP): Likewise.
29018 (RBX_LP): Likewise.
29019 (RCX_LP): Likewise.
29020 (RDI_LP): Likewise.
29021 (RSI_LP): Likewise.
29022 (RSP_LP): Likewise.
29025 (R10_LP): Likewise.
29026 (R10_LP): Likewise.
29027 (R11_LP): Likewise.
29028 (R12_LP): Likewise.
29029 (R13_LP): Likewise.
29030 (R14_LP): Likewise.
29031 (R15_LP): Likewise.
29033 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29035 * sysdeps/x86_64/x32/dl-machine.h: New file.
29037 2012-05-14 Andreas Jaeger <aj@suse.de>
29039 * manual/Makefile (subdir): Remove export of subdir.
29040 (all): Remove target.
29041 (.PHONY): Remove all from list.
29042 (mkinstalldirs): Remove.
29043 (.PHONY): Remove installdirs from list.
29044 ($(inst_infodir)/libc.info): Use make-target-directory.
29045 (installdirs): Remove.
29046 (subdir_%): Remove.
29047 (glibc-targets): Remove.
29050 ($(objpfx)stubs ../po/manual.pot): Remove.
29051 ($(objpfx)stamp%): Remove.
29052 (make-target-directory): Remove.
29053 (subdir_install): Remove.
29054 (routines): Remove.
29061 * manual/.gitignore: Remove, it's not needed anymore.
29062 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29064 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29066 (texis): Renamed to $(objpfx)texis.
29067 (texis-path): New, contains path to generated files.
29068 (chapters.%): Use texis-path for complete path, add extra argument
29070 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29071 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29072 (summary,texi, stamp-summary): Use complete path of
29073 files. Generate files in build dir.
29074 (dir-add.texi): Build in build dir.
29075 (libm-err.texi,stamp-libm-err): Likewise.
29076 (version.texi, stamp-version): Likewise.
29077 (.%c.texi): Likewise.
29078 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29079 (mostlyclean): Remove target.
29080 (realclean): Remove target.
29081 (generated): Add new variable with contents from mostlyclean and
29082 realclean, remove entries duplicated in common-mostlyclean, add
29083 stamp-libm-err and stamp-version.
29084 (generated-dirs): Add libc directory.
29085 ($(inst_infodir)/libc.info): Install files from build dir.
29087 * manual/install.texi (Configuring and compiling): Adjust since
29088 the info files are not part of the tar ball anymore.
29090 2012-05-14 Andreas Jaeger <aj@suse.de>
29092 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29095 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29098 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29099 to 2.2.0 where earlier.
29100 * sysdeps/unix/sysv/linux/configure: Regenerated.
29101 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29102 Remove conditional code.
29103 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29104 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29105 Remove conditional code.
29106 [!__NR_lchown]: Likewise.
29107 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29108 [__NR_lchown]: Likewise.
29109 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29110 comment referencing __ASSUME_LCHOWN_SYSCALL.
29111 * sysdeps/unix/sysv/linux/i386/sigaction.c
29112 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29113 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29114 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29115 Remove conditional code.
29116 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29117 (__protocol_available): Remove #if 0 code.
29118 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29120 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29121 * sysdeps/unix/sysv/linux/kernel-features.h
29122 (__ASSUME_GETCWD_SYSCALL): Don't define.
29123 (__ASSUME_REALTIME_SIGNALS): Likewise.
29124 (__ASSUME_PREAD_SYSCALL): Likewise.
29125 (__ASSUME_PWRITE_SYSCALL): Likewise.
29126 (__ASSUME_POLL_SYSCALL): Likewise.
29127 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29128 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29130 (__ASSUME_SIOCGIFNAME): Don't define.
29131 (__ASSUME_MSG_NOSIGNAL): Likewise.
29132 (__ASSUME_SENDFILE): Define unconditionally.
29133 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29134 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29136 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29137 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29138 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29139 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29140 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29141 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29142 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29144 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29145 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29147 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29148 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29150 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29151 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29153 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29154 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29156 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29157 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29159 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29160 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29162 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29163 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29165 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29166 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29167 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29168 Remove conditional code.
29169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29170 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29171 Remove conditional code.
29172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29173 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29174 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29175 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29176 Remove conditional code.
29177 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29178 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29179 Remove conditional code.
29180 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29181 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29182 Remove conditional code.
29183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29184 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29185 Remove conditional code.
29186 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29187 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29188 Remove conditional code.
29189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29190 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29191 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29193 * sysdeps/unix/sysv/linux/sigaction.c
29194 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29195 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29196 * sysdeps/unix/sysv/linux/sigpending.c
29197 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29198 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29199 * sysdeps/unix/sysv/linux/sigprocmask.c
29200 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29201 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29202 * sysdeps/unix/sysv/linux/sigsuspend.c
29203 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29204 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29205 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29206 (__libc_missing_rt_sigs): Remove.
29207 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29208 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29209 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29210 Remove conditional code.
29211 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29212 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29214 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29215 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29216 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29217 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29219 2012-05-14 Andreas Jaeger <aj@suse.de>
29221 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29222 it's not used in glibc.
29223 (__coshm1): Likewise.
29224 (__acosh1p): Likewise.
29227 * manual/string.texi (Copying and Concatenation): Add missing
29228 variable in concat example.
29229 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29231 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29235 __builtin_clzl with __builtin_clzll.
29237 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29240 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29243 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29245 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29246 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29247 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29248 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29250 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29252 * NEWS: Update ia64 info.
29254 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29256 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29259 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29261 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29262 * sysdeps/unix/syscalls.list (dup3): Likewise.
29263 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29264 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29266 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29268 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29269 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29271 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29273 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29275 (TLS_IE): Use mov/add instead of movq/addq to load thread
29277 (TLS_GD_PREFIX): New.
29280 2012-05-11 David S. Miller <davem@davemloft.net>
29282 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29283 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29284 (_FPU_SETCW): Likewise.
29286 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29288 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29289 is 32-byte aligned.
29291 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29294 * iconvdata/gb18030.c: Update tables.
29295 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29296 characters specially.
29297 (BODY for TO_LOOP): Add encoding of missing ranges.
29299 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29302 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29303 * sysdeps/mach/hurd/dup3.c: Likewise.
29304 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29305 * sysdeps/powerpc/memmove.c:: Likewise.
29307 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29309 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29310 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29312 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29314 * elf/elf.h (R_X86_64_RELATIVE64): New.
29315 (R_X86_64_NUM): Updated.
29316 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29317 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29318 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29319 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29320 tst-quad1pie tst-quad2pie
29321 (modules-names): Add tst-quadmod1 tst-quadmod2.
29322 ($(objpfx)tst-quad1): New dependency.
29323 ($(objpfx)tst-quad2): Likewise.
29324 ($(objpfx)tst-quad1pie): Likewise.
29325 ($(objpfx)tst-quad2pie): Likewise.
29326 * sysdeps/x86_64/tst-quad1.c: New file.
29327 * sysdeps/x86_64/tst-quad1pie.c: New file.
29328 * sysdeps/x86_64/tst-quad2.c: Likewise.
29329 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29330 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29331 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29332 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29333 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29335 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29337 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29338 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29339 * streams/stropts.h (t_scalar_t): Define type.
29341 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29342 (_PATH_PRESERVE): Set to "/var/lib".
29343 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29345 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29348 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29349 if __dir_mkfile succeeded.
29351 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29352 checking for _hurd_dtablesize. Unlock it right after having
29353 finished _hurd_dtable allocation.
29355 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29357 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29358 * sysdeps/mach/hurd/configure: Regenerated.
29359 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29360 special-casing to...
29361 * sysdeps/gnu/configure.in: ... this new file.
29362 * sysdeps/unix/sysv/linux/configure: Regenerated.
29363 * sysdeps/gnu/configure: New generated file.
29365 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29366 for Linux: use nsec instead of usec, as well as:
29367 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29368 members of type struct timespec.
29369 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29371 (struct stat64): Likewise.
29372 (_STATBUF_ST_NSEC): New macro.
29373 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29375 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29376 __strtoul_internal rather than strtoul.
29378 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29380 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29383 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29385 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29386 which preserves existing values.
29387 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29389 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29391 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29392 TIMEOUT values. Return EINVAL for NFDS values either negative or
29393 greater than FD_SETSIZE.
29395 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29397 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29398 allocated, call __vm_protect to finish enabling the existing space, and
29399 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29400 allocate the remainder.
29402 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29404 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29405 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29407 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29409 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29410 sysdeps/mach/hurd/readlink.c.
29412 * posix/tst-sysconf.c (posix_options): Only use
29413 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29414 _POSIX_SYNCHRONIZED_IO when they are defined
29415 * sysdeps/mach/hurd/bits/posix_opt.h:
29416 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29417 (_XOPEN_REALTIME): Undefine macro.
29418 (_XOPEN_REALTIME_THREADS): Undefine macro.
29419 (_XOPEN_SHM): Undefine macro.
29420 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29422 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29424 (_POSIX_ASYNC_IO): Undefine macro.
29425 (_POSIX_PRIORITIZED_IO): Undefine macro.
29426 (_POSIX_SPIN_LOCKS): Define macro to -1.
29428 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29429 SA_NODEFER, SA_RESETHAND.
29430 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29431 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29434 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29436 * elf/Makefile (pldd-modules): Define unconditionally.
29438 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29440 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29442 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29444 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29445 Return ENOENT when name is empty.
29446 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29448 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29450 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29452 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29454 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29456 Fix mlock in all cases except non-readable pages.
29457 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29458 instead of VM_PROT_ALL as parameter to __vm_wire function.
29460 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29461 (__mkdir): When path is `/', just fail with EEXIST.
29462 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29464 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29466 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29467 <sys/uio.h> (for writev).
29468 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29469 and <sys/param.h> (for MIN).
29471 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29473 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29474 REQUESTED_TIME. Properly set the remaining time and return EINTR
29477 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29479 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29480 Depend on against $(link-rpcuserlibs).
29482 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29484 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29485 (__libc_stack_end): Do not use attribute_relro.
29486 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29487 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29488 to libthread-provided value.
29489 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29495 * bits/libc-lock.h (__libc_once_get): New macro.
29496 * sysdeps/mach/bits/libc-lock.h: Likewise.
29497 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29498 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29499 instead of using implementation details.
29501 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29502 * libio/freopen.c: Likewise.
29503 * libio/freopen64.c: Likewise.
29504 * misc/syslog.c: Likewise.
29505 * nscd/connections.c: Likewise.
29506 * nscd/netgroupcache.c: Likewise.
29507 * sysdeps/posix/getcwd.c: Likewise.
29509 2012-05-10 Roland McGrath <roland@hack.frob.com>
29511 * math/w_ilogbf.c: Add #include <limits.h>.
29513 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29515 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29516 path instead of returning without unlocking.
29518 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29519 immediate-write ioctls.
29520 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29522 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29524 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29525 __builtin_frame_address instead of making assumptions about the
29526 location of the return address relative to DATA. Force early load of
29527 the return address.
29528 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29529 __builtin_frame_address.
29532 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29533 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29534 implement dup3 and do some further code clean-ups.
29535 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29536 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29538 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29540 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29542 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29543 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29544 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29545 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29546 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29549 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29550 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29551 when handler == SIG_ERR, not when handler != SIG_ERR.
29553 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29555 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29556 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29559 accept4 for GNU Hurd.
29560 * include/sys/socket.h (__libc_accept4): New prototype.
29561 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29562 to implement __libc_accept4.
29563 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29565 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29567 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29568 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29569 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29570 signal-defines.sym.
29572 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29574 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29576 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29578 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29579 assertion on O_CLOEXEC flag.
29580 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29581 * hurd/intern-fd.c: Likewise.
29582 * hurd/port2fd.c: Likewise.
29584 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29587 * bits/in.h (IPV6_PKTINFO): Define new macro.
29588 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29590 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29595 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29596 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29597 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29598 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29599 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29600 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29601 * math/libm-test.inc (logb_test) : Additional logb tests.
29603 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29604 Andreas Jaeger <aj@suse.de>
29606 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29607 * configure: Regenerated.
29608 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29609 * config.make.in (link-obsolete-rpc): New substituted variable.
29610 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29611 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29612 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29613 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29614 so that libc.a contains the symbols.
29615 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29616 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29617 * sunrpc/auth_none.c: Likewise.
29618 * sunrpc/auth_unix.c: Likewise.
29619 * sunrpc/authdes_prot.c: Likewise.
29620 * sunrpc/authuxprot.c: Likewise.
29621 * sunrpc/clnt_gen.c: Likewise.
29622 * sunrpc/clnt_perr.c: Likewise.
29623 * sunrpc/clnt_raw.c: Likewise.
29624 * sunrpc/clnt_simp.c: Likewise.
29625 * sunrpc/clnt_tcp.c: Likewise.
29626 * sunrpc/clnt_udp.c: Likewise.
29627 * sunrpc/clnt_unix.c: Likewise.
29628 * sunrpc/des_crypt.c: Likewise.
29629 * sunrpc/des_soft.c: Likewise.
29630 * sunrpc/get_myaddr.c: Likewise.
29631 * sunrpc/key_call.c: Likewise.
29632 * sunrpc/key_prot.c: Likewise.
29633 * sunrpc/netname.c: Likewise.
29634 * sunrpc/pm_getmaps.c: Likewise.
29635 * sunrpc/pm_getport.c: Likewise.
29636 * sunrpc/pmap_clnt.c: Likewise.
29637 * sunrpc/pmap_prot.c: Likewise.
29638 * sunrpc/pmap_prot2.c: Likewise.
29639 * sunrpc/pmap_rmt.c: Likewise.
29640 * sunrpc/publickey.c: Likewise.
29641 * sunrpc/rpc_cmsg.c: Likewise.
29642 * sunrpc/rpc_common.c: Likewise.
29643 * sunrpc/rpc_dtable.c: Likewise.
29644 * sunrpc/rpc_prot.c: Likewise.
29645 * sunrpc/rpc_thread.c: Likewise.
29646 * sunrpc/rtime.c: Likewise.
29647 * sunrpc/svc.c: Likewise.
29648 * sunrpc/svc_auth.c: Likewise.
29649 * sunrpc/svc_raw.c: Likewise.
29650 * sunrpc/svc_run.c: Likewise.
29651 * sunrpc/svc_tcp.c: Likewise.
29652 * sunrpc/svc_udp.c: Likewise.
29653 * sunrpc/svc_unix.c: Likewise.
29654 * sunrpc/svcauth_des.c: Likewise.
29655 * sunrpc/xcrypt.c: Likewise.
29656 * sunrpc/xdr.c: Likewise.
29657 * sunrpc/xdr_array.c: Likewise.
29658 * sunrpc/xdr_float.c: Likewise.
29659 * sunrpc/xdr_intXX_t.c: Likewise.
29660 * sunrpc/xdr_mem.c: Likewise.
29661 * sunrpc/xdr_rec.c: Likewise.
29662 * sunrpc/xdr_ref.c: Likewise.
29663 * sunrpc/xdr_sizeof.c: Likewise.
29664 * sunrpc/xdr_stdio.c: Likewise.
29666 2012-05-10 Roland McGrath <roland@hack.frob.com>
29668 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29669 change. Update copyright years.
29671 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29673 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29675 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29676 Joseph Myers <joseph@codesourcery.com>
29677 Paul Pluzhnikov <ppluzhnikov@google.com>
29680 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29682 [cross-compiling] (extra-libs): Likewise.
29683 [cross-compiling] (extra-libs-others): Likewise.
29684 [cross-compiling] (librpcsvc-routines): Likewise.
29685 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29686 [cross-compiling] (omit-deps): Likewise.
29687 (sunrpc-CPPFLAGS): New variable.
29688 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29689 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29690 (cross-rpcgen-objs): New variable.
29691 (extra-objs): Append $(cross-rpcgen-objs).
29692 ($(cross-rpcgen-objs)): New rule.
29693 ($(objpfx)cross-rpcgen): Likewise.
29694 (rpcgen-cmd): Define to use $(built-program-file). Expand
29696 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29697 ($(objpfx)x%.stmp): Likewise.
29698 * sunrpc/proto.h [IS_IN_build] (_): Define.
29699 [IS_IN_build] (_libc_intl_domainname): Likewise.
29701 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29703 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29704 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29705 and R_X86_64_TPOFF64.
29707 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29709 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29710 sysdeps/unix/sysv/syscalls.list.
29713 * sysdeps/unix/sysv/syscalls.list: Remove file.
29715 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29718 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29719 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29720 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29721 (__LC_IDENTIFICATION): Make these macros useful in #if
29722 expressions, as required by C99.
29724 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29726 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29727 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29730 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29732 * stdlib/longlong.h: Updated from GCC.
29734 2012-05-09 Andreas Jaeger <aj@suse.de>
29736 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29737 default is first entry.
29738 (run_mode): Set type.
29739 (main): Remove informal message about syslog.
29740 (options): Fix typo.
29743 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29746 (llrintf): Likewise.
29747 (llrint): Likewise.
29750 (nearbyint): Likewise.
29751 (nearbyintf): Likewise.
29753 2012-05-09 Andreas Jaeger <aj@suse.de>
29754 Pedro Alves <palves@redhat.com>
29756 * nscd/nscd.c (run_mode): Use enum.
29757 (main): Cleanup coding style issue.
29759 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29760 Andreas Jaeger <aj@suse.de>
29762 * nscd/nscd.c (go_background): Replaced with...
29763 (run_mode): ... this.
29764 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29765 (options): Add -F --foreground.
29766 (main): Implement it.
29767 (parse_opt): Parse it.
29769 2012-05-09 Andreas Jaeger <aj@suse.de>
29772 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29773 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29774 -Wconversion warning.
29775 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29778 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29780 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29782 (LC_ALL): Use macro-int-constant.
29783 (LC_COLLATE): Likewise.
29784 (LC_CTYPE): Likewise.
29785 (LC_MESSAGES): Likewise.
29786 (LC_MONETARY): Likewise.
29787 (LC_NUMERIC): Likewise.
29788 (LC_TIME): Likewise.
29789 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29790 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29792 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29794 [C99-based standards] (float_t): Expect type.
29795 [C99-based standards] (double_t): Expect type.
29796 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29798 [C99-based standards] (HUGE_VALL): Likewise.
29799 [C99-based standards] (INFINITY): Likewise.
29800 [C99-based standards] (NAN): Likewise.
29801 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29802 [C99-based standards] (FP_NAN): Likewise.
29803 [C99-based standards] (FP_NORMAL): Likewise.
29804 [C99-based standards] (FP_SUBNORMAL): Likewise.
29805 [C99-based standards] (FP_ZERO): Likewise.
29806 [C99-based standards] (FP_FAST_FMA): Use
29807 optional-macro-int-constant. Specify type. Require == 1.
29808 [C99-based standards] (FP_FAST_FMAF): Likewise.
29809 [C99-based standards] (FP_FAST_FMAL): Likewise.
29810 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29811 [C99-based standards] (FP_ILOGBNAN): Likewise.
29812 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29814 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29815 [C99-based standards] (math_errhandling): Specify type.
29816 [ISO99 || ISO11] (signgam): Do not allow.
29817 [non-C99-based standards] (copysignf): Do not allow.
29818 [non-C99-based standards] (exp2f): Likewise.
29819 [non-C99-based standards] (log2f): Likewise.
29820 [non-C99-based standards] (modff): Allow.
29821 [non-C99-based standards] (erff): Do not allow.
29822 [non-C99-based standards] (erfcf): Likewise.
29823 [non-C99-based standards] (gammaf): Likewise.
29824 [non-C99-based standards] (hypotf): Likewise.
29825 [non-C99-based standards] (j0f): Likewise.
29826 [non-C99-based standards] (j1f): Likewise.
29827 [non-C99-based standards] (jnf): Likewise.
29828 [non-C99-based standards] (lgammaf): Likewise.
29829 [non-C99-based standards] (tgammaf): Likewise.
29830 [non-C99-based standards] (y0f): Likewise.
29831 [non-C99-based standards] (y1f): Likewise.
29832 [non-C99-based standards] (ynf): Likewise.
29833 [non-C99-based standards] (isnanf): Likewise.
29834 [non-C99-based standards] (acoshf): Likewise.
29835 [non-C99-based standards] (asinhf): Likewise.
29836 [non-C99-based standards] (atanhf): Likewise.
29837 [non-C99-based standards] (cbrtf): Likewise.
29838 [non-C99-based standards] (expm1f): Likewise.
29839 [non-C99-based standards] (ilogbf): Likewise.
29840 [non-C99-based standards] (log1pf): Likewise.
29841 [non-C99-based standards] (logbf): Likewise.
29842 [non-C99-based standards] (nextafterf): Likewise.
29843 [non-C99-based standards] (remainderf): Likewise.
29844 [non-C99-based standards] (rintf): Likewise.
29845 [non-C99-based standards] (scalbf): Likewise.
29846 [non-C99-based standards] (copysignl): Likewise.
29847 [non-C99-based standards] (exp2l): Likewise.
29848 [non-C99-based standards] (log2l): Likewise.
29849 [non-C99-based standards] (modfl): Allow.
29850 [non-C99-based standards] (erfl): Do not allow.
29851 [non-C99-based standards] (erfcl): Likewise.
29852 [non-C99-based standards] (gammal): Likewise.
29853 [non-C99-based standards] (hypotl): Likewise.
29854 [non-C99-based standards] (j0l): Likewise.
29855 [non-C99-based standards] (j1l): Likewise.
29856 [non-C99-based standards] (jnl): Likewise.
29857 [non-C99-based standards] (lgammal): Likewise.
29858 [non-C99-based standards] (tgammal): Likewise.
29859 [non-C99-based standards] (y0l): Likewise.
29860 [non-C99-based standards] (y1l): Likewise.
29861 [non-C99-based standards] (ynl): Likewise.
29862 [non-C99-based standards] (isnanl): Likewise.
29863 [non-C99-based standards] (acoshl): Likewise.
29864 [non-C99-based standards] (asinhl): Likewise.
29865 [non-C99-based standards] (atanhl): Likewise.
29866 [non-C99-based standards] (cbrtl): Likewise.
29867 [non-C99-based standards] (expm1l): Likewise.
29868 [non-C99-based standards] (ilogbl): Likewise.
29869 [non-C99-based standards] (log1pl): Likewise.
29870 [non-C99-based standards] (logbl): Likewise.
29871 [non-C99-based standards] (nextafterl): Likewise.
29872 [non-C99-based standards] (remainderl): Likewise.
29873 [non-C99-based standards] (rintl): Likewise.
29874 [non-C99-based standards] (scalbl): Likewise.
29875 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29876 [non-C99-based standards] (FP_*): Do not allow.
29877 [C99-based standards] (FP_*): Change to
29878 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29879 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29881 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29882 (SIG_ERR): Likewise.
29883 [X/Open-based standards] (SIG_HOLD): Likewise.
29884 (SIG_IGN): Likewise.
29885 (SIGABRT): Use macro-int-constant. Specify type. Require
29887 (SIGFPE): Likewise.
29888 (SIGILL): Likewise.
29889 (SIGINT): Likewise.
29890 (SIGSEGV): Likewise.
29891 (SIGTER): Likewise.
29892 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29893 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29894 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29895 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29896 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29897 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29898 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29899 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29900 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29901 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29902 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29903 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29904 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29905 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29906 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29907 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29908 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29909 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29910 [X/Open-based standards] (SIGTRAP): Likewise.
29911 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29912 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29913 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29914 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29915 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29918 2012-05-08 Ian Wienand <ianw@vmware.com>
29921 * time/tzset.c (__tzset_parse_tz): Update default rules for
29922 daylight time changes in the Energy Policy Act of 2005.
29924 2012-05-09 Andreas Jaeger <aj@suse.de>
29927 * elf/ldconfig.c (parse_conf): Change string to make clear that
29928 ldconfig only issued a warning if ld.so.conf does not exist.
29930 2012-05-08 David S. Miller <davem@davemloft.net>
29932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29933 movxtod instead of popping the value on the stack.
29935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29937 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29939 * config.h.in: Add HAVE_ARM_PCS_VFP.
29941 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
29944 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29945 checking but the checks are disabled for any reason.
29947 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29949 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29950 and ELF64_R_TYPE with ELFW(R_TYPE).
29952 2012-05-08 Joseph Myers <joseph@codesourcery.com>
29954 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29955 (ulimit): Likewise.
29957 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29958 (settimeofday): Likewise.
29960 2012-05-08 Mike Frysinger <vapier@gentoo.org>
29962 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29963 a struct th_u2 inside the union, and move tu_block/tu_code into
29964 a new th_u3 union of tu_block/tu_code inside of that. Move
29965 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29966 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29967 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29968 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29969 (th_stuff): Change to th_u1.tu_stuff.
29971 (th_msg): Change to th_u1.th_u2.tu_data.
29973 2012-05-07 David S. Miller <davem@davemloft.net>
29975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29978 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29979 (SETUP_PIC_REG): Use it.
29980 (SETUP_PIC_REG_LEAF): Use it.
29982 2012-05-07 Joseph Myers <joseph@codesourcery.com>
29986 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29988 (EXPL_FINITE): Likewise.
29989 (FLDLOG): Likewise.
29990 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29991 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29993 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29995 (EXPL_FINITE): Likewise.
29996 (FLDLOG): Likewise.
29997 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29998 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30000 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30001 test of -max_value argument for long double.
30002 * sysdeps/i386/fpu/libm-test-ulps: Update.
30003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30005 2012-05-06 David S. Miller <davem@davemloft.net>
30007 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30008 quad soft-float symbols whose references which are compiler
30010 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30012 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30016 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30018 (EXPL_FINITE): Likewise.
30019 (FLDLOG): Likewise.
30022 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30023 Adjust comments for base varying.
30024 (__expl_finite): Change alias to EXPL_FINITE.
30025 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30027 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30028 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30029 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30030 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30031 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30033 (EXPL_FINITE): Likewise.
30034 (FLDLOG): Likewise.
30037 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30038 Adjust comments for base varying.
30039 (__expl_finite): Change alias to EXPL_FINITE.
30040 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30045 * math/libm-test.inc (check_float_internal): Correct ulp
30046 calculation for subnormal expected results.
30048 2012-05-06 Andreas Jaeger <aj@suse.de>
30050 * Makeconfig (+math-flags): New, set to -frounding-math.
30051 (+cflags): Add +math-flags so that all of glibc gets compiled with
30054 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30056 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30058 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30064 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30065 (__ieee754_expl): Allow for and saturate large arguments.
30066 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30067 (u_threshold): Likewise.
30068 (__exp): Call __ieee754_exp before checking for overflow and
30070 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30071 (u_threshold): Likewise.
30072 (__expf): Call __ieee754_expf before checking for overflow and
30074 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30075 (u_threshold): Likewise.
30076 (__expl): Call __ieee754_expl before checking for overflow and
30078 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30079 (__ieee754_expl): Allow for and saturate large arguments.
30080 * math/libm-test.inc (exp_test): Add another test. Do not allow
30081 missing overflow exception on overflow.
30082 (expm1_test): Do not allow missing overflow exception on overflow.
30084 * sysdeps/i386/fpu/e_expl.c: Move to ...
30085 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30086 rather than using inline asm.
30087 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30088 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30089 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30091 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30094 (signal): Likewise.
30098 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30100 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30101 sysdeps/unix/common/syscalls.list.
30102 (fchmod): Likewise.
30103 (fchown): Likewise.
30104 (ftruncate): Likewise.
30105 (getrusage): Likewise.
30106 (gettimeofday): Likewise.
30107 (setpgid): Likewise.
30108 (setregid): Likewise.
30109 (setreuid): Likewise.
30110 (sigaction): Likewise.
30111 (truncate): Likewise.
30112 (vhangup): Likewise.
30113 * sysdeps/unix/common/syscalls.list: Remove file.
30114 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30115 * sysdeps/unix/sysv/linux/Implies: Likewise.
30117 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30119 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30121 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30125 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30128 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30131 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30134 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30137 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30140 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30143 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30147 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30151 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30154 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30158 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30162 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30164 * sysdeps/unix/common/bits/dirent.h: Remove file.
30165 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30167 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30168 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30169 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30170 * sysdeps/unix/bsd/isatty.c: Likewise.
30171 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30172 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30173 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30175 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30178 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30179 long double comparison inaccuracies.
30180 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30183 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30185 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30186 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30188 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30191 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30192 nonzero digits before rounding a hex value.
30193 * stdlib/tst-strtod.c (tests): Add another test.
30195 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30197 * sysdeps/s390/fpu/libm-test-ulps: Update.
30199 2012-05-03 Andreas Jaeger <aj@suse.de>
30201 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30202 does not get optimized out.
30203 (malloc_opt_barrier): New.
30205 2012-05-03 Andreas Jaeger <aj@suse.de>
30206 Roland McGrath <roland@hack.frob.com>
30208 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30209 intermediate file deletion.
30210 (generated): Add .symlist files.
30212 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30215 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30216 Redirect under this condition.
30217 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30218 [__USE_GNU] (__dprintf_chk): Not under this condition.
30219 [__USE_GNU] (__vdprintf_chk): Likewise.
30220 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30221 under this condition.
30222 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30223 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30224 [__USE_XOPEN2K8] (vdprintf): Likewise.
30225 [__USE_GNU] (__dprintf_chk): Not under this condition.
30226 [__USE_GNU] (__vdprintf_chk): Likewise.
30227 [__USE_GNU] (dprintf): Likewise.
30228 [__USE_GNU] (vdprintf): Likewise.
30230 2012-05-03 Roland McGrath <roland@hack.frob.com>
30232 * elf/Makefile (common-generated): Set this instead of generated for
30233 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30234 $(all-built-dso)-derived lists.
30236 2012-05-03 Andreas Jaeger <aj@suse.de>
30238 * sysdeps/i386/fpu/libm-test-ulps: Update.
30241 * FAQ.in: Likewise.
30242 * scripts/gen-FAQ.pl: Likewise.
30243 * manual/install.texi (Installation): Point to online location of
30245 * Makefile (files-for-dist): Remove FAQ.
30248 2012-05-02 Allan McRae <allan@archlinux.org>
30250 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30251 (LDFLAGS-reldepmod5.so): Likewise.
30252 (LDFLAGS-reldep6mod1.so): Likewise.
30253 (LDFLAGS-reldep6mod4.so): Likewise.
30254 (LDFLAGS-reldep8mod3.so): Likewise.
30255 (LDFLAGS-unload4mod1.so): Likewise.
30256 (LDFLAGS-unload4mod2.so): Likewise.
30257 (LDFLAGS-tst-initorder): Likewise.
30258 (LDFLAGS-tst-initordera2.so): Likewise.
30259 (LDFLAGS-tst-initordera3.so): Likewise.
30260 (LDFLAGS-tst-initordera4.so): Likewise.
30261 (LDFLAGS-tst-initorderb2.so): Likewise.
30262 (LDFLAGS-noload): Likewise.
30263 (LDFLAGS-next): Likewise.
30264 (LDFLAGS-order2mod1.so): Likewise.
30265 (LDFLAGS-order2mod2.so): Likewise.
30266 (LDFLAGS-tst-initorder2): Likewise.
30267 (LDFLAGS-tst-initorder2a.so): Likewise.
30268 (LDFLAGS-tst-initorder2b.so): Likewise.
30269 (LDFLAGS-tst-initorder2c.so): Likewise.
30270 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30272 2012-05-02 David S. Miller <davem@davemloft.net>
30274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30276 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30279 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30281 2012-05-02 Andreas Jaeger <aj@suse.de>
30283 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30284 since we manipulate rounding mode.
30285 (CPPFLAGS-test-idouble.c): Likewise.
30286 (CPPFLAGS-test-ifloat.c): Likewise.
30287 (CFLAGS-test-ldouble.c): Likewise.
30288 (CFLAGS-test-double.c): Likewise.
30289 (CFLAGS-test-float.c): Likewise.
30290 (CFLAGS-test-misc.c): Likewise.
30291 (CFLAGS-test-test-fenv.c): Likewise.
30293 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30297 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30298 comparisons to determine direction to adjust input.
30300 2012-05-01 Roland McGrath <roland@hack.frob.com>
30302 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30303 output to the target.
30305 * scripts/localplt.awk: New file.
30306 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30307 (check-localplt-CFLAGS): Variable removed.
30308 ($(all-built-dso:=.jmprel)): New static pattern rule.
30309 (generated): Add those targets.
30310 (localplt-built-dso): New variable.
30311 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30313 * elf/check-localplt.c: File removed.
30315 * scripts/check-execstack.awk: New file.
30316 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30317 (check-execstack-CFLAGS): Variable removed.
30318 ($(objpfx)check-execstack.h): Target removed.
30319 ($(objpfx)execstack-default): New target.
30320 (generated): Add that instead of check-execstack.h.
30321 ($(all-built-dso:=.phdr)): New static pattern rule.
30322 (generated): Add those targets.
30323 * elf/check-execstack.c: File removed.
30325 * scripts/check-textrel.awk: New file.
30326 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30327 (check-textrel-CFLAGS): Variable removed.
30328 (all-built-dso): Use := to define.o
30329 ($(all-built-dso:=.dyn)): New static pattern rule.
30330 (generated): Add those targets.
30331 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30332 * config.make.in (READELF): New substituted variable.
30333 * elf/check-textrel.c: File removed.
30335 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30337 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30339 * conform/data/ctype.h-data [C99-based standards] (isblank):
30341 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30342 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30343 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30344 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30345 Specify type. Require positive value.
30346 (EILSEQ): Likewise.
30347 (ERANGE): Likewise.
30348 [ISO || POSIX] (EILSEQ): Do not expect.
30349 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30350 Specify type. Require positive value.
30351 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30352 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30353 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30354 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30355 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30356 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30357 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30358 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30359 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30360 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30361 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30362 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30363 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30364 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30365 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30366 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30367 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30368 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30369 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30370 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30371 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30372 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30373 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30374 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30375 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30376 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30377 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30378 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30379 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30380 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30381 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30382 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30383 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30384 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30385 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30386 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30387 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30388 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30389 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30390 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30391 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30392 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30393 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30394 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30395 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30396 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30397 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30398 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30399 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30400 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30401 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30402 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30403 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30404 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30405 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30406 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30407 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30408 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30409 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30410 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30411 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30412 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30413 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30414 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30415 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30416 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30417 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30418 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30419 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30420 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30421 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30422 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30423 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30424 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30425 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30426 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30427 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30429 (FLT_ROUNDS): Expect as macro, not constant.
30430 (FLT_MANT_DIG): Use macro-int-constant.
30431 (DBL_MANT_DIG): Likewise.
30432 (LDBL_MANT_DIG): Likewise.
30433 (FLT_DIG): Likewise.
30434 (DBL_DIG): Likewise.
30435 (LDBL_DIG): Likewise.
30436 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30437 (DBL_MIN_EXP): Likewise.
30438 (LDBL_MIN_EXP): Likewise.
30439 (FLT_MAX_EXP): Use macro-int-constant.
30440 (DBL_MAX_EXP): Likewise.
30441 (LDBL_MAX_EXP): Likewise.
30442 (FLT_MAX_10_EXP): Likewise.
30443 (DBL_MAX_10_EXP): Likewise.
30444 (LDBL_MAX_10_EXP): Likewise.
30445 (FLT_MAX): Use macro-constant.
30446 (DBL_MAX): Likewise.
30447 (LDBL_MAX): Likewise.
30448 (FLT_EPSILON): Use macro-constant. Give upper bound.
30449 (DBL_EPSILON): Likewise.
30450 (LDBL_EPSILON): Likewise.
30451 (FLT_MIN): Likewise.
30452 (DBL_MIN): Likewise.
30453 (LDBL_MIN): Likewise.
30454 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30455 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30456 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30457 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30458 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30459 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30460 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30461 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30462 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30463 [ISO11] (FLT_TRUE_MIN): Likewise.
30464 [ISO11] (LDBL_TRUE_MIN): Likewise.
30465 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30466 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30467 (SCHAR_MIN): Use macro-int-constant. Specify type.
30468 (SCHAR_MAX): Likewise.
30469 (UCHAR_MAX): Likewise.
30470 (CHAR_MIN): Likewise.
30471 (CHAR_MAX): Likewise.
30472 (MB_LEN_MAX): Use macro-int-constant.
30473 (SHRT_MIN): Use macro-int-constant. Specify type.
30474 (SHRT_MAX): Likewise.
30475 (USHRT_MAX): Likewise.
30476 (INT_MAX): Likewise.
30477 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30479 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30481 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30483 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30484 bound negative. Suffix upper bound with "L".
30485 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30487 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30489 [C99-based standards] (LLONG_MAX): Likewise.
30490 [C99-based standards] (ULLONG_MAX): Likewise.
30491 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30493 [ISO11] (max_align_t): Require type.
30494 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30496 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30497 from $CFLAGS, without defining away __attribute__ calls.
30498 (checknamespace): Use $CFLAGS_namespace.
30500 * conform/conformtest.pl (@keywords): Only include C99 keywords
30501 for standards based on C99 or C11.
30503 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30505 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30508 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30509 usability of symbols in #if.
30511 * conform/conformtest.pl: If macro or constant types start
30512 "promoted:", expect the symbol to be of the following type
30513 promoted by the integer promotions.
30515 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30516 in one place. Also handle "macro-constant".
30518 * conform/conformtest.pl: Only accept expected macro values with
30519 "==". Parse all "macro" lines in one place.
30520 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30522 * conform/conformtest.pl: Handle braced types on "constant" lines
30523 instead of handling "typed-constant".
30524 * conform/data/signal.h-data: Use "constant" instead of
30527 * conform/conformtest.pl: Handle "optional-" at start of lines in
30528 one place rather than duplicating several cases. Handle each
30529 format of "macro" line with initial "optional-".
30531 * conform/conformtest.pl: Only accept expected constant or
30532 optional-constant values with "==". Parse all "constant" lines in
30533 one place. Parse all "optional-constant" lines in one place.
30534 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30535 * conform/data/fmtmsg.h-data: Likewise.
30536 * conform/data/netinet/in.h-data: Likewise.
30537 * conform/data/tar.h-data: Likewise.
30538 * conform/data/limits.h-data: Use "==" form on "constant" and
30539 "optional-constant" lines.
30541 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30542 Use -std=c99 for XOPEN2K.
30543 (@knownproblems): Remove.
30544 (newtoken): Don't check %isknown.
30546 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30547 Do not expect macro.
30548 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30549 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30550 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30551 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30552 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30553 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30554 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30555 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30556 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30557 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30558 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30559 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30560 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30561 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30562 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30563 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30564 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30565 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30566 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30567 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30568 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30569 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30570 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30571 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30572 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30573 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30574 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30575 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30576 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30577 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30578 [XPG3] (acosh): Likewise.
30579 [XPG3] (asinh): Likewise.
30580 [XPG3] (atanh): Likewise.
30581 [XPG3] (cbrt): Likewise.
30582 [XPG3] (expm1): Likewise.
30583 [XPG3] (ilogb): Likewise.
30584 [XPG3] (log1p): Likewise.
30585 [XPG3] (logb): Likewise.
30586 [XPG3] (nextafter): Likewise.
30587 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30588 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30589 [XPG3] (remainder): Likewise.
30590 [XPG3] (rint): Likewise.
30591 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30592 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30593 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30594 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30595 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30596 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30597 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30598 [UNIX98 || XOPEN2K] (scalb): Expect.
30599 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30600 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30601 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30602 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30603 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30604 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30605 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30606 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30607 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30608 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30609 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30610 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30611 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30612 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30613 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30614 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30615 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30616 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30617 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30618 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30619 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30620 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30621 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30622 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30623 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30624 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30625 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30626 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30627 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30628 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30629 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30630 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30631 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30632 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30633 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30634 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30635 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30636 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30637 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30638 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30639 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30640 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30641 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30642 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30643 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30644 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30645 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30646 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30647 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30648 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30649 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30650 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30651 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30652 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30653 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30654 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30655 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30656 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30657 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30658 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30659 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30660 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30661 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30662 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30663 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30664 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30665 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30666 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30667 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30668 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30669 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30670 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30671 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30672 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30673 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30674 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30675 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30676 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30677 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30678 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30679 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30680 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30681 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30682 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30683 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30684 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30685 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30686 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30687 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30688 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30689 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30690 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30691 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30692 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30694 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30697 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30698 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30699 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30703 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30704 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30706 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30707 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30709 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30710 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30721 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30722 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30723 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30724 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30725 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30726 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30727 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30728 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30729 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30730 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30731 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30732 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30733 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30737 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30738 _XOPEN_SOURCE_EXTENDED for XPG4.
30740 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30742 * Makeconfig (localtime): Remove variable.
30743 (inst_localtime-file): Likewise.
30745 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30766 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30770 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30771 comparisons to determine direction to adjust input.
30772 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30773 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30774 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30776 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30778 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30780 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30781 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30783 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30785 * math/libm-test.inc (nexttoward_test): Add more tests.
30787 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30790 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30791 in version GLIBC_2.1, not GLIBC_2.0.
30792 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30795 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30798 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30800 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30801 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30802 * math/libm-test.inc (acos_test): Add more tests.
30803 (asin_test): Likewise.
30804 * sysdeps/i386/fpu/libm-test-ulps: Update.
30805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30808 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30810 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30811 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30812 * math/libm-test.inc (acos_test_tonearest): New function.
30813 (acos_test_towardzero): Likewise.
30814 (acos_test_downward): Likewise.
30815 (acos_test_upward): Likewise.
30816 (asin_test_tonearest): Likewise.
30817 (asin_test_towardzero): Likewise.
30818 (asin_test_downward): Likewise.
30819 (asin_test_upward): Likewise.
30820 (main): Call the new functions.
30821 * sysdeps/i386/fpu/libm-test-ulps: Update.
30822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30826 * math/e_exp10.c: Include <float.h>.
30827 (__ieee754_exp10): Handle underflow here rather than multiplying
30828 large negative argument by M_LN10.
30829 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30831 * math/e_exp10l.c: Include <float.h>.
30832 (__ieee754_exp10l): Handle underflow here rather than multiplying
30833 large negative argument by M_LN10l.
30834 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30835 spurious overflow exception on underflow.
30837 2012-04-29 Marek Polacek <polacek@redhat.com>
30839 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30840 (__fortify_function): New macro.
30841 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30842 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30843 __extern_always_inline.
30844 * libio/bits/stdio2.h: Likewise.
30845 * libio/bits/stdio.h: Likewise.
30846 * string/string.h: Likewise.
30847 * string/bits/string3.h: Likewise.
30848 * include/stdio.h: Likewise.
30849 * stdlib/bits/stdlib.h: Likewise.
30850 * stdlib/stdlib.h: Likewise.
30851 * rt/bits/mqueue2.h: Likewise.
30852 * rt/mqueue.h: Likewise.
30853 * posix/bits/unistd.h: Likewise.
30854 * posix/unistd.h: Likewise.
30855 * io/bits/poll2.h: Likewise.
30856 * io/bits/fcntl2.h: Likewise.
30857 * io/fcntl.h: Likewise.
30858 * io/sys/poll.h: Likewise.
30859 * misc/bits/syslog.h: Likewise.
30860 * misc/bits/syslog-ldbl.h: Likewise.
30861 * misc/sys/syslog.h: Likewise.
30862 * socket/bits/socket2.h: Likewise.
30863 * socket/sys/socket.h: Likewise.
30864 * debug/tst-chk1.c: Likewise.
30865 * wcsmbs/bits/wchar2.h: Likewise.
30866 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30867 * wcsmbs/wchar.h: Likewise.
30869 2012-04-29 Andreas Jaeger <aj@suse.de>
30871 * Makerules (tests): Remove enable-check-abi protection.
30872 (check-abi-warn): Remove.
30873 (check-abi-%): Remove check-abi-warn usage.
30875 * configure.in: Remove check-abi configure option.
30876 * configure: Regenerated.
30877 * config.make.in (enable-check-abi): Remove.
30879 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30882 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30883 double functions to double *_finite functions.
30886 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30887 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30889 * stdio-common/Makefile (tests): Add tst-sprintf3.
30890 * stdio-common/tst-sprintf3.c: New file.
30892 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30893 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30895 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30897 * conform/conformtest.pl: Remove duplicate typed-constant
30900 2012-04-28 David S. Miller <davem@davemloft.net>
30902 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30903 (check-abi-%): Remove AWK script prerequisite and explicit
30905 (check-abi): Rewrite to just diff the symlist with the abilist.
30906 (config-tls, config-abi-config): Delete, no longer used.
30907 (update-abi-%): Remove AWK script and explicit abilist directory.
30908 (update-abi): Rewrite to simply compare and conditionally copy the
30909 symlist and the sysdep abilist file. Remove update-abi-config
30911 * abilist/ld.abilist: Remove.
30912 * abilist/libBrokenLocale.abilist: Remove.
30913 * abilist/libanl.abilist: Remove.
30914 * abilist/libcrypt.abilist: Remove.
30915 * abilist/libdl.abilist: Remove.
30916 * abilist/librt.abilist: Remove.
30917 * abilist/libthread_db.abilist: Remove.
30918 * abilist/libutil.abilist: Remove.
30919 * scripts/extract-abilist.awk: Remove.
30920 * scripts/merge-abilist.awk: Remove.
30921 * sysdeps/generic/libcidn.abilist: New file.
30922 * sysdeps/generic/libnss_compat.abilist: New file.
30923 * sysdeps/generic/libnss_db.abilist: New file.
30924 * sysdeps/generic/libnss_dns.abilist: New file.
30925 * sysdeps/generic/libnss_files.abilist: New file.
30926 * sysdeps/generic/libnss_hesiod.abilist: New file.
30927 * sysdeps/generic/libnss_nis.abilist: New file.
30928 * sysdeps/generic/libnss_nisplus.abilist: New file.
30929 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30930 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30931 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30933 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30934 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30935 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30936 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30937 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30938 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30939 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30940 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30941 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30943 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30944 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30945 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30946 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30948 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30949 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30950 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30951 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30952 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30953 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30955 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30956 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30957 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30959 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31062 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31063 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31064 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31066 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31067 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31068 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31069 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31070 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31071 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31072 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31073 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31074 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31075 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31127 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31129 * conform/conformtest.pl: Fix typo in handling typed-constant from
31132 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31134 * README: Cut down references to pre-2.6 Linux kernels and
31135 Linuxthreads. Update lists of configurations in libc and ports
31136 and sort alphabetically. Say "or newer" with Linux kernel version
31139 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31141 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31144 * math/libm-test.inc (logb_test_downward): New test to expose
31145 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31148 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31151 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31153 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31154 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31156 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31158 * sysdeps/unix/i386/brk.S: Remove file.
31159 * sysdeps/unix/i386/dl-brk.S: Likewise.
31160 * sysdeps/unix/i386/pipe.S: Likewise.
31161 * sysdeps/unix/i386/sigreturn.S: Likewise.
31162 * sysdeps/unix/i386/syscall.S: Likewise.
31163 * sysdeps/unix/i386/vfork.S: Likewise.
31164 * sysdeps/unix/i386/wait.S: Likewise.
31166 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31167 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31169 * configure.in (arm*-none*): Do not allow without
31170 --enable-hacker-mode.
31171 (netbsd*): Remove case setting base_os.
31172 (386bsd*): Likewise.
31173 (freebsd*): Likewise.
31176 (sunos*): Likewise.
31177 (ultrix*): Likewise.
31178 (newsos*): Likewise.
31179 (dynix*): Likewise.
31185 (minix*): Likewise.
31186 (irix4*): Likewise.
31187 (irix6*): Likewise.
31188 (solaris[2-9]*): Likewise.
31190 * configure: Regenerated.
31192 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31195 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31196 overflow or cancellation in calculating denominator.
31197 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31198 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31199 down expression to avoid unexpected rounding in newer GCCs.
31200 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31202 2012-04-26 David S. Miller <davem@davemloft.net>
31204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31205 long-double compat symbols.
31206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31220 2012-04-25 David S. Miller <davem@davemloft.net>
31222 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31223 HWCAP_* values only after the memory barriers have been defined.
31224 (atomic_full_barrier): Define.
31225 (atomic_read_barrier): Define.
31226 (atomic_write_barrier): Define.
31228 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31230 * shlib-versions: Add libgcc_s version information.
31231 * sysdeps/generic/libgcc_s.h: Remove.
31232 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31234 * sysdeps/gnu/unwind-resume.c: Likewise.
31235 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31237 2012-04-25 David S. Miller <davem@davemloft.net>
31239 * sysdeps/unix/sparc/brk.S: Delete.
31240 * sysdeps/unix/sparc/dl-brk.S: Delete.
31241 * sysdeps/unix/sparc/pipe.S: Delete.
31242 * sysdeps/unix/sparc/sysdep.S: Delete.
31243 * sysdeps/unix/sparc/sysdep.h: Delete.
31244 * sysdeps/unix/sparc/vfork.S: Delete.
31245 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31246 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31247 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31248 ret_ERRVAL, r0, r1, MOVE): Define.
31249 (JUMPTARGET): Remove.
31250 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31251 sysdeps/unix/sparc/sysdep.h
31252 (ENTRY, END): Remove.
31253 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31255 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31257 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31258 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31261 * timezone/README: Update upstream location and email address for
31263 * timezone/zdump.c: Update from tzcode 2012b.
31264 * timezone/zic.c: Likewise.
31266 * configure.in (libc_cv_as_needed): Remove test.
31267 * configure: Regenerated.
31268 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31269 conditional definition.
31270 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31271 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31272 * config.make.in (have-as-needed): Remove variable.
31274 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31275 Paul Pluzhnikov <ppluzhnikov@google.com>
31277 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31280 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31282 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31283 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31284 * sysdeps/sh/strlen.S: Likewise.
31286 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31288 * sysdeps/unix/fork.S: Remove file.
31289 * sysdeps/unix/i386/fork.S: Likewise.
31290 * sysdeps/unix/sparc/fork.S: Likewise.
31292 * sysdeps/unix/system.c: Remove file.
31293 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31295 * sysdeps/unix/getegid.S: Remove file.
31296 * sysdeps/unix/geteuid.S: Likewise.
31298 2012-04-24 Roland McGrath <roland@hack.frob.com>
31300 * scripts/check-localplt.awk: New file.
31301 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31303 * scripts/data/localplt-generic.data: Add a comment.
31305 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31306 NODE when __dir_mkfile failed.
31307 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31308 Reported by Ludovic Courtès <ludo@gnu.org>.
31310 2012-04-24 Andreas Jaeger <aj@suse.de>
31312 * Makerules (common-clean): Also remove gen-as-const-headers
31315 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31317 * Makerules (native-compile): Do not change working directory for
31318 build. Use $(OUTPUT_OPTION) in command.
31319 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31321 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31324 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31325 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31326 * math/libm-test.inc (floor_test): Add more tests.
31327 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31329 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31331 * sysdeps/unix/getdents.c: Remove file.
31332 * sysdeps/unix/sysv/getdents.c: Likewise.
31333 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31335 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31336 sysdeps/unix/mman/syscalls.list.
31338 (mprotect): Likewise.
31340 (munmap): Likewise.
31341 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31342 * sysdeps/unix/mman/syscalls.list: Remove.
31343 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31345 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31346 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31347 * configure: Regenerated.
31348 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31349 $(libgcc_s_suffix).
31350 * config.make.in (libgcc_s_suffix): Remove variable.
31352 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31354 * sysdeps/unix/sysv/gethostname.c: Move to ...
31355 * sysdeps/posix/gethostname.c: ... here.
31357 * sysdeps/unix/execve.S: Remove file.
31359 * sysdeps/unix/_exit.S: Remove file.
31361 2012-04-23 Andreas Jaeger <aj@suse.de>
31364 * manual/Makefile: Remove make dist support, there's no
31365 need for a stand-alone documentation tar ball.
31366 (TEXI2DVI): Define always, it's not in Makeconfig.
31369 (edition): Removed.
31370 (glibc-doc-$(edition).tar): Removed
31374 (ETAGS): Remove, it's in Makeconfig.
31375 (move-if-change): Remove, it's in Makeconfig.
31377 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31380 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31381 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31382 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31383 (strtod_l, strtof_l, strtold_l): Remove __wur.
31384 It is not necessarily an error to ignore strtol's return value.
31385 One can reliably look at the stored endptr to decide whether
31386 the number had valid syntax.
31388 2012-04-21 Andreas Jaeger <aj@suse.de>
31391 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31393 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31395 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31396 * sysdeps/unix/sysv/Versions: Remove file.
31398 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31403 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31406 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31407 version from __vm86.
31409 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31411 * sysdeps/unix/common/lxstat.c: Remove file.
31412 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31414 * sysdeps/unix/sysv/Makefile: Remove file.
31416 * sysdeps/unix/sysv/direct.h: Remove file.
31418 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31419 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31420 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31421 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31422 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31423 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31424 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31426 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31428 * sysdeps/unix/xmknod.c: Remove file.
31429 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31431 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31433 * sysdeps/unix/sysv/i386/time.S: Remove file.
31435 * sysdeps/unix/fxstat.c: Remove file.
31436 * sysdeps/unix/xstat.c: Likewise.
31437 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31439 * sysdeps/unix/sysv/sigaction.c: Remove file.
31441 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31442 (sysdep_headers): Remove variable.
31443 [termio.h not in sysdep_headers] (generated): Likewise.
31444 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31445 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31446 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31447 * sysdeps/unix/sysv/tcflow.c: Likewise.
31448 * sysdeps/unix/sysv/tcflush.c: Likewise.
31449 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31450 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31451 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31452 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31453 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31455 * sysdeps/unix/siglist.c: Remove file.
31457 * sysdeps/unix/getppid.S: Remove file.
31459 * sysdeps/unix/mkdir.c: Remove file.
31460 * sysdeps/unix/rmdir.c: Likewise.
31462 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31464 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31466 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31467 errlist-compat value.
31469 2012-04-18 David S. Miller <davem@davemloft.net>
31471 * sysdeps/generic/memcopy.h (reg_char): Delete.
31472 * debug/strcat_chk.c: Use char, not reg_char.
31473 * debug/strcpy_chk.c: Likewise.
31474 * debug/strncat_chk.c: Likewise.
31475 * debug/strncpy_chk.c: Likewise.
31476 * string/memchr.c: Likewise.
31477 * string/memrchr.c: Likewise.
31478 * string/rawmemchr.c: Likewise.
31479 * string/strcat.c: Likewise.
31480 * string/strchr.c: Likewise.
31481 * string/strchrnul.c: Likewise.
31482 * string/strcmp.c: Likewise.
31483 * string/strcpy.c: Likewise.
31484 * string/strncat.c: Likewise.
31485 * string/strncmp.c: Likewise.
31486 * string/strncpy.c: Likewise.
31488 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31490 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31491 __builtin_memcopy is called when src and dest ranges are known to not
31494 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31496 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31497 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31498 fwd_align_merge macro call.
31499 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31500 bwd_align_merge macro call.
31501 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31503 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31505 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31506 bwd_align_merge macros.
31507 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31508 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31509 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31511 2012-04-18 David S. Miller <davem@davemloft.net>
31513 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31515 2012-04-18 Andreas Jaeger <aj@suse.de>
31518 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31519 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31520 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31522 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31523 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31524 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31526 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31527 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31528 Adjust for changed ldbl-128 files.
31530 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31531 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31532 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31534 2012-04-17 David S. Miller <davem@davemloft.net>
31536 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31538 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31540 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31541 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31542 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31543 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31544 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31545 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31547 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31550 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31551 * math/libm-test.inc: Add ilogb errno and exception tests.
31552 * math/w_ilogb.c: New file: ilogb wrapper.
31553 * math/w_ilogbf.c: New file: ilogbf wrapper.
31554 * math/w_ilogbl.c: New file: ilogbl wrapper.
31555 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31556 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31557 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31558 exception being thrown with 0.0 as argument.
31559 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31560 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31561 exception being thrown with 0.0 as argument.
31562 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31563 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31564 exception being thrown with 0.0 as argument.
31565 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31566 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31567 exception being thrown with 0.0 as argument.
31568 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31569 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31570 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31571 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31572 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31573 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31574 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31575 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31576 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31578 2012-04-17 Petr Baudis <pasky@ucw.cz>
31580 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31583 2012-04-16 Marek Polacek <polacek@redhat.com>
31585 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31587 2012-04-16 Marek Polacek <polacek@redhat.com>
31589 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31590 operands of fdivp instruction.
31592 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31594 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31595 * elf/tst-auditmod3b.c: Likewise.
31596 * elf/tst-auditmod4b.c: Likewise.
31597 * elf/tst-auditmod5b.c: Likewise.
31598 * elf/tst-auditmod6b.c: Likewise.
31599 * elf/tst-auditmod6c.c: Likewise.
31600 * elf/tst-auditmod7b.c: Likewise.
31601 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31602 * sysdeps/x86_64/preconfigure.in: Likewise.
31603 * sysdeps/x86_64/preconfigure: Regenerated.
31605 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31607 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31610 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31612 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31613 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31615 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31618 * locale/iso-639.def: Fix gl language name. Spotted by
31621 2012-04-12 Roland McGrath <roland@hack.frob.com>
31624 * libio/libio.h (__io_write_fn): Update comment.
31626 2012-04-12 Petr Baudis <pasky@ucw.cz>
31629 * stdio.texi (Hook Functions): The user provided writer function
31630 is not allowed to return -1.
31632 2012-04-11 David S. Miller <davem@davemloft.net>
31634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31636 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31638 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31639 Add a leading slash to rtkaio.
31641 2012-04-11 Jim Meyering <meyering@redhat.com>
31644 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31645 It is not necessarily an error to ignore fwrite's return
31646 value. One can reliably use ferror to test for errors after
31649 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31651 * bits/types.h (__snseconds_t): New type.
31652 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31654 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31655 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31656 (__SNSECONDS_T_TYPE): Likewise.
31657 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31658 (__SNSECONDS_T_TYPE): Likewise.
31659 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31660 (__SNSECONDS_T_TYPE): Likewise.
31662 2012-04-10 Andreas Jaeger <aj@suse.de>
31665 * manual/time.texi (Processor Time): Return type of times is
31666 elapsed real time since an arbitrary point in the past.
31667 (CPU Time): Move CLK_TCK from here...
31668 (Processor Time): ...to here. Correct description.
31669 * manual/conf.texi (Constants for Sysconf): Correct description of
31672 2012-04-10 David S. Miller <davem@davemloft.net>
31675 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31676 where the is a gap between DT_REL(A) and DT_JMPREL.
31678 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31680 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31681 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31682 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31684 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31686 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31687 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31688 (dl_main): Handle --inhibit-cache.
31689 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31691 * elf/dl-load.c (_dl_map_object): Use it.
31692 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31694 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31697 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31698 (__ieee754_powl): Saturate large exponents rather than testing for
31699 overflow of y*log2(x).
31700 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31701 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31705 * math/s_ctan.c: Include <float.h>.
31706 (__ctan): Avoid internal overflow or cancellation in calculating
31708 * math/s_ctanf.c: Likewise.
31709 * math/s_ctanl.c: Likewise.
31710 * math/s_ctanh.c: Likewise.
31711 * math/s_ctanhf.c: Likewise.
31712 * math/s_ctanhl.c: Likewise.
31713 * math/libm-test.inc (ctan_test): Add more tests.
31714 (ctanh_test): Likewise.
31715 * sysdeps/i386/fpu/libm-test-ulps: Update.
31716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31718 2012-04-09 Andreas Jaeger <aj@suse.de>
31721 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31722 is an optional BSD extension.
31725 * manual/stdio.texi (Opening Streams): Document additional fopen
31728 2012-04-09 Roland McGrath <roland@hack.frob.com>
31730 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31731 %eax without telling the compiler.
31733 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31736 * manual/install.texi: Use sourceware.org.
31738 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31741 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31742 (__ieee754_pow): Generate overflow and underflow using huge*huge
31743 and tiny*tiny rather than just returning constant infinity or zero
31744 for large exponents.
31745 * math/libm-test.inc (pow_test): Require overflow exceptions for
31746 applicable cases of large exponents.
31749 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31750 (__ieee754_pow): Use iterative multiplication algorithm only for
31751 integer exponents with absolute value below 1024. Check for odd
31752 integer exponents when using algorithm for real exponents.
31753 * math/libm-test.inc (pow_test): Add more tests.
31754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31756 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31759 * math/libm-test.inc (exp_test): Do not allow overflow exception
31762 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31765 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31766 instead of __kernel_standard_f.
31768 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31770 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31771 * sysdeps/x86_64/memset_chk.S: Likewise.
31773 2012-04-08 Andreas Jaeger <aj@suse.de>
31776 * manual/startup.texi (Environment Access): Describe return value
31777 for putenv and setenv.
31780 * manual/filesys.texi (Directory Entries): Add description for
31784 * manual/filesys.texi (Directory Entries): Clarify that it's file
31785 system not operating system in the description of DT_UNKNOWN.
31788 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31790 2012-04-08 Stephen Compall <s11@member.fsf.org>
31793 * manual/llio.texi (Opening and Closing Files): Add cross
31794 reference to explain mode argument.
31796 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31798 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31799 * sysdeps/x86_64/memset_chk.S: Likewise.
31801 2012-04-07 David S. Miller <davem@davemloft.net>
31803 * elf/elf.h (R_SPARC_WDISP10): Define.
31804 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31806 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31807 R_SPARC_SIZE64 and R_SPARC_H34.
31809 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31811 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31812 conditions and remove no longer applicable assertion.
31814 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31816 * bits/byteswap.h: Include <features.h>.
31817 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31818 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31820 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31822 * bits/byteswap.h (__bswap_16): Removed.
31823 Include <bits/byteswap-16.h> to get __bswap_16.
31824 * sysdeps/i386/bits/byteswap.h: Likewise.
31825 * sysdeps/s390/bits/byteswap.h: Likewise.
31826 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31827 * bits/byteswap-16.h: New file.
31828 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31829 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31830 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31831 * string/Makefile (headers): Add bits/byteswap-16.h.
31833 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31836 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31838 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31839 * nss/tst-nss-static.c: New.
31841 2012-04-06 Robert Millan <rmh@gnu.org>
31844 * manual/llio.texi (File Position Primitive): lseek
31845 refers to WHENCE when it really means OFFSET.
31847 2012-04-06 Andreas Jaeger <aj@suse.de>
31849 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31850 strncmp declarations.
31852 * abilist/libc.abilist: Add __poll and __ppoll.
31854 2012-04-05 David S. Miller <davem@davemloft.net>
31856 * scripts/check-local-headers.sh: Accept a host triplet in the
31857 path matched by the exclude regexp.
31859 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31861 * sysdeps/powerpc/powerpc32/dl-machine.h
31862 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31863 * sysdeps/s390/s390-32/dl-machine.h
31864 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31865 * sysdeps/sparc/sparc32/dl-machine.h
31866 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31867 * sysdeps/sparc/sparc64/dl-machine.h
31868 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31870 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31872 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31873 undefined symbol errors.
31875 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31878 2012-04-05 Michael Matz <matz@suse.de>
31881 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31883 2012-04-05 Andreas Jaeger <aj@suse.de>
31886 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31889 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31891 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31892 which ROUND is no valid rounding mode.
31894 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31896 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31898 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31900 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31902 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31903 an exception using FPU order intentionally.
31905 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31907 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31908 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31909 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31910 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31912 2012-04-05 Simon Josefsson <simon@josefsson.org>
31915 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31916 EINVAL when BUFLEN is too smal.
31918 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31921 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31922 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31924 2012-04-03 Andreas Jaeger <aj@suse.de>
31927 * manual/setjmp.texi (System V contexts): Fix sentence.
31930 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31931 New macro for this case.
31932 [!__GNUC__] (__bswap_64): New inline function for this case.
31933 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31934 * bits/byteswap.h: Likewise.
31935 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31936 ull, guard with __GLIBC_HAVE_LONG_LONG.
31938 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31939 __GLIBC_HAVE_LONG_LONG.
31941 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31942 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31944 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31947 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31948 inptr and inend, rather than using last_ch.
31950 2012-04-02 David S. Miller <davem@davemloft.net>
31952 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31953 * stdio-common/printf-parse.h (read_int): Change return type to
31954 'int', return -1 on INT_MAX overflow.
31955 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31956 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31957 overflows INT_MAX. Check for overflow of in-format-string precision
31958 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31959 SIZE_MAX not INT_MAX for integer overflow test.
31960 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31961 skip the construct in the format string but do not record anything.
31962 * stdio-common/bug22.c: Adjust to test both width/prevision
31963 INT_MAX overflow as well as total length INT_MAX overflow. Check
31964 explicitly for proper errno values.
31966 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31968 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31970 * string/test-strcmp.c [! WIDE]: Likewise.
31971 * time/tst-mktime2.c: Likewise for INT_MAX.
31972 * string/test-string.h: #include <sys/param.h> for MIN.
31974 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31975 * sysdeps/i386/init-first.c (init): Likewise.
31976 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31977 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31978 * sysdeps/sh/init-first.c (init): Likewise.
31980 2012-04-01 Ulrich Drepper <drepper@gmail.com>
31982 * po/ru.po: Update from translation team.
31983 * po/vi.po: Likewise.
31985 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31987 * resolv/nss_dns/dns-host.c: Merge copyright years.
31989 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31991 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31992 Optimize memcpy with prefetch if
31993 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31994 src, dst pointers have unequal 16 byte alignments.
31996 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31999 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32000 from a CNAME entry and return the minimum ttl for the query.
32001 (gaih_getanswer_slice): Likewise.
32003 2012-03-30 Jeff Law <law@redhat.com>
32005 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32007 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32008 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32010 * resolv/nss_dns/dns-host.c: Update copyright year.
32012 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32014 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32015 requests to save a system call. Fix check that all bytes are sent.
32017 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32018 comments for sendmmsg.
32020 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32023 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32024 with only 1 character between 0x0041 and 0x01b0.
32025 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32026 * wcsmbs/tst-mbsnrtowcs.c: New file.
32028 2012-03-29 David S. Miller <davem@davemloft.net>
32030 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32031 small copies by hand.
32033 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32036 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32037 _nss_compat_initgroups_dyn): Fall back to malloc/free
32038 for large group memberships.
32040 2012-03-28 David S. Miller <davem@davemloft.net>
32042 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32043 that branches into memcpy.
32044 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32045 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32046 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32047 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32048 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32050 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32051 implementation too.
32052 * sysdeps/sparc/mempcpy.S: New file.
32054 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32055 the IFUNC routine in the libc case.
32056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32058 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32059 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32060 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32061 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32062 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32063 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32064 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32065 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32067 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32068 loop to 256 bytes instead of 64 bytes and fix test signedness.
32070 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32071 * sysdeps/sparc/sparc32/Makefile: rather than here...
32072 * sysdeps/sparc/sparc64/Makefile: and here.
32074 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32076 * malloc/mallocbug.c: Avoid warnings about unused variables.
32078 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32081 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32082 in the right place. Discard and retry query if response is
32083 larger than input buffer size.
32085 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32090 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32091 x for large integer exponent.
32092 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32093 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32094 sign of result as needed afterwards.
32095 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32096 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32097 result for underflowing pow the same as for overflow.
32098 (__kernel_standard_l): Handle powl overflow and underflow here
32099 rather than calling __kernel_standard.
32100 * math/libm-test.inc (pow_test): Add more tests.
32115 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32116 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32117 (__kernel_standard_l): New function.
32118 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32120 * math/w_acosl.c (__acosl): Likewise.
32121 * math/w_asinl.c (__asinl): Likewise.
32122 * math/w_atan2l.c (__atan2l): Likewise.
32123 * math/w_atanhl.c (__atanhl): Likewise.
32124 * math/w_coshl.c (__coshl): Likewise.
32125 * math/w_exp10l.c (__exp10l): Likewise.
32126 * math/w_exp2l.c (__exp2l): Likewise.
32127 * math/w_fmodl.c (__fmodl): Likewise.
32128 * math/w_hypotl.c (__hypotl): Likewise.
32129 * math/w_j0l.c (__j0l, __y0l): Likewise.
32130 * math/w_j1l.c (__j1l, __y1l): Likewise.
32131 * math/w_jnl.c (__jnl, __ynl): Likewise.
32132 * math/w_lgammal.c (__lgammal): Likewise.
32133 * math/w_log10l.c (__log10l): Likewise.
32134 * math/w_log2l.c (__log2l): Likewise.
32135 * math/w_logl.c (__logl): Likewise.
32136 * math/w_powl.c (__powl): Likewise.
32137 * math/w_remainderl.c (__remainderl): Likewise.
32138 * math/w_scalbl.c (sysv_scalbl): Likewise.
32139 * math/w_sinhl.c (__sinhl): Likewise.
32140 * math/w_sqrtl.c (__sqrtl): Likewise.
32141 * math/w_tgammal.c (__tgammal): Likewise.
32142 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32143 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32144 * math/libm-test.inc (acos_test): Add more tests.
32145 (acosh_test): Likewise.
32146 (asin_test): Likewise.
32147 (atanh_test): Likewise.
32148 (exp_test): Likewise.
32149 (exp10_test): Likewise.
32150 (exp2_test): Likewise.
32151 (expm1_test): Likewise.
32152 (lgamma_test): Likewise.
32153 (log_test): Likewise.
32154 (log10_test): Likewise.
32155 (log1p_test): Likewise.
32156 (log2_test): Likewise.
32157 (pow_test): Do not allow some spurious overflow exceptions.
32158 (sqrt_test): Add more tests.
32159 (tgamma_test): Likewise.
32160 (y0_test): Likewise.
32161 (y1_test): Likewise.
32162 (yn_test): Likewise.
32164 2012-03-27 Anton Blanchard <anton@samba.org>
32166 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32168 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32169 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32170 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32172 2012-03-27 David S. Miller <davem@davemloft.net>
32174 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32176 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32177 have-as-vis3 check.
32179 2012-03-27 Andreas Jaeger <aj@suse.de>
32181 * sysdeps/x86_64/elf/configure.in: Moved to ...
32182 * sysdeps/x86_64/configure.in: ... here.
32183 * sysdeps/x86_64/elf/start.S: Moved to ...
32184 * sysdeps/x86_64/start.S: ... here.
32185 * sysdeps/x86_64/elf/configure: Delete.
32187 * sysdeps/x86_64/configure.in: Merge contents from
32188 sysdeps/i386/configure.in (without i686 check).
32190 * sysdeps/i386/elf/Versions: Merge into ...
32191 * sysdeps/i386/Versions: ... this.
32192 * sysdeps/i386/elf/Versions: Delete file.
32193 * sysdeps/i386/elf/start.S: Moved to ...
32194 * sysdeps/i386/start.S: ...here.
32195 * sysdeps/i386/elf/configure.in: Merge into...
32196 * sysdeps/i386/configure.in: ...here.
32197 * sysdeps/i386/elf/configure.in: Delete file.
32198 * sysdeps/i386/elf/configure: Delete file.
32200 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32201 * debug/backtracesyms.c: ... here.
32202 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32203 * debug/backtracesymsfd.c: ... here.
32204 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32205 * sysdeps/generic/ifunc-sel.h: ... here.
32207 * sysdeps/unix/i386/start.c: Delete file.
32208 * sysdeps/unix/sparc/start.c: Delete file.
32209 * sysdeps/unix/start.c: Delete file.
32211 * sysdeps/sh/elf/configure.in: Moved to ...
32212 * sysdeps/sh/configure.in: ... here.
32213 * sysdeps/sh/elf/start.S: Moved to ...
32214 * sysdeps/sh/start.S: ... here.
32215 * sysdeps/sh/elf/configure: Delete file.
32217 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32218 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32219 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32220 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32221 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32222 * sysdeps/powerpc/powerpc64/start.S: here.
32223 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32224 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32225 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32226 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32227 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32229 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32230 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32231 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32232 * sysdeps/powerpc/powerpc32/start.S: ... here.
32233 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32234 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32235 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32237 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32238 * sysdeps/powerpc/ifunc-sel.h: ... here.
32239 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32240 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32242 * sysdeps/sparc/elf/configure.in: Moved to ...
32243 * sysdeps/sparc/configure.in: ... here.
32244 * sysdeps/sparc/elf/configure: Delete file.
32245 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32246 * sysdeps/sparc/sparc32/start.S: ... here.
32247 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32248 * sysdeps/sparc/sparc64/start.S: ... here.
32249 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32250 * sysdeps/sparc/sparc32/Makefile: ... this.
32251 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32252 * sysdeps/sparc/sparc64/Makefile: ... this.
32254 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32255 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32256 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32257 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32258 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32259 * sysdeps/s390/s390-32/setjmp.S: ... here.
32260 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32261 * sysdeps/s390/s390-32/configure.in: ... here.
32262 * sysdeps/s390/s390-32/elf/configure: Delete file.
32263 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32264 * sysdeps/s390/s390-32/start.S: ... here.
32266 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32267 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32268 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32269 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32270 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32271 * sysdeps/s390/s390-64/setjmp.S: ... here.
32272 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32273 * sysdeps/s390/s390-64/configure.in: ... here
32274 * sysdeps/s390/s390-64/elf/configure: Delete file.
32275 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32276 * sysdeps/s390/s390-64/start.S: ... here.
32277 * sysdeps/s390/s390-64/elf/configure: Delete.
32279 * configure.in: Remove support for elf directories in sysdeps.
32281 * configure: Regenerated.
32282 * sysdeps/i386/configure: Regenerated.
32283 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32284 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32285 * sysdeps/s390/s390-32/configure: Regenerated.
32286 * sysdeps/s390/s390-64/configure: Regenerated.
32287 * sysdeps/sh/configure: Regenerated.
32288 * sysdeps/sparc/configure: Regenerated.
32289 * sysdeps/x86_64/configure: Regenerated.
32291 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32295 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32296 denormal result into account.
32298 2012-03-25 Roland McGrath <roland@hack.frob.com>
32300 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32301 Reported by Allan McRae <allan@archlinux.org>.
32303 2012-03-23 Jeff Law <law@redhat.com>
32305 * nss/getnssent.c (__nss_getent): Fix typo.
32307 2012-03-23 David S. Miller <davem@davemloft.net>
32309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32311 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32313 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32314 to pad to uint64_t for each field.
32315 (dl_tls_index): Replace unsigned long with uint64_t.
32317 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32318 Paul Pluzhnikov <ppluzhnikov@google.com>
32321 * grp/Makefile (otherlibs): Don't set it.
32322 * inet/Makefile (otherlibs): Likewise.
32323 * login/Makefile (otherlibs): Likewise.
32324 * nscd/Makefile (otherlibs): Likewise.
32325 * posix/Makefile (otherlibs): Likewise.
32326 * pwd/Makefile (otherlibs): Likewise.
32327 * rt/Makefile (otherlibs): Likewise.
32328 * sunrpc/Makefile (otherlibs): Likewise.
32329 * nss/Makefile (otherlibs): Likewise.
32330 Add libnss_files to routines and static-only-routines.
32331 ($(objpfx)getent): Remove rule.
32332 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32333 static-only-routines.
32335 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32338 * math/s_cexp.c: Include <float.h>.
32339 (__cexp): Handle exp result overflowing not necessarily
32340 overflowing both real and imaginary parts of result.
32341 * math/s_cexpf.c: Likewise.
32342 * math/s_cexpl.c: Likewise.
32343 * math/libm-test.inc (cexp_test): Add more tests.
32344 * sysdeps/i386/fpu/libm-test-ulps: Update.
32345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32347 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32349 * include/link.h (ELFW): New macro.
32350 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32351 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32353 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32355 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32358 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32360 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32362 (struct La_x32_retval): Likewise.
32364 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32366 * sysdeps/x86_64/preconfigure.in: New file.
32367 * sysdeps/x86_64/preconfigure: New generated file.
32369 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32372 * math/e_exp2l.c: Include <float.h>.
32373 (__ieee754_exp2l): Handle overflow and underflow cases
32374 separately. Only pass fractional part of argument to
32376 * math/libm-test.inc (exp2_test): Add more tests.
32378 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32379 negating x to take absolute value.
32380 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32382 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32383 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32385 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32386 computing low part if x was negated.
32387 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32389 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32391 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32392 la_x32_gnu_pltexit.
32393 (pltexit): Cast int_retval to ptrdiff_t.
32394 * elf/tst-auditmod3b.c: Likewise.
32395 * elf/tst-auditmod4b.c: Likewise.
32396 * elf/tst-auditmod5b.c: Likewise.
32397 * elf/tst-auditmod6b.c: Likewise.
32398 * elf/tst-auditmod6c.c: Likewise.
32399 * elf/tst-auditmod7b.c: Likewise.
32401 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32402 and x32_gnu_pltexit.
32404 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32405 __ELF_NATIVE_CLASS.
32406 (La_x32_regs): New macro.
32407 (La_x32_retval): Likewise.
32408 (la_x32_gnu_pltenter): New function prototype.
32409 (la_x32_gnu_pltexit): Likewise.
32411 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32413 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32418 * configure.in (libc_cv_cc_nofma): Check for option to disable
32419 generation of FMA instructions.
32420 * configure: Regenerate.
32421 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32422 * sysdeps/ieee754/dbl-64/Makefile: New file.
32423 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32424 Remove brandred-fma4.
32425 (CFLAGS-brandred-fma4.c): Remove.
32426 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32427 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32429 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32432 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32434 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32435 LLONG_MAX != LONG_MAX.
32436 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32437 (_fitoa_word): Likewise.
32438 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32439 LLONG_MAX != LONG_MAX.
32440 * stdio-common/_itowa.h: Include <_itoa.h>.
32441 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32442 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32443 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32444 only if not defined.
32445 (_ITOA_WORD_TYPE): Likewise.
32446 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32447 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32449 2012-03-21 David S. Miller <davem@davemloft.net>
32451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32453 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32455 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32456 of x86_64 when setting libc_cv_slibdir, libdir and
32458 * sysdeps/unix/sysv/linux/configure: Regenerated.
32460 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32462 * manual/lang.texi (Old Varargs): Remove section.
32463 (How Variadic): Update menu.
32464 (va_start): Do not mention varargs.h.
32466 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32467 Joseph Myers <joseph@codesourcery.com>
32469 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32471 * configure: Regenerated.
32473 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32475 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32476 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32479 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32482 * Makefile (files-for-dist): Remove NOTES.
32483 (NOTES): Remove rule.
32484 * README: Don't refer to NOTES.
32485 * manual/creature.texi: Don't include macros.texi.
32486 * manual/intro.texi (creature.texi): Remove comment referring to
32489 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32490 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32491 * configure: Regenerated.
32492 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32493 LIBC_TRY_CC_OPTION.
32494 (libc_cv_as_i686): Likewise.
32495 (libc_cv_cc_avx): Likewise.
32496 (libc_cv_cc_sse2avx): Likewise.
32497 (libc_cv_cc_fma4): Likewise.
32498 (libc_cv_cc_novzeroupper): Likewise.
32499 * sysdeps/i386/configure: Regenerated.
32502 * sysdeps/i386/fpu/s_cexp.S: Remove.
32503 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32504 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32505 * math/libm-test.inc (cexp_test): Add more tests.
32506 * sysdeps/i386/fpu/libm-test-ulps: Update.
32507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32509 2012-03-21 Allan McRae <allan@archlinux.org>
32511 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32513 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32516 * math/w_exp2.c: Do not include <float.h>.
32517 (o_threshold, u_threshold): Remove.
32518 (__exp2): Calculate result before checking finiteness and calling
32520 * math/w_exp2f.c: Likewise.
32521 * math/w_exp2l.c: Likewise.
32522 * math/libm-test.inc (exp2_test): Require overflow exception for
32526 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32527 range of signed 64-bit integers before using fistpll. Remove
32528 checks for whether integers fit in mantissa bits.
32529 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32530 the range of signed 32-bit integers before using fistpl. Remove
32531 checks for whether integers fit in mantissa bits.
32532 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32533 (__ieee754_powl): Test for y outside the range of signed 64-bit
32534 integers before using fistpll. Reduce 64-bit values to 63-bit
32536 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32537 divide-by-zero is raised for zero to large negative powers.
32538 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32539 (__ieee754_powl): Test for y outside the range of signed 64-bit
32540 integers before using fistpll. Reduce 64-bit values to 63-bit
32542 * math/libm-test.inc (pow_test): Add more tests.
32544 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32546 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32547 <stdio-common/_itoa.h>.
32548 * debug/segfault.c: Likewise.
32549 * elf/dl-cache.c: Likewise.
32550 * elf/dl-minimal.c: Likewise.
32551 * elf/dl-misc.c: Likewise.
32552 * elf/dl-sysdep.c: Likewise.
32553 * elf/dl-version.c: Likewise.
32554 * elf/rtld.c: Likewise.
32555 * hurd/hurdsock.c: Likewise.
32556 * hurd/lookup-retry.c: Likewise.
32557 * malloc/malloc.c: Likewise.
32558 * malloc/mtrace.c: Likewise.
32559 * nscd/nscd_getgr_r.c: Likewise.
32560 * nscd/nscd_getpw_r.c: Likewise.
32561 * nscd/nscd_getserv_r.c: Likewise.
32562 * posix/getopt_init.c: Likewise.
32563 * posix/wordexp.c: Likewise.
32564 * stdio-common/_itoa.c: Likewise.
32565 * stdio-common/printf_fphex.c: Likewise.
32566 * stdio-common/vfprintf.c: Likewise.
32567 * string/_strerror.c: Likewise.
32568 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32569 * sysdeps/i386/i686/hp-timing.h: Likewise.
32570 * sysdeps/mach/_strerror.c: Likewise.
32571 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32572 * sysdeps/mach/hurd/sethostid.c: Likewise.
32573 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32574 * sysdeps/mach/xpg-strerror.c: Likewise.
32575 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32576 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32577 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32578 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32579 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32580 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32581 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32582 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32583 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32584 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32585 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32586 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32587 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32588 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32589 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32590 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32591 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32592 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32593 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32594 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32595 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32597 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32599 * stdio-common/_itoa.h: Moved to ...
32600 * sysdeps/generic/_itoa.h: Here.
32602 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32604 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32605 instead of "_itoa.h" and "_itowa.h".
32606 * stdio-common/vfprintf.: Likewise.
32608 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32610 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32612 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32613 (__signbit): Likwise.
32614 (llrintf): Likwise.
32617 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32619 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32622 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32624 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32625 OVERFLOW_EXCEPTION_OK.
32626 * math/libm-test.inc ("Philosophy"): Update comment about
32628 (OVERFLOW_EXCEPTION): Define.
32629 (OVERFLOW_EXCEPTION_OK): Likewise.
32630 (INVALID_EXCEPTION_OK): Renumber.
32631 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32632 (IGNORE_ZERO_INF_SIGN): Likewise.
32633 (test_exceptions): Handle FE_OVERFLOW.
32634 (exp10_test): Expect overflow exceptions.
32635 (exp2_test): Likewise.
32636 (expm1_test): Likewise.
32637 (nextafter_test): Likewise.
32638 (pow_test): Likewise.
32639 (scalbn_test): Likewise.
32640 (scalbln_test): Likewise.
32642 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32644 * sysdeps/x86_64/bits/atomic.h
32645 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32647 (atomic_exchange_acq): Likewise.
32648 (__arch_exchange_and_add_body): Likewise.
32649 (__arch_add_body): Likewise.
32650 (atomic_add_negative): Likewise.
32651 (atomic_add_zero): Likewise.
32653 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32655 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32656 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32658 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32660 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32661 Check __x86_64__ instead of __WORDSIZE.
32663 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32665 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32667 2012-03-19 David S. Miller <davem@davemloft.net>
32669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32671 * sysdeps/sparc/fpu/fenv_private.h: New file.
32672 * sysdeps/sparc/fpu/math_private.h: Use it.
32673 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32675 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32676 (libc_feholdexcept_setroundl): Remove.
32677 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32679 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32680 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32682 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32684 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32685 int64_t instead of long int.
32686 (INSERT_WORDS64): Likwise.
32688 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32690 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32691 _Unwind_GetCFA return to _Unwind_Ptr first.
32693 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32696 * math/s_clog.c: Include <float.h>.
32697 (__clog): Scale large or subnormal inputs.
32698 * math/s_clogf.c: Likewise.
32699 * math/s_clogl.c: Likewise.
32700 * math/s_clog10.c: Include <float.h>.
32701 (M_LOG10_2): Define.
32702 (__clog10): Scale large or subnormal inputs.
32703 * math/s_clog10f.c: Likewise.
32704 * math/s_clog10l.c: Likewise.
32705 * math/libm-test.inc (clog_test): Add more tests.
32706 (clog10_test): Likewise.
32707 * sysdeps/i386/fpu/libm-test-ulps: Update.
32708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32711 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32713 * math/libm-test.inc (atan2_test): Add another test.
32715 * Makerules (common-objdir-compile): Remove.
32716 * sysdeps/unix/Makefile (config-generated): Do not add
32717 $(unix-generated) to variable.
32718 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32719 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32721 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32723 [generic bits/local_lim.h] (before-compile): Do not append to
32725 [generic bits/local_lim.h] (common-generated): Likewise.
32726 [generic sys/param.h] (before-compile): Do not append to variable.
32727 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32728 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32729 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32730 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32732 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32733 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32734 [generic sys/param.h] ($(addprefix
32735 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32736 [generic sys/param.h] (common-generated): Do not append to
32738 [generic sys/param.h] (sysdep_headers): Likewise.
32739 [generic bits/errno.h] (before-compile): Do not append to
32741 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32743 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32744 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32745 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32746 [generic bits/errno.h] (common-generated): Do not append to
32748 [generic bits/ioctls.h] (before-compile): Do not append to
32750 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32752 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32753 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32754 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32756 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32757 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32758 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32759 [generic bits/ioctls.h] (common-generated): Do not append to
32761 [generic sys/syscall.h] (syscall.h): Remove variable.
32762 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32764 [generic sys/syscall.h] (before-compile): Do not append to
32766 [generic sys/syscall.h] (common-generated): Likewise.
32767 * sysdeps/unix/errnos-tmpl.c: Remove file.
32768 * sysdeps/unix/errnos.awk: Likewise.
32769 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32770 * sysdeps/unix/ioctls.awk: Likewise.
32771 * sysdeps/unix/mk-local_lim.c: Likewise.
32772 * sysdeps/unix/snarf-ioctls: Likewise.
32774 2012-03-19 Richard Henderson <rth@twiddle.net>
32776 * sysdeps/i386/fpu/fenv_private.h: New file.
32777 * sysdeps/i386/fpu/math_private.h: Use it.
32778 (math_opt_barrier, math_force_eval): Remove.
32779 (libc_feholdexcept_setround_53bit): Remove.
32780 (libc_feupdateenv_53bit): Remove.
32781 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32782 (math_opt_barrier, math_force_eval): Remove.
32783 (libc_feholdexcept): Remove.
32784 (libc_feholdexcept_setround): Remove.
32785 (libc_fetestexcept, libc_fesetenv): Remove.
32786 (libc_feupdateenv_test): Remove.
32787 (libc_feupdateenv, libc_feholdsetround): Remove.
32788 (libc_feresetround): Remove.
32790 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32791 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32793 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32794 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32795 (libc_feupdateenv_testl): New.
32796 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32797 (libc_feupdateenv_testf): New.
32798 (libc_feupdateenv): Use libc_feupdateenv_test.
32799 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32800 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32802 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32803 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32804 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32805 (libc_feresetround_noex): New.
32806 (libc_feresetround_noexf): New.
32807 (libc_feresetround_noexl): New.
32808 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32809 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32810 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32811 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32813 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32814 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32816 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32817 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32818 SET_RESTORE_ROUND_NOEX.
32819 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32820 SET_RESTORE_ROUND_NOEXF.
32821 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32822 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32823 (libc_feholdsetroundf): New.
32824 (libc_feresetround, libc_feresetroundf): New.
32826 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32827 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32828 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32830 * sysdeps/generic/math_private.h: Include <fenv.h>.
32831 (default_libc_feholdexcept): New.
32832 (default_libc_feholdexcept_setround): New.
32833 (default_libc_fesetenv, default_libc_feupdateenv): New.
32834 (libc_feholdexcept): Only define if undefined.
32835 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32836 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32837 (libc_feholdexcept_setroundl): Likewise.
32838 (libc_feholdexcept_setround_53bit): Likewise.
32839 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32840 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32841 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32842 (libc_feupdateenv_53bit): Likewise.
32843 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32844 (libc_feholdexcept): Convert from macro to inline function.
32845 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32846 (libc_fesetenv, libc_feupdateenv): Likewise.
32848 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32849 not previously defined.
32850 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32851 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32852 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32853 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32854 * sysdeps/ieee754/flt-32/math_private.h: New file.
32855 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32856 math_private.h below SET_FLOAT_WORD.
32857 (__isnan, __isinf_ns, __finite): Remove.
32858 (__isnanf, __isinf_nsf, __finitef): Remove.
32860 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32864 2012-03-17 David S. Miller <davem@davemloft.net>
32867 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32870 2012-03-16 David S. Miller <davem@davemloft.net>
32872 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32876 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32878 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32879 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32880 sysdep_routines when subdir is sysvipc.
32881 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32882 __getshmlba helper.
32884 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32886 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32888 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32891 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32893 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32894 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32895 (__lround): Renamed to ...
32896 (__llround): This. Replace long int with long long int.
32897 Define lround functions as aliases of llround functions.
32898 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32900 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32902 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32903 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32904 adresses to uintptr_t. Replace "long int" and "unsigned long
32905 int" with "greg_t" on va_arg.
32907 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32909 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32910 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32912 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32913 Move e_machine check before EI_CLASS check. Handle x32
32914 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32915 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32916 SKIP_EM_IA_64 and include
32917 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32919 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32920 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32921 (add_system_dir): New macro.
32923 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32924 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32926 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32937 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32939 * math/w_j0f.c (j0f): Likewise.
32941 * math/w_j0l.c (__j0l): Likewise.
32943 * math/w_j1.c (j1): Likewise.
32945 * math/w_j1f.c (j1f): Likewise.
32947 * math/w_j1l.c (__j1l): Likewise.
32949 * math/w_jn.c (jn): Likewise.
32951 * math/w_jnf.c (jnf): Likewise.
32953 * math/w_jnl.c (__jnl): Likewise.
32955 * math/libm-test.inc (j0_test): Add more tests.
32956 (j1_test): Likewise.
32957 (jn_test): Likewise. Add trailing semicolon to existing test.
32958 (y0_test): Likewise.
32959 (y1_test): Likewise.
32960 * sysdeps/i386/fpu/libm-test-ulps: Update.
32961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32965 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32966 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32967 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32968 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32969 (__tanl): Set errno for infinite argument.
32970 * sysdeps/i386/fpu/mptan.c: Remove.
32971 * sysdeps/i386/fpu/s_tan.S: Likewise.
32972 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32973 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32974 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32975 * math/libm-test.inc (tan_test): Add more tests and enable more
32976 tests for double and long double.
32977 * sysdeps/i386/fpu/libm-test-ulps: Update.
32978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32980 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32982 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32983 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32985 2012-03-16 Roland McGrath <roland@hack.frob.com>
32987 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32988 * configure.in: Use it for both main tree and add-ons.
32989 * configure: Regenerated.
32991 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32993 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32995 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32997 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33001 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33002 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33003 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33004 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33005 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33007 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33008 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33009 != 0 for prec == 2.
33010 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33011 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33012 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33013 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33014 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33015 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33016 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33017 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33018 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33019 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33020 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33021 * math/libm-test.inc (cos_test): Add more tests and enable more
33022 tests for long double.
33023 (sin_test): Likewise.
33024 (sincos_test): Likewise.
33025 * sysdeps/i386/fpu/libm-test-ulps: Update.
33026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33028 2012-03-16 David S. Miller <davem@davemloft.net>
33030 * sysdeps/sparc/fpu/math_private.h: New file.
33032 2012-03-15 David S. Miller <davem@davemloft.net>
33034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33044 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33048 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33049 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33051 * sysdeps/sparc/sparc-ifunc.h: New file.
33052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33078 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33079 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33090 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33091 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33092 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33093 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33094 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33095 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33097 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33099 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33103 2012-03-15 Andreas Jaeger <aj@suse.de>
33106 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33107 ieee754/flt-32 implementation for sin, cos and sincos.
33108 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33109 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33110 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33111 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33112 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33113 ieee754/flt-32 implementation for tan.
33115 * math/libm-test.inc (cos_test): Enable some large input tests for
33117 (sin_test): Likewise.
33118 (sincos_test): Likewise.
33119 (tan_test): Add tests for large input.
33121 * sysdeps/i386/fpu/libm-test-ulps: Update.
33123 2012-03-15 Andreas Jaeger <aj@suse.de>
33126 * math/libm-test.inc (cos_test): Add more test cases.
33127 (sin_test): Likewise.
33128 (sincos_test): Likewise.
33130 2012-03-15 Andreas Jaeger <aj@suse.de>
33133 * math/libm-test.inc (cos_test): Add a test case for large input
33135 (sin_test): Likewise.
33136 (sincos_test): Likewise.
33138 2012-03-15 Andreas Jaeger <aj@suse.de>,
33139 Joseph Myers <joseph@codesourcery.com>
33142 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33143 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33144 * sysdeps/i386/fpu/branred.c: Likewise.
33145 * sysdeps/i386/fpu/dosincos.c: Likewise.
33146 * sysdeps/i386/fpu/mpa.c: Likewise.
33147 * sysdeps/i386/fpu/s_cos.S: Likewise.
33148 * sysdeps/i386/fpu/s_sin.S: Likewise.
33149 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33150 * sysdeps/i386/fpu/sincos32.c: Likewise.
33152 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33154 (libc_feupdateenv_53bit): Define.
33155 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33157 (libc_feupdateenv_53bit): Define.
33159 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33160 53 bit (without extend i386 double precision).
33162 * math/libm-test.inc (sincos_test): Add tests for large input.
33166 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33168 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33172 2012-03-15 David S. Miller <davem@davemloft.net>
33174 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33175 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33176 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33177 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33201 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33202 fmin/fmax sysdep routines.
33203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33205 2012-03-14 David S. Miller <davem@davemloft.net>
33207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33210 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33211 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33212 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33213 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33214 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33227 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33228 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33229 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33230 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33231 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33232 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33233 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33234 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33235 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33279 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33284 * sysdeps/sparc/configure.in: New file.
33285 * sysdeps/sparc/configure: Generate.
33286 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33287 * configure: Regenerate.
33288 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33289 * config.make.in (have-as-vis3): New.
33290 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33291 available use -Av9d instead of -Av9a.
33292 * sysdeps/sparc/sparc64/Makefile: Likewise.
33293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33302 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33303 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33304 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33305 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33306 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33308 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33309 fzeros/fnegs to load 0x80000000 into a float register instead of
33311 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33313 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33317 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33318 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33319 ($(inst_includedir)/bits/syscall.h): Remove rule.
33320 ($(objpfx)bits/syscall.d): Include instead of
33321 $(objpfx)syscall-list.d.
33322 (generated): Change syscall-list.h and syscall-list.d to
33323 bits/syscall.h and bits/syscall.d.
33325 2012-03-14 Roland McGrath <roland@hack.frob.com>
33328 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33330 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33333 * math/s_csqrt.c: Include <float.h>.
33334 (__csqrt): Scale large or subnormal inputs.
33335 * math/s_csqrtf.c: Likewise.
33336 * math/s_csqrtl.c: Likewise.
33337 * math/libm-test.inc (csqrt_test): Add more tests.
33338 * sysdeps/i386/fpu/libm-test-ulps: Update.
33339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33342 * math/libm-test.inc (hypot_test): Add more tests.
33344 2012-03-13 David S. Miller <davem@davemloft.net>
33347 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33348 double-precision for the calculation instead of scaling.
33350 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33352 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33353 manipulate bits before adding and subtracting TWO52[sx].
33354 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33355 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33357 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33359 2012-03-13 David S. Miller <davem@davemloft.net>
33361 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33362 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33363 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33364 rtld-global-offsets.h
33365 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33367 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33370 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33372 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33373 'err' in the ifdef scope in which it is actually used.
33375 * nss/nss_db/db-init.c: Include string.h
33377 2012-03-12 David S. Miller <davem@davemloft.net>
33379 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33380 masking out of the most significant byte of random value used.
33381 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33382 Fix coding style in previous change.
33384 * sysdeps/unix/sysv/linux/kernel-features.h
33385 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33386 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33388 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33391 2012-03-11 David S. Miller <davem@davemloft.net>
33393 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33394 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33395 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33396 for 'resultvar' otherwise things get truncated on 64-bit.
33398 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33399 Fix masking out of the most significant byte of random value used.
33401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33403 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33407 2012-03-09 David S. Miller <davem@davemloft.net>
33409 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33410 variables with appropriate CPP guards.
33411 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33412 frame pointer, not the stack pointer. Correct layout comments. Fix test
33413 on resulting framesize and the management of the outregs buffer for pltexit.
33414 Preserve floating point return values across _dl_call_pltexit call.
33415 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33416 framesize and the management of the outregs buffer for pltexit.
33417 Preserve floating point return values across _dl_call_pltexit
33419 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33420 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33421 (print_exit): Fix format string for return register value.
33423 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33425 * sunrpc/Makefile (others): Add rpcgen.
33426 ($(objpfx)rpcgen): Remove special build rule and dependency on
33428 * sunrpc/rpcgen.c: New file.
33430 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33433 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33434 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33435 * sysdeps/i386/crti.S: Likewise.
33436 * sysdeps/i386/crtn.S: Likewise.
33437 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33438 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33439 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33440 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33441 * sysdeps/sh/crti.S: Likewise.
33442 * sysdeps/sh/crtn.S: Likewise.
33443 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33446 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33448 * locale/programs/locfile-kw.gperf: Likewise.
33449 * locale/programs/charmap-kw.h: Regenerated.
33450 * locale/programs/locfile-kw.h: Likewise.
33453 * intl/plural.y: Replace FSF snail mail address with URL.
33454 * intl/plural.c: Regenerated.
33456 2012-03-09 Richard Henderson <rth@twiddle.net>
33458 * include/math_private.h: Remove file.
33459 * math/math_private.h: Move file ...
33460 * sysdeps/generic/math_private.h: ... here.
33462 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33463 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33464 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33466 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33467 and <math_private.h>.
33468 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33469 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33470 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33471 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33472 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33473 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33474 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33475 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33476 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33477 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33478 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33479 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33480 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33481 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33482 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33483 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33484 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33485 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33486 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33487 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33488 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33489 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33490 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33492 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33493 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33494 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33495 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33496 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33497 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33498 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33499 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33500 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33501 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33502 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33503 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33504 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33505 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33506 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33507 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33508 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33509 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33510 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33511 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33512 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33513 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33514 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33515 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33516 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33517 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33518 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33519 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33520 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33521 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33522 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33523 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33524 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33525 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33526 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33527 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33528 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33529 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33530 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33531 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33532 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33533 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33534 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33535 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33536 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33537 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33538 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33539 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33540 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33541 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33542 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33543 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33544 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33545 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33546 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33547 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33548 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33549 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33550 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33551 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33552 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33553 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33554 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33555 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33556 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33557 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33558 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33559 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33560 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33561 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33562 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33563 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33564 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33565 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33566 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33567 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33568 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33569 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33570 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33571 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33572 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33573 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33574 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33575 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33576 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33577 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33578 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33579 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33580 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33581 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33582 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33583 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33584 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33585 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33586 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33587 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33588 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33589 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33590 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33591 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33592 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33593 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33594 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33595 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33596 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33597 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33598 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33599 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33600 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33601 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33602 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33603 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33604 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33605 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33606 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33607 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33608 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33609 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33610 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33611 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33612 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33613 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33614 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33615 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33616 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33617 * sysdeps/ieee754/k_standard.c: Likewise.
33618 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33619 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33620 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33621 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33622 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33623 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33624 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33625 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33626 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33627 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33628 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33629 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33630 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33631 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33632 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33633 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33634 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33635 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33636 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33637 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33638 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33639 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33640 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33641 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33642 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33643 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33644 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33645 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33646 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33647 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33648 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33649 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33650 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33651 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33652 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33653 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33654 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33655 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33656 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33657 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33658 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33659 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33660 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33661 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33662 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33663 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33664 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33665 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33666 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33667 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33668 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33669 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33670 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33671 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33672 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33673 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33678 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33679 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33680 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33682 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33683 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33684 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33685 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33687 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33689 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33690 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33691 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33692 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33693 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33694 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33695 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33696 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33697 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33698 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33699 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33700 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33701 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33702 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33703 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33704 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33705 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33706 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33707 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33708 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33709 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33710 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33711 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33712 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33713 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33715 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33716 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33717 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33718 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33719 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33720 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33721 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33722 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33723 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33724 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33725 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33726 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33727 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33728 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33729 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33730 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33731 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33732 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33733 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33734 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33735 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33736 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33737 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33738 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33739 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33740 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33741 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33742 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33743 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33744 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33745 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33746 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33747 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33748 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33749 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33750 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33752 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33753 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33754 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33755 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33756 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33757 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33758 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33759 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33760 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33761 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33762 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33763 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33764 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33765 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33766 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33767 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33768 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33773 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33775 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33776 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33777 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33778 * sysdeps/ieee754/s_lib_version.c: Likewise.
33779 * sysdeps/ieee754/s_matherr.c: Likewise.
33780 * sysdeps/ieee754/s_signgam.c: Likewise.
33781 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33782 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33783 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33784 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33785 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33786 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33787 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33788 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33789 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33790 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33791 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33792 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33793 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33794 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33795 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33796 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33797 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33798 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33799 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33800 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33803 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33805 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33806 * sunrpc/rpc_main.c: Likewise.
33807 * sunrpc/rpc_svcout.c: Likewise.
33809 2012-03-09 David S. Miller <davem@davemloft.net>
33811 * include/math_private.h: New file.
33813 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33815 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33816 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33817 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33818 from <bits/socket_type.h>.
33819 (enum __socket_type): Don't define here.
33820 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33822 bits/socket_type.h.
33825 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33826 checking __USE_GNU.
33828 * Makerules ($(inst_includedir)/%.h): New rule.
33829 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33830 (install-others): Remove variable setting.
33831 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33833 2012-03-08 Richard Henderson <rth@twiddle.net>
33835 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33836 from macro to inline function; merge with the
33837 !__LIBC_INTERNAL_MATH_INLINES version.
33838 (__ieee754_sqrtf): Likewise.
33840 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33841 to inline function.
33842 (__rintf, __floor, __floorf): Likewise.
33844 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33845 macro to inline function.
33846 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33848 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33849 not <math/math_private.h>.
33851 2012-03-08 David S. Miller <davem@davemloft.net>
33853 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33855 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33857 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33859 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33861 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33862 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33864 2012-03-08 Ulrich Drepper <drepper@gmail.com>
33866 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33867 be defined individually, they must be defined as a block. Define
33868 S for printing a string instead of hidint the different by using a
33869 macro for adding the 'l'.
33870 * stdio-common/tst-fphex-wide.c: Adjust.
33872 2012-03-07 Marek Polacek <polacek@redhat.com>
33874 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33876 2012-03-08 Marek Polacek <polacek@redhat.com>
33879 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33880 * stdio-common/tst-fphex.c: Define a few macros to make the
33881 test reusable. Use them.
33882 * stdio-common/tst-fphex-wide.c: New file.
33884 2012-03-08 Joseph Myers <joseph@codesourcery.com>
33887 * manual/macros.texi (gnusystems): New macro.
33888 (nongnusystems): Likewise.
33889 (gnulinuxhurdsystems): Likewise.
33890 (gnuhurdsystems): Likewise..
33891 (gnulinuxsystems): Likewise.
33892 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33893 variants of the GNU system, not "GNU system".
33894 * manual/conf.texi: Likewise.
33895 * manual/errno.texi: Likewise. Update example of errno macro
33897 * manual/filesys.texi: Likewise.
33898 (getumask): Document as specific to GNU/Hurd.
33899 * manual/install.texi: Likewise. Reword some references to
33901 * manual/intro.texi: Likewise.
33902 * manual/io.texi: Likewise.
33903 (File Name Portability): Detail which constraints are inapplicable
33904 to all GNU systems and which are only inapplicable to GNU/Hurd.
33905 * manual/job.texi: Likewise.
33906 * manual/llio.texi: Likewise.
33907 (O_NOCTTY): Document as present on GNU/Linux.
33908 * manual/maint.texi: Likewise.
33909 * manual/memory.texi: Likewise.
33910 * manual/pattern.texi: Likewise.
33911 * manual/pipe.texi: Likewise.
33912 * manual/process.texi: Likewise.
33913 * manual/resource.texi: Likewise.
33914 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33916 * manual/setjmp.texi: Likewise.
33917 * manual/signal.texi: Likewise.
33918 * manual/startup.texi: Likewise.
33919 * manual/stdio.texi: Likewise.
33920 * manual/terminal.texi: Likewise.
33921 (ONLCR): Document as POSIX.
33922 (OXTABS): Document availability on GNU/Linux as XTABS.
33923 (ONOEOT): Document availability separately from other bits.
33924 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33925 * manual/time.texi: Likewise.
33926 * manual/users.texi: Likewise.
33927 * INSTALL: Regenerated.
33928 * sysdeps/gnu/errlist.c: Regenerated.
33930 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33931 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33932 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33934 * configure: Regenerated.
33936 2012-03-07 Joseph Myers <joseph@codesourcery.com>
33938 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33939 default includes instead of AC_HEADER_CHECK.
33940 * sysdeps/i386/configure: Regenerated.
33943 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33944 * math/s_cacoshf.c (__cacoshf): Likewise.
33945 * math/s_cacoshl.c (__cacoshl): Likewise.
33946 * math/s_casinh.c (__casinh): Set signs of result from argument.
33947 * math/s_casinhf.c (__casinhf): Likewise.
33948 * math/s_casinhl.c (__casinhl): Likewise.
33949 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33950 (casinh_test): Add more tests.
33951 * sysdeps/i386/fpu/libm-test-ulps: Update.
33952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33954 2012-03-07 Ulrich Drepper <drepper@gmail.com>
33956 * po/zh_TW.po: Update from translation team.
33958 * login/Makefile (distribute): Remove variable.
33959 * catgets/Makefile: Likewise.
33960 * mach/Makefile: Likewise.
33961 * malloc/Makefile: Likewise.
33962 * misc/Makefile: Likewise.
33963 * iconv/Makefile: Likewise.
33964 * nscd/Makefile: Likewise.
33965 * hurd/Makefile: Likewise.
33966 * manual/Makefile: Likewise.
33967 * locale/Makefile: Likewise.
33968 * intl/Makefile: Likewise.
33969 * conform/Makefile: Likewise.
33970 * nss/Makefile: Likewise.
33971 * time/Makefile: Likewise.
33972 * soft-fp/Makefile: Likewise.
33973 * dirent/Makefile: Likewise.
33974 * gmon/Makefile: Likewise.
33975 * po/Makefile: Likewise.
33976 * rt/Makefile: Likewise.
33977 * socket/Makefile: Likewise.
33978 * math/Makefile: Likewise.
33979 * signal/Makefile: Likewise.
33980 * debug/Makefile: Likewise.
33981 * elf/Makefile: Likewise.
33982 * timezone/Makefile: Likewise.
33983 * stdlib/Makefile: Likewise.
33984 * iconvdata/Makefile: Likewise.
33985 * sunrpc/Makefile: Likewise.
33986 * io/Makefile: Likewise.
33987 * argp/Makefile: Likewise.
33988 * inet/Makefile: Likewise.
33989 * hesiod/Makefile: Likewise.
33990 * grp/Makefile: Likewise.
33991 * csu/Makefile: Likewise.
33992 * wctype/Makefile: Likewise.
33993 * crypt/Makefile: Likewise.
33994 * libio/Makefile: Likewise.
33995 * string/Makefile: Likewise.
33996 * nis/Makefile: Likewise.
33997 * resolv/Makefile: Likewise.
33998 * stdio-common/Makefile: Likewise.
33999 * wcsmbs/Makefile: Likewise.
34000 * dlfcn/Makefile: Likewise.
34001 * posix/Makefile: Likewise.
34004 * timezone/Makefile: Don't install timezone files, just the programs
34007 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34009 * nss/databases.def: Add missing gshadow entry.
34011 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34013 2012-03-06 Marek Polacek <polacek@redhat.com>
34016 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34017 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34018 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34019 * stdio-common/tst-long-dbl-fphex.c: New file.
34021 2012-03-06 David S. Miller <davem@davemloft.net>
34023 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34024 (set_obp_int): New function.
34025 (get_obp_int): New function.
34026 (__get_clockfreq_via_dev_openprom): Likewise.
34027 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34028 Avoid unused variable warnings on 'val' and use builtin_expect.
34029 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34031 (INLINE_CLONE_SYSCALL): Likewise.
34033 2012-03-05 David S. Miller <davem@davemloft.net>
34035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34037 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34041 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34042 only for |x| >= 40.
34043 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34045 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34047 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34048 Replace gettimeofday with __vdso_gettimeofday.
34050 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34051 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34052 __vdso_clock_gettime and __vdso_getcpu.
34054 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34055 time with __vdso_time.
34057 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34059 * manual/lang.texi (size_t): Note types to which size_t may be
34060 equivalent with the GNU C Library, but do not describe when
34061 differences between them are significant.
34063 2012-03-05 Andreas Jaeger <aj@suse.de>
34065 * sysdeps/i386/fpu/libm-test-ulps: Update.
34067 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34070 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34071 (__ieee754_pow): Save and restore rounding mode and use
34072 round-to-nearest for main computations.
34073 * math/libm-test.inc (pow_test_tonearest): New function.
34074 (pow_test_towardzero): Likewise.
34075 (pow_test_downward): Likewise.
34076 (pow_test_upward): Likewise.
34077 (main): Call the new functions.
34078 * sysdeps/i386/fpu/libm-test-ulps: Update.
34079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34082 * math/libm-test.inc (cosh_test_tonearest): New function.
34083 (cosh_test_towardzero): Likewise.
34084 (cosh_test_downward): Likewise.
34085 (cosh_test_upward): Likewise.
34086 (sinh_test_tonearest): Likewise.
34087 (sinh_test_towardzero): Likewise.
34088 (sinh_test_downward): Likewise.
34089 (sinh_test_upward): Likewise.
34090 (main): Call the new functions.
34091 * sysdeps/i386/fpu/libm-test-ulps: Update.
34092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34094 2012-03-05 Tom de Vries <tom@codesourcery.com>
34096 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34097 default stack guard is set in last bytes.
34098 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34100 2012-03-05 Kees Cook <keescook@chromium.org>
34102 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34105 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34106 possibly allocate from heap instead of stack.
34107 * stdio-common/bug-vfprintf-nargs.c: New file.
34108 * stdio-common/Makefile (tests): Add nargs overflow test.
34110 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34114 2012-03-03 Marek Polacek <polacek@redhat.com>
34116 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34117 * math/math_private.h: Likewise.
34118 * stdlib/tst-strtod.c: Likewise.
34119 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34120 * sysdeps/x86_64/bits/atomic.h: Likewise.
34122 2012-03-02 David S. Miller <davem@davemloft.net>
34124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34128 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34129 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34130 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34131 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34133 2012-03-02 Roland McGrath <roland@hack.frob.com>
34136 * manual/examples/README: New file, says the example source files
34137 can be used under GPL>=2.
34138 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34139 line containing just "*/".
34140 * manual/examples/add.c: Add copyright header (GPL>=2).
34141 * manual/examples/argp-ex1.c: Likewise.
34142 * manual/examples/argp-ex2.c: Likewise.
34143 * manual/examples/argp-ex3.c: Likewise.
34144 * manual/examples/argp-ex4.c: Likewise.
34145 * manual/examples/atexit.c: Likewise.
34146 * manual/examples/db.c: Likewise.
34147 * manual/examples/dir.c: Likewise.
34148 * manual/examples/dir2.c: Likewise.
34149 * manual/examples/execinfo.c: Likewise.
34150 * manual/examples/filecli.c: Likewise.
34151 * manual/examples/filesrv.c: Likewise.
34152 * manual/examples/fmtmsgexpl.c: Likewise.
34153 * manual/examples/genpass.c: Likewise.
34154 * manual/examples/inetcli.c: Likewise.
34155 * manual/examples/inetsrv.c: Likewise.
34156 * manual/examples/isockad.c: Likewise.
34157 * manual/examples/longopt.c: Likewise.
34158 * manual/examples/memopen.c: Likewise.
34159 * manual/examples/memstrm.c: Likewise.
34160 * manual/examples/mkfsock.c: Likewise.
34161 * manual/examples/mkisock.c: Likewise.
34162 * manual/examples/mygetpass.c: Likewise.
34163 * manual/examples/pipe.c: Likewise.
34164 * manual/examples/popen.c: Likewise.
34165 * manual/examples/rprintf.c: Likewise.
34166 * manual/examples/search.c: Likewise.
34167 * manual/examples/select.c: Likewise.
34168 * manual/examples/setjmp.c: Likewise.
34169 * manual/examples/sigh1.c: Likewise.
34170 * manual/examples/sigusr.c: Likewise.
34171 * manual/examples/stpcpy.c: Likewise.
34172 * manual/examples/strdupa.c: Likewise.
34173 * manual/examples/strftim.c: Likewise.
34174 * manual/examples/strncat.c: Likewise.
34175 * manual/examples/subopt.c: Likewise.
34176 * manual/examples/swapcontext.c: Likewise.
34177 * manual/examples/termios.c: Likewise.
34178 * manual/examples/testopt.c: Likewise.
34179 * manual/examples/testpass.c: Likewise.
34180 * manual/examples/timeval_subtract.c: Likewise.
34183 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34185 * manual/timeval_subtract.c.texi: ... here, new file.
34187 2012-03-02 David S. Miller <davem@davemloft.net>
34189 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34191 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34194 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34195 (__sin): Save and restore rounding mode and use round-to-nearest
34196 for all computations.
34197 (__cos): Save and restore rounding mode and use round-to-nearest
34198 for all computations.
34199 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34201 (tan): Save and restore rounding mode and use round-to-nearest for
34203 * math/libm-test.inc (cos_test_tonearest): New function.
34204 (cos_test_towardzero): Likewise.
34205 (cos_test_downward): Likewise.
34206 (cos_test_upward): Likewise.
34207 (sin_test_tonearest): Likewise.
34208 (sin_test_towardzero): Likewise.
34209 (sin_test_downward): Likewise.
34210 (sin_test_upward): Likewise.
34211 (tan_test_tonearest): Likewise.
34212 (tan_test_towardzero): Likewise.
34213 (tan_test_downward): Likewise.
34214 (tan_test_upward): Likewise.
34215 (main): Call the new functions.
34216 * sysdeps/i386/fpu/libm-test-ulps: Update.
34217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34220 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34221 small n, then large n, before computing and testing k+n.
34222 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34223 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34225 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34227 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34228 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34229 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34230 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34231 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34232 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34233 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34234 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34235 * math/libm-test.inc (scalbn_test): Add more tests.
34236 (scalbln_test): Likewise.
34238 * manual/filesys.texi (mode_t): Describe constraints on size and
34239 signedness, not exact equivalence to a particular type.
34241 (ino64_t): Likewise.
34243 (nlink_t): Likewise.
34244 (blkcnt_t): Likewise.
34245 (blkcnt64_t): Likewise.
34246 * manual/llio.texi (off_t): Likewise.
34249 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34250 (__ieee754_exp): Save and restore rounding mode and use
34251 round-to-nearest for all computations.
34252 * math/libm-test.inc (exp_test_tonearest): New function.
34253 (exp_test_towardzero): Likewise.
34254 (exp_test_downward): Likewise.
34255 (exp_test_upward): Likewise.
34256 (main): Call the new functions.
34257 * sysdeps/i386/fpu/libm-test-ulps: Update.
34258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34260 2012-03-01 Chris Demetriou <cgd@google.com>
34262 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34263 have predictable order.
34265 2012-03-01 David S. Miller <davem@davemloft.net>
34267 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34269 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34270 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34271 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34272 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34274 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34275 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34276 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34278 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34279 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34280 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34281 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34282 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34286 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34287 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34288 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34290 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34291 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34292 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34293 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34294 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34295 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34296 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34297 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34298 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34299 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34300 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34301 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34303 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34304 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34305 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34306 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34307 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34308 * sysdeps/sparc/elf/configure: Regenerated.
34310 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34312 * configure.in (AS, LD): Require binutils 2.20 or later.
34313 * configure: Regenerated.
34314 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34315 as required minimum version.
34316 * INSTALL: Regenerated.
34320 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34321 before squaring exponent.
34322 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34323 bottom long double and 27 bits of top long double before squaring
34325 * math/libm-test.inc (erfc_test): Add more tests.
34326 * sysdeps/i386/fpu/libm-test-ulps: Update.
34327 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34330 2012-03-01 Kai Tietz <ktietz@redhat.com>
34332 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34333 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34334 containing bit-fields.
34335 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34336 * soft-fp/single.h (_FP_UNION_S): Likewise.
34337 * soft-fp/double.h (_FP_UNION_D): Likewise.
34339 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34342 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34343 not include ../strcmp.S.
34344 [USE_AS_STRNCASECMP_L]: Likewise.
34345 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34346 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34347 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34348 (__strncasecmp_l_ia32): Define as alias to
34349 __strncasecmp_l_nonascii.
34352 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34353 * sysdeps/i386/fpu/libm-test-ulps: Update.
34354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34356 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34359 2012-02-29 Jeff Law <law@redhat.com>
34361 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34362 out of bounds read.
34364 2012-02-29 Marek Polacek <polacek@redhat.com>
34367 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34368 * elf/Makefile: Add rules to run tst-unused-dep.out.
34370 2012-02-28 David S. Miller <davem@davemloft.net>
34372 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34373 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34374 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34375 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34376 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34377 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34379 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34381 * math/libm-test.inc (llround_test): Move one test from
34382 lround_test. Use TEST_f_L in moved test.
34383 (lround_test): Move misplaced test to llround_test. Add testcase
34386 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34388 * sysdeps/x86_64/fpu/e_expf.S: New file.
34389 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34391 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34394 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34395 of remain_len that may cause incomplete multi-byte character and
34397 * posix/bug-regex33.c: New file.
34398 * posix/Makefile (tests): Add bug-regex33.
34400 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34402 * manual/macros.texi: New file.
34403 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34404 * manual/libc.texinfo: Include macros.texi.
34405 * manual/creatute.texi: Likewise.
34406 * manual/install.texi: Likewise.
34407 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34408 @glibcadj{} in references to the GNU C Library.
34409 * manual/charset.texi: Likewise.
34410 * manual/conf.texi: Likewise.
34411 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34412 when not using those macros.
34413 * manual/creature.texi: Likewise.
34414 * manual/crypt.texi: Likewise.
34415 * manual/errno.texi: Likewise.
34416 * manual/filesys.texi: Likewise.
34417 * manual/header.texi: Likewise.
34418 * manual/install.texi: Likewise.
34419 * manual/intro.texi: Likewise.
34420 * manual/io.texi: Likewise.
34421 * manual/job.texi: Likewise.
34422 * manual/lang.texi: Likewise.
34423 * manual/libc.texiinfo: Likewise.
34424 * manual/llio.texi: Likewise.
34425 * manual/locale.texi: Likewise.
34426 * manual/maint.texi: Likewise.
34427 * manual/math.texi: Likewise.
34428 * manual/memory.texi: Likewise.
34429 * manual/message.texi: Likewise.
34430 * manual/nss.texi: Likewise.
34431 * manual/pattern.texi: Likewise.
34432 * manual/process.texi: Likewise.
34433 * manual/resource.texi: Likewise.
34434 * manual/search.texi: Likewise.
34435 * manual/setjmp.texi: Likewise.
34436 * manual/signal.texi: Likewise.
34437 * manual/socket.texi: Likewise.
34438 * manual/startup.texi: Likewise.
34439 * manual/stdio.texi: Likewise.
34440 * manual/string.texi: Likewise.
34441 * manual/sysinfo.texi: Likewise.
34442 * manual/syslog.texi: Likewise.
34443 * manual/terminal.texi: Likewise.
34444 * manual/time.texi: Likewise.
34445 * manual/users.texi: Likewise.
34446 * INSTALL: Regenerated.
34447 * NOTES: Regenerated.
34448 * sysdeps/gnu/errlist.c: Regenerated.
34450 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34452 * include/dirent.h: Include <dirstream.h> before
34455 2012-02-28 David S. Miller <davem@davemloft.net>
34457 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34458 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34459 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34460 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34462 2012-02-27 David S. Miller <davem@davemloft.net>
34464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34466 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34467 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34470 frame pointer instead of stack pointer relative arg slot.
34471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34472 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34473 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34475 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34478 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34480 2012-02-27 David S. Miller <davem@davemloft.net>
34482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34486 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34487 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34488 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34489 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34491 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34493 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34494 later. Allow versions 5-9.
34495 * configure: Regenerated.
34496 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34497 required minimum version and 4.6 as recommended version. Do not
34498 mention bugs in GCC 2.7 and 2.8.
34499 * INSTALL: Regenerated.
34501 2012-02-27 David S. Miller <davem@davemloft.net>
34503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34507 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34508 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34509 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34510 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34512 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34513 manipulate bits before adding and subtracting TWO112[sx].
34514 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34516 2012-02-27 Roland McGrath <roland@hack.frob.com>
34519 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34520 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34521 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34522 being in POSIX, because they are in 1003.1-2008.
34524 * rt/tst-aio.c: Include <fcntl.h>.
34525 * rt/tst-aio7.c: Likewise.
34526 * rt/tst-aio64.c: Likewise.
34528 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34530 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34532 * manual/install.texi (--with-headers): Describe headers as
34533 interface headers, not private headers.
34534 (Specific advice for GNU/Linux systems): Describe use of headers
34535 from "make headers_install", not private headers from older
34537 * INSTALL: Regenerated.
34538 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34540 * sysdeps/unix/sysv/linux/configure: Regenerated.
34542 * manual/llio.texi (fclean): Remove documentation.
34544 * manual/Makefile (libc-texi-generated): New variable. Include
34546 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34547 $(libc-texi-generated), not duplicated list of files.
34548 (version.texi, stamp-version): New rules.
34549 (realclean): Remove $(libc-texi-generated), not individual files
34550 from that list. Do not remove dir-add.texinfo.
34551 * manual/libc.texinfo: Comment out uses of edition numbers and
34552 references to printed manual. Remove last-updated dates.
34553 (EDITION): Comment out.
34555 (VERSION, UPDATED): Remove.
34556 (version.texi): Include.
34558 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34560 * sysdeps/posix/spawni.c: Include <signal.h>.
34561 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34562 * sysdeps/pthread/aio_fsync.c: Likewise.
34564 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34566 * conform/Makefile (tests): Run only when not cross-compiling and
34567 when fast-check is not defined.
34569 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34570 * conform/data/limits.h-data: Fixes for POSIX2008.
34571 * conform/run-conformtest.sh: Run all tests.
34572 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34574 * include/bits/dlfcn.h: Likewise.
34575 * include/langinfo.h: Likewise.
34576 * include/monetary.h: Likewise.
34577 * include/sys/poll.h: Likewise.
34579 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34581 * posix/spawn.h: Define __need_sigset_t.
34582 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34583 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34584 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34585 to get sigevent_t only.
34586 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34587 only for __USE_GNU.
34588 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34589 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34590 process_vm_writev only for __USE_GNU.
34591 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34593 * conform/Makefile: For now ignore errors from run-conformtest.
34594 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34595 POSIX to avoid namespace pollution. Don't prepend headers.
34596 * conform/data/aio.h-data: Fixes for POSIX testing.
34597 * conform/data/fcntl.h-data: Likewise.
34598 * conform/data/glob.h-data: Likewise.
34599 * conform/data/grp.h-data: Likewise.
34600 * conform/data/pthread.h-data: Likewise.
34601 * conform/data/pwd.h-data: Likewise.
34602 * conform/data/signal.h-data: Likewise.
34603 * conform/data/spawn.h-data: Likewise.
34604 * conform/data/stdio.h-data: Likewise.
34605 * conform/data/stdlib.h-data: Likewise.
34606 * conform/data/stropts.h-data: Likewise.
34607 * conform/data/sys/mman.h-data: Likewise.
34608 * conform/data/sys/stat.h-data: Likewise.
34609 * conform/data/sys/types.h-data: Likewise.
34610 * conform/data/sys/wait.h-data: Likewise.
34611 * conform/data/time.h-data: Likewise.
34612 * conform/data/unistd.h-data: Likewise.
34613 * conform/data/utime.h-data: Likewise.
34615 * io/sys/stat.h: fchmod was always in POSIX.
34616 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34617 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34618 * rt/aio.h: Define __need_timespec before including <time.h>.
34619 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34620 struct. Add forward declaration of pthread_attr_t and use it in
34622 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34623 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34624 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34625 always remove CLK_TCK definition.
34627 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34629 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34631 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34633 * conform/run-conformtest.sh: New file.
34634 * conform/Makefile: Run run-conformtest for tests.
34635 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34638 * conform/data/uchar.h-data: New file.
34639 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34640 * conform/data/arpa/inet.h-data: Likewise.
34641 * conform/data/assert.h-data: Likewise.
34642 * conform/data/complex.h-data: Likewise.
34643 * conform/data/cpio.h-data: Likewise.
34644 * conform/data/ctype.h-data: Likewise.
34645 * conform/data/dirent.h-data: Likewise.
34646 * conform/data/dlfcn.h-data: Likewise.
34647 * conform/data/errno.h-data: Likewise.
34648 * conform/data/fcntl.h-data: Likewise.
34649 * conform/data/float.h-data: Likewise.
34650 * conform/data/fmtmsg.h-data: Likewise.
34651 * conform/data/fnmatch.h-data: Likewise.
34652 * conform/data/ftw.h-data: Likewise.
34653 * conform/data/glob.h-data: Likewise.
34654 * conform/data/grp.h-data: Likewise.
34655 * conform/data/iconv.h-data: Likewise.
34656 * conform/data/inttypes.h-data: Likewise.
34657 * conform/data/langinfo.h-data: Likewise.
34658 * conform/data/libgen.h-data: Likewise.
34659 * conform/data/limits.h-data: Likewise.
34660 * conform/data/locale.h-data: Likewise.
34661 * conform/data/math.h-data: Likewise.
34662 * conform/data/monetary.h-data: Likewise.
34663 * conform/data/mqueue.h-data: Likewise.
34664 * conform/data/ndbm.h-data: Likewise.
34665 * conform/data/net/if.h-data: Likewise.
34666 * conform/data/netdb.h-data: Likewise.
34667 * conform/data/netinet/in.h-data: Likewise.
34668 * conform/data/nl_types.h-data: Likewise.
34669 * conform/data/poll.h-data: Likewise.
34670 * conform/data/pthread.h-data: Likewise.
34671 * conform/data/pwd.h-data: Likewise.
34672 * conform/data/regex.h-data: Likewise.
34673 * conform/data/sched.h-data: Likewise.
34674 * conform/data/search.h-data: Likewise.
34675 * conform/data/semaphore.h-data: Likewise.
34676 * conform/data/setjmp.h-data: Likewise.
34677 * conform/data/signal.h-data: Likewise.
34678 * conform/data/spawn.h-data: Likewise.
34679 * conform/data/stdarg.h-data: Likewise.
34680 * conform/data/stdio.h-data: Likewise.
34681 * conform/data/stdlib.h-data: Likewise.
34682 * conform/data/string.h-data: Likewise.
34683 * conform/data/strings.h-data: Likewise.
34684 * conform/data/stropts.h-data: Likewise.
34685 * conform/data/sys/ipc.h-data: Likewise.
34686 * conform/data/sys/mman.h-data: Likewise.
34687 * conform/data/sys/msg.h-data: Likewise.
34688 * conform/data/sys/resource.h-data: Likewise.
34689 * conform/data/sys/select.h-data: Likewise.
34690 * conform/data/sys/sem.h-data: Likewise.
34691 * conform/data/sys/shm.h-data: Likewise.
34692 * conform/data/sys/socket.h-data: Likewise.
34693 * conform/data/sys/stat.h-data: Likewise.
34694 * conform/data/sys/statvfs.h-data: Likewise.
34695 * conform/data/sys/time.h-data: Likewise.
34696 * conform/data/sys/timeb.h-data: Likewise.
34697 * conform/data/sys/times.h-data: Likewise.
34698 * conform/data/sys/types.h-data: Likewise.
34699 * conform/data/sys/uio.h-data: Likewise.
34700 * conform/data/sys/un.h-data: Likewise.
34701 * conform/data/sys/utsname.h-data: Likewise.
34702 * conform/data/sys/wait.h-data: Likewise.
34703 * conform/data/syslog.h-data: Likewise.
34704 * conform/data/tar.h-data: Likewise.
34705 * conform/data/termios.h-data: Likewise.
34706 * conform/data/utime.h-data: Likewise.
34707 * conform/data/utmpx.h-data: Likewise.
34708 * conform/data/varargs.h-data: Likewise.
34709 * conform/data/wchar.h-data: Likewise.
34710 * conform/data/wctype.h-data: Likewise.
34711 * conform/data/wordexp.h-data: Likewise.
34713 * include/stropts.h: New file.
34714 * include/uchar.h: New file.
34715 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34716 * include/assert.h: Likewise.
34717 * include/ctype.h: Likewise.
34718 * include/dirent.h: Likewise.
34719 * include/dlfcn.h: Likewise.
34720 * include/fcntl.h: Likewise.
34721 * include/fnmatch.h: Likewise.
34722 * include/glob.h: Likewise.
34723 * include/grp.h: Likewise.
34724 * include/libio.h: Likewise.
34725 * include/locale.h: Likewise.
34726 * include/math.h: Likewise.
34727 * include/net/if.h: Likewise.
34728 * include/netdb.h: Likewise.
34729 * include/netinet/in.h: Likewise.
34730 * include/pthread.h: Likewise.
34731 * include/pwd.h: Likewise.
34732 * include/regex.h: Likewise.
34733 * include/sched.h: Likewise.
34734 * include/search.h: Likewise.
34735 * include/setjmp.h: Likewise.
34736 * include/signal.h: Likewise.
34737 * include/stdio.h: Likewise.
34738 * include/stdlib.h: Likewise.
34739 * include/string.h: Likewise.
34740 * include/sys/cdefs.h: Likewise.
34741 * include/sys/mman.h: Likewise.
34742 * include/sys/msg.h: Likewise.
34743 * include/sys/resource.h: Likewise.
34744 * include/sys/select.h: Likewise.
34745 * include/sys/socket.h: Likewise.
34746 * include/sys/stat.h: Likewise.
34747 * include/sys/statvfs.h: Likewise.
34748 * include/sys/time.h: Likewise.
34749 * include/sys/times.h: Likewise.
34750 * include/sys/uio.h: Likewise.
34751 * include/sys/utsname.h: Likewise.
34752 * include/sys/wait.h: Likewise.
34753 * include/termios.h: Likewise.
34754 * include/time.h: Likewise.
34755 * include/ulimit.h: Likewise.
34756 * include/unistd.h: Likewise.
34757 * include/utime.h: Likewise.
34758 * include/wchar.h: Likewise.
34759 * include/wctype.h: Likewise.
34760 * include/wordexp.h: Likewise.
34762 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34764 * time/time.h: TIME_UTC must be a macro.
34765 Make timespec_get available for ISO C11 only as well.
34767 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34769 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34770 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34772 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34774 * configure.in: Use -o not -a in test for unsupported multi-arch.
34776 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34778 * manual/texinfo.tex: Update to version 2012-01-19.16.
34780 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34782 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34784 2012-02-24 Roland McGrath <roland@hack.frob.com>
34787 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34788 * manual/fdl-1.3.texi: New file.
34789 * manual/fdl-1.1.texi: File removed.
34792 * manual/libc.texinfo (FDL_VERSION): New @set.
34793 Use it for mention of FDL in cover text.
34794 (Documentation License): Use it in @include file name.
34796 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34797 Roland McGrath <roland@hack.frob.com>
34800 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34801 not LONG_LONG_MAX and LONG_LONG_MIN.
34802 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34803 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34805 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34807 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34811 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34812 manipulate bits before adding and subtracting TWO23[sx].
34813 * math/libm-test.inc (nearbyint_test): Add more tests.
34815 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34818 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34819 bits before adding and subtracting TWO23[sx].
34820 * math/libm-test.inc (rint_test): Add more tests.
34821 (rint_test_tonearest): Likewise.
34822 (rint_test_towardzero): Likewise.
34823 (rint_test_downward): Likewise.
34824 (rint_test_upward: Likewise.
34826 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34829 * include/stdc-predef.h: New file. Extracted from features.h.
34830 * include/features.h: Include stdc-predef.h.
34831 * Makefile (headers): Add stdc-predef.h.
34832 * CONFORMANCE (Compiler limitations): Update.
34834 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34836 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34838 2012-02-21 David S. Miller <davem@davemloft.net>
34840 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34841 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34843 2012-02-20 David S. Miller <davem@davemloft.net>
34845 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34846 using a normal save/restore sequence, rather than allocating a
34847 dummy stack frame just to store a frame pointer and restore.
34848 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34850 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34852 * manual/install.texi: Fix stray word in line-wrapped comment.
34854 2012-02-20 David S. Miller <davem@davemloft.net>
34856 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34857 both binutils and gcc support GOTDATA.
34859 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34860 "rd %pc" in the PIC register setup sequences.
34862 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34863 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34864 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34865 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34866 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34867 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34868 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34869 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34870 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34871 (SYSCALL_ERROR_HANDLER): Likewise.
34872 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34873 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34874 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34875 (SYSCALL_ERROR_HANDLER): Likewise.
34877 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34878 (HAVE_GCC_GOTDATA): New.
34879 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34880 relocation support in both binutils and gcc.
34881 * sysdeps/sparc/elf/configure: Regenerate.
34883 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34884 * sysdeps/sparc/sparc32/elf/configure: Delete.
34885 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34886 * sysdeps/sparc/sparc64/elf/configure: Delete.
34887 * sysdeps/sparc/elf/configure.in: New file.
34888 * sysdeps/sparc/elf/configure: Generate.
34890 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34891 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34892 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34893 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34894 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34896 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34898 * manual/install.texi: Do not mention specific glibc version
34900 * manual/libc.texinfo (VERSION, UPDATED): Update.
34901 (@copying): Use @copyright{} and range of years.
34903 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34906 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34907 [crti.S not in sysdirs] (generated): Do not append.
34908 [crti.S not in sysdirs] (omit-deps): Likewise.
34909 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34910 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34911 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34912 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34913 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34915 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34916 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34917 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34918 * csu/defs.awk: Remove file.
34919 * sysdeps/generic/initfini.c: Likewise.
34920 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34922 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34925 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34927 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34928 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34929 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34930 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34931 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34932 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34934 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34935 (__EPOLL_PACKED): Define to empty if not defined by
34937 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34941 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34943 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34944 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34945 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34946 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34948 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34952 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34954 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34956 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34957 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34958 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34961 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34963 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34964 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34966 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34968 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34969 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34971 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34973 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34976 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34978 * math/w_acos.c: Use non-signaling floating-point comparisons.
34979 * math/w_acosf.c: Likewise.
34980 * math/w_acosh.c: Likewise.
34981 * math/w_acoshf.c: Likewise.
34982 * math/w_acoshl.c: Likewise.
34983 * math/w_acosl.c: Likewise.
34984 * math/w_asin.c: Likewise.
34985 * math/w_asinf.c: Likewise.
34986 * math/w_asinl.c: Likewise.
34987 * math/w_atanh.c: Likewise.
34988 * math/w_atanhf.c: Likewise.
34989 * math/w_atanhl.c: Likewise.
34990 * math/w_exp2.c: Likewise.
34991 * math/w_exp2f.c: Likewise.
34992 * math/w_exp2l.c: Likewise.
34993 * math/w_j0.c: Likewise.
34994 * math/w_j0f.c: Likewise.
34995 * math/w_j0l.c: Likewise.
34996 * math/w_j1.c: Likewise.
34997 * math/w_j1f.c: Likewise.
34998 * math/w_j1l.c: Likewise.
34999 * math/w_jn.c: Likewise.
35000 * math/w_jnf.c: Likewise.
35001 * math/w_log.c: Likewise.
35002 * math/w_log10.c: Likewise.
35003 * math/w_log10f.c: Likewise.
35004 * math/w_log10l.c: Likewise.
35005 * math/w_log2.c: Likewise.
35006 * math/w_log2f.c: Likewise.
35007 * math/w_log2l.c: Likewise.
35008 * math/w_logf.c: Likewise.
35009 * math/w_logl.c: Likewise.
35010 * math/w_sqrt.c: Likewise.
35011 * math/w_sqrtf.c: Likewise.
35012 * math/w_sqrtl.c: Likewise.
35013 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35014 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35015 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35016 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35017 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35019 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35022 * manual/string.texi (strnlen): Use correct parameter name in
35023 equivalent expression.
35025 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35028 * manual/users.texi (seteuid): Consistently use neweuid for
35031 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35034 * manual/nss.texi (Services in the NSS configuration): Correct
35035 list of services in example configuration file.
35037 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35040 * manual/arith.texi: Remove statements about negative zero
35041 behaving identically to zero.
35043 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35046 * manual/install.texi: Do not document upgrading from libc5.
35048 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35051 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35053 2012-02-18 David S. Miller <davem@davemloft.net>
35055 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35056 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35057 %o7 across the call.
35058 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35060 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35061 SETUP_PIC_REG_LEAF.
35062 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35063 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35064 * sysdeps/sparc/crtn.S: Likewise.
35066 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35068 * aout/Makefile: Remove.
35070 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35073 * manual/examples/argp-ex1.c (main): Format definition in GNU
35075 * manual/examples/argp-ex2.c (main): Likewise.
35076 * manual/examples/argp-ex3.c (main): Likewise.
35077 * manual/examples/argp-ex4.c (main): Likewise.
35078 * manual/examples/longopt.c (main): Use new-style prototype
35080 * manual/examples/strncat.c (main): Specify return type and use
35081 (void) for arguments.
35082 * manual/examples/subopt.c (main): Use char **argv argument.
35084 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35087 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35090 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35093 * manual/string.texi (strchr): Change when strchrnul is
35096 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35099 * manual/locale.texi (setlocale): Document LOCPATH.
35101 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35104 * manual/process.texi (execle): Move @dots{} before last argument.
35106 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35109 * manual/charset.texi (Generic Charset Conversion): Fix typo
35110 (LC_TYPE -> LC_CTYPE).
35112 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35115 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35116 (scalbnf): Likewise.
35117 (scalbnl): Likewise.
35118 (scalbln): Likewise.
35119 (scalblnf): Likewise.
35120 (scalblnl): Likewise.
35121 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35122 (vwarnx): Likewise.
35125 * manual/filesys.texi (telldir): Use braces around return type.
35126 * manual/llio.texi (mmap): Add space after comma.
35127 (mmap64): Likewise.
35128 * manual/math.texi (jn): Use @var{} on parameter names.
35134 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35136 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35138 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35139 (sched_get_priority_max): Likewise.
35140 * manual/signal.texi (sigvec): Add space after comma.
35141 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35143 (if_indextoname): Likewise.
35144 (if_freenameindex): Likewise.
35145 (sendto): Use ',' instead of '.' in prototype.
35146 * manual/startup.texi (syscall): Use @dots{} instead of literal
35148 * manual/stdio.texi (__fpending): Separate initial words of
35149 paragraph from @deftypefun line.
35150 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35152 (vsyslog): Use @var{} on parameter names.
35153 * manual/terminal.texi (stty): Use @var{} on parameter names.
35154 * manual/users.texi (getutmp): Use @var{} on parameter names.
35155 (getutmpx): Likewise.
35157 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35160 * manual/stdio.texi (fopen): Fix typos in description of
35163 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35166 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35167 get clock_id definition.
35169 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35172 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35173 (madvise): Cast every argument to void on its own.
35175 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35178 * manual/startup.texi (Exit Status): Fix typo.
35180 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35183 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35184 * manual/examples/argp-ex2.c: Likewise.
35185 * manual/examples/argp-ex3.c: Likewise.
35187 2012-02-16 Richard Henderson <rth@redhat.com>
35189 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35190 * sysdeps/s390/s390-32/initfini.c: Remove.
35191 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35192 * sysdeps/s390/s390-64/initfini.c: Remove.
35194 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35196 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35197 compiler output for sysdeps/generic/initfini.c.
35198 * sysdeps/sh/elf/initfini.c: Remove file.
35200 2012-02-16 David S. Miller <davem@davemloft.net>
35203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35205 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35206 * sysdeps/sparc/crti.S: New file.
35207 * sysdeps/sparc/crtn.S: New file.
35208 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35209 * sysdeps/sparc/sparc64/Makefile: Likewise.
35211 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35214 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35216 2012-02-15 Roland McGrath <roland@hack.frob.com>
35219 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35221 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35222 (write, read, close): Likewise.
35223 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35225 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35227 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35228 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35229 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35230 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35232 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35236 2012-02-14 Marek Polacek <polacek@redhat.com>
35238 * sysdeps/x86_64/crti.S: New file.
35239 * sysdeps/x86_64/crtn.S: New file.
35240 * sysdeps/x86_64/elf/initfini.c: Remove file.
35242 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35244 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35245 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35246 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35247 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35249 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35253 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35255 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35256 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35257 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35258 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35260 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35264 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35266 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35267 __feraiseexcept instead of feraiseexcept.
35269 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35270 nanosleep invocations.
35271 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35272 strings, and add error checking for a nanosleep invocations.
35274 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35276 Replace FSF snail mail address with URLs, as per GNU coding standards.
35277 Most of the snail mail addresses were wrong anyway, and omitting
35278 them makes the source code easier to maintain. Almost all of the
35279 changes are to license notices and to locale LC_IDENTIFICATION
35280 addresses, except for this one:
35281 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35282 not its snail mail address.
35284 2012-02-09 Richard Henderson <rth@twiddle.net>
35286 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35287 of kernel-features.h.
35289 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35291 2012-02-08 Marek Polacek <polacek@redhat.com>
35293 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35294 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35295 * sysdeps/gnu/_G_config.h: Likewise.
35296 * sysdeps/generic/_G_config.h: Likewise.
35298 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35300 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35304 * sysdeps/powerpc/powerpc32/crti.S: New file.
35305 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35306 * sysdeps/powerpc/powerpc64/crti.S: New file.
35307 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35309 * Makeconfig (have-initfini): Don't set.
35310 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35311 * configure.in (nopic_initfini): Don't substitute.
35312 * config.h.in (HAVE_INITFINI): Don't #undef.
35313 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35314 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35316 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35318 Support crti.S and crtn.S provided directly by architectures.
35319 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35320 [crti.S in sysdirs] (omit-deps): Likewise.
35321 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35322 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35323 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35324 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35325 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35326 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35327 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35328 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35329 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35330 compiler output for sysdeps/generic/initfini.c.
35331 * sysdeps/i386/elf/Makefile: Remove file.
35332 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35334 2012-02-07 Marek Polacek <polacek@redhat.com>
35336 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35337 * sysdeps/gnu/_G_config.h: Likewise.
35338 * sysdeps/mach/hurd/_G_config.h: Likewise.
35340 2012-02-07 Marek Polacek <polacek@redhat.com>
35342 * math/Makefile (tests): Add tst-CMPLX2.
35343 * math/tst-CMPLX2.c: New file.
35345 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35347 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35349 * math/libm-test.inc (jn_test): Add missing L suffix.
35351 2012-02-06 Marek Polacek <polacek@redhat.com>
35353 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35354 * sysdeps/i386/fpu/e_powf.S: Likewise.
35355 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35356 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35357 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35358 * sysdeps/i386/fpu/e_pow.S: Likewise.
35359 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35360 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35361 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35362 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35363 * sysdeps/i386/fpu/e_log2.S: Likewise.
35364 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35365 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35366 * sysdeps/i386/fpu/e_powl.S: Likewise.
35367 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35368 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35369 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35370 * sysdeps/i386/fpu/e_logl.S: Likewise.
35371 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35372 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35373 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35374 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35375 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35376 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35377 * sysdeps/i386/fpu/e_log.S: Likewise.
35378 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35379 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35380 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35381 * sysdeps/i386/fpu/e_logf.S: Likewise.
35382 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35383 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35384 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35385 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35386 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35387 * sysdeps/i386/fpu/e_log10.S: Likewise.
35388 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35389 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35390 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35391 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35392 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35393 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35394 * sysdeps/i386/asm-syntax.h: Likewise.
35395 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35396 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35397 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35398 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35399 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35400 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35401 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35402 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35403 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35404 * sysdeps/powerpc/sysdep.h: Likewise.
35405 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35406 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35408 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35411 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35413 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35415 * sysdeps/i386/sysdep.h: Include <features.h>.
35416 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35419 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35421 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35423 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35426 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35428 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35429 (SETUP_PIC_REG): Use GET_PC_THUNK.
35430 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35433 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35435 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35436 for non-PIC compilation.
35437 (SETUP_PIC_REG): Add .p2align directive.
35438 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35439 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35440 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35441 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35442 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35443 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35444 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35445 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35446 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35447 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35448 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35449 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35450 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35451 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35452 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35453 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35454 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35455 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35456 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35457 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35458 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35459 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35460 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35461 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35462 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35463 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35464 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35465 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35466 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35467 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35468 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35469 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35470 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35471 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35472 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35473 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35474 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35475 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35476 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35477 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35478 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35480 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35482 * math/tst-CMPLX.c: Include <stdio.h>.
35484 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35486 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35488 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35489 * sysdeps/sparc/bits/mathdef.h: Likewise.
35491 2012-01-31 Marek Polacek <polacek@redhat.com>
35493 * libio/libio.h: Don't define _PARAMS.
35494 * locale/programs/config.h: Don't define PARAMS.
35495 * stdlib/strtol_l.c: Likewise.
35496 (__strtol_l): Remove PARAMS from the prototype.
35498 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35500 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35501 names. Just use the correct names. Remove unnecessary wrapper
35503 * malloc/arena.c: Likewise.
35504 * malloc/hooks.c: Likewise.
35506 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35507 ARENA_TEST says not to. Simplify test for creation of a new arena.
35508 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35510 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35512 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35514 (update_get_addr): New function.
35515 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35516 GET_ADDR_MODULE parameter.
35518 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35520 * crypt/cert.c: Remove __STDC__ conditionals.
35521 * crypt/crypt-entry.c: Likewise.
35522 * crypt/crypt_util.c: Likewise.
35523 * libio/filedoalloc.c: Likewise.
35524 * libio/fileops.c: Likewise.
35525 * libio/genops.c: Likewise.
35526 * libio/iofclose.c: Likewise.
35527 * libio/iofdopen.c: Likewise.
35528 * libio/iofopen.c: Likewise.
35529 * libio/iofopen64.c: Likewise.
35530 * libio/iogetdelim.c: Likewise.
35531 * libio/iopopen.c: Likewise.
35532 * libio/obprintf.c: Likewise.
35533 * libio/oldfileops.c: Likewise.
35534 * libio/oldiofclose.c: Likewise.
35535 * libio/oldiofdopen.c: Likewise.
35536 * libio/oldiofopen.c: Likewise.
35537 * libio/oldiopopen.c: Likewise.
35538 * libio/wfiledoalloc.c: Likewise.
35539 * libio/wgenops.c: Likewise.
35540 * locale/programs/xmalloc.c: Likewise.
35541 * misc/syslog.c: Likewise.
35542 * stdio-common/xbug.c: Likewise.
35543 * string/memchr.c: Likewise.
35544 * string/memcmp.c: Likewise.
35545 * string/memrchr.c: Likewise.
35546 * string/rawmemchr.c: Likewise.
35547 * sysdeps/posix/getcwd.c: Likewise.
35548 * time/strftime_l.c: Likewise.
35550 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35552 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35553 * config.make.in (config-cflags-sse2avx): Define.
35554 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35557 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35559 * scripts/config.guess: Update from upstream config git repository.
35560 * scripts/config.sub: Likewise.
35562 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35564 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35566 (R_TILEPRO_*, R_TILEGX_*): New macros.
35568 * scripts/firstversions.awk: Fix bug in version range handling.
35570 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35572 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35574 * include/sys/epoll.h: New file.
35575 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35578 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35580 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35581 Avoid unnecessary __WORDSIZE == 64 test.
35582 (fmaxf): Use VEX format if possible.
35587 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35588 * math/math_private.h: Remove libc_fegetround* and
35590 * sysdeps/i386/configure.in: Check for -msse2avx.
35591 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35592 also if SSE2AVX is defined.
35593 Remove libc_fegetround* and libc_fesetround*.
35594 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35595 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35596 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35598 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35599 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35600 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35601 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35602 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35604 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35606 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35608 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35610 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35612 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35615 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35617 * Makeconfig (libm): Define.
35618 * elf/Makefile: Add rules to build and run tst-relsort1.
35619 * elf/tst-relsort1.c: New file.
35620 * elf/tst-relsort1mod1.c: New file.
35621 * elf/tst-relsort1mod2.c: New file.
35623 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35625 * math/s_ldexp.c: Remove __STDC__ conditionals.
35626 * math/s_ldexpf.c: Likewise.
35627 * math/s_ldexpl.c: Likewise.
35628 * math/s_nextafter.c: Likewise.
35629 * math/s_nexttowardf.c: Likewise.
35630 * math/s_significand.c: Likewise.
35631 * math/s_significandf.c: Likewise.
35632 * math/s_significandl.c: Likewise.
35633 * math/w_jnl.c: Likewise.
35634 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35635 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35636 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35637 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35638 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35639 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35640 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35641 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35642 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35643 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35644 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35645 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35646 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35647 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35648 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35649 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35650 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35651 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35653 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35654 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35655 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35656 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35657 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35658 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35659 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35660 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35661 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35662 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35663 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35664 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35665 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35666 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35667 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35668 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35669 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35670 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35671 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35672 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35673 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35674 * sysdeps/ieee754/k_standard.c: Likewise.
35675 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35676 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35677 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35678 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35679 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35680 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35681 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35682 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35683 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35684 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35685 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35686 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35687 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35688 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35689 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35690 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35691 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35692 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35693 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35694 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35695 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35696 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35697 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35698 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35699 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35700 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35703 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35704 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35705 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35707 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35708 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35709 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35710 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35711 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35712 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35715 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35716 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35717 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35719 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35721 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35722 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35723 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35724 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35725 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35726 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35736 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35741 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35745 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35746 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35749 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35750 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35754 * sysdeps/ieee754/s_matherr.c: Likewise.
35755 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35756 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35757 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35758 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35760 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35762 * crypt/md5.h: Remove __STDC__ conditionals.
35763 * libio/libioP.h: Likewise.
35764 * locale/programs/config.h: Likewise.
35765 * sysdeps/generic/sysdep.h: Likewise.
35766 * sysdeps/i386/asm-syntax.h: Likewise.
35767 * sysdeps/s390/asm-syntax.h: Likewise.
35768 * sysdeps/unix/sysdep.h: Likewise.
35769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35772 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35774 * libio/libio.h: Remove __STDC__ conditionals.
35775 * malloc/obstack.h: Likewise.
35776 * math/complex.h: Likewise.
35777 * math/math.h: Likewise.
35778 * sysdeps/generic/_G_config.h: Likewise.
35779 * sysdeps/gnu/_G_config.h: Likewise.
35780 * sysdeps/mach/hurd/_G_config.h: Likewise.
35781 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35782 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35783 * sysdeps/sparc/bits/mathdef.h: Likewise.
35785 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35788 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35789 Clean up HAS_* macros.
35790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35791 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35793 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35795 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35796 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35797 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35798 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35799 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35801 2012-01-25 Joseph Myers <joseph@codesourcery.com>
35803 * elf/tst-unique3.cc (gets): Remove declaration.
35804 * elf/tst-unique3lib.cc (gets): Likewise.
35805 * elf/tst-unique3lib2.cc (gets): Likewise.
35806 * elf/tst-unique4.cc (gets): Likewise.
35808 2012-01-24 Ulrich Drepper <drepper@gmail.com>
35810 * include/stdio.h: Add C++ protection. Add gets declarations and
35812 * debug/tst-chk1.c: Don't declare gets here.
35813 * stdio-common/tst-gets.c: Likewise.
35815 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35817 * posix/glob: Remove directory.
35819 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35821 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35823 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35825 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35826 of the non-standard EPFNOSUPPORT.
35828 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35830 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35831 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35832 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35834 2012-01-21 Ulrich Drepper <drepper@gmail.com>
35836 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35838 2012-01-20 Ulrich Drepper <drepper@gmail.com>
35840 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35842 * nscd/grpcache.c (cache_addgr): Likewise.
35843 * nscd/hstcache.c (cache_addhst): Likewise.
35844 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35845 * nscd/pwdcache.c (cache_addpw): Likewise.
35846 * nscd/servicescache.c (cache_addserv): Likewise.
35848 2012-01-16 Ulrich Drepper <drepper@gmail.com>
35850 * malloc/malloc.c: Various cleanups.
35851 * malloc/hooks.c: Likewise.
35853 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35854 * stdlib/bug-fmtmsg1.c: New file.
35856 * stdlib/fmtmsg.c (init): Add missing unlock.
35857 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35859 2012-01-12 Marek Polacek <polacek@redhat.com>
35861 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35864 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35866 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35867 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35868 macro to ensure uniqueness of label name.
35869 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35870 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35872 2012-01-11 Ulrich Drepper <drepper@gmail.com>
35874 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35876 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35877 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35878 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35879 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35881 2012-01-10 Ulrich Drepper <drepper@gmail.com>
35883 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35885 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35886 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35887 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35889 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35891 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35892 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35893 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35894 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35896 * math/bits/math-finite.h: Add ldexp support.
35898 2012-01-10 Marek Polacek <polacek@redhat.com>
35900 * locale/programs/localedef.h (show_archive_content): Add noreturn
35903 2012-01-09 Ulrich Drepper <drepper@gmail.com>
35905 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35907 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35909 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35911 * io/Makefile (headers): Add bits/poll2.h.
35913 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35916 typo #include statement.
35918 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35920 * include/sys/cdefs.h: Define __attribute_alloc_size.
35921 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35922 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35923 * elf/pldd.c: Likewise.
35924 * iconv/iconv_charmap.c: Likewise.
35925 * iconv/iconvconfig.c: Likewise.
35926 * iconv/strtab.c: Likewise.
35927 * locale/programs/locale.c: Likewise.
35928 * locale/programs/localedef.h: Likewise.
35929 * locale/programs/simple-hash.c: Likewise.
35930 * nscd/nscd.h: Likewise.
35931 * nss/makedb.c: Likewise.
35932 * sysdeps/generic/ldconfig.h: Likewise.
35933 * locale/programs/localedef.c: Remove xmalloc prototype.
35934 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35936 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35938 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35941 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35943 * math/Makefile (tests): Add tst-CMPLX.
35944 * math/tst-CMPLX.c: New file.
35946 * math/complex.h (CMPLXL): Fix typo.
35948 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35949 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35951 * debug/tst-chk1.c: Add poll and ppoll tests.
35952 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35953 * include/sys/poll.h: Add hidden proto for ppoll.
35954 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35955 * sysdeps/mach/hurd/ppoll.c: Likewise.
35956 * io/ppoll.c: Likewise.
35957 * debug/poll_chk.c: New file.
35958 * debug/ppoll_chk.c: New file.
35959 * include/bits/poll2.h: New file.
35960 * io/bits/poll2.h: New file.
35963 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35965 * configure.in: static is always set to yes. Remove.
35966 * config.make.in: Don't set build-static.
35967 * Makeconfig: Remove use of build-static.
35968 * dlfcn/Makefile: Likewise.
35969 * elf/Makefile: Likewise.
35970 * math/Makefile: Likewise.
35971 * misc/Makefile: Likewise.
35972 * nptl/Makefile: Likewise.
35973 * sysdeps/mach/hurd/Makefile: Likewise.
35975 * configure.in: PWD_P is not used anymore.
35976 * config.make.in: Remove PWD_P entry.
35978 * configure.in: Remove last remnants of RANLIB.
35979 No need to check for signed size_t anymore.
35980 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35982 Remove __builtin_expect test because we require at least gcc 3.4.
35983 * aclocal.m4: Likewise.
35985 * wcsmbs/mbrtoc16.c: Implement using towc function.
35986 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35987 * wcsmbs/wcsmbsload.c: Likewise.
35988 * iconv/gconv_simple.c: Likewise.
35989 * iconv/gconv_int.h: Likewise.
35990 * iconv/gconv_builtin.h: Likewise.
35991 * iconv/iconv_prog.c: Remove CHAR16 handling.
35993 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35995 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35997 * configure.in: Remove --with-elf and --enable-bounded options.
35998 Dont set base_machine for ia64. More non-ELF conditions removed.
35999 Remove testing and setting of leading underscore information.
36000 * config.make.in (build-bounded): Set to no.
36001 * config.h.in: Remove NO_UNDERSCORES entry.
36002 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36004 * csu/start.c: Remove !NO_UNDERSCORE code.
36005 * locale/localeinfo.h: Likewise.
36006 * sysdeps/generic/machine-gmon.h: Likewise.
36007 * sysdeps/generic/sysdep.h: Likewise.
36008 * sysdeps/i386/sysdep.h: Likewise.
36009 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36010 * sysdeps/mach/sysdep.h: Likewise.
36011 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36012 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36013 * sysdeps/sh/sysdep.h: Likewise.
36014 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36015 * sysdeps/unix/i386/sysdep.S: Likewise.
36016 * sysdeps/unix/sparc/start.c: Likewise.
36017 * sysdeps/unix/sparc/sysdep.S: Likewise.
36018 * sysdeps/unix/sparc/sysdep.h: Likewise.
36019 * sysdeps/unix/start.c: Likewise.
36020 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36021 * sysdeps/x86_64/sysdep.h: Likewise.
36023 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36026 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36028 * argp/argp-fmtstream.h: Use const instead __const.
36029 * argp/argp.h: Likewise.
36030 * assert/assert.h: Likewise.
36031 * bits/fenv.h: Likewise.
36032 * bits/sched.h: Likewise.
36033 * bits/sigset.h: Likewise.
36034 * bits/sigthread.h: Likewise.
36035 * catgets/nl_types.h: Likewise.
36036 * conform/data/pthread.h-data: Likewise.
36037 * crypt/crypt-private.h: Likewise.
36038 * crypt/crypt.h: Likewise.
36039 * crypt/crypt_util.c: Likewise.
36040 * ctype/ctype.h: Likewise.
36041 * debug/execinfo.h: Likewise.
36042 * debug/mbsnrtowcs_chk.c: Likewise.
36043 * debug/mbsrtowcs_chk.c: Likewise.
36044 * debug/wcsnrtombs_chk.c: Likewise.
36045 * debug/wcsrtombs_chk.c: Likewise.
36046 * debug/wcstombs_chk.c: Likewise.
36047 * dirent/dirent.h: Likewise.
36048 * dlfcn/dlfcn.h: Likewise.
36049 * elf/neededtest4.c: Likewise.
36050 * grp/grp.h: Likewise.
36051 * gshadow/gshadow.h: Likewise.
36052 * iconv/gconv.h: Likewise.
36053 * iconv/gconv_int.h: Likewise.
36054 * iconv/gconv_simple.c: Likewise.
36055 * iconv/iconv.h: Likewise.
36056 * iconv/loop.c: Likewise.
36057 * iconv/skeleton.c: Likewise.
36058 * include/aio.h: Likewise.
36059 * include/aliases.h: Likewise.
36060 * include/argz.h: Likewise.
36061 * include/arpa/inet.h: Likewise.
36062 * include/assert.h: Likewise.
36063 * include/dirent.h: Likewise.
36064 * include/dlfcn.h: Likewise.
36065 * include/execinfo.h: Likewise.
36066 * include/fcntl.h: Likewise.
36067 * include/fenv.h: Likewise.
36068 * include/glob.h: Likewise.
36069 * include/grp.h: Likewise.
36070 * include/libintl.h: Likewise.
36071 * include/mntent.h: Likewise.
36072 * include/netdb.h: Likewise.
36073 * include/pwd.h: Likewise.
36074 * include/rpc/netdb.h: Likewise.
36075 * include/sched.h: Likewise.
36076 * include/search.h: Likewise.
36077 * include/shadow.h: Likewise.
36078 * include/signal.h: Likewise.
36079 * include/stdio.h: Likewise.
36080 * include/stdlib.h: Likewise.
36081 * include/string.h: Likewise.
36082 * include/sys/socket.h: Likewise.
36083 * include/sys/stat.h: Likewise.
36084 * include/sys/statfs.h: Likewise.
36085 * include/sys/statvfs.h: Likewise.
36086 * include/sys/syslog.h: Likewise.
36087 * include/sys/time.h: Likewise.
36088 * include/sys/uio.h: Likewise.
36089 * include/time.h: Likewise.
36090 * include/unistd.h: Likewise.
36091 * include/utmp.h: Likewise.
36092 * include/wchar.h: Likewise.
36093 * include/wctype.h: Likewise.
36094 * inet/aliases.h: Likewise.
36095 * inet/arpa/inet.h: Likewise.
36096 * inet/netinet/ether.h: Likewise.
36097 * inet/netinet/in.h: Likewise.
36098 * intl/libintl.h: Likewise.
36099 * io/bits/fcntl2.h: Likewise.
36100 * io/fcntl.h: Likewise.
36101 * io/ftw.h: Likewise.
36102 * io/sys/poll.h: Likewise.
36103 * io/sys/stat.h: Likewise.
36104 * io/sys/statfs.h: Likewise.
36105 * io/sys/statvfs.h: Likewise.
36106 * io/utime.h: Likewise.
36107 * libio/bits/stdio.h: Likewise.
36108 * libio/bits/stdio2.h: Likewise.
36109 * libio/libio.h: Likewise.
36110 * libio/libioP.h: Likewise.
36111 * libio/stdio.h: Likewise.
36112 * locale/lc-ctype.c: Likewise.
36113 * locale/locale.h: Likewise.
36114 * login/utmp.h: Likewise.
36115 * malloc/arena.c: Likewise.
36116 * malloc/malloc.c: Likewise.
36117 * malloc/malloc.h: Likewise.
36118 * malloc/mcheck.c: Likewise.
36119 * malloc/mtrace.c: Likewise.
36120 * math/bits/mathcalls.h: Likewise.
36121 * math/fenv.h: Likewise.
36122 * math/math_private.h: Likewise.
36123 * misc/bits/error.h: Likewise.
36124 * misc/bits/syslog.h: Likewise.
36125 * misc/err.h: Likewise.
36126 * misc/error.h: Likewise.
36127 * misc/fstab.h: Likewise.
36128 * misc/mntent.h: Likewise.
36129 * misc/regexp.h: Likewise.
36130 * misc/search.h: Likewise.
36131 * misc/sgtty.h: Likewise.
36132 * misc/sys/mman.h: Likewise.
36133 * misc/sys/syslog.h: Likewise.
36134 * misc/sys/uio.h: Likewise.
36135 * misc/sys/xattr.h: Likewise.
36136 * misc/ttyent.h: Likewise.
36137 * nis/rpcsvc/ypclnt.h: Likewise.
36138 * nss/nss.h: Likewise.
36139 * posix/bits/unistd.h: Likewise.
36140 * posix/fnmatch.h: Likewise.
36141 * posix/glob.h: Likewise.
36142 * posix/sched.h: Likewise.
36143 * posix/spawn.h: Likewise.
36144 * posix/sys/wait.h: Likewise.
36145 * posix/unistd.h: Likewise.
36146 * posix/wordexp.h: Likewise.
36147 * pwd/pwd.h: Likewise.
36148 * resolv/netdb.h: Likewise.
36149 * resource/sys/resource.h: Likewise.
36150 * rt/aio.h: Likewise.
36151 * rt/bits/mqueue2.h: Likewise.
36152 * rt/mqueue.h: Likewise.
36153 * shadow/shadow.h: Likewise.
36154 * signal/signal.h: Likewise.
36155 * socket/send.c: Likewise.
36156 * socket/sendto.c: Likewise.
36157 * socket/sys/socket.h: Likewise.
36158 * stdio-common/printf.h: Likewise.
36159 * stdlib/bits/stdlib.h: Likewise.
36160 * stdlib/fmtmsg.h: Likewise.
36161 * stdlib/monetary.h: Likewise.
36162 * stdlib/stdlib.h: Likewise.
36163 * stdlib/ucontext.h: Likewise.
36164 * streams/stropts.h: Likewise.
36165 * string/argz.h: Likewise.
36166 * string/bits/string2.h: Likewise.
36167 * string/string.h: Likewise.
36168 * string/strings.h: Likewise.
36169 * sunrpc/rpc/auth.h: Likewise.
36170 * sunrpc/rpc/auth_des.h: Likewise.
36171 * sunrpc/rpc/clnt.h: Likewise.
36172 * sunrpc/rpc/netdb.h: Likewise.
36173 * sunrpc/rpc/pmap_clnt.h: Likewise.
36174 * sunrpc/rpc/xdr.h: Likewise.
36175 * sysdeps/generic/inttypes.h: Likewise.
36176 * sysdeps/generic/net/if.h: Likewise.
36177 * sysdeps/generic/sys/swap.h: Likewise.
36178 * sysdeps/gnu/net/if.h: Likewise.
36179 * sysdeps/gnu/utmpx.h: Likewise.
36180 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36181 * sysdeps/i386/i486/bits/string.h: Likewise.
36182 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36183 * sysdeps/s390/bits/string.h: Likewise.
36184 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36185 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36186 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36187 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36188 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36189 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36190 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36191 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36192 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36193 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36194 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36195 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36196 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36197 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36198 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36199 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36200 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36202 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36203 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36204 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36205 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36206 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36207 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36208 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36209 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36210 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36211 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36212 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36213 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36214 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36215 * sysvipc/sys/ipc.h: Likewise.
36216 * sysvipc/sys/msg.h: Likewise.
36217 * sysvipc/sys/sem.h: Likewise.
36218 * sysvipc/sys/shm.h: Likewise.
36219 * termios/termios.h: Likewise.
36220 * time/sys/time.h: Likewise.
36221 * time/time.h: Likewise.
36222 * wcsmbs/bits/wchar2.h: Likewise.
36223 * wcsmbs/uchar.h: Likewise.
36224 * wcsmbs/wchar.h: Likewise.
36225 * wctype/wctype.h: Likewise.
36228 * Makeconfig: Remove all but ELF support including AIX support.
36229 * Makerules: Likewise.
36230 * config.h.in: Likewise.
36231 * config.make.in: Likewise.
36232 * configure: Likewise.
36233 * configure.in: Likewise.
36234 * csu/Makefile: Likewise.
36235 * csu/version.c: Likewise.
36236 * debug/Makefile: Likewise.
36237 * dlfcn/Makefile: Likewise.
36238 * elf/Makefile: Likewise.
36239 * extra-lib.mk: Likewise.
36240 * iconv/Makefile: Likewise.
36241 * include/libc-symbols.h: Likewise.
36242 * include/shlib-compat.h: Likewise.
36243 * resolv/Makefile: Likewise.
36244 * resolv/res_libc.c: Likewise.
36245 * rt/Makefile: Likewise.
36246 * sysdeps/i386/asm-syntax.h: Likewise.
36247 * sysdeps/i386/sysdep.h: Likewise.
36248 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36249 * sysdeps/mach/sysdep.h: Likewise.
36250 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36251 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36252 * sysdeps/s390/asm-syntax.h: Likewise.
36253 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36254 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36255 * sysdeps/sh/sysdep.h: Likewise.
36256 * sysdeps/unix/sparc/sysdep.h: Likewise.
36257 * sysdeps/wordsize-32/divdi3.c: Likewise.
36258 * sysdeps/x86_64/sysdep.h: Likewise.
36260 * argp/Versions: Remove _argp_unlock_xxx.
36263 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36264 * abilist/libBrokenLocale.abilist: Likewise.
36265 * abilist/libanl.abilist: Likewise.
36266 * abilist/libc.abilist: Likewise.
36267 * abilist/libcrypt.abilist: Likewise.
36268 * abilist/libdl.abilist: Likewise.
36269 * abilist/libm.abilist: Likewise.
36270 * abilist/libnsl.abilist: Likewise.
36271 * abilist/libpthread.abilist: Likewise.
36272 * abilist/libresolv.abilist: Likewise.
36273 * abilist/librt.abilist: Likewise.
36274 * abilist/libthread_db.abilist: Likewise.
36275 * abilist/libutil.abilist: Likewise.
36276 * abilist/libnss_db.abilist: New file.
36278 * scripts/abilist.awk: Add support for indirect functions.
36280 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36282 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36284 * shlib-versions: Remove entries for ports architectures.
36286 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36288 * elf/stackguard-macros.h: Remove support for IA-64.
36289 * elf/tst-auditmod1.c: Likewise.
36290 * sysdeps/generic/ldsodefs.h: Likewise.
36292 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36293 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36297 * configure.in: Remove --enable-omitfp support.
36299 * config.make.in: Likewise.
36300 * Makeconfig: Likewise.
36301 * manual/install.texi: Likewise.
36303 In case anyone cares, the IA-64 architecture could move to ports.
36304 * sysdeps/ia64/*: Removed.
36305 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36306 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36309 * configure.in: Remove entries for unsupported architectures.
36312 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36313 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36315 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36316 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36317 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36318 fall back to using wcrtomb.
36319 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36320 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36322 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36323 * wcsmbs/tst-c16c32-1.c: New file.
36325 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36328 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36330 * elf/tst-unique3.cc: Add explicit declaration of gets.
36331 * elf/tst-unique3lib.cc: Likewise.
36332 * elf/tst-unique3lib2.cc: Likewise.
36333 * elf/tst-unique4.cc: Likewise.
36335 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36337 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36340 * assert/assert.h (static_assert): Don't define for C++.
36341 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36342 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36344 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36346 * iconv/loop.c (single loop): Fix assertion in storing of
36349 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36351 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36353 * posix/getconf.c: Update copyright year.
36354 * nss/getent.c: Likewise.
36355 * nss/makedb.c: Likewise.
36356 * iconv/iconvconfig.c: Likewise.
36357 * iconv/iconv_prog.c: Likewise.
36358 * elf/ldconfig.c: Likewise.
36359 * elf/pldd.c: Likewise.
36360 * elf/sotruss.ksh: Likewise.
36361 * catgets/gencat.c: Likewise.
36362 * csu/version.c: Likewise.
36363 * elf/ldd.bash.in: Likewise.
36364 * elf/sprof.c (print_version): Likewise.
36365 * locale/programs/locale.c: Likewise.
36366 * locale/programs/localedef.c: Likewise.
36367 * login/programs/pt_chown.c: Likewise.
36368 * nscd/nscd.c (print_version): Likewise.
36369 * debug/xtrace.sh: Likewise.
36370 * malloc/memusage.sh: Likewise.
36371 * malloc/mtrace.pl: Likewise.
36372 * debug/catchsegv.sh: Likewise.
36374 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36376 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36379 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36382 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36383 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36385 * iconv/gconv_int.h: Likewise.
36386 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36387 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36388 from libc for GLIBC_2.16.
36389 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36390 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36391 * wcsmbs/uchar.h: Really define mbstate_t.
36392 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36393 * wcsmbs/c16rtomb.c: New file.
36394 * wcsmbs/mbrtoc16.c: New file.
36395 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36396 for C/POSIX locale.
36397 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36398 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36400 * wcsmbs/wchar.h: Add missing __restrict.
36402 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36405 * time/Makefile (routines): Add timespec_get.
36406 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36407 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36408 timespec for ISO C11.
36409 * time/timespec_get.c: New file.
36410 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36411 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36414 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36415 * stdlib/stdlib.h: Declare aligned_alloc.
36416 * Versions.def: Add GLIBC_2.16 for libc.
36417 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36420 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36423 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36427 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36430 * assert/assert.h (static_assert): Define.
36432 * version.h: Update for 2.16 development version.
36435 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36438 * version.h (RELEASE): Bump for 2.15 release.
36439 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36441 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36442 Patch by Marek Polacek <mpolacek@redhat.com>.
36444 * bits/byteswap.h: Protect long long constants with __extension__.
36445 * sysdeps/i386/bits/byteswap.h: Likewise.
36446 * sysdeps/ia64/bits/byteswap.h: Likewise.
36447 * sysdeps/s390/bits/byteswap.h: Likewise.
36448 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36450 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36453 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36454 destination buffer.
36455 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36457 2011-12-23 Marek Polacek <polacek@redhat.com>
36459 * elf/dl-addr.c (determine_info): Add inline keyword.
36460 * elf/tst-auditmod4b.c (check_avx): Likewise.
36461 * elf/tst-auditmod6b.c (check_avx): Likewise.
36462 * elf/tst-auditmod6c.c (check_avx): Likewise.
36463 * elf/tst-auditmod7b.c (check_avx): Likewise.
36465 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36467 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36470 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36473 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36474 processing for last bytes.
36476 2011-08-06 Bruno Haible <bruno@clisp.org>
36479 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36480 U+0385, not to U+1FEE.
36483 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36484 entry for U+00A5 U+0301.
36486 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36489 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36490 buffer for the output is too small.
36492 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36496 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36497 SSE flags if possible.
36499 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36502 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36503 processing for last bytes.
36505 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36507 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36508 (syscall-list-default-options, syscall-list-default-condition)
36509 (syscall-list-includes): Define.
36510 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36511 list of ABIs and options and #if conditions for each ABI. Do not
36512 handle common syscalls between ABIs specially.
36513 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36515 (syscall-list-variants, syscall-list-32bit-options)
36516 (syscall-list-32bit-condition, syscall-list-64bit-options)
36517 (syscall-list-64bit-condition): Define.
36518 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36519 (syscall-list-variants, syscall-list-32bit-options)
36520 (syscall-list-32bit-condition, syscall-list-64bit-options)
36521 (syscall-list-64bit-condition): Define.
36522 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36524 (syscall-list-variants, syscall-list-32bit-options)
36525 (syscall-list-32bit-condition, syscall-list-64bit-options)
36526 (syscall-list-64bit-condition): Define.
36527 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36529 (syscall-list-variants, syscall-list-32bit-options)
36530 (syscall-list-32bit-condition, syscall-list-64bit-options)
36531 (syscall-list-64bit-condition): Define.
36533 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36535 * locale/iso-639.def: Add brx entry.
36538 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36539 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36541 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36542 __feraiseexcept_renamed.
36544 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36547 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36548 EPOLLET with unsigned values.
36549 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36550 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36552 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36553 to large cancellation.
36554 * math/s_cacoshf.c: Likewise.
36555 * math/s_cacoshl.c: Likewise.
36557 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36561 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36562 * math/s_cacoshf.c: Likewise.
36563 * math/s_cacoshl.c: Likewise.
36565 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36568 * iconv/gconv.h: Define __GCONV_SWAP.
36569 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36570 * iconvdata/utf-16.c: Likewise.
36571 * iconvdata/utf-32.c: Likewise.
36573 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36576 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36577 numerator after shifting it by one limb.
36579 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36581 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36582 under [__USE_EXTERN_INLINES].
36584 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36587 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36589 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36591 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36592 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36594 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36595 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36596 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36597 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36598 for strncasecmp/strncasecmp_l compilation.
36599 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36600 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36602 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36605 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36608 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36611 * time/tzfile.c (__tzfile_read): Check values from file header.
36613 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36615 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36616 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36617 * powerpc/powerpc32/dl-start.S: Likewise.
36618 * powerpc/powerpc32/elf/start.S: Likewise.
36619 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36620 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36621 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36622 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36623 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36624 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36625 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36626 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36627 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36628 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36629 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36630 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36631 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36632 * powerpc/powerpc32/memset.S: Likewise.
36633 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36634 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36635 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36636 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36637 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36638 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36639 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36640 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36641 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36642 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36643 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36644 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36645 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36647 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36649 * math/libm-test.inc: Added more nearbyint tests.
36650 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36651 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36652 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36653 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36655 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36657 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36660 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36662 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36663 Add wcscpy-ssse3 wcscpy-c.
36664 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36665 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36666 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36667 * sysdeps/x86_64/wcschr.S: New file.
36668 * sysdeps/x86_64/wcsrchr.S: New file.
36669 * string/test-strcmp.c: Remove checking of wcscmp function for
36671 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36672 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36673 wcsrchr-sse2 wcsrchr-c.
36674 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36675 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36676 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36677 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36678 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36679 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36680 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36681 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36682 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36683 * wcsmbc/wcschr.c (WCSCHR): New macro.
36685 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36687 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36688 * wcsmbs/test-wcsrchr.c: New file.
36689 * string/test-strrchr.c: Add wcsrchr support.
36691 * wcsmbs/test-wcscpy.c: New file.
36692 * string/test-strcpy.c: Add wcscpy support.
36695 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36697 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36700 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36703 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36705 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36707 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36708 Minor optimizations.
36710 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36711 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36712 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36714 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36716 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36717 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36718 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36719 for gcc to avoid warnings.
36720 * inet/Makefile (tests): Add tst-checks.
36721 * inet/tst-checks.c: New file.
36723 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36726 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36729 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36730 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36732 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36734 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36736 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36739 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36741 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36743 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36744 conditional on GCC version.
36745 (__arch_compare_and_exchange_val_8_acq)
36746 (__arch_compare_and_exchange_val_16_acq)
36747 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36748 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36749 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36751 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36753 * sysdeps/sh/backtrace.c: New file.
36755 2011-12-02 Andreas Schwab <schwab@redhat.com>
36757 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36760 2011-12-01 Andreas Schwab <schwab@redhat.com>
36762 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36763 falling back to utime.
36765 2011-11-30 Andreas Schwab <schwab@redhat.com>
36767 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36768 expectations for float.
36770 2011-11-29 Andreas Schwab <schwab@redhat.com>
36772 * locale/weight.h (findidx): Add parameter len.
36773 * locale/weightwc.h (findidx): Likewise.
36774 * posix/fnmatch_loop.c (FCT): Adjust caller.
36775 * posix/regcomp.c (build_equiv_class): Likewise.
36776 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36777 * posix/regexec.c (check_node_accept_bytes): Likewise.
36778 * string/strcoll_l.c (STRCOLL): Likewise.
36779 * string/strxfrm_l.c (STRXFRM): Likewise.
36781 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36783 * Makefile.in: Remove CVSOPT handling.
36784 * configure.in: Remove use of AC_REVISION.
36785 * iconvdata/Makefile (distribute): No need to filter out CVS.
36786 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36789 2011-11-16 Andreas Schwab <schwab@redhat.com>
36791 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36792 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36793 [USE_AS_STRNCASECMP_L]: Likewise.
36794 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36795 NO_TLS_DIRECT_SEG_REFS.
36796 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36797 Fix argument offsets for non-PIC.
36798 [USE_AS_STRNCASECMP_L]: Likewise.
36799 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36800 NO_TLS_DIRECT_SEG_REFS.
36802 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36804 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36806 * locale/loadlocale.c (_nl_load_locale): Likewise.
36808 2011-11-15 Andreas Schwab <schwab@redhat.com>
36810 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36811 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36812 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36813 (SYSCALL_GETTIME): Set errno on error.
36815 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36816 count references to noai6ai_cached.
36818 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36820 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36822 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36823 FD_CLOEXEC for /proc/self/maps.
36825 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36826 FD_CLOEXEC for /proc/meminfo.
36828 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36831 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36832 FD_CLOEXEC for given file.
36834 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36836 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36837 FD_CLOEXEC for /etc/hosts.
36838 (_gethtent): Likewise.
36840 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36842 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36843 cancellation and set FD_CLOEXEC for /etc/netgroup.
36845 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36846 reading /etc/publickey.
36848 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36849 allow cancellation when reading /etc/group.
36851 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36853 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36855 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36856 when using data file.
36858 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36860 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36861 (write_nis_obj): Use "c" and "e" in fopen.
36863 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36865 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36867 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36869 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36871 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36874 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36876 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36878 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36880 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36881 file parsing and set FD_CLOEXEC.
36883 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36885 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36887 2011-11-14 Andreas Schwab <schwab@redhat.com>
36889 * malloc/arena.c (arena_get2): Don't call reused_arena when
36890 _int_new_arena failed.
36892 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36894 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36895 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36896 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36897 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36898 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36899 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36900 to compile strcasecmp and strncasecmp.
36901 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36902 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36904 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36906 2011-11-13 Ulrich Drepper <drepper@gmail.com>
36908 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36909 locale-defines.sym to gen-as-const-headers.
36910 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36911 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36912 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36913 to compile strcasecmp and strncasecmp.
36914 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36915 strcasecmp_l and strncasecmp_l.
36916 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36917 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36918 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36919 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36920 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36921 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36922 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36923 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36924 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36925 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36926 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36928 2011-11-12 Ulrich Drepper <drepper@gmail.com>
36930 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36931 result of SYSDEP_GETTIME_CPU to retval.
36932 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36933 parameter list to macro. Remove trailing semicolon. Adjust users.
36935 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36938 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36940 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36942 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36943 from unused variable.
36945 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36947 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36950 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36953 * sunrpc/rpc_prot.c (rejected): Fix case value.
36955 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36956 unsigned long long int to avoid warnings in shift.
36958 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36960 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36963 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36964 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36965 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36967 * nis/nis_table.c (nis_list): Use variable of correct type for
36968 result of __follow_path call.
36970 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36972 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36973 of math functions ceil, trunc, floor, round, and sqrt, when
36974 avaliable on the platform.
36975 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36977 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36978 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36979 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36981 2011-10-30 Marek Polacek <mpolacek@redhat.com>
36983 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36984 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36986 2011-11-11 Roland McGrath <roland@hack.frob.com>
36988 * include/unistd.h: Fix __readlink return type.
36989 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36991 2011-11-11 Ulrich Drepper <drepper@gmail.com>
36993 * stdlib/ucontext.h: Undo last change for makecontext.
36995 2011-11-11 Andreas Schwab <schwab@redhat.com>
36997 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36999 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37000 * setjmp/setjmp.h: Mark functions as non-leaf.
37001 * setjmp/bits/setjmp2.h: Likewise.
37002 * stdlib/ucontext.h: Likewise.
37004 2011-11-10 Andreas Schwab <schwab@redhat.com>
37006 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37007 (reused_arena): Don't check arena limit.
37008 (arena_get2): Atomically check arena limit.
37010 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37012 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37013 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37015 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37018 2011-11-07 Andreas Schwab <schwab@redhat.com>
37020 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37021 handler when locking.
37023 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37024 Fix size of allocated buffer.
37026 2011-11-04 Andreas Schwab <schwab@redhat.com>
37029 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37030 declarations for long double functions.
37031 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37033 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37035 2011-11-03 Andreas Schwab <schwab@redhat.com>
37037 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37040 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37043 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37045 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37047 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37049 * include/alloca.h (stackinfo_alloca_round): Define.
37050 (extend_alloca): Use it.
37051 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37052 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37055 * scripts/check-local-headers.sh: Ignore libaudit.h.
37057 * nscd/Makefile (extra-objs): Make recursively expanded.
37059 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37061 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37062 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37064 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37065 * posix/tst-rfc3484-2.c: Likewise.
37066 * posix/tst-rfc3484-3.c: Likewise.
37068 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37070 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37072 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37073 process_vm_writev from libc using GLIBC_2.15 version.
37075 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37077 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37079 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37082 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37085 * nss/getent.c (initgroups_keys): Show error message in case no group
37088 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37089 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37090 __bump_nl_timestamp.
37091 * nscd/connections (nscd_init): When host database is served open
37092 netlink socket and request notification about configuration changes.
37093 (main_loop_poll): Track netlink file descriptor and bump timestamp
37094 in case data becomes available.
37095 (main_loop_epoll): Likewise.
37096 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37097 (database_pers_head): Add extra_data fileds.
37098 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37099 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37100 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37102 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37103 in6ai data, call __free_in6ai.
37104 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37105 Add -DHAVE_NETLINK.
37106 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37107 interface information. Reuse previous data if netlink timestamp
37109 (__bump_nl_timestamp): New function.
37110 (__free_in6ai): New function.
37112 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37114 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37115 close_not_cancel_no_status here.
37116 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37118 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37121 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37124 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37125 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37126 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37128 2011-07-03 Andreas Jaeger <aj@suse.de>
37131 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37132 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37133 * math/libm-test.inc (sin_test): Add test case.
37135 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37138 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37139 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37141 * elf/chroot_canon.c (chroot_canon): Cleanups.
37143 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37146 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37147 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37149 * string/test-strchr.c: Make usable for strchrnul testing.
37150 * string/test-strchrnul.c: New file.
37151 * string/Makefile (strop-tests): Add strchrnul.
37153 * po/it.po: Update from translation team.
37154 * po/es.po: Likewise.
37156 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37158 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37159 the three constants needed as parameters. Drop the others.
37160 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37161 __m128i_strloadu_tolower.
37162 Create and initialize variable zero and use it in all the places
37163 where _mm_setzero_si128 was used.
37165 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37166 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37167 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37168 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37170 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37171 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37172 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37173 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37174 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37175 __mpranred, __mptan.
37176 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37177 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37178 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37179 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37180 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37181 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37182 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37183 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37184 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37186 2011-10-28 Andreas Schwab <schwab@redhat.com>
37188 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37189 redefine if SHARED.
37190 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37192 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37193 wide char related routines to wcsmbs subdir.
37195 2011-10-27 Andreas Schwab <schwab@redhat.com>
37198 * misc/sys/cdefs.h (__THROWNL): Define.
37199 * posix/unistd.h: Use __THREADNL instead of __THREAD
37200 for memory synchronization functions.
37202 2011-10-26 Roland McGrath <roland@hack.frob.com>
37205 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37207 * manual/stdio.texi (Obstack Streams): Node removed.
37209 2011-10-26 Andreas Schwab <schwab@redhat.com>
37211 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37212 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37213 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37215 * math/math_private.h (math_force_eval): Allow non-addressable
37217 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37219 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37221 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37222 file is not needed.
37224 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37225 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37226 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37227 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37228 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37229 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37230 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37231 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37233 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37234 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37235 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37236 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37237 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37238 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37239 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37240 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37241 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37242 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37243 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37244 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37245 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37246 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37247 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37248 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37249 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37250 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37251 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37253 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37254 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37256 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37257 place. Use VEX encoding when compiling for AVX.
37259 2011-10-25 Andreas Schwab <schwab@redhat.com>
37261 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37262 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37264 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37266 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37268 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37269 useless if() expression.
37270 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37271 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37272 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37273 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37274 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37275 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37276 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37277 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37278 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37279 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37280 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37281 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37282 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37283 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37284 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37285 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37286 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37287 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37288 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37290 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37292 2011-10-25 Andreas Schwab <schwab@redhat.com>
37294 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37296 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37298 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37300 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37301 .text section. Avoid duplicate constants.
37302 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37303 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37304 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37305 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37306 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37308 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37309 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37310 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37311 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37312 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37313 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37314 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37315 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37316 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37317 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37318 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37319 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37320 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37321 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37322 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37323 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37324 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37325 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37326 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37327 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37328 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37329 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37330 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37331 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37332 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37333 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37334 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37335 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37336 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37337 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37338 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37339 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37340 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37341 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37342 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37343 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37344 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37345 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37346 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37348 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37350 * sysdeps/x86_64/dla.h: Move to ...
37351 * sysdeps/x86_64/fpu/dla.h: ...here.
37352 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37353 situations. Use __builtin_fma only for gcc 4.6 and up.
37355 * config.make.in: Add have-mfma4 entry.
37356 * configure.in: Substitute libc_cv_cc_fma4.
37357 * math/Makefile (dbl-only-routines): Add sincostab.
37358 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37359 Use __sincostab not sincos.
37360 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37362 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37363 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37364 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37365 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37367 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37368 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37369 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37370 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37372 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37373 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37375 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37376 define aliases when function name is a macro.
37377 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37378 sysdeps/ieee754/dbl-64/sincos.tbl.
37379 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37380 fma4-enabled routines.
37381 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37382 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37383 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37384 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37385 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37386 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37387 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37388 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37389 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37390 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37391 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37392 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37393 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37394 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37395 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37396 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37397 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37398 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37399 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37400 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37401 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37402 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37403 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37404 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37405 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37406 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37407 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37408 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37409 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37410 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37412 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37415 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37419 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37420 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37421 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37423 2011-10-24 Andreas Schwab <schwab@redhat.com>
37425 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37427 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37429 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37431 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37433 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37435 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37436 Remove unused variable magic_bits.
37437 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37439 * string/strnlen.c: Define and use STRNLEN macro.
37440 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37441 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37442 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37443 * wcsmbs/wcslen.c: Define and use WCSLEN.
37444 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37445 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37446 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37447 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37448 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37449 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37450 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37452 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37455 strnlen-sse2-no-bsf.
37456 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37457 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37458 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37459 Add strnlen support.
37460 (USE_AS_STRNLEN): New macro.
37461 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37462 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37463 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37464 * sysdeps/x86_64/wcslen.S: New file.
37466 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37468 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37469 XMM-moves are used for copying on small sizes.
37471 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37473 * wcsmbs/Makefile (strop-tests): Add wcschr.
37474 * wcsmbs/test-wcschr.c: New file.
37475 * string/test-strchr.c: Update.
37476 Add wcschr support.
37479 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37481 * wcsmbs/Makefile (strop-tests): Add wcslen.
37482 * wcsmbs/test-wcslen.c: New file.
37483 * string/test-strlen.c: Update.
37484 Add wcslen support.
37487 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37489 * po/it.po: Update from translation team.
37491 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37493 * sysdeps/x86_64/wcscmp.S: Update.
37494 Fix wrong comparison semantics.
37495 wcscmp shall use signed comparison not unsigned.
37496 Don't use substraction to avoid overflow bug.
37497 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37498 * wcsmbc/wcscmp.c: Likewise.
37499 * string/test-strcmp.c: Likewise.
37500 Add new tests to check cases with negative values.
37502 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37504 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37505 * sysdeps/x86_64/dla.h: ...here. New file.
37506 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37507 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37508 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37510 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37511 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37512 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37513 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37514 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37516 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37518 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37519 __ynl_finite aliases.
37521 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37525 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37527 [DLA_FMA] (EMULV): Use DLA_FMA.
37528 [DLA_FMA] (MUL12): Use EMULV.
37529 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37530 that are not needed.
37531 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37532 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37533 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37534 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37535 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37536 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37537 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37539 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37541 * math/s_nan.c: Undef __nan.
37542 * math/s_nanf.c: Undef __nanf.
37543 * math/s_nanl.c: Undef __nanl.
37544 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37547 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37549 * math/s_catan.c: Add branch predictions.
37550 * math/s_catanf.c: Likewise.
37551 * math/s_catanh.c: Likewise.
37552 * math/s_catanhf.c: Likewise.
37553 * math/s_catanhl.c: Likewise.
37554 * math/s_catanl.c: Likewise.
37555 * math/s_cexp.c: Likewise.
37556 * math/s_cexpf.c: Likewise.
37557 * math/s_cexpl.c: Likewise.
37558 * math/s_clog.c: Likewise.
37559 * math/s_clog10.c: Likewise.
37560 * math/s_clog10f.c: Likewise.
37561 * math/s_clog10l.c: Likewise.
37562 * math/s_clogf.c: Likewise.
37563 * math/s_clogl.c: Likewise.
37564 * math/s_csqrt.c: Likewise.
37565 * math/s_csqrtf.c: Likewise.
37566 * math/s_csqrtl.c: Likewise.
37567 * math/s_ctanf.c: Likewise.
37568 * math/s_ctanh.c: Likewise.
37569 * math/s_ctanhf.c: Likewise.
37570 * math/s_ctanhl.c: Likewise.
37571 * math/s_ctanl.c: Likewise.
37573 * math/math_private.h: Define __nan, __nanf, __nanl.
37574 * math/s_cacosh.c: Include <math_private.h>.
37575 * math/s_cacoshl.c: Likewise.
37576 * math/s_casinh.c: Likewise.
37577 * math/s_casinhf.c: Likewise.
37578 * math/s_casinhl.c: Likewise.
37579 * math/s_ccos.c: Rely entire on ccosh.
37580 * math/s_ccosf.c: Rely entire on ccoshf.
37581 * math/s_ccosl.c: Rely entirely on ccoshl.
37582 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37583 Remove tests for FE_INVALID.
37584 * math/s_ccoshf.c: Likewise.
37585 * math/s_ccoshl.c: Likewise.
37586 * math/s_csin.c: Likewise.
37587 * math/s_csinf.c: Likewise.
37588 * math/s_csinh.c Likewise.
37589 * math/s_csinhf.c: Likewise.
37590 * math/s_csinhl.c: Likewise.
37591 * math/s_csinl.c: Likewise.
37592 * math/s_ctan.c: Likewise.
37593 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37594 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37595 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37597 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37600 compilation problems.
37602 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37605 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37607 * sysdeps/i386/configure.in: Test for -mfma4 option.
37608 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37609 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37610 COMMON_CPUID_INDEX_80000001.
37611 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37612 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37613 use it if FMA3 is not supported.
37614 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37616 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37617 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37619 2011-10-20 Andreas Schwab <schwab@redhat.com>
37622 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37623 it would create a cycle with a link time dependency.
37625 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37627 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37629 * string/Makefile (strop-tests): Add rawmemchr.
37630 * string/test-rawmemchr.c: New file.
37632 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37633 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37634 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37635 when compiling str{,n}casecmp and when AVX is available. Hook up
37636 new optimized code in initializers.
37638 2011-10-19 Andreas Schwab <schwab@redhat.com>
37640 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37641 __feraiseexcept instead of feraiseexcept.
37643 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37645 * math/math_private.h: Define defaults for libc_fetestexcept and
37647 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37648 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37649 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37650 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37651 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37652 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37653 libc_fetestexcept and libc_feupdateenv.
37655 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37656 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37657 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37658 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37659 libc_feholdexcept_setround.
37661 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37662 Add s_nearbyint-c and s_nearbyintf-c.
37663 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37664 nearbyintf inlines.
37665 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37666 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37667 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37668 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37670 * math/math_private.h: Define defaults for libc_fegetround,
37671 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37672 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37673 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37674 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37675 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37676 standard functions.
37677 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37678 Remove comments and hacks for old compiler versions.
37679 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37680 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37681 libc_feholdexceptl.
37683 2011-10-18 Andreas Schwab <schwab@redhat.com>
37685 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37686 (__feraiseexcept_renamed): Add __NTH.
37687 (feraiseexcept): Add __NTH. Rename local variables to fix
37688 namespace violations.
37690 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37692 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37694 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37696 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37697 recently added interfaces.
37698 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37700 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37701 about macro parameter expansion.
37703 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37704 __NO_MATH_INLINES is defined. Cleanups.
37706 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37707 and __floorf is target has SSE4.1.
37708 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37709 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37710 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37711 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37713 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37715 (floorf): Likewise.
37717 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37719 2011-10-17 Andreas Schwab <schwab@redhat.com>
37721 * misc/sys/cdefs.h: Fix last change.
37723 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37726 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37728 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37730 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37731 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37732 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37736 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37737 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37738 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37739 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37740 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37741 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37742 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37743 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37744 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37745 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37746 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37747 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37748 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37749 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37750 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37751 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37753 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37754 ceil, ceilf, floor, floorf.
37756 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37757 Perform IRELATIVE relocations last.
37759 * elf/do-rel.h: Add another parameter nrelative, replacing the
37760 local variable with the same name. Change name of the function
37761 to end in Rel or Rela (uppercase).
37762 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37763 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37764 elf_dynamic_do_##reloc function.
37766 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37768 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37769 is sufficient, at least on modern CPUs.
37771 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37773 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37774 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37776 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37778 * math/bits/math-finite.h: Add entries for exp.
37779 * math/e_expl.c: Add __*_finite alias.
37780 * sysdeps/i386/fpu/e_exp.S: Likewise.
37781 * sysdeps/i386/fpu/e_expf.S: Likewise.
37782 * sysdeps/i386/fpu/e_expl.c: Likewise.
37783 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37784 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37785 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37786 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37787 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37788 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37789 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37791 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37792 is sufficient, at least on modern CPUs.
37794 * ctype/ctype-info.c (__ctype_init): Define.
37795 * include/ctype.h (__ctype_init): Declare.
37796 (__ctype_b_loc): The variable is always initialized.
37797 (__ctype_toupper_loc): Likewise.
37798 (__ctype_tolower_loc): Likewise.
37799 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37800 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37802 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37804 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37806 * configure.in: Also look in $cxxmachine/include for C++ system
37809 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37811 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37812 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37813 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37814 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37815 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37816 (USE_AS_WMEMCMP): New macro.
37818 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37819 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37820 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37821 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37823 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37824 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37825 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37826 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37827 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37828 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37829 (USE_AS_WMEMCMP): New macro.
37830 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37831 * sysdeps/string/test-memcmp.c: Update.
37832 Fix simple_wmemcmp.
37834 * wcsmbs/wmemcmp.c: Update.
37835 (WMEMCMP): New macro.
37838 2011-10-12 Andreas Jaeger <aj@suse.de>
37841 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37843 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37845 * libio/iofwide.c (do_length): Avoid warning.
37847 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37849 2011-10-14 Ulrich Drepper <drepper@gmail.com>
37851 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37853 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37854 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37855 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37856 * sysdeps/i386/i686/fpu/e_log.S: New file.
37857 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37858 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37860 * ctype/ctype.h: Add support for inlined isXXX functions when
37861 compiling C++ code.
37863 2011-10-14 Andreas Schwab <schwab@redhat.com>
37865 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37867 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37869 2011-10-13 Roland McGrath <roland@hack.frob.com>
37872 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37874 2011-10-13 Andreas Schwab <schwab@redhat.com>
37876 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37877 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37880 * sysdeps/x86_64/memrchr.S: Check for zero size.
37882 * string/stratcliff.c: Add memrchr tests.
37884 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37886 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37887 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37888 rawmemchr-sse2 rawmemchr-sse2-bsf.
37889 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37890 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37891 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37892 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37893 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37894 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37895 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37896 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37897 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37898 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37899 * string/memrchr.c (MEMRCHR): New macro.
37901 2011-10-12 Ulrich Drepper <drepper@gmail.com>
37903 Add integration with gcc's -ffinite-math-only and optimize wrapper
37905 * Versions.def: Define GLIBC_2.15 version for libm.
37906 * math/Makefile (headers): Add bits/math-finite.h.
37907 * math/bits/math-finite.h: New file.
37908 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37909 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37910 * math/e_acoshl.c: Add __*_finite alias.
37911 * math/e_acosl.c: Likewise.
37912 * math/e_asinl.c: Likewise.
37913 * math/e_atan2l.c: Likewise.
37914 * math/e_atanhl.c: Likewise.
37915 * math/e_coshl.c: Likewise.
37916 * math/e_exp10.c: Likewise.
37917 * math/e_exp10f.c: Likewise.
37918 * math/e_exp10l.c: Likewise.
37919 * math/e_exp2l.c: Likewise.
37920 * math/e_fmodl.c: Likewise.
37921 * math/e_gammal_r.c: Likewise.
37922 * math/e_hypotl.c: Likewise.
37923 * math/e_j0l.c: Likewise.
37924 * math/e_j1l.c: Likewise.
37925 * math/e_jnl.c: Likewise.
37926 * math/e_lgammal_r.c: Likewise.
37927 * math/e_log10l.c: Likewise.
37928 * math/e_log2l.c: Likewise.
37929 * math/e_logl.c: Likewise.
37930 * math/e_powl.c: Likewise.
37931 * math/e_sinhl.c: Likewise.
37932 * math/e_sqrtl.c: Likewise.
37933 * math/e_scalb.c: Completely rewritten and optimized.
37934 * math/e_scalbf.c: Likewise.
37935 * math/e_scalbl.c: Likewise.
37936 * math/w_acos.c: Likewise.
37937 * math/w_acosf.c: Likewise.
37938 * math/w_acosl.c: Likewise.
37939 * math/w_acosh.c: Likewise.
37940 * math/w_acoshf.c: Likewise.
37941 * math/w_acoshl.c: Likewise.
37942 * math/w_asin.c: Likewise.
37943 * math/w_asinf.c: Likewise.
37944 * math/w_asinl.c: Likewise.
37945 * math/w_atan2.c: Likewise.
37946 * math/w_atan2f.c: Likewise.
37947 * math/w_atan2l.c: Likewise.
37948 * math/w_atanh.c: Likewise.
37949 * math/w_atanhf.c: Likewise.
37950 * math/w_atanhl.c: Likewise.
37951 * math/w_exp10.c: Likewise.
37952 * math/w_exp10f.c: Likewise.
37953 * math/w_exp10l.c: Likewise.
37954 * math/w_fmod.c: Likewise.
37955 * math/w_fmodf.c: Likewise.
37956 * math/w_fmodl.c: Likewise.
37957 * math/w_j0.c: Likewise.
37958 * math/w_j0f.c: Likewise.
37959 * math/w_j0l.c: Likewise.
37960 * math/w_j1.c: Likewise.
37961 * math/w_j1f.c: Likewise.
37962 * math/w_j1l.c: Likewise.
37963 * math/w_jn.c: Likewise.
37964 * math/w_jnf.c: Likewise.
37965 * math/w_log.c: Likewise.
37966 * math/w_logf.c: Likewise.
37967 * math/w_logl.c: Likewise.
37968 * math/w_log10.c: Likewise.
37969 * math/w_log10f.c: Likewise.
37970 * math/w_log10l.c: Likewise.
37971 * math/w_log2.c: Likewise.
37972 * math/w_log2f.c: Likewise.
37973 * math/w_log2l.c: Likewise.
37974 * math/w_pow.c: Likewise.
37975 * math/w_powf.c: Likewise.
37976 * math/w_powl.c: Likewise.
37977 * math/w_remainder.c: Likewise.
37978 * math/w_remainderf.c: Likewise.
37979 * math/w_remainderl.c: Likewise.
37980 * math/w_scalb.c: Likewise.
37981 * math/w_scalbf.c: Likewise.
37982 * math/w_scalbl.c: Likewise.
37983 * math/w_sqrt.c: Likewise.
37984 * math/w_sqrtf.c: Likewise.
37985 * math/w_sqrtl.c: Likewise.
37986 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37987 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37989 * math/math_private.h: Declare __kernel_standard_f.
37990 * math/w_cosh.c: Remove cruft and optimize a bit.
37991 * math/w_coshf.c: Likewise.
37992 * math/w_coshl.c: Likewise.
37993 * math/w_exp2.c: Likewise.
37994 * math/w_exp2f.c: Likewise.
37995 * math/w_exp2l.c: Likewise.
37996 * math/w_hypot.c: Likewise.
37997 * math/w_hypotf.c: Likewise.
37998 * math/w_hypotl.c: Likewise.
37999 * math/w_lgamma.c: Likewise.
38000 * math/w_lgamma_r.c: Likewise.
38001 * math/w_lgammaf.c: Likewise.
38002 * math/w_lgammaf_r.c: Likewise.
38003 * math/w_lgammal.c: Likewise.
38004 * math/w_lgammal_r.c: Likewise.
38005 * math/w_sinh.c: Likewise.
38006 * math/w_sinhf.c: Likewise.
38007 * math/w_sinhl.c: Likewise.
38008 * math/w_tgamma.c: Likewise.
38009 * math/w_tgammaf.c: Likewise.
38010 * math/w_tgammal.c: Likewise.
38011 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38012 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38013 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38014 Minor optimizations. Pretty printing. Remove cruft.
38015 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38016 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38017 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38018 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38019 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38020 * sysdeps/i386/fpu/e_asin.S: Likewise.
38021 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38022 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38023 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38024 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38025 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38026 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38027 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38028 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38029 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38030 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38031 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38032 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38033 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38034 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38035 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38036 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38037 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38038 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38039 * sysdeps/i386/fpu/e_log.S: Likewise.
38040 * sysdeps/i386/fpu/e_log10.S: Likewise.
38041 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38042 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38043 * sysdeps/i386/fpu/e_log2.S: Likewise.
38044 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38045 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38046 * sysdeps/i386/fpu/e_logf.S: Likewise.
38047 * sysdeps/i386/fpu/e_logl.S: Likewise.
38048 * sysdeps/i386/fpu/e_pow.S: Likewise.
38049 * sysdeps/i386/fpu/e_powf.S: Likewise.
38050 * sysdeps/i386/fpu/e_powl.S: Likewise.
38051 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38052 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38053 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38054 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38055 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38056 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38057 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38058 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38059 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38060 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38061 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38062 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38063 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38064 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38065 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38066 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38067 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38068 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38069 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38070 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38071 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38073 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38074 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38075 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38076 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38077 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38078 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38079 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38080 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38081 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38082 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38083 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38084 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38085 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38086 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38087 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38088 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38089 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38090 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38091 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38092 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38093 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38094 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38095 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38096 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38097 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38098 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38099 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38100 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38101 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38102 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38103 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38104 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38105 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38106 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38107 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38108 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38109 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38110 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38111 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38112 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38113 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38114 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38115 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38116 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38117 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38118 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38119 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38120 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38121 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38122 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38123 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38124 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38125 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38126 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38127 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38128 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38129 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38130 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38131 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38132 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38133 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38134 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38135 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38136 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38137 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38138 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38139 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38140 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38141 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38142 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38143 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38144 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38145 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38146 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38147 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38148 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38149 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38150 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38151 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38152 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38153 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38154 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38155 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38156 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38157 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38158 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38159 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38160 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38161 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38162 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38163 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38164 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38165 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38166 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38167 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38168 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38169 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38170 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38171 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38172 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38173 (__isnanf): Likewise.
38174 (__isinf_ns): Likewise.
38175 (__isinf_nsf): Likewise.
38176 (__finite): Likewise.
38177 (__finitef): Likewise.
38178 (__ieee754_sqrt): Define as macro.
38179 (__ieee754_sqrtf): Define as macro.
38180 (__ieee754_sqrtl): Define as macro.
38181 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38183 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38184 __FINITE_MATH_ONLY__ consistent.
38185 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38187 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38189 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38192 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38194 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38196 * po/ja.po: Update from translation team.
38198 2011-10-08 Roland McGrath <roland@hack.frob.com>
38200 * locale/programs/locarchive.c (prepare_address_space): New function.
38201 (create_archive, enlarge_archive, open_archive): Use it.
38203 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38204 inside [SHARED], where it is used.
38206 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38208 * nss/getent.c (netgroup_keys): Remove unused variable.
38209 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38211 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38213 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38214 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38215 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38216 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38217 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38218 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38219 * math/Makefile (libm-calls): Add s_isinf_ns.
38220 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38221 * math/multc3.c: Likewise.
38222 * math/s_casin.c: Likewise.
38223 * math/s_casinf.c: Likewise.
38224 * math/s_casinl.c: Likewise.
38225 * math/s_ccos.c: Likewise.
38226 * math/s_ccosf.c: Likewise.
38227 * math/s_ccosl.c: Likewise.
38228 * math/s_ctan.c: Likewise.
38229 * math/s_ctanf.c: Likewise.
38230 * math/s_ctanh.c: Likewise.
38231 * math/s_ctanhf.c: Likewise.
38232 * math/s_ctanhl.c: Likewise.
38233 * math/s_ctanl.c: Likewise.
38234 * math/w_fmod.c: Likewise.
38235 * math/w_fmodf.c: Likewise.
38236 * math/w_fmodl.c: Likewise.
38237 * math/w_remainder.c: Likewise.
38238 * math/w_remainderf.c: Likewise.
38239 * math/w_remainderl.c: Likewise.
38240 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38241 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38242 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38243 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38244 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38245 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38246 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38247 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38249 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38251 * stdio-common/printf_fphex.c: Likewise.
38252 * stdio-common/printf_size.c: Likewise.
38254 * math/e_exp10.c: Include math_private.h using <...> not "...".
38255 * math/e_exp10f.c: Likewise.
38256 * math/e_exp10l.c: Likewise.
38257 * math/e_exp2l.c: Likewise.
38258 * math/e_j0l.c: Likewise.
38259 * math/e_j1l.c: Likewise.
38260 * math/e_jnl.c: Likewise.
38261 * math/e_lgammal_r.c: Likewise.
38262 * math/e_rem_pio2l.c: Likewise.
38263 * math/e_scalb.c: Likewise.
38264 * math/e_scalbf.c: Likewise.
38265 * math/e_scalbl.c: Likewise.
38266 * math/k_cosl.c: Likewise.
38267 * math/k_sinl.c: Likewise.
38268 * math/k_tanl.c: Likewise.
38269 * math/s_cacoshf.c: Likewise.
38270 * math/s_catan.c: Likewise.
38271 * math/s_catanf.c: Likewise.
38272 * math/s_catanh.c: Likewise.
38273 * math/s_catanhf.c: Likewise.
38274 * math/s_catanhl.c: Likewise.
38275 * math/s_catanl.c: Likewise.
38276 * math/s_ccosh.c: Likewise.
38277 * math/s_ccoshf.c: Likewise.
38278 * math/s_ccoshl.c: Likewise.
38279 * math/s_cexp.c: Likewise.
38280 * math/s_cexpf.c: Likewise.
38281 * math/s_cexpl.c: Likewise.
38282 * math/s_clog.c: Likewise.
38283 * math/s_clog10.c: Likewise.
38284 * math/s_clog10f.c: Likewise.
38285 * math/s_clog10l.c: Likewise.
38286 * math/s_clogf.c: Likewise.
38287 * math/s_clogl.c: Likewise.
38288 * math/s_csin.c: Likewise.
38289 * math/s_csinf.c: Likewise.
38290 * math/s_csinh.c: Likewise.
38291 * math/s_csinhf.c: Likewise.
38292 * math/s_csinhl.c: Likewise.
38293 * math/s_csinl.c: Likewise.
38294 * math/s_csqrt.c: Likewise.
38295 * math/s_csqrtf.c: Likewise.
38296 * math/s_csqrtl.c: Likewise.
38297 * math/s_ctan.c: Likewise.
38298 * math/s_ctanf.c: Likewise.
38299 * math/s_ctanh.c: Likewise.
38300 * math/s_ctanhf.c: Likewise.
38301 * math/s_ctanhl.c: Likewise.
38302 * math/s_ctanl.c: Likewise.
38303 * math/s_ldexp.c: Likewise.
38304 * math/s_ldexpf.c: Likewise.
38305 * math/s_ldexpl.c: Likewise.
38306 * math/s_significand.c: Likewise.
38307 * math/s_significandf.c: Likewise.
38308 * math/s_significandl.c: Likewise.
38309 * math/w_acos.c: Likewise.
38310 * math/w_acosf.c: Likewise.
38311 * math/w_acosh.c: Likewise.
38312 * math/w_acoshf.c: Likewise.
38313 * math/w_acoshl.c: Likewise.
38314 * math/w_acosl.c: Likewise.
38315 * math/w_asin.c: Likewise.
38316 * math/w_asinf.c: Likewise.
38317 * math/w_asinl.c: Likewise.
38318 * math/w_atan2.c: Likewise.
38319 * math/w_atan2f.c: Likewise.
38320 * math/w_atan2l.c: Likewise.
38321 * math/w_atanh.c: Likewise.
38322 * math/w_atanhf.c: Likewise.
38323 * math/w_atanhl.c: Likewise.
38324 * math/w_cosh.c: Likewise.
38325 * math/w_coshf.c: Likewise.
38326 * math/w_coshl.c: Likewise.
38327 * math/w_dremf.c: Likewise.
38328 * math/w_exp10.c: Likewise.
38329 * math/w_exp10f.c: Likewise.
38330 * math/w_exp10l.c: Likewise.
38331 * math/w_exp2.c: Likewise.
38332 * math/w_exp2f.c: Likewise.
38333 * math/w_fmod.c: Likewise.
38334 * math/w_fmodf.c: Likewise.
38335 * math/w_fmodl.c: Likewise.
38336 * math/w_hypot.c: Likewise.
38337 * math/w_hypotf.c: Likewise.
38338 * math/w_hypotl.c: Likewise.
38339 * math/w_j0.c: Likewise.
38340 * math/w_j0f.c: Likewise.
38341 * math/w_j0l.c: Likewise.
38342 * math/w_j1.c: Likewise.
38343 * math/w_j1f.c: Likewise.
38344 * math/w_j1l.c: Likewise.
38345 * math/w_jn.c: Likewise.
38346 * math/w_jnf.c: Likewise.
38347 * math/w_jnl.c: Likewise.
38348 * math/w_lgamma.c: Likewise.
38349 * math/w_lgamma_r.c: Likewise.
38350 * math/w_lgammaf.c: Likewise.
38351 * math/w_lgammaf_r.c: Likewise.
38352 * math/w_lgammal.c: Likewise.
38353 * math/w_lgammal_r.c: Likewise.
38354 * math/w_log.c: Likewise.
38355 * math/w_log10.c: Likewise.
38356 * math/w_log10f.c: Likewise.
38357 * math/w_log10l.c: Likewise.
38358 * math/w_log2.c: Likewise.
38359 * math/w_log2f.c: Likewise.
38360 * math/w_log2l.c: Likewise.
38361 * math/w_logf.c: Likewise.
38362 * math/w_logl.c: Likewise.
38363 * math/w_pow.c: Likewise.
38364 * math/w_powf.c: Likewise.
38365 * math/w_powl.c: Likewise.
38366 * math/w_remainder.c: Likewise.
38367 * math/w_remainderf.c: Likewise.
38368 * math/w_remainderl.c: Likewise.
38369 * math/w_scalb.c: Likewise.
38370 * math/w_scalbf.c: Likewise.
38371 * math/w_scalbl.c: Likewise.
38372 * math/w_sinh.c: Likewise.
38373 * math/w_sinhf.c: Likewise.
38374 * math/w_sinhl.c: Likewise.
38375 * math/w_sqrt.c: Likewise.
38376 * math/w_sqrtf.c: Likewise.
38377 * math/w_sqrtl.c: Likewise.
38378 * math/w_tgamma.c: Likewise.
38379 * math/w_tgammaf.c: Likewise.
38380 * math/w_tgammal.c: Likewise.
38382 * po/ja.po: Update from translation team.
38384 2011-09-29 Andreas Jaeger <aj@suse.de>
38387 * sunrpc/netname.c (netname2host): Fix logic.
38391 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38393 * math/w_remainder.c (__remainder): Likewise.
38394 * math/w_remainderf.c (__remainderf): Likewise.
38395 * math/libm-test.inc (remainder_test): Add test cases.
38397 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38399 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38402 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38404 * string/test-memcmp.c: Avoid unncessary #defines.
38405 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38407 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38409 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38410 Use new sse2 version for core i3 - i7 as it's faster
38411 than sse42 version.
38412 (bit_Prefer_PMINUB_for_stringop): New.
38413 * sysdeps/x86_64/rawmemchr.S: Update.
38414 Replace with faster SSE2 version.
38415 * sysdeps/x86_64/memrchr.S: New file.
38416 * sysdeps/x86_64/memchr.S: Update.
38417 Replace with faster SSE2 version.
38419 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38421 * elf/dl-load.c (lose): Add cast to avoid warning.
38423 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38425 * po/ca.po: Update from translation team.
38427 * inet/getnetgrent_r.c: Hook up nscd.
38428 * nscd/Makefile (routines): Add nscd_netgroup.
38429 (nscd-modules): Add netgroupcache.
38430 (CFLAGS-netgroupcache.c): Define.
38431 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38432 (cache_search): Add const to second parameter.
38433 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38435 (dbs): Add netgrdb entry.
38436 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38437 (verify_persistent_db): Handle netgrdb.
38438 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38439 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38441 (netgroup_response_header): Define.
38442 (innetgroup_response_header): Define.
38443 (datahead): Add netgroup_response_header and innetgroup_response_header
38445 * nscd/nscd.conf: Add entries for netgroup cache.
38446 * nscd/nscd.h (dbtype): Add netgrdb.
38447 (_PATH_NSCD_NETGROUP_DB): Define.
38448 (netgroup_iov_disabled): Declare.
38449 (xmalloc, xcalloc, xrealloc): Move declarations here.
38450 (cache_search): Adjust prototype.
38451 Add netgroup-related prototypes.
38452 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38453 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38454 (__nscd_innetgr): Declare.
38455 * nscd/selinux.c (perms): Use access_vector_t as element type and
38456 add netgroup-related initializers.
38457 * nscd/netgroupcache.c: New file.
38458 * nscd/nscd_netgroup.c: New file.
38459 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38460 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38461 For four parameters use innetgr.
38462 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38463 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38464 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38465 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38467 * nscd/connections.c (register_traced_file): Don't register file
38468 for disabled databases.
38470 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38472 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38474 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38475 from tree and freeing node.
38477 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38479 * nss/nsswitch.c (__nss_database_lookup): Handle
38480 nss_parse_service_list out of memory case.
38482 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38484 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38485 out of memory case.
38487 2011-10-04 Andreas Schwab <schwab@redhat.com>
38489 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38490 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38492 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38493 elf_machine_rela, elf_machine_lazy_rel.
38494 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38495 (ELF_DYNAMIC_DO_REL): Likewise.
38496 (ELF_DYNAMIC_DO_RELA): Likewise.
38497 (ELF_DYNAMIC_RELOCATE): Likewise.
38498 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38499 to ELF_DYNAMIC_DO_REL.
38500 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38501 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38502 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38504 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38505 skip_ifunc, don't call ifunc function if non-zero.
38506 (elf_machine_rela): Likewise.
38507 (elf_machine_lazy_rel): Likewise.
38508 (elf_machine_lazy_rela): Likewise.
38509 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38510 (elf_machine_lazy_rel): Likewise.
38511 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38513 (elf_machine_lazy_rel): Likewise.
38514 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38516 (elf_machine_lazy_rel): Likewise.
38517 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38518 (elf_machine_lazy_rel): Likewise.
38519 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38520 (elf_machine_lazy_rel): Likewise.
38521 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38522 (elf_machine_lazy_rel): Likewise.
38523 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38524 (elf_machine_lazy_rel): Likewise.
38525 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38526 (elf_machine_lazy_rel): Likewise.
38527 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38528 (elf_machine_lazy_rel): Likewise.
38530 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38532 * nss/nss_files/files-init.c (_nss_files_init): Use static
38533 initialization for all the *_traced_file variables.
38535 2011-09-28 Andreas Schwab <schwab@redhat.com>
38537 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38539 2011-09-27 Roland McGrath <roland@hack.frob.com>
38542 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38544 2011-09-27 Andreas Schwab <schwab@redhat.com>
38546 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38547 Reread the line before reparsing it.
38549 2011-09-26 Andreas Schwab <schwab@redhat.com>
38551 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38553 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38554 Maxim Kuvyrkov <maxim@codesourcery.com>
38555 Joseph Myers <joseph@codesourcery.com>
38557 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38558 if needed for __stack_chk_guard.
38560 2011-09-19 Roland McGrath <roland@hack.frob.com>
38562 * sysdeps/posix/spawni.c (script_execute): Always define it.
38563 It will be optimized away if unused.
38564 (maybe_script_execute): New function.
38565 (__spawni): Call it.
38567 * Makerules: Don't include tls.make.
38568 (config-tls): Always set to thread.
38569 * tls.make.c: File removed.
38571 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38573 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38574 * config.make.in (CPPFLAGS-config): New substituted variable.
38576 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38578 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38581 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38582 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38584 2011-09-15 Roland McGrath <roland@hack.frob.com>
38586 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38587 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38588 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38589 (CALL_FAIL): Likewise.
38590 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38591 (CALL_FAIL): Macro removed.
38592 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38594 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38596 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38597 for __FINITE_MATH_ONLY__ == 1.
38599 2011-09-15 Andreas Schwab <schwab@redhat.com>
38601 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38602 __ieee754_sqrt instead of sqrt.
38603 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38604 __ieee754_sqrtf instead of sqrtf.
38605 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38606 __floorf instead of floorf.
38607 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38608 __floorf, __truncf instead of floorf, truncf.
38610 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38612 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38614 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38615 __extern_always_inline.
38616 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38619 2011-09-14 Andreas Schwab <schwab@redhat.com>
38621 * elf/rtld.c (dl_main): Also relocate in dependency order when
38622 doing symbol dependency testing.
38624 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38626 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38627 Always define `refsym'.
38629 2011-09-13 Andreas Schwab <schwab@redhat.com>
38631 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38632 (__FD_ELT): Renamed from __FDELT.
38633 * misc/bits/select2.h (__FD_ELT): Likewise.
38634 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38635 __FD_MASK instead of __FDELT, __FDMASK.
38636 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38638 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38641 * elf/Makefile (gen-ldd): Fix pattern.
38643 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38644 (init_tls): Likewise.
38646 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38648 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38650 2011-09-12 Andreas Schwab <schwab@redhat.com>
38652 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38653 `struct cmsghdr *' instead of `void *'.
38654 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38657 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38659 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38661 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38662 ldd_rewrite_script.
38664 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38666 * configure.in: Remove --with-tls option.
38667 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38668 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38669 out in case it is missing.
38670 * sysdeps/ia64/elf/configure.in: Likewise.
38671 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38672 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38673 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38674 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38675 * sysdeps/sh/elf/configure.in: Likewise.
38676 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38677 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38678 * sysdeps/x86_64/elf/configure.in: Likewise.
38679 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38680 * sysdeps/mach/hurd/tls.h: Likewise.
38683 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38686 * configure.in: Fix use of AC_INIT.
38688 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38690 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38692 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38694 * malloc/hooks.c: Likewise.
38697 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38698 variables statically.
38699 (narenas): Initialize.
38700 (list_lock): Initialize.
38701 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38702 initializtion of main_arena and list_lock. Small cleanups.
38703 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38704 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38705 Add initializers to main_arena and mp_.
38706 (malloc_state): Remove pagesize member. Change all users to use
38709 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38710 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38711 is always initialized.
38713 * malloc/malloc.c: Removed unused configurations and dead code.
38714 * malloc/arena.c: Likewise.
38715 * malloc/hooks.c: Likewise.
38716 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38718 * include/tls.h: Removed. USE___THREAD must always be defined.
38719 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38720 * elf/dl-libc.c: Likewise.
38721 * elf/dl-tsd.c: Likewise.
38722 * include/errno.h: Likewise.
38723 * include/netdb.h: Likewise.
38724 * include/resolv.h: Likewise.
38725 * inet/herrno-loc.c: Likewise.
38726 * inet/herrno.c: Likewise.
38727 * malloc/arena.c: Likewise.
38728 * malloc/hooks.c: Likewise.
38729 * malloc/malloc.c: Likewise.
38730 * resolv/res-state.c: Likewise.
38731 * resolv/res_libc.c: Likewise.
38732 * sysdeps/i386/dl-machine.h: Likewise.
38733 * sysdeps/ia64/dl-machine.h: Likewise.
38734 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38735 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38736 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38737 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38738 * sysdeps/sh/dl-machine.h: Likewise.
38739 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38740 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38741 * sysdeps/unix/i386/sysdep.S: Likewise.
38742 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38743 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38744 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38745 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38746 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38747 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38748 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38749 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38750 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38751 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38752 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38753 * sysdeps/x86_64/dl-machine.h: Likewise.
38754 * tls.make.c: Likewise.
38756 * configure.in: Remove --with-__thread option. Make tests for
38757 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38758 tls_model attribute fail if no support is available. Remove
38760 * Makeconfig: Adjust for dropped configure option. All features are
38762 * Makerules: Likewise.
38763 * Versions.def: Likewise.
38764 * argp/argp-fmtstream.c: Likewise.
38765 * argp/argp-fmtstream.h: Likewise.
38766 * argp/argp-help.c: Likewise.
38767 * assert/assert.c: Likewise.
38768 * config.h.in: Likewise.
38769 * config.make.in: Likewise.
38770 * configure: Likewise.
38771 * configure.in: Likewise.
38772 * csu/Versions: Likewise.
38773 * csu/init.c: Likewise.
38774 * elf/tst-audit2.c: Likewise.
38775 * elf/tst-tls10.c: Likewise.
38776 * elf/tst-tls10.h: Likewise.
38777 * elf/tst-tls11.c: Likewise.
38778 * elf/tst-tls12.c: Likewise.
38779 * elf/tst-tls14.c: Likewise.
38780 * elf/tst-tlsmod11.c: Likewise.
38781 * elf/tst-tlsmod12.c: Likewise.
38782 * elf/tst-tlsmod13.c: Likewise.
38783 * elf/tst-tlsmod13a.c: Likewise.
38784 * elf/tst-tlsmod14a.c: Likewise.
38785 * elf/tst-tlsmod15b.c: Likewise.
38786 * elf/tst-tlsmod16a.c: Likewise.
38787 * elf/tst-tlsmod16b.c: Likewise.
38788 * elf/tst-tlsmod7.c: Likewise.
38789 * elf/tst-tlsmod8.c: Likewise.
38790 * elf/tst-tlsmod9.c: Likewise.
38791 * gmon/gmon.c: Likewise.
38792 * grp/fgetgrent_r.c: Likewise.
38793 * grp/putgrent.c: Likewise.
38794 * hurd/fopenport.c: Likewise.
38795 * include/libc-symbols.h: Likewise.
38796 * include/tls.h: Likewise.
38797 * intl/gettextP.h: Likewise.
38798 * intl/loadinfo.h: Likewise.
38799 * locale/global-locale.c: Likewise.
38800 * locale/localeinfo.h: Likewise.
38801 * mach/devstream.c: Likewise.
38802 * malloc/arena.c: Likewise.
38803 * malloc/set-freeres.c: Likewise.
38804 * misc/err.c: Likewise.
38805 * misc/getttyent.c: Likewise.
38806 * misc/mntent_r.c: Likewise.
38807 * posix/getopt.c: Likewise.
38808 * posix/wordexp.c: Likewise.
38809 * pwd/fgetpwent_r.c: Likewise.
38810 * resolv/Versions: Likewise.
38811 * resolv/res_hconf.c: Likewise.
38812 * shadow/fgetspent_r.c: Likewise.
38813 * shadow/putspent.c: Likewise.
38814 * stdio-common/printf_fphex.c: Likewise.
38815 * stdio-common/tmpfile.c: Likewise.
38816 * stdlib/abort.c: Likewise.
38817 * stdlib/fmtmsg.c: Likewise.
38818 * sunrpc/auth_unix.c: Likewise.
38819 * sunrpc/clnt_perr.c: Likewise.
38820 * sunrpc/clnt_tcp.c: Likewise.
38821 * sunrpc/clnt_udp.c: Likewise.
38822 * sunrpc/clnt_unix.c: Likewise.
38823 * sunrpc/openchild.c: Likewise.
38824 * sunrpc/svc_simple.c: Likewise.
38825 * sunrpc/svc_tcp.c: Likewise.
38826 * sunrpc/svc_udp.c: Likewise.
38827 * sunrpc/svc_unix.c: Likewise.
38828 * sunrpc/xdr.c: Likewise.
38829 * sunrpc/xdr_array.c: Likewise.
38830 * sunrpc/xdr_rec.c: Likewise.
38831 * sunrpc/xdr_ref.c: Likewise.
38832 * sunrpc/xdr_stdio.c: Likewise.
38834 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38836 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38838 2011-07-03 Andreas Jaeger <aj@suse.de>
38840 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38841 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38842 regenerate with gen-libm-tests.pl.
38844 2010-05-12 Petr Baudis <pasky@suse.cz>
38847 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38848 around j0() zero points by switching to j1().
38849 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38850 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38851 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38852 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38854 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38856 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38858 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38860 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38861 Patch in part by Pavel Roskin <proski@gnu.org>.
38864 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38866 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38867 Free memory block if necessary.
38870 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38871 be NULL. Don't lock in this case.
38873 2011-09-09 Roland McGrath <roland@hack.frob.com>
38875 * elf/elf.h (ELFOSABI_GNU): New macro.
38876 (ELFOSABI_LINUX): Define to that.
38878 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38880 * string/strncat.c (strncat): Undef the symbol in case it has been
38881 defined in bits/string.h.
38883 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38885 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38887 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38890 2011-08-17 Andreas Jaeger <aj@suse.de>
38892 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38894 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38895 Ian Lance Taylor <iant@google.com>
38897 * math/libm-test.inc (lround_test): New testcase.
38898 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38900 2011-09-08 Ulrich Drepper <drepper@gmail.com>
38902 * Makefile: Remove support for automatic cvs check-ins.
38903 * Makerules: Likewise.
38904 * config.make.in: Likewise.
38905 * configure.in: Likewise.
38906 * intl/Makefile: Likewise.
38907 * locale/Makefile: Likewise.
38908 * po/Makefile: Likewise.
38909 * posix/Makefile: Likewise.
38910 * sysdeps/gnu/Makefile: Likewise.
38911 * sysdeps/mach/hurd/Makefile: Likewise.
38912 * sysdeps/sparc/sparc32/Makefile: Likewise.
38915 * posix/Makefile (bug-regex32-ENV): Define.
38916 Patch by John Stanley <jpsinthemix@verizon.net>.
38918 * misc/Makefile (headers): Add bits/select2.h.
38919 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38920 * misc/bits/select2.h: New file.
38921 * include/bits/select2.h: New file.
38922 * debug/Makefile (routines): Add fdelt_chk.
38923 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38924 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38926 * debug/fdelt_chk.c: New file.
38928 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38929 * wcsmbs/test-wmemcmp.c: Likewise.
38930 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38931 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38933 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38935 * string/Makefile (strop-tests): Add memcmp.
38936 * string/test-wmemcmp.c: New file.
38937 * string/test-memcmp.c: Add wmemcmp support.
38939 2011-09-08 Roland McGrath <roland@hack.frob.com>
38942 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38945 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38946 garbage value in a __mach_port_mod_refs call in the cases of the
38947 task-self and thread-self ports.
38949 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38951 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38953 2011-09-08 Andreas Schwab <schwab@redhat.com>
38955 * elf/dl-load.c (lose): Check for non-null L.
38957 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38959 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38961 * elf/dl-libc.c (dlerror_run): Pass back error code from
38965 * elf/dl-load.c (lose): Free l_origin if it is valid.
38967 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38969 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38970 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38971 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38972 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38973 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38974 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38976 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38978 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38979 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38980 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38981 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38982 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38983 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38984 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38985 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38986 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38987 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38989 2011-08-15 Alan Modra <amodra@gmail.com>
38992 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38993 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38994 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38995 ppc_mcount to static-only-routines.
38996 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38998 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38999 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39001 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39003 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39004 for finite and infinity parameters.
39006 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39008 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39009 and add nop instructions for throughput optimization.
39010 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39012 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39014 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39015 aligned copy for power7 with vector-scalar instructions.
39016 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39018 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39023 2011-09-07 Andreas Schwab <schwab@redhat.com>
39026 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39029 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39031 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39032 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39033 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39034 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39037 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39039 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39040 Forgot to demangle the pointer.
39042 * sysdeps/i386/sysdep.h: Define atom_text_section.
39043 * sysdeps/x86_64/sysdep.h: Likewise.
39044 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39045 section with atom_text_section.
39046 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39047 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39048 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39049 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39050 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39052 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39053 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39054 already be defined. Change to take two parameters and don't assign
39055 result to variable. Adjust all users.
39056 Define INTERNAL_GETTIME if not already defined.
39057 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39060 HAVE_CLOCK_GETTIME_VSYSCALL.
39061 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39063 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39064 gettimeofday vsyscall, just use time.
39066 2011-09-06 Andreas Schwab <schwab@redhat.com>
39068 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39071 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39073 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39075 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39077 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39078 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39079 syscall if possible.
39081 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39083 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39084 e_ident. Don't pass to find_mapsXX.
39085 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39087 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39090 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39091 * sysdeps/x86_64/multiarch/strchr.S: Update.
39092 Check bit_slow_BSF bit.
39093 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39094 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39095 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39097 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39100 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39102 (tryshell): Define.
39103 (__spawni): Change last parameter to be flag. Test
39104 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39105 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39106 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39107 * posix/spawni.c: Likewise.
39108 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39109 * posix/spawnp.c: Likewise. Change normal version to use
39110 SPAWN_XFLAGS_USE_PATH.
39111 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39112 SPAWN_XFLAGS_TRY_SHELL.
39115 * posix/glob.h: Remove gcc 1.x support.
39118 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39120 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39123 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39125 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39126 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39127 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39128 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39129 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39130 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39132 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39134 * sysdeps/x86_64/wcscmp.S: New file.
39136 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39137 wcscmp-c wcscmp-sse2
39138 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39139 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39140 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39141 * wcsmbs/wcscmp.c: Allow renaming.
39143 2011-09-05 David S. Miller <davem@davemloft.net>
39145 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39146 stack slot, rather than the struct return pointer slot.
39147 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39148 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39150 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39152 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39154 * po/ja.po: Update from translation team.
39157 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39158 kernel in 64-bit binaries.
39160 2011-09-01 David S. Miller <davem@davemloft.net>
39162 * elf/elf.h (HWCAP_SPARC_*): Move to..
39163 * sysdeps/sparc/sysdep.h: this new file and add new values.
39164 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39165 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39166 _DL_HWCAP_COUNT to 24.
39167 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39169 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39170 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39171 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39172 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39173 instead of magic constants.
39174 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39176 2011-08-31 David S. Miller <davem@davemloft.net>
39178 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39179 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39180 Reimplement to do errno handling inline.
39181 (SYSCALL_ERROR_HANDLER): New macro.
39182 (__SYSCALL_STRING): Do not do errno handling in asm.
39183 (__CLONE_SYSCALL_STRING): Delete.
39184 (__INTERNAL_SYSCALL_STRING): Delete.
39185 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39186 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39187 (PSEUDO): Reimplement to do errno handling inline.
39188 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39189 (SYSCALL_ERROR_HANDLER): New macro.
39190 (__SYSCALL_STRING): Do not do errno handling in asm.
39191 (__CLONE_SYSCALL_STRING): Delete.
39192 (__INTERNAL_SYSCALL_STRING): Delete.
39193 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39194 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39196 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39197 (inline_syscall*): Add 'err' argument.
39198 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39199 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39200 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39201 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39203 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39204 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39206 2011-08-30 Andreas Schwab <schwab@redhat.com>
39208 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39210 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39212 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39215 2011-08-24 David S. Miller <davem@davemloft.net>
39217 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39219 2011-08-24 Andreas Schwab <schwab@redhat.com>
39221 * elf/Makefile: Add rules to build and run unload8 test.
39222 * elf/unload8.c: New file.
39223 * elf/unload8mod1.c: New file.
39224 * elf/unload8mod1x.c: New file.
39225 * elf/unload8mod2.c: New file.
39226 * elf/unload8mod3.c: New file.
39228 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39231 2011-08-23 David S. Miller <davem@davemloft.net>
39233 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39234 subtract stack bias.
39235 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39236 %sp not %fp in calculations.
39237 (_JMPBUF_UNWINDS_ADJ): Likewise.
39239 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39240 (aio_suspend): Call it to force an exception region around the
39241 AIO_MISC_WAIT() invocation.
39243 2011-08-23 Andreas Schwab <schwab@redhat.com>
39245 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39248 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39250 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39252 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39253 and <dl-machine.h>.
39254 (Elf64_FuncDesc): Remove.
39256 2011-08-22 David S. Miller <davem@davemloft.net>
39258 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39259 sigaltstack check, add missing cfi directives.
39260 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39261 missing cfi directives, and sigaltstack handling.
39263 2011-08-16 Andreas Schwab <schwab@redhat.com>
39266 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39267 object is seen twice.
39268 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39270 * elf/Makefile (distribute): Add tst-initorder2.c.
39271 (tests): Add tst-initorder2.
39272 (modules-names): Add tst-initorder2a tst-initorder2b
39273 tst-initorder2c tst-initorder2d. Add rules to build them.
39274 ($(objpfx)tst-initorder2.out): New rule.
39275 * elf/tst-initorder2.c: New file.
39276 * elf/tst-initorder2.exp: New file.
39278 2011-08-22 Andreas Schwab <schwab@redhat.com>
39280 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39282 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39283 dependencies back to end of function.
39285 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39286 $(elfobjdir)/ld.so.
39288 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39290 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39291 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39292 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39293 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39294 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39295 of __vdso_gettimeofday.
39296 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39297 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39299 (_libc_vdso_platform_setup): Remove initialization of
39300 __vdso_gettimeofday and __vdso_time.
39302 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39304 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39305 and fgetc_unlocked.
39306 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39309 * elf/dl-open.c (add_to_global): Report additions to the global scope
39310 for LD_DEBUG=scopes.
39311 (dl_open_worker): Also print scope of newly loaded dependencies.
39312 (_dl_show_scope): Indicate if there is no scope.
39315 * stdio-common/Makefile (tests): Add bug24.
39316 * stdio-common/bug24.c: New file.
39318 2011-08-19 Andreas Jaeger <aj@suse.de>
39321 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39322 non-existant file when using close-on-exec mode.
39324 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39326 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39327 the very first instruction.
39329 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39330 the CFI state in the end.
39331 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39332 inclusion of dl-trampoline.h.
39333 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39335 2011-08-19 Andreas Schwab <schwab@redhat.com>
39337 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39338 expectations for long double.
39340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39341 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39343 2011-08-14 David S. Miller <davem@davemloft.net>
39345 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39346 artificual limit depends upon the system page size.
39348 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39350 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39351 * resolv/Makefile: Define CFLAGS-libresolv.
39353 2011-08-17 Andreas Schwab <schwab@redhat.com>
39355 * nss/makedb.c (compute_tables): Make variables used in nested
39358 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39360 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39361 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39362 if buffer was too small.
39364 * elf/pldd.c (main): Attach to all threads in the process.
39365 Rewrite /proc handling to use *at functions.
39367 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39369 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39370 specifies first scope to show.
39371 (dl_open_worker): Update callers. Move printing scope of new
39372 object to before the relocation.
39373 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39374 * sysdeps/generic/ldsodefs.h: Update declaration.
39376 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39377 string for the scope number.
39379 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39381 * nscd/servicescache.c (cache_addserv): Make sure written is always
39384 2011-08-14 Roland McGrath <roland@hack.frob.com>
39386 * sysdeps/i386/i486/bits/atomic.h
39387 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39388 statement expression, so as to suppress "set but not used" warning.
39389 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39391 * string/strncat.c (STRNCAT): Use prototype definition.
39393 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39394 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39396 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39397 (localedef-modules): Add localedef.
39398 (locale-modules): Add locale.
39400 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39401 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39402 to avoid a warning.
39404 2011-08-14 David S. Miller <davem@davemloft.net>
39406 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39407 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39409 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39411 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39412 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39413 * elf/rtld.c (dl_main): Set l_name of vDSO.
39414 Call _dl_show_scope when DL_DEBUG_SCOPES.
39415 (process_dl_debug): Recognize scopes flag and also set it for all.
39416 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39417 Declare _dl_show_scope.
39419 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39420 (do_dlopen): Pass caller_dlopen to dl_open.
39421 (__libc_dlopen_mode): Initialize caller_dlopen.
39423 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39424 of libc. Make tolower call locale-independent. Optimize a bit by
39425 using isdigit instead of isalnum.
39426 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39428 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39430 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39431 was a dependency or dynamically loaded.
39433 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39435 * intl/l10nflist.c: Allow architecture-specific pop function.
39436 * sysdeps/x86_64/l10nflist.c: New file.
39438 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39441 2011-08-10 Andreas Schwab <schwab@redhat.com>
39443 * include/dirent.h: Add libc_hidden_proto for scandirat and
39444 scandirat64. Don't declare __scandirat64.
39445 * dirent/scandirat.c: Add libc_hidden_def.
39446 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39447 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39449 2011-08-10 David S. Miller <davem@davemloft.net>
39451 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39453 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39454 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39455 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39457 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39459 * Versions.def [libc]: Add GLIBC_2.15.
39460 * dirent/Makefile (routines): Add scandirat and scandirat64.
39461 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39463 * dirent/dirent.h: Declare scandirat and scandirat64.
39464 * dirent/scandirat.c: New file.
39465 * dirent/scandirat64.c: New file.
39466 * sysdeps/wordsize-64/scandirat.c: New file.
39467 * sysdeps/wordsize-64/scandirat64.c: New file.
39468 * dirent/opendir.c: Define opendirat.
39469 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39471 * dirent/scandir64.c: Adjust for scandir.c change.
39472 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39473 __scandirat64, and __scandir_cancel_handler.
39474 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39475 additional parameter and use openat instead of open (outside of ld.so).
39476 Add new __opendir as wrapper around __opendirat.
39477 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39478 here without requiring old scandirat implementation.
39480 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39482 * dirent/scandir.c (cancel_handler): Renamed to
39483 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39484 defined. Adjust users.
39485 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39486 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39488 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39490 * string/test-string.h (IMPL): Use __STRING to expand name and then
39493 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39496 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39498 * string/Makefile: Update.
39499 (strop-tests): Append strncat.
39500 * string/test-wcscmp.c: New file.
39501 New comprehensive test for wcscmp.
39502 * string/test-strcmp.c: Update.
39503 (WIDE): New define.
39505 2011-07-22 Andreas Schwab <schwab@redhat.com>
39507 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39510 2011-07-26 Andreas Schwab <schwab@redhat.com>
39512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39513 encoding to ACE if AI_IDN.
39515 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39517 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39518 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39520 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39522 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39523 Fix overflow bug in strncat.
39524 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39526 * string/test-strncat.c: Update.
39527 Add new tests for checking overflow bugs.
39529 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39532 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39533 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39534 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39535 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39536 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39537 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39538 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39539 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39541 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39542 (USE_AS_STRCAT): Define.
39543 Add strcat and strncat support.
39544 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39546 2011-07-25 Andreas Schwab <schwab@redhat.com>
39548 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39549 __n bigger than INT_MAX+1.
39550 (__strncmp_g): Likewise.
39552 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39554 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39555 * libio/stido.h: Likewise.
39557 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39559 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39562 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39563 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39564 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39565 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39566 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39569 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39572 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39574 (_dl_x86_64_save_sse): Likewise.
39576 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39578 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39580 (_dl_x86_64_save_sse): Likewise.
39582 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39584 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39586 2011-07-21 Andreas Schwab <schwab@redhat.com>
39588 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39590 (_dl_x86_64_save_sse): Use correct AVX check.
39592 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39594 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39595 bug in strncpy/strncat.
39596 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39598 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39600 * string/tester.c (test_strcat): Add tests for different alignments
39601 of source and destination.
39602 (test_strncat): Likewise.
39604 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39607 * posix/glob.c (glob): Check passed in values before using them in
39608 expressions to avoid some overflows.
39609 (glob_in_dir): Likewise.
39612 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39613 check for AVX enablement so that we don't crash with old kernels and
39615 * elf/tst-audit4.c: Add same checks here.
39616 * elf/tst-audit6.c: Likewise.
39618 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39620 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39622 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39624 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39626 * po/cs.po: Update from translation team.
39627 * po/bg.po: Likewise.
39629 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39631 * misc/sys/cdefs.h: Add support for const attribute.
39632 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39633 to gnu_dev_{major,minor,makedev} functions.
39635 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39637 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39639 2011-07-20 Andreas Schwab <schwab@redhat.com>
39641 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39644 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39646 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39647 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39648 register in order to avoid conflicts with the soft frame pointer
39649 being held in r11 when necessary.
39650 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39651 (INTERNAL_VSYSCALL_NCS): Likewise.
39653 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39655 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39656 * elf/dl-fini.c (_dl_fini): Adjust caller.
39657 * elf/dl-close.c (_dl_close_worker): Likewise.
39658 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39660 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39662 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39663 "aux_cache->nlibs < 0".
39665 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39666 in the reload-count case.
39668 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39671 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39672 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39673 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39674 * sysdeps/x86_64/multiarch/strcat.S: New file.
39675 * sysdeps/x86_64/multiarch/strncat.S: New file.
39676 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39677 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39678 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39679 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39680 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39681 (USE_AS_STRCAT): Define.
39682 Add strcat and strncat support.
39683 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39684 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39685 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39686 * string/strncat.c: Update.
39687 (USE_AS_STRNCAT): Define.
39688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39689 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39691 * sysdeps/x86_64/multiarch/init-arch.h
39692 (bit_Prefer_PMINUB_for_stringop): New.
39693 (index_Prefer_PMINUB_for_stringop): Likewise.
39694 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39695 bit_Prefer_PMINUB_for_stringop.
39697 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39699 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39701 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39702 of casting of buffer.
39703 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39704 buffer32 and buffer64.
39705 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39706 writes instead of casting of buffer.
39707 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39709 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39712 2011-07-19 Andreas Schwab <schwab@redhat.com>
39714 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39716 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39718 * nscd/nscd.c (termination_handler): Don't do anything for a database
39719 if it has not yet been initialized.
39721 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39723 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39725 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39727 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39729 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39731 * po/nl.po: Update from translation team.
39732 * po/sv.po: Likewise.
39734 2011-07-16 Roland McGrath <roland@hack.frob.com>
39736 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39737 now disallowed by GCC.
39739 * configure.in (use-default-link): Default to yes if a test -shared
39740 link meets our qualifications.
39741 * configure: Regenerated.
39743 * config.make.in (output-format): New variable.
39744 * configure.in: Check for ld --print-output-format support.
39745 * configure: Regenerated.
39746 * Makerules ($(common-objpfx)format.lds)
39747 [$(output-format) != unknown]: Just use $(output-format),
39748 instead of the linker-script munging.
39750 2011-07-14 Roland McGrath <roland@hack.frob.com>
39752 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39753 of $(common-objpfx)shlib.lds.
39754 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39756 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39757 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39759 * configure.in (-z relro check): Adjust test code to add a large
39760 writable data section after it.
39761 * configure: Regenerated.
39763 2011-07-11 Roland McGrath <roland@hack.frob.com>
39765 * configure.in (-z relro check): Fix test code to make the variable
39767 * configure: Regenerated.
39769 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39771 * nscd/nscd.h (struct traced_file): Define.
39772 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39773 elements. Add traced_files.
39774 (inotify_fd): Declare.
39775 (register_traced_file): Declare.
39776 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39777 (inotify_fd): Export.
39778 (resolv_conf_descr): Remove.
39779 (nscd_init): Move inotify descriptor creation to main.
39780 Don't register files for notification here.
39781 (register_traced_file): New function.
39782 (invalidate_cache): Don't use reset_res to determine whether to call
39783 res_init, go through the list of registered files.
39784 (main_loop_poll): The inotify descriptors are now stored in the
39785 structures for the traced files.
39786 (main_loop_epoll): Likewise
39787 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39788 to __nss_disable_nscd.
39789 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39790 for a database anymore. Check the records for all the registered
39792 * nss/Makefile (libnss_files-routines): Add files-init.
39793 (libnss_db-routines): Add db-init.
39794 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39795 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39796 * nss/nss_db/db-init.c: New file.
39797 * nss/nss_files/files-init.c: New file.
39798 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39799 __nss_lookup_function.
39800 (__nss_lookup_function): Call nss_load_library.
39801 (nss_load_all_libraries): New function.
39802 (__nss_disable_nscd): Take parameter with callback function for files
39803 to register. Set is_nscd. Load all the DSOs for the NSS modules
39804 used for the cached services.
39805 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39806 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39807 options for features to all the files in nscd.
39809 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39811 2011-07-10 Roland McGrath <roland@hack.frob.com>
39813 * csu/elf-init.c (__libc_csu_init): Comment typo.
39815 2011-07-09 Ulrich Drepper <drepper@gmail.com>
39817 * po/pl.po: Update from translation team.
39818 * po/ja.po: Likewise.
39819 * po/ru.po: Likewise.
39820 * po/ko.po: Likewise.
39821 * po/fr.po: Likewise.
39823 2011-07-09 Roland McGrath <roland@hack.frob.com>
39825 * configure.in (.ctors/.dtors header and trailer check):
39826 Use an empirical test on a built program.
39827 * configure: Regenerated.
39829 * configure.in (-z relro check): Use an empirical test on a built DSO.
39830 Detect, but do not require, on ia64.
39831 * configure: Regenerated.
39833 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39834 Update tests that use readelf to use $READELF instead.
39835 * configure: Regenerated.
39837 2011-07-08 Ulrich Drepper <drepper@gmail.com>
39839 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39840 if the result is not used.
39842 2011-07-05 Andreas Jaeger <aj@suse.de>
39845 * stdlib/tst-strtod.c: Add testcase.
39847 2011-07-07 Ulrich Drepper <drepper@gmail.com>
39849 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39850 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39851 The latter has a higher limit. Take additional parameter to pass to
39853 (__pathconf): Pass file to __statfs_link_max.
39854 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39856 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39860 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39861 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39863 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39864 (__statfs_filesize_max): Likewise.
39865 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39867 2011-07-05 Andreas Jaeger <aj@suse.de>
39869 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39871 2011-07-06 Marek Polacek <mpolacek@redhat.com>
39873 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39875 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39878 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39880 * Makefile (strop-tests): Add strncat.
39881 * string/test-strncat.c: New file.
39883 2011-06-30 Marek Polacek <mpolacek@redhat.com>
39885 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39887 2011-06-21 Andreas Jaeger <aj@suse.de>
39889 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39890 Copy rule from iconvdata/Makefile.
39892 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39895 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39896 but no long options are defined, just return 'W'.
39898 2011-06-22 Marek Polacek <mpolacek@redhat.com>
39901 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39903 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39905 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39907 (innetgr): Likewise.
39909 2011-07-05 Roland McGrath <roland@hack.frob.com>
39911 * config.make.in (install_root): Default to $(DESTDIR).
39913 2011-07-05 Ulrich Drepper <drepper@gmail.com>
39915 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39917 2011-07-02 Roland McGrath <roland@hack.frob.com>
39919 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39921 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39922 containing directory rather than embedding absolute directory names.
39924 * scripts/check-local-headers.sh: Rewritten using awk.
39925 Match by word, not by line. Print error messages for matches.
39926 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39928 * Makerules [shlib-lds-flags empty]:
39929 ($(common-objpfx)libc_pic.opts): New target.
39930 ($(common-objpfx)libc_pic.os.clean): New target.
39931 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39933 * config.make.in (OBJCOPY): New variable.
39934 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39935 * configure: Regenerated.
39937 * config.make.in (use-default-link): New variable.
39938 * configure.in (use_default_link): Grok --with-default-link to set it.
39939 * configure: Regenerated.
39940 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39941 (shlib-lds, shlib-lds-flags): Define to empty.
39943 * Makerules (shlib-lds): New variable.
39944 (shlib-lds-flags): New variable.
39945 (build-shlib, build-moduile, build-module-asneeded): Use it.
39946 ($(common-objpfx)libc.so): Use $(shlib-lds).
39947 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39948 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39950 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39951 DT_FLAGS/DT_FLAGS_1 with zero flags.
39953 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39954 linker script munging.
39956 2011-07-02 Ulrich Drepper <drepper@gmail.com>
39958 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39960 * crypt/sha512.c (sha512_process_block): Perform total addition using
39961 128-bit if possible.
39962 (__sha512_finish_ctx): Likewise.
39963 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39965 * crypt/sha256.c (SWAP64): Define.
39966 (sha256_process_block): Perform total addition using 64-bit if
39968 (__sha256_finish_ctx): Likewise.
39970 2011-07-01 Ulrich Drepper <drepper@gmail.com>
39972 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39973 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39974 * nscd/hstcache.c (cache_addhst): Likewise.
39975 * nscd/grpcache.c (cache_addgr): Likewise.
39976 * nscd/aicache.c (addhstaiX): Likewise
39977 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39979 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
39981 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39982 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39983 * nscd/hstcache.c (cache_addhst): Likewise.
39984 * nscd/grpcache.c (cache_addgr): Likewise.
39985 * nscd/aicache.c (addhstaiX): Likewise
39987 2011-07-01 Andreas Schwab <schwab@redhat.com>
39989 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39990 domain only when needed.
39992 2011-06-30 Andreas Schwab <schwab@redhat.com>
39994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39995 is always restored.
39997 2011-06-29 Ulrich Drepper <drepper@gmail.com>
39999 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40000 are re-adding the entry.
40001 * nscd/servicescache.c (cache_addserv): Likewise.
40003 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40005 * sysdeps/generic/dl-irel.h: fix protection against multiple
40007 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40009 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40012 * malloc/memusage.sh: Fix quoting in message.
40013 * debug/xtrace.sh: Likewise.
40015 * configure.in: Remove support for --experimental-malloc option, make
40017 * config.make.in: Likewise.
40018 * malloc/Makefile: Likewise.
40020 2011-06-27 Andreas Schwab <schwab@redhat.com>
40022 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40023 two-byte characters.
40025 2011-06-27 Roland McGrath <roland@hack.frob.com>
40027 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40028 AC_CACHE_CHECK invocation.
40029 * configure: Regenerated.
40031 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40033 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40036 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40037 bit from old_res_options.
40039 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40041 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40042 value type for setfct.
40044 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40046 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40047 __gettimeofday instead of gettimeofday.
40049 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40051 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40053 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40055 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40057 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40060 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40063 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40064 strcpy-sse2-unaligned strncpy-sse2-unaligned
40065 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40066 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40067 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40068 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40069 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40070 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40071 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40072 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40073 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40074 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40075 (STRCPY): Support SSE2 and SSSE3 versions.
40077 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40080 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40081 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40082 kernels which artificially limit size of requests.
40084 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40086 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40087 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40088 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40089 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40090 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40091 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40092 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40093 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40094 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40095 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40096 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40097 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40098 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40099 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40100 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40102 Enable unaligned load optimization for Intel Core i3, i5 and i7
40104 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40106 (index_Fast_Unaligned_Load): Define.
40107 (HAS_FAST_UNALIGNED_LOAD): Define.
40109 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40111 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40113 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40116 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40117 until it is clear that the information is realy needed.
40118 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40120 2011-06-22 Andreas Schwab <schwab@redhat.com>
40122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40124 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40126 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40127 /sys/devices/system/cpu/online if it is usable.
40129 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40130 reading the information from the /proc filesystem to once a second.
40132 2011-06-21 Andreas Jaeger <aj@suse.de>
40134 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40135 NULL after inclusion of kernel headers.
40137 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40139 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40140 calls to internal_setent.
40143 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40144 addresses using gethostbyname4_r ignore IPv4 addresses.
40146 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40147 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40149 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40151 2011-06-20 David S. Miller <davem@davemloft.net>
40153 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40155 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40157 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40158 (elf_irel): Use it.
40159 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40160 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40161 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40162 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40163 * sysdeps/x86_64/dl-irel.h: Likewise.
40165 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40166 * elf/dl-sym.c: Likewise.
40168 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40170 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40171 need to dereference resplen2.
40173 2011-06-14 Andreas Schwab <schwab@redhat.com>
40175 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40177 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40179 * Makeconfig: Define vardbdir and inst_vardbdir.
40180 * nss/Makefile: Add rules to install db-Makefile.
40182 * nss/nss_db/db-XXX.c: Cleanup.
40184 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40185 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40187 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40188 * nss/makedb.c: Implement -g option to specify that value strings
40189 are generated and should not be added to table iterated over for
40191 * nss/nss_db/db-initgroups.c: New file.
40193 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40196 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40197 (internal_getgrouplist): Adjust to name change.
40198 Update use_initgroups_entry if this is not the first call.
40199 * nss/databases.def: Add initgroups entry.
40201 * nss/makedb.c (compute_tables): Check result of multiple hash table
40202 sizes to minimize maximum chain length.
40204 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40206 * Versions.def: Add entry for libnss_db.
40207 * shlib-versions: Likewise.
40208 * nss/Makefile: Add rules to build libnss_db.
40209 * nss/Versions: Add libnss_db information. Organize libnss_files
40211 * nss/db-Makefile: Add gshadow support. Change rules for the new
40212 makedb progra. Some minor improvements to generate smaller files.
40213 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40215 * nss/makedb.c: ...here.
40216 Improve database format to be smaller and require less memory at
40218 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40220 * nss/nss_db/db-netgrp.c: Likewise.
40221 * nss/nss_db/db-open.c: Likewise.
40222 * nss/nss_files/flies-XXX.x: Adjust comments.
40223 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40224 * nss/nss_files/files-grp.c: Likewise.
40225 * nss/nss_files/files-hosts.c: Likewise.
40226 * nss/nss_files/files-network.c: Likewise.
40227 * nss/nss_files/files-proto.c: Likewise.
40228 * nss/nss_files/files-pwd.c: Likewise.
40229 * nss/nss_files/files-rpc.c: Likewise.
40230 * nss/nss_files/files-service.c: Likewise.
40231 * nss/nss_files/files-sgrp.c: Likewise.
40232 * nss/nss_files/files-spwd.c: Likewise.
40233 * nss/nss_db/db-alias.c: Removed.
40234 * nss/nss_db/dummy-db.h: Removed.
40236 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40238 * nss/makedb.c: Rewritten to not use database library.
40239 * nss/Makefile: Update to build new makedb program.
40241 2011-06-14 Andreas Jaeger <aj@suse.de>
40243 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40244 memset declaration.
40246 2011-06-10 Andreas Schwab <schwab@redhat.com>
40248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40251 2011-06-10 Roland McGrath <roland@hack.frob.com>
40253 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40254 * elf/Makefile ($(objpfx)ld.so): Likewise.
40256 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40257 Don't list ld.so twice in dependencies.
40259 * posix/bug-regex31.c: Include <stdlib.h>.
40261 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40263 * nis/nss_compat/compat-spwd.c
40264 (getspent_next_nss_netgr): Remove unused variable.
40265 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40267 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40268 nonmembers" output to use the right array.
40270 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40272 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40274 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40275 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40276 * catgets/gencat.c (read_input_file): Likewise.
40277 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40279 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40280 variable definition inside #if's controlling its use.
40282 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40284 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40286 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40288 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40291 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40293 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40294 * configure: Regenerated.
40296 * Makerules: Revert last change.
40297 * elf/Makefile: Likewise.
40299 2011-06-09 Roland McGrath <roland@hack.frob.com>
40301 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40302 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40303 (reloc-link): Likewise.
40305 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40307 * elf/Makefile: Add rules to build pldd.
40308 * elf/pldd.c: New file.
40309 * elf/pldd-xx.c: New file.
40311 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40313 * version.h: Update for 2.15 development version.
40315 2011-06-07 David S. Miller <davem@davemloft.net>
40317 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40319 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40320 elf_machine_lazy_rel): Likewise.
40321 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40322 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40323 elf_machine_lazy_rel): Likewise.
40324 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40325 dl_hwcap via passed in argument.
40326 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40329 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40331 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40333 2011-06-06 Roland McGrath <roland@hack.frob.com>
40336 * manual/fdl-1.1.texi: New file, verbatim from:
40337 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40338 * manual/lgpl-2.1.texi: New file, verbatim from:
40339 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40340 * manual/Makefile (licenses): New variable, list those new file names.
40342 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40344 * manual/fdl.texi: File removed.
40345 * manual/lesser.texi: File removed.
40346 * manual/libc.texinfo (Copying, Documentation License):
40347 Use new @include file names, put @appendix directive before @include.
40349 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40352 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40353 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40354 (mq_open): Add __NTH.
40356 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40359 Assume Intel Core i3/i5/i7 processor if AVX is available.
40361 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40363 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40366 2011-05-31 Andreas Schwab <schwab@redhat.com>
40368 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40369 memory. Use alloca_account. Fix memory leak when retrying.
40371 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40373 * version.h (RELEASE): Bump for 2.14 release.
40374 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40376 * config.make.in (RANLIB): Remove entry.
40378 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40380 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40381 (libc.pot): Work around missing support for .ksh extension in xgettext.
40384 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40385 if both request failed.
40386 (send_dg): In case of server errors clear resplen or *resplen2.
40389 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40390 when there are multiple maps.
40391 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40392 (_dl_fini): Remove test here.
40394 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40396 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40399 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40400 bit from old_res_options.
40401 (gaih_inet): Likewise.
40404 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40407 * resolv/res_init.c (res_setoptions): Make the code more compact.
40410 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40414 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40416 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40419 * malloc/malloc.h: Declare malloc hook variables as volatile.
40421 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40425 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40426 raise in the comment.
40427 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40428 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40429 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40431 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40434 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40435 grow the buffers more if it already has to be sufficient.
40436 (build_wcs_upper_buffer): Likewise.
40437 * posix/regexec.c (check_matching): Likewise.
40438 (clean_state_log_if_needed): Likewise.
40439 (extend_buffers): Don't enlarge buffers beyond size of the input
40441 Patches mostly by Emil Wojak <emil@wojak.eu>.
40442 * posix/bug-regex32.c: New file.
40443 * posix/Makefile (tests): Add bug-regex32.
40445 * locale/findlocale.c (_nl_find_locale): Return right away if
40446 _nl_explode_name failed.
40447 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40449 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40451 * debug/xtrace.sh: Unify messages.
40452 * malloc/memusage.sh: Likewise.
40455 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40456 time symbol from vDSO. Substitute with vsyscall if not available.
40457 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40460 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40461 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40462 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40463 Add sendmmsg and internal_sendmmsg.
40464 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40465 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40466 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40468 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40469 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40470 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40472 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40475 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40476 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40478 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40482 * iconvdata/Makefile (tests): Add bug-iconv9.
40483 * iconvdata/bug-iconv9.c: New file.
40485 2011-05-27 Andreas Schwab <schwab@redhat.com>
40488 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40490 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40492 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40493 (struct user_regs_struct): Change intcs field back to cs.
40495 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40497 * po/ja.po: Update from translation team.
40499 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40502 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40503 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40505 2011-05-20 Andreas Schwab <schwab@redhat.com>
40507 * stdlib/longlong.h: Update from GCC.
40509 2011-05-23 Andreas Schwab <schwab@redhat.com>
40511 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40513 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40514 Add parameter name.
40515 (__sysconf): Pass it down.
40517 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40520 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40522 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40523 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40524 add in in __libc_use_alloca calls. Adjust callers.
40525 (glob): Use malloc in some situations.
40527 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40528 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40531 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40533 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40534 and CLOCK_BOOTTIME_ALARM.
40537 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40540 * string/_strerror.c (__strerror_r): Print negative errors as signed
40544 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40545 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40546 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40548 * configure.in: Fix typo in redirection and correct removal of test
40549 files in two cases.
40552 * locale/setlocale.c (new_composite_name): Fix test to check for
40553 identical name of all categories.
40556 * libio/filedoalloc.c (local_isatty): New function.
40557 (_IO_file_doallocate): Use local_isatty.
40558 * stdio-common/perror.c (perror): In case a new stream is used
40559 forward the stream error.
40560 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40563 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40568 * include/alloca.h (extend_alloca_account): Define.
40571 * posix/regex.h: Fix comments with documentation of user-accessible
40572 fields after compilation and describe correct free'ing of pattern
40573 after re_compile_pattern.
40574 Patch by Reuben Thomas <rrt@sc3d.org>.
40576 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40578 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40579 and -mno-altivec to prevent the compiler from using Altivec and/or
40580 VSX instructions when the corresponding registers are not available.
40582 2011-05-19 Andreas Schwab <schwab@redhat.com>
40584 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40586 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40588 * libio/freopen.c (freopen): Use __dup2, not dup2.
40589 * libio/freopen64.c (freopen64): Likewise.
40591 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40594 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40595 * math/Makefile (tests): Add test-powl.
40596 (CFLAGS-test-powl.c): Define.
40597 * math/test-powl.c: New file.
40599 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40601 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40603 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40606 * iconvdata/gb18030.c: Update to GB18020-2005.
40608 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40610 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40611 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40612 Patch by Aharon Robbins <arnold@skeeve.com>.
40615 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40619 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40620 through underflows.
40623 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40624 point to strings before performing equality test for error_one_per_line
40628 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40631 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40632 (struct user_fpregs_struct): Avoid __uint*_t types.
40635 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40636 symbol info. Use it instead of calling _dl_addr locally.
40637 (lock_and_info): New function.
40638 (tr_freehook): Call lock_and_info and pass symbol info as additional
40639 parameter to tr_where.
40640 (tr_mallochook): Likewise.
40641 (tr_reallochook): Likewise.
40642 (tr_memalignhook): Likewise.
40644 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40645 used and couldn't be at all thread-safe.
40647 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40649 * libio/freopen.c (freopen): Don't close old file descriptor
40650 before the new one is opened. Instead dup the new file descriptor
40651 to the old one after the new stream is created.
40652 * libio/freopen64.c (freopen64): Likewise.
40653 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40654 * libio/fileops.c (_IO_new_file_close_it): Handle new
40655 _IO_FLAGS2_NOCLOSE flag.
40656 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40657 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40658 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40659 _IO_FLAGS2_NOCLOSE flag.
40660 * include/unistd.h: Add hidden_proto for dup3.
40661 Define __have_dup3.
40662 * io/dup3.c: Define hidden symbol.
40663 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40666 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40667 when an incomplete long option is used.
40668 * posix/tst-getopt_long1.c: New file.
40669 * posix/Makefile (tests): Add tst-getopt_long1.
40672 * scripts/config.guess: Update from autoconf-2.68.
40673 * scripts/config.sub: Likewise.
40676 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40678 (has_cpuclock): ...this. New function.
40679 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40680 macro here based on has_cpuclock code.
40683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40684 First byte (not low byte) is now always NUL.
40685 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40687 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40688 Use non-cancelable interfaces.
40691 * locale/iso-639.def: Add entry for Sorani.
40694 * include/stdlib.h: Move include protection to the right place.
40695 Define abort_msg_s. Declare __abort_msg with it.
40696 * stdlib/abort.c (__abort_msg): Adjust type.
40697 * assert/assert.c (__assert_fail_base): New function. Majority
40698 of code from __assert_fail. Allocate memory for __abort_msg with
40700 (__assert_fail): Now call __assert_fail_base.
40701 * assert/assert-perr.c: Remove bulk of implementation. Use
40702 __assert_fail_base.
40703 * include/assert.hL Declare __assert_fail_base.
40704 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40706 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40708 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40712 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40713 until all modules are registered in the DTV.
40714 * elf/Makefile: Add rules to build and run tst-tls19.
40715 * elf/tst-tls19.c: New file.
40716 * elf/tst-tls19mod1.c: New file.
40717 * elf/tst-tls19mod2.c: New file.
40718 * elf/tst-tls19mod3.c: New file.
40719 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40722 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40726 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40727 two-byte sequence errors.
40728 * iconvdata/Makefile (tests): Add bug-iconv8.
40729 * iconvdata/bug-iconv8.c: New file.
40732 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40735 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40738 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40739 (dummy_getcfa): New function.
40740 (init): Get _Unwind_GetCFA address, use dummy if not found.
40741 (backtrace_helper): In recursion check, also check whether CFA changes.
40742 (__backtrace): Completely initialize arg.
40744 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40745 storing incomplete byte sequence in state object. Avoid testing for
40746 guaranteed too small input if we know there is enough data available.
40748 2011-05-11 Andreas Schwab <schwab@redhat.com>
40750 * Makeconfig (+link-pie): Indent.
40751 * Rules (binaries-pie): Define if $(have-fpie) and
40753 (binaries-shared): Also filter out $(binaries-pie).
40754 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40755 * nscd/Makefile (others-pie): Add nscd.
40756 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40757 ($(objpfx)nscd): Remove command override.
40758 * login/Makefile (others-pie): Add pt_chown.
40759 ($(objpfx)pt_chown): Remove command override.
40760 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40761 remove command overrides.
40763 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40765 * libio/tst_putwc.c: Fix error messages.
40768 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40769 currently writing and seek to current position when not.
40770 * libio/Makefile (tests): Add bug-fclose1.
40771 * libio/bug-fclose1.c: New file.
40773 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40776 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40777 don't set DF_1_NODELETE here.
40778 (do_lookup_x): When entering new entry test for copy relocation
40779 and if necessary set DF_1_NODELETE flag.
40780 * elf/tst-unique4.cc: New file.
40781 * elf/tst-unique4.h: New file.
40782 * elf/tst-unique4lib.cc: New file.
40783 * elf/Makefile: Add rules to build and run tst-unique4.
40784 Patch by Piotr Bury <pbury@goahead.com>.
40786 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40789 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40792 * misc/mntent_r.c (addmntent): Flush the stream after the output
40795 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40796 (is_trusted_path_normalize): Skip initial colon. Append slash
40797 to empty buffer. Duplicate is_trusted_path code but allow
40798 constructed patch to be prefix.
40799 (is_dst): Allow $ORIGIN followed by /.
40800 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40801 Correct testing of result of is_trusted_path_normalize
40802 (decompose_rpath): Fix warning.
40804 2011-05-10 Ulrich Drepper <drepper@gmail.com>
40807 * grp/initgroups.c (internal_getgrouplist): When we found the service
40808 list through the initgroups entry in nsswitch.conf do not always
40809 continue on a successful lookup. Don't always use the
40810 __nss_group_database value if it is set.
40811 * nss/nsswitch.conf (initgroups): Change action for successful db
40812 lookup to continue for compatibility.
40814 2011-05-09 Ulrich Drepper <drepper@gmail.com>
40817 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40819 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40821 * iconvdata/tst-tables.sh: Likewise.
40822 * iconvdata/cp770.c: New file.
40823 * iconvdata/cp771.c: New file.
40824 * iconvdata/cp772.c: New file.
40825 * iconvdata/cp773.c: New file.
40826 * iconvdata/cp774.c: New file.
40827 * iconvdata/testdata/CP770: New file.
40828 * iconvdata/testdata/CP770..UTF8: New file.
40829 * iconvdata/testdata/CP771: New file.
40830 * iconvdata/testdata/CP771..UTF8: New file.
40831 * iconvdata/testdata/CP772: New file.
40832 * iconvdata/testdata/CP772..UTF8: New file.
40833 * iconvdata/testdata/CP773: New file.
40834 * iconvdata/testdata/CP773..UTF8: New file.
40835 * iconvdata/testdata/CP774: New file.
40836 * iconvdata/testdata/CP774..UTF8: New file.
40838 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40840 * iconvdata/gen-8bit-gap.sh: Likewise.
40841 * iconvdata/gen-8bit.sh: Likewise.
40843 * locale/iso-639.def: Add ary entry.
40846 * locale/C-translit.h.in: Add U20A1 transliteration.
40849 * locale/iso-639.def: Add wae entry.
40850 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40853 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40857 * locale/C-translit.h.in: Add entry for U20B9.
40858 Patch by pravin.d.s@gmail.com.
40860 2011-05-08 Ulrich Drepper <drepper@gmail.com>
40863 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40864 ENAMETOOLONG use generic getcwd.
40865 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40866 in rtld. Use *stat64.
40867 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40868 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40869 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40870 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40871 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40872 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40873 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40874 __fstatat64 macros.
40875 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40876 * dirent/rewinddir.c: Add libc_hidden_def.
40877 * sysdeps/mach/hurd/rewinddir.c: Likewise.
40878 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
40880 * include/dirent.h (__alloc_dir): Add flags parameter.
40881 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40882 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40884 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40885 from fdopendir if O_CLOEXEC is already set.
40887 2011-03-15 Alan Modra <amodra@gmail.com>
40889 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40890 l_tls_firstbyte_offset non-zero. Save padding offset in
40891 l_tls_firstbyte_offset for later use.
40892 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40893 freeing static tls block.
40895 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40897 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40898 where #ifdef was intended. The intent is to prevent ARG_MAX from
40899 being defined by the kernel headers.
40901 2011-05-07 Ulrich Drepper <drepper@gmail.com>
40904 * resolv/resolv.h: Define RES_NOTLDQUERY.
40905 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40906 no-tld-query and set RES_NOTLDQUERY.
40907 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40908 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40909 modern BIND to search name as TLD unless forbidden.
40911 2011-05-07 Petr Baudis <pasky@suse.cz>
40912 Ulrich Drepper <drepper@gmail.com>
40915 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40916 (is_trusted_path): ...to here.
40917 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40918 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40919 using is_trusted_path_normalize() in setuid scripts.
40921 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40923 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40924 __BEGIN/__END_DECLS.
40926 2011-05-06 Ulrich Drepper <drepper@gmail.com>
40928 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40929 NSS_STATUS_NOTFOUND if no record was found.
40931 2011-05-05 Andreas Schwab <schwab@redhat.com>
40933 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40934 (headers-not-in-tirpc): Remove rpc/netdb.h
40935 * resolv/netdb.h: Revert last change.
40937 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40939 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40940 circular dependency between libgcc.a and libc.a.
40942 2011-05-05 Andreas Schwab <schwab@redhat.com>
40944 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40945 * nis/Makefile: Don't install rpcsvc/*.
40946 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40947 instead of <rpc/types.h>.
40948 (MAXHOSTNAMELEN): Define.
40950 2011-05-03 Andreas Schwab <schwab@redhat.com>
40952 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40954 2011-04-28 Maciej Babinski <mbabinski@google.com>
40957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40958 gethostbyname4_r when IPv6 results are possible.
40960 2011-05-02 Ulrich Drepper <drepper@gmail.com>
40963 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40964 _PC_PIPE_BUF handling.
40966 2011-04-30 Bruno Haible <bruno@clisp.org>
40969 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40970 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40972 * inet/getnameinfo.c (getnameinfo): Likewise.
40974 2011-04-29 Ulrich Drepper <drepper@gmail.com>
40976 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40977 to groups setting in database lookup.
40978 * nss/nsswitch.conf: Add initgroups entry.
40980 2011-04-22 Ulrich Drepper <drepper@gmail.com>
40983 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40985 Patch by Eric Blake <eblake@redhat.com>.
40987 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40989 * sunrpc/Makefile (need-export-routines): Add svc_run.
40990 (routines): Remove svc_run.
40991 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40992 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40993 * sunrpc/svc_run.c (svc_run): Likewise.
40994 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40996 2011-04-21 Ulrich Drepper <drepper@gmail.com>
40998 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40999 problem in reallocation in last patch.
41001 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41003 * sunrpc/Makefile: Move inclusion of Rules.
41005 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41007 * nss/nss_files/files-initgroups.c: New file.
41008 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41009 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41010 _nss_files_initgroups_dyn.
41012 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41014 * elf/elf.h (R_ARM_IRELATIVE): Define.
41016 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41018 * po/ru.po: Update from translation team.
41020 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41022 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41025 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41028 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41029 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41030 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41031 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41032 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41034 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41036 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41038 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41039 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41040 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41042 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41045 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41047 * stdlib/bug-getcontext.c: New file.
41048 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41050 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41052 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41053 instructions into .machine "z9-109".
41054 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41055 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41057 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41059 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41060 between environment variables and auxiliary vector.
41062 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41064 * Makefile: Add rules to build linkobj/libc.so.
41065 * include/libc-symbols.h: Define libc_hidden_nolink.
41066 * include/rpc/auth.h: Mark functions which are to be hidden.
41067 * include/rpc/auth_des.h: Likewise.
41068 * include/rpc/auth_unix.h: Likewise.
41069 * include/rpc/clnt.h: Likewise.
41070 * include/rpc/des_crypt.h: Likewise.
41071 * include/rpc/key_prot.h: Likewise.
41072 * include/rpc/pmap_clnt.h: Likewise.
41073 * include/rpc/pmap_prot.h: Likewise.
41074 * include/rpc/pmap_rmt.h: Likewise.
41075 * include/rpc/rpc_msg.h: Likewise.
41076 * include/rpc/svc.h: Likewise.
41077 * include/rpc/svc_auth.h: Likewise.
41078 * include/rpc/xdr.h: Likewise.
41079 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41080 * nss/Makefile: Likewise.
41081 * sunrpc/Makefile: Don't install headers. Build library with normal
41082 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41083 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41084 for the compat linking library. Remove use of INTDEF/INTUSE.
41085 * sunrpc/auth_none.c: Likewise.
41086 * sunrpc/auth_unix.c: Likewise.
41087 * sunrpc/authdes_prot.c: Likewise.
41088 * sunrpc/authuxprot.c: Likewise.
41089 * sunrpc/clnt_gen.c: Likewise.
41090 * sunrpc/clnt_perr.c: Likewise.
41091 * sunrpc/clnt_raw.c: Likewise.
41092 * sunrpc/clnt_simp.c: Likewise.
41093 * sunrpc/clnt_tcp.c: Likewise.
41094 * sunrpc/clnt_udp.c: Likewise.
41095 * sunrpc/clnt_unix.c: Likewise.
41096 * sunrpc/des_crypt.c: Likewise.
41097 * sunrpc/des_soft.c: Likewise.
41098 * sunrpc/get_myaddr.c: Likewise.
41099 * sunrpc/key_call.c: Likewise.
41100 * sunrpc/key_prot.c: Likewise.
41101 * sunrpc/netname.c: Likewise.
41102 * sunrpc/pm_getmaps.c: Likewise.
41103 * sunrpc/pm_getport.c: Likewise.
41104 * sunrpc/pmap_clnt.c: Likewise.
41105 * sunrpc/pmap_prot.c: Likewise.
41106 * sunrpc/pmap_prot2.c: Likewise.
41107 * sunrpc/pmap_rmt.c: Likewise.
41108 * sunrpc/publickey.c: Likewise.
41109 * sunrpc/rpc_cmsg.c: Likewise.
41110 * sunrpc/rpc_common.c: Likewise.
41111 * sunrpc/rpc_dtable.c: Likewise.
41112 * sunrpc/rpc_prot.c: Likewise.
41113 * sunrpc/rpc_thread.c: Likewise.
41114 * sunrpc/rtime.c: Likewise.
41115 * sunrpc/svc.c: Likewise.
41116 * sunrpc/svc_auth.c: Likewise.
41117 * sunrpc/svc_authux.c: Likewise.
41118 * sunrpc/svc_raw.c: Likewise.
41119 * sunrpc/svc_run.c: Likewise.
41120 * sunrpc/svc_simple.c: Likewise.
41121 * sunrpc/svc_tcp.c: Likewise.
41122 * sunrpc/svc_udp.c: Likewise.
41123 * sunrpc/svc_unix.c: Likewise.
41124 * sunrpc/svcauth_des.c: Likewise.
41125 * sunrpc/xcrypt.c: Likewise.
41126 * sunrpc/xdr.c: Likewise.
41127 * sunrpc/xdr_array.c: Likewise.
41128 * sunrpc/xdr_float.c: Likewise.
41129 * sunrpc/xdr_intXX_t.c: Likewise.
41130 * sunrpc/xdr_mem.c: Likewise.
41131 * sunrpc/xdr_rec.c: Likewise.
41132 * sunrpc/xdr_ref.c: Likewise.
41133 * sunrpc/xdr_sizeof.c: Likewise.
41134 * sunrpc/xdr_stdio.c: Likewise.
41136 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41139 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41140 * sysdeps/ia64/dl-tls.h: Likewise.
41141 * sysdeps/powerpc/dl-tls.h: Likewise.
41142 * sysdeps/s390/dl-tls.h: Likewise.
41143 * sysdeps/sh/dl-tls.h: Likewise.
41144 * sysdeps/sparc/dl-tls.h: Likewise.
41145 * sysdeps/x86_64/dl-tls.h: Likewise.
41146 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41148 2011-03-14 Andreas Schwab <schwab@redhat.com>
41150 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41151 rpath element also skip the following colon.
41152 (expand_dynamic_string_token): Add is_path parameter and pass
41153 down to DL_DST_REQUIRED and _dl_dst_substitute.
41154 (decompose_rpath): Call expand_dynamic_string_token with
41155 non-zero is_path. Ignore empty rpaths.
41156 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41159 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41164 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41167 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41168 Patch by Filipe David Manana <fdmanana@apache.org>.
41170 2011-04-07 Andreas Schwab <schwab@redhat.com>
41172 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41173 Maintain aligned stack.
41174 (CHECK_RSP): Remove unused macro.
41176 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41178 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41179 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41181 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41183 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41185 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41187 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41190 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41191 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41192 * sysdeps/x86_64/memmove.c: New file.
41193 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41194 (memcpy): Renamed to ...
41195 (__new_memcpy): This.
41196 (memcpy): Provide GLIBC_2_14 memcpy.
41197 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41198 (memcpy): Provide GLIBC_2_2_5 memcpy.
41200 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41203 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41205 2011-03-30 Andreas Schwab <schwab@redhat.com>
41207 * misc/syncfs.c: New file.
41208 * misc/Makefile (routines): Add syncfs.
41209 * posix/unistd.h: Declare syncfs.
41210 * sysdeps/unix/syscalls.list: Add syncfs.
41212 2011-04-01 Andreas Schwab <schwab@redhat.com>
41214 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41216 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41217 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41218 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41219 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41220 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41221 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41222 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41224 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41226 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41227 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41228 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41229 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41230 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41231 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41232 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41234 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41235 sync_file_range.c with -fexceptions.
41236 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41237 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41238 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41239 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41240 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41241 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41242 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41243 sync_file_range as cancellation point
41244 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41245 now a wrapper around __call_sync_file_range with cancellation handling.
41246 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41247 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41248 function name to __call_sync_file_range.
41249 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41250 Add call_sync_file_range.
41252 2011-04-01 Andreas Schwab <schwab@redhat.com>
41254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41257 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41259 * iconv/iconv.h: Fix typo in comment.
41260 * io/fcntl.h: Likewise.
41261 * libio/stdio.h: Likewise.
41262 * posix/spawn.h: Likewise.
41263 * posix/unistd.h: Likewise.
41264 * stdlib/stdlib.h: Likewise.
41265 * time/time.h: Likewise.
41266 * wcsmbs/wchar.h: Likewise.
41268 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41269 open_by_handle): Add.
41270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41271 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41272 Augment a few comments.
41273 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41274 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41275 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41277 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41278 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41281 * io/fcntl.h (AT_EMPTY_PATH): Define.
41283 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41285 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41286 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41287 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41289 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41290 * Versions.def: Add GLIBC_2.14.
41291 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41294 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41296 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41298 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41300 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41303 * string/test-strncmp.c (do_page_test): New function.
41304 (check2): Likewise.
41305 (test_main): Call check2.
41306 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41308 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41311 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41312 Handle cache information in CPU leaf 4.
41313 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41315 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41318 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41319 character representation.
41320 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41322 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41324 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41325 END(__isnan) to END(__isnanf) to match function entry point/label
41326 EALIGN(__isnanf,...).
41328 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41330 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41332 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41335 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41336 copy from the symbol referenced in the relocation to initialize the
41338 Patch by Piotr Bury <pbury@goahead.com>.
41339 * elf/Makefile: Add rules to build and tst-unique3.
41340 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41341 * elf/tst-unique3.cc: New file.
41342 * elf/tst-unique3.h: New file.
41343 * elf/tst-unique3lib.cc: New file.
41344 * elf/tst-unique3lib2.cc: New file.
41346 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41348 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41350 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41351 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41354 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41356 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41357 to-be-loaded object along a path to loader is ld.so.
41359 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41360 Ulrich Drepper <drepper@gmail.com>
41362 * sysdeps/x86_64/memset.S: After aligning destination, code
41363 branches to different locations depending on the value of
41364 misalignment, when multiarch is enabled. Fix this.
41366 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41368 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41369 Set _x86_64_preferred_memory_instruction for AMD processsors.
41370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41371 Set bit_Prefer_SSE_for_memop for AMD processors.
41373 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41375 * libio/fmemopen.c (fmemopen): Optimize a bit.
41377 2011-03-03 Andreas Schwab <schwab@redhat.com>
41379 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41381 2011-03-03 Roland McGrath <roland@redhat.com>
41383 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41385 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41387 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41388 __bzero_ultra1 instead of __memset_ultra1.
41390 2011-02-23 Andreas Schwab <schwab@redhat.com>
41391 Ulrich Drepper <drepper@gmail.com>
41394 * include/link.h (struct link_map): Add l_orig_initfini.
41395 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41396 returning unsuccessfully.
41397 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41398 close of a file loaded at startup, restore the original l_initfini
41400 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41401 list, store the pointer.
41402 * elf/Makefile ($(objpfx)noload-mem): New rule.
41403 (noload-ENV): Define.
41404 (tests): Add $(objpfx)noload-mem.
41405 * elf/noload.c: Include <memcheck.h>.
41406 (main): Call mtrace. Close all opened handles.
41408 2011-02-17 Andreas Schwab <schwab@redhat.com>
41411 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41412 dependencies are missing.
41414 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41416 Fix __if_freereq crash: Unlike the generic version which uses free,
41418 * sysdeps/mach/hurd/ifreq.h: New file.
41420 2011-01-27 Petr Baudis <pasky@suse.cz>
41421 Ulrich Drepper <drepper@gmail.com>
41424 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41425 to extend_alloca().
41426 * stdio-common/bug23.c: New file.
41427 * stdio-common/Makefile (tests): Add bug23.
41429 2010-09-28 Andreas Schwab <schwab@redhat.com>
41430 Ulrich Drepper <drepper@gmail.com>
41433 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41434 before performing relro protection. At old place add assertion
41435 to make sure nothing changed.
41437 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41438 Glauber de Oliveira Costa <glommer@gmail.com>
41440 * elf/elf.h: Add new ARM TLS relocs.
41442 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41445 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41447 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41449 * sysdeps/wordsize-64/tst-writev.c: New file.
41451 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41453 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41454 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41455 insns in _dl_start to prevent a TOC reference before relocs are
41458 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41461 * Makeconfig: Remove RANLIB definition.
41462 * Makerules: Don't use RANLIB.
41463 * aclocal.m4: Remove ranlib test.
41464 * configure.in: No need to check for ranlib.
41465 * elf/rtld-Rules: Don't use RANLIB.
41467 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41469 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41471 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41472 inclusion protection macro.
41474 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41475 SIGRTMIN and SIGRTMAX and print information in that case only when
41476 SIGRTMIN is defined.
41478 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41480 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41481 arginfo fn returning -1.
41483 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41484 and thousands string is zero terminated.
41486 2011-02-03 Andreas Schwab <schwab@redhat.com>
41488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41489 sysdeps/unix/sysv/linux/bits/socket.h.
41491 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41493 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41494 (__CPU_COUNT): Remove old macros.
41495 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41496 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41497 (__CPU_ALLOC, __CPU_FREE): Add macros.
41498 (__sched_cpualloc, __sched_cpufree): Add declarations.
41500 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41502 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41503 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41504 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41505 (readdhstai): Return value of addhstaiX call.
41506 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41507 (addgrbyX): Return value returned by cache_addgr.
41508 (readdgrbyname): Return value returned by addgrbyX.
41509 (readdgrbygid): Likewise.
41510 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41511 (addpwbyX): Return value returned by cache_addpw.
41512 (readdpwbyname): Return value returned by addhstbyX.
41513 (readdpwbyuid): Likewise.
41514 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41515 (addservbyX): Return value returned by cache_addserv.
41516 (readdservbyname): Return value returned by addservbyX:
41517 (readdservbyport): Likewise.
41518 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41519 (addhstbyX): Return value returned by cache_addhst.
41520 (readdhstbyname): Return value returned by addhstbyX.
41521 (readdhstbyaddr): Likewise.
41522 (readdhstbynamev6): Likewise.
41523 (readdhstbyaddrv6): Likewise.
41524 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41525 (readdinitgroups): Return value returned by addinitgroupsX.
41526 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41527 (prune_cache): Keep track of timeout value of re-added entries.
41528 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41529 * nscd/nscd.h: Adjust prototypes of readd* functions.
41531 2011-02-04 Roland McGrath <roland@redhat.com>
41533 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41534 (nis_stats): Likewise.
41535 * nis/nis_modify.c (nis_modify): Likewise.
41536 * nis/nis_remove.c (nis_remove): Likewise.
41537 * nis/nis_add.c (nis_add): Likewise.
41539 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41541 * posix/fnmatch_loop.c: Add some consts.
41543 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41545 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41548 * config.make.in (config-cflags-novzeroupper): Define.
41549 * configure.in: Substitute libc_cv_cc_novzeroupper.
41550 * elf/Makefile (AVX-CFLAGS): Define.
41551 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41552 (CFLAGS-tst-auditmod4a.c): Likewise.
41553 (CFLAGS-tst-auditmod4b.c): Likewise.
41554 (CFLAGS-tst-auditmod6b.c): Likewise.
41555 (CFLAGS-tst-auditmod6c.c): Likewise.
41556 (CFLAGS-tst-auditmod7b.c): Likewise.
41557 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41559 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41561 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41562 function to the callback.
41563 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41565 2011-02-02 Andreas Schwab <schwab@redhat.com>
41567 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41570 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41573 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41575 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41577 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41580 * elf/Makefile: Add rules to build and run new test.
41581 * elf/tst-initorder.c: New file.
41582 * elf/tst-initorder.exp: New file.
41583 * elf/tst-initordera1.c: New file.
41584 * elf/tst-initordera2.c: New file.
41585 * elf/tst-initordera3.c: New file.
41586 * elf/tst-initordera4.c: New file.
41587 * elf/tst-initorderb1.c: New file.
41588 * elf/tst-initorderb2.c: New file.
41589 * elf/tst-order-a1.c: New file.
41590 * elf/tst-order-a2.c: New file.
41591 * elf/tst-order-a3.c: New file.
41592 * elf/tst-order-a4.c: New file.
41593 * elf/tst-order-b1.c: New file.
41594 * elf/tst-order-b2.c: New file.
41595 * elf/tst-order-main.c: New file.
41596 New test case by George Gensure <werkt0@gmail.com>.
41598 2010-10-01 Andreas Schwab <schwab@redhat.com>
41600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41601 decoding ACE if AI_CANONIDN.
41603 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41605 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41607 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41609 * version.h (RELEASE): Bump for 2.13 release.
41610 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41612 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41614 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41616 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41617 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41618 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41619 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41620 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41621 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41623 * posix/getconf.c: Update copyright year.
41624 * catgets/gencat.c: Likewise.
41625 * csu/version.c: Likewise.
41626 * debug/catchsegv.sh: Likewise.
41627 * debug/xtrace.sh: Likewise.
41628 * elf/ldconfig.c: Likewise.
41629 * elf/ldd.bash.in: Likewise.
41630 * elf/sprof.c (print_version): Likewise.
41631 * iconv/iconv_prog.c: Likewise.
41632 * iconv/iconvconfig.c: Likewise.
41633 * locale/programs/locale.c: Likewise.
41634 * locale/programs/localedef.c: Likewise.
41635 * malloc/memusage.sh: Likewise.
41636 * malloc/mtrace.pl: Likewise.
41637 * nscd/nscd.c (print_version): Likewise.
41638 * nss/getent.c: Likewise.
41640 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41641 PF_CAIF, and PF_ALG.
41642 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41644 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41646 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41647 (modules-names): Use them.
41648 (ifunc-test-modules, ifunc-pie-tests): Define.
41649 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41650 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41651 (test-extras): Likewise.
41652 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41653 $(compile-command.c).
41654 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41655 (all-built-dso): Define.
41656 (check-textrel.out, check-execstack.out): Depend on it.
41658 * configure.in: Don't override --enable-multi-arch.
41660 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41663 * nscd/hstcache.c (tryagain): Define.
41664 (cache_addhst): Return tryagain not notfound for temporary errors.
41665 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41668 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41671 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41672 to make the syscall.
41673 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41676 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41677 and fall back to matching as normal character if the string ends before
41678 the matching ']' is found. This is what POSIX requires.
41679 * posix/testfnm.c: Adjust test result.
41680 * posix/globtest.sh: Adjust test result. Add new test.
41681 * posix/tst-fnmatch.input: Likewise.
41682 * posix/tst-fnmatch2.c: Add new test.
41684 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41686 * elf/Makefile (check-execstack): Revert last change. Depend on
41688 (check-execstack.h): New target.
41689 (generated): Add check-execstack.h.
41690 * elf/check-execstack.c: Include "check-execstack.h".
41691 (main): Revert last change.
41692 (handle_file): Return zero if GNU_STACK is absent and
41693 DEFAULT_STACK_PERMS doesn't include PF_X.
41695 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41697 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41698 in child fails because the descriptor is already closed.
41699 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41700 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41701 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41704 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41708 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41709 temporary buffer used to handle multi lookups locally.
41710 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41712 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41714 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41717 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41719 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41720 alignment for SSE2.
41722 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41725 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41726 characters. When rounding increased number of integer digits recompute
41728 * stdio-common/tst-grouping.c: New file.
41729 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41731 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41733 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41734 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41736 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41738 * bits/select.h: Likewise.
41740 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41742 * po/ja.po: Update from translation team.
41744 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41747 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41748 implementation just like for lxstat, fxstatat, et al.
41750 2010-12-27 Jim Meyering <meyering@redhat.com>
41753 * posix/regexec.c (build_trtable): Return failure indication upon
41754 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41756 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41759 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41760 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41761 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41762 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41765 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41768 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41769 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41771 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41773 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41774 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41775 script has SORT_BY_INIT_PRIORITY.
41776 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41777 NO_CTORS_DTORS_SECTIONS is defined.
41778 * elf/soinit.c: Likewise.
41779 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41780 NO_CTORS_DTORS_SECTIONS is defined.
41781 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41782 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41783 * sysdeps/sh/init-first.c: Likewise.
41784 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41786 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41788 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41789 always use the slow path.
41791 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41793 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41794 similar rule which adds the sysdep directories to the header search in
41795 order to pick up the correct platform stackinfo.h.
41796 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41797 perform test if it is, otherwise return successfully without testing.
41798 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41799 DEFAULT_STACK_PERMS define in stackinfo.h.
41800 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41801 defined in stackinfo.h.
41802 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41803 DEFAULT_STACK_PERMS defined in stackinfo.h.
41804 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41805 * sysdeps/ia64/stackinfo.h: Likewise.
41806 * sysdeps/s390/stackinfo.h: Likewise.
41807 * sysdeps/sh/stackinfo.h: Likewise.
41808 * sysdeps/sparc/stackinfo.h: Likewise.
41809 * sysdeps/x86_64/stackinfo.h: Likewise.
41810 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41811 PF_X for powerpc64. Retain PF_X for powerpc32.
41813 2010-12-19 Ulrich Drepper <drepper@gmail.com>
41815 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41817 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41818 GETDENTS_64BIT_ALIGNED.
41820 2010-12-14 Ulrich Drepper <dreper@gmail.com>
41822 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41824 2010-12-10 Andreas Schwab <schwab@redhat.com>
41826 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41829 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41830 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41832 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41833 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41835 2010-12-09 Ulrich Drepper <drepper@gmail.com>
41838 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41841 2010-12-09 Jakub Jelinek <jakub@redhat.com>
41843 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41845 2010-12-03 Ulrich Drepper <drepper@gmail.com>
41847 * po/it.po: Update from translation team.
41849 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41851 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41854 2010-11-30 Ulrich Drepper <drepper@gmail.com>
41856 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41858 2010-11-24 Andreas Schwab <schwab@redhat.com>
41860 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41862 (gaih_getanswer_slice): Likewise.
41864 2010-10-20 Jakub Jelinek <jakub@redhat.com>
41866 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41868 2010-05-31 Petr Baudis <pasky@suse.cz>
41871 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41872 silently even in the chroot mode.
41874 2010-11-22 Ulrich Drepper <drepper@gmail.com>
41876 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41877 last patch a bit. Pretty printing
41879 2010-05-31 Petr Baudis <pasky@suse.cz>
41882 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41883 initialization of skip_initgroups_dyn.
41885 2010-11-19 Ulrich Drepper <drepper@gmail.com>
41887 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41888 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41890 2010-11-16 Ulrich Drepper <drepper@gmail.com>
41892 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41894 2010-11-11 Andreas Schwab <schwab@redhat.com>
41896 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41897 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41898 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41899 ($(objpfx)tst-fnmatch-mem): New rule.
41900 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41901 * posix/tst-fnmatch.c (main): Call mtrace.
41903 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41906 Support Intel processor model 6 and model 0x2c.
41908 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
41910 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41913 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41916 * string/test-strncasecmp.c (check_result): New function.
41917 (do_one_test): Use it.
41918 (check1): New function.
41919 (test_main): Use it.
41920 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41921 Support strcasecmp and strncasecmp.
41923 2010-11-08 Ulrich Drepper <drepper@gmail.com>
41926 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41927 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41929 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41931 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41935 * sysdeps/x86_64/multiarch/bzero.S: New file.
41936 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41937 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41938 * sysdeps/x86_64/multiarch/memset.S: New file.
41939 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41941 Set bit_Prefer_SSE_for_memop for Intel processors.
41942 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41944 (index_Prefer_SSE_for_memop): Define.
41945 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41947 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
41949 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41950 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41952 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41955 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41956 (__x86_64_raw_data_cache_size_half): Likewise.
41957 (__x86_64_raw_shared_cache_size): Likewise.
41958 (__x86_64_raw_shared_cache_size_half): Likewise.
41960 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41961 (__x86_64_raw_data_cache_size_half): Likewise.
41962 (__x86_64_raw_shared_cache_size): Likewise.
41963 (__x86_64_raw_shared_cache_size_half): Likewise.
41964 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41965 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41966 and __x86_64_raw_shared_cache_size_half. Round
41967 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41968 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41969 to multiple of 256 bytes.
41971 2010-11-03 Ulrich Drepper <drepper@gmail.com>
41974 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41975 of inacessible symlinks. Verify result of symlink before returning it.
41976 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41977 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41979 2010-10-28 Erich Ritz <erichritz@gmail.com>
41981 * math/math.h (isinf): Fix typo in comment.
41983 2010-11-01 Ulrich Drepper <drepper@gmail.com>
41985 * po/da.po: Update from translation team.
41987 2010-10-26 Ulrich Drepper <drepper@gmail.com>
41989 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41990 is added to the list.
41992 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41993 Ulrich Drepper <drepper@gmail.com>
41995 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41996 the global list here. Move code to...
41997 (_dl_add_to_namespace_list): ...here. New function.
41998 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41999 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42000 * elf/dl-load.c (lose): Don't remove the element from the list.
42001 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42002 (_dl_map_object): Likewise.
42004 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42007 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42008 into all bytes of SSE register.
42009 Patch by Richard Li <richardpku@gmail.com>.
42011 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42014 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42017 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42019 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42020 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42021 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42022 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42027 2010-10-22 Andreas Schwab <schwab@redhat.com>
42029 * include/dlfcn.h (__RTLD_SECURE): Define.
42030 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42031 mode & __RTLD_SECURE instead.
42032 (open_path): Rename preloaded parameter to secure.
42033 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42034 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42035 * elf/dl-deps.c (openaux): Likewise.
42036 * elf/rtld.c (struct map_args): Remove is_preloaded.
42037 (map_doit): Don't use it.
42038 (dl_main): Likewise.
42039 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42040 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42042 2010-09-09 Andreas Schwab <schwab@redhat.com>
42044 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42045 (sysd-rules-targets): Remove duplicates.
42046 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42047 rtld-%.$o dependency.
42049 2010-10-18 Andreas Schwab <schwab@redhat.com>
42051 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42052 _dl_map_object do it.
42054 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42056 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42057 fast fma builtins, define the macros in the C99 standard.
42058 (FP_FAST_FMAF): Likewise.
42059 (FP_FAST_FMAL): Likewise.
42060 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42062 * bits/mathdef.h: Update copyright year.
42063 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42065 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42067 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42068 builtins, define the macros in the C99 standard.
42069 (FP_FAST_FMAF): Likewise.
42070 (FP_FAST_FMAL): Likewise.
42071 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42073 (FP_FAST_FMAF): Likewise.
42075 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42078 * math/libm-test.inc (fma_test): Some new testcases.
42079 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42080 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42081 y and infinite z. Do multiplication by C already in long double.
42082 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42084 y and infinite z. Do bitwise or of inexact bit into u.d.
42085 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42086 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42087 * sysdeps/i386/fpu/s_fma.S: Removed.
42088 * sysdeps/i386/fpu/s_fmal.S: Removed.
42090 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42093 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42094 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42095 computation is not scheduled after fetestexcept. Fix value
42096 of minimum denormal long double.
42098 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42101 * math/libm-test.inc (fma_test): Add some more tests.
42102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42105 2010-10-15 Andreas Schwab <schwab@redhat.com>
42107 * scripts/data/localplt-s390-linux-gnu.data: New file.
42108 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42110 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42113 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42114 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42116 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42118 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42120 if one of x and y is very large and the other is subnormal.
42121 * sysdeps/s390/fpu/s_fmaf.c: New file.
42122 * sysdeps/s390/fpu/s_fma.c: New file.
42123 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42124 * sysdeps/powerpc/fpu/s_fma.S: New file.
42125 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42126 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42127 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42129 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42132 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42134 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42135 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42136 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42137 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42138 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42139 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42140 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42142 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42145 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42146 * posix/bug-regex31.input: Add test case.
42148 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42150 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42151 * posix/bug-regex31.input: New file.
42154 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42155 (parse_sub_exp): Fix last change, use postorder.
42157 * posix/bug-regex31.c: New file.
42158 * posix/Makefile: Add rules to build and run bug-regex31.
42160 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42163 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42166 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42167 to have entries in sys_siglist.
42170 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42173 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42176 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42177 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42178 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42179 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42180 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42181 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42182 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42183 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42184 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42185 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42186 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42187 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42188 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42189 * math/ftestexcept.c (fetestexcept): Likewise.
42190 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42191 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42192 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42193 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42194 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42195 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42196 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42198 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42201 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42204 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42206 * string/bug-strstr1.c: New file.
42207 * string/Makefile: Add rules to build and run bug-strstr1.
42209 2010-10-05 Eric Blake <eblake@redhat.com>
42212 * string/str-two-way.h (two_way_long_needle): Always clear memory
42213 when skipping input due to the shift table.
42215 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42218 * malloc/mcheck.c: Handle large requests.
42221 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42222 for strncmp and strncasecmp.
42223 * string/stratcliff.c: Add tests for strcmp and strncmp.
42224 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42226 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42228 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42231 2010-09-30 Andreas Jaeger <aj@suse.de>
42233 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42234 (CGROUP_SUPER_MAGIC): Define.
42235 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42236 Handle btrfs and cgroup file systems.
42237 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42240 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42242 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42243 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42245 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42248 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42249 trying to locate the ELF header.
42251 2010-09-27 Andreas Schwab <schwab@redhat.com>
42254 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42255 Mask out sign-bit copies when constructing f_fsid.
42257 2010-09-24 Petr Baudis <pasky@suse.cz>
42259 * debug/stack_chk_fail_local.c: Add missing licence exception.
42260 * debug/warning-nop.c: Likewise.
42262 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42264 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42265 implementing getdents64 using getdents syscall, set d_type if
42266 __ASSUME_GETDENTS32_D_TYPE.
42268 2010-09-16 Andreas Schwab <schwab@redhat.com>
42270 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42271 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42273 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42276 * posix/unistd.h: Undo change of feature selection for ftruncate from
42279 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42281 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42284 2010-09-20 Andreas Schwab <schwab@redhat.com>
42286 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42288 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42290 2010-09-14 Andreas Schwab <schwab@redhat.com>
42292 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42293 variables after CHECK_SP call.
42294 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42296 2010-09-13 Andreas Schwab <schwab@redhat.com>
42297 Ulrich Drepper <drepper@redhat.com>
42299 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42300 re-relocationg ld.so.
42301 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42302 _dl_init_paths call.
42303 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42306 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42308 * resolv/res_init.c (__res_vinit): Count the default server we added.
42310 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42311 Ulrich Drepper <drepper@redhat.com>
42314 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42315 (____longjmp_chk): Use %ebx for saving value across system call.
42318 2010-09-06 Andreas Schwab <schwab@redhat.com>
42320 * manual/Makefile: Don't mix pattern rules with normal rules.
42322 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42324 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42326 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42327 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42328 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42329 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42330 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42333 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42336 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42337 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42339 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42341 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42342 * sysdeps/x86_64/addmul_1.S: Likewise.
42343 * sysdeps/x86_64/lshift.S: Likewise.
42344 * sysdeps/x86_64/mul_1.S: Likewise.
42345 * sysdeps/x86_64/rshift.S: Likewise.
42346 * sysdeps/x86_64/sub_n.S: Likewise.
42347 * sysdeps/x86_64/submul_1.S: Likewise.
42349 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42351 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42352 Define __sched_param instead of SCHED_* and sched_param when
42353 <bits/sched.h> is included with __need_schedparam defined.
42354 * bits/sched.h [__need_schedparam]
42355 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42356 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42357 (__defined_schedparam): Define to 1.
42358 (__sched_param): New structure, identical to sched_param.
42359 (__need_schedparam): Undefine.
42361 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42363 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42364 (epoll_create1): Declare.
42366 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42368 2010-08-31 Andreas Schwab <schwab@redhat.com>
42371 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42372 shifting retval into place.
42374 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42376 * nis/rpcsvc/nis.h: Update copyright notice.
42377 * nis/rpcsvc/nis.x: Likewise.
42378 * nis/rpcsvc/nis_callback.h: Likewise.
42379 * nis/rpcsvc/nis_callback.x: Likewise.
42380 * nis/rpcsvc/nis_object.x: Likewise.
42381 * nis/rpcsvc/nis_tags.h: Likewise.
42382 * nis/rpcsvc/yp.h: Likewise.
42383 * nis/rpcsvc/yp.x: Likewise.
42384 * nis/rpcsvc/ypupd.h: Likewise.
42385 * nis/yp_xdr.c: Likewise.
42386 * nis/ypupdate_xdr.c: Likewise.
42388 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42389 mainly the body of pmap_getport. Add parameters to specify timeouts.
42390 (pmap_getport): Use __libc_rpc_getport.
42391 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42392 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42393 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42395 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42400 2010-08-27 Roland McGrath <roland@redhat.com>
42402 * sysdeps/i386/i686/multiarch/Makefile
42403 (CFLAGS-varshift.c): New variable.
42405 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42407 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42408 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42410 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42412 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42414 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42416 * sysdeps/x86_64/strlen.S: Unroll the loop.
42417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42418 strlen-sse2 strlen-sse2-bsf.
42419 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42420 __strlen_no_bsf if bit_Slow_BSF is set.
42421 (__strlen_sse42): Removed.
42422 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42423 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42425 2010-08-25 Roland McGrath <roland@redhat.com>
42427 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42428 * sysdeps/x86_64/multiarch/varshift.c: New file.
42429 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42430 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42431 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42432 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42434 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42436 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42437 strlen-sse2 strlen-sse2-bsf.
42438 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42439 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42440 (__strlen_sse2): Removed.
42441 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42442 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42444 bit_Slow_BSF for Atom.
42445 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42446 (index_Slow_BSF): Define.
42447 (HAS_SLOW_BSF): Define.
42449 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42452 * resolv/res_init.c (__res_vinit): When no server address at all
42453 is given default to loopback.
42455 2010-08-24 Roland McGrath <roland@redhat.com>
42457 * configure.in: Remove config-name.h generation.
42458 * configure: Regenerated.
42459 * config-name.in: File removed.
42460 * scripts/config-uname.sh: New file.
42461 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42462 ($(objdir)config-name.h): New target.
42464 * sunrpc/rpc_parse.h: Avoid nested comment.
42466 2010-08-24 Richard Henderson <rth@redhat.com>
42467 Ulrich Drepper <drepper@redhat.com>
42468 H.J. Lu <hongjiu.lu@intel.com>
42470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42472 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42473 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42474 _mm_alignr_epi8 with _mm_loadu_si128.
42475 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42476 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42477 (__m128i_shift_right): Removed.
42478 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42479 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42480 * sysdeps/x86_64/multiarch/varshift.h: New file.
42481 * sysdeps/x86_64/multiarch/varshift.S: New file.
42483 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42485 * configure.in: Move assembler checks to before sysdep dir checking.
42487 2010-08-20 Petr Baudis <pasky@suse.cz>
42489 * LICENSES: Sync the sunrpc license.
42491 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42493 * sunrpc/auth_des.c: Update copyright notice once again.
42494 * sunrpc/auth_none.c: Likewise.
42495 * sunrpc/auth_unix.c: Likewise.
42496 * sunrpc/authdes_prot.c: Likewise.
42497 * sunrpc/authuxprot.c: Likewise.
42498 * sunrpc/bindrsvprt.c: Likewise.
42499 * sunrpc/clnt_gen.c: Likewise.
42500 * sunrpc/clnt_perr.c: Likewise.
42501 * sunrpc/clnt_raw.c: Likewise.
42502 * sunrpc/clnt_simp.c: Likewise.
42503 * sunrpc/clnt_tcp.c: Likewise.
42504 * sunrpc/clnt_udp.c: Likewise.
42505 * sunrpc/clnt_unix.c: Likewise.
42506 * sunrpc/des_crypt.c: Likewise.
42507 * sunrpc/des_soft.c: Likewise.
42508 * sunrpc/get_myaddr.c: Likewise.
42509 * sunrpc/getrpcport.c: Likewise.
42510 * sunrpc/key_call.c: Likewise.
42511 * sunrpc/key_prot.c: Likewise.
42512 * sunrpc/openchild.c: Likewise.
42513 * sunrpc/pm_getmaps.c: Likewise.
42514 * sunrpc/pm_getport.c: Likewise.
42515 * sunrpc/pmap_clnt.c: Likewise.
42516 * sunrpc/pmap_prot.c: Likewise.
42517 * sunrpc/pmap_prot2.c: Likewise.
42518 * sunrpc/pmap_rmt.c: Likewise.
42519 * sunrpc/rpc/auth.h: Likewise.
42520 * sunrpc/rpc/auth_unix.h: Likewise.
42521 * sunrpc/rpc/clnt.h: Likewise.
42522 * sunrpc/rpc/des_crypt.h: Likewise.
42523 * sunrpc/rpc/key_prot.h: Likewise.
42524 * sunrpc/rpc/netdb.h: Likewise.
42525 * sunrpc/rpc/pmap_clnt.h: Likewise.
42526 * sunrpc/rpc/pmap_prot.h: Likewise.
42527 * sunrpc/rpc/pmap_rmt.h: Likewise.
42528 * sunrpc/rpc/rpc.h: Likewise.
42529 * sunrpc/rpc/rpc_des.h: Likewise.
42530 * sunrpc/rpc/rpc_msg.h: Likewise.
42531 * sunrpc/rpc/svc.h: Likewise.
42532 * sunrpc/rpc/svc_auth.h: Likewise.
42533 * sunrpc/rpc/types.h: Likewise.
42534 * sunrpc/rpc/xdr.h: Likewise.
42535 * sunrpc/rpc_clntout.c: Likewise.
42536 * sunrpc/rpc_cmsg.c: Likewise.
42537 * sunrpc/rpc_common.c: Likewise.
42538 * sunrpc/rpc_cout.c: Likewise.
42539 * sunrpc/rpc_dtable.c: Likewise.
42540 * sunrpc/rpc_hout.c: Likewise.
42541 * sunrpc/rpc_main.c: Likewise.
42542 * sunrpc/rpc_parse.c: Likewise.
42543 * sunrpc/rpc_parse.h: Likewise.
42544 * sunrpc/rpc_prot.c: Likewise.
42545 * sunrpc/rpc_sample.c: Likewise.
42546 * sunrpc/rpc_scan.c: Likewise.
42547 * sunrpc/rpc_scan.h: Likewise.
42548 * sunrpc/rpc_svcout.c: Likewise.
42549 * sunrpc/rpc_tblout.c: Likewise.
42550 * sunrpc/rpc_util.c: Likewise.
42551 * sunrpc/rpc_util.h: Likewise.
42552 * sunrpc/rpcinfo.c: Likewise.
42553 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42554 * sunrpc/rpcsvc/key_prot.x: Likewise.
42555 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42556 * sunrpc/rpcsvc/mount.x: Likewise.
42557 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42558 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42559 * sunrpc/rpcsvc/rex.x: Likewise.
42560 * sunrpc/rpcsvc/rstat.x: Likewise.
42561 * sunrpc/rpcsvc/rusers.x: Likewise.
42562 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42563 * sunrpc/rpcsvc/spray.x: Likewise.
42564 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42565 * sunrpc/rtime.c: Likewise.
42566 * sunrpc/svc.c: Likewise.
42567 * sunrpc/svc_auth.c: Likewise.
42568 * sunrpc/svc_authux.c: Likewise.
42569 * sunrpc/svc_raw.c: Likewise.
42570 * sunrpc/svc_run.c: Likewise.
42571 * sunrpc/svc_simple.c: Likewise.
42572 * sunrpc/svc_tcp.c: Likewise.
42573 * sunrpc/svc_udp.c: Likewise.
42574 * sunrpc/svc_unix.c: Likewise.
42575 * sunrpc/svcauth_des.c: Likewise.
42576 * sunrpc/xcrypt.c: Likewise.
42577 * sunrpc/xdr.c: Likewise.
42578 * sunrpc/xdr_array.c: Likewise.
42579 * sunrpc/xdr_float.c: Likewise.
42580 * sunrpc/xdr_mem.c: Likewise.
42581 * sunrpc/xdr_rec.c: Likewise.
42582 * sunrpc/xdr_ref.c: Likewise.
42583 * sunrpc/xdr_sizeof.c: Likewise.
42584 * sunrpc/xdr_stdio.c: Likewise.
42586 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42589 2010-08-19 Andreas Schwab <schwab@redhat.com>
42591 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42593 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42595 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42596 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42597 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42598 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42599 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42600 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42601 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42602 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42603 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42604 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42605 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42606 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42607 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42608 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42610 2010-07-26 Anton Blanchard <anton@samba.org>
42612 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42613 * malloc/arena.c (heap_trim): Likewise.
42615 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42617 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42619 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42620 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42622 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42624 * sysdeps/i386/elf/Makefile: New file.
42626 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42628 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42629 from fanotify_init.
42630 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42631 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42633 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42635 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42637 * sysdeps/multiarch/strcmp.S: Likewise.
42639 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42641 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42642 strncase_l-nonascii.
42643 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42644 Add strncase_l-ssse3.
42645 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42646 * sysdeps/x86_64/strcmp.S: Likewise.
42647 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42648 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42649 * sysdeps/x86_64/strncase.S: New file.
42650 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42651 * sysdeps/x86_64/strncase_l.S: New file.
42652 * string/Makefile (strop-tests): Add strncasecmp.
42653 * string/test-strncasecmp.c: New file.
42655 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42658 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42659 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42661 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42663 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42665 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42667 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42668 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42669 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42671 2010-05-01 Alan Modra <amodra@gmail.com>
42673 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42674 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42675 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42676 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42677 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42678 tidying. Don't tail-call __sigjmp_save for static lib.
42679 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42681 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42682 (CALL_MCOUNT): Add eh info, and nop after bl.
42683 (TAIL_CALL_SYSCALL_ERROR): New macro.
42684 (PSEUDO_RET): Use it.
42685 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42686 Correct save location of integer regs and cr.
42687 (_dl_profile_resolve): Correct cr save location. Delete nops
42688 after bl when SHARED. Reduce cfi size a little by better
42689 placement of cfi directives.
42690 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42691 make a stack frame. Instead use parm save area as a temp.
42692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42693 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42695 Don't make a stack frame for parent, use parm save area.
42696 Increase child stack frame to 112 bytes. Don't save unused reg,
42697 and adjust reg usage. Set up cfi on error recovery and
42698 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42700 (__makecontext): Add dummy nop after jump to exit.
42701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42702 Use correct parm save area and cr save, reduce stack frame.
42703 Correct cfi for possible PSEUDO_RET frame setup.
42704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42705 Branch to local label emitted by PSEUDO_RET rather than
42708 2010-08-12 Andreas Schwab <schwab@redhat.com>
42711 * locale/programs/locale.c (print_assignment): New function.
42712 (show_locale_vars): Use it.
42714 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42716 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42718 (struct statfs64): Likewise.
42719 (_STATFS_F_FLAGS): Define.
42720 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42721 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42722 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42723 (ST_VALID): Define locally.
42724 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42725 __statvfs_getflags, use the provided value.
42726 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42727 __ASSUME_STATFS_F_FLAGS.
42729 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42731 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42732 Add sys/fanotify.h.
42733 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42734 fanotify_mask for GLIBC_2.13.
42735 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42736 fanotify_init and fanotify_mark.
42737 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42738 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42740 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42742 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42743 prlimit64 for GLIBC_2.13.
42744 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42746 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42749 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42750 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42751 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42752 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42754 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42757 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42758 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42760 * nss/Makefile: Add rules to build and run tst-nss-test1.
42761 * shlib-versions: Add entry for libnss_test1.
42762 * nss/nss_test1.c: New file.
42763 * nss/tst-nss-test1.c: New file.
42765 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42766 (__nss_configure_lookup): Set appropriate entry in
42767 __nss_configure_lookup to true.
42768 * nss/nsswitch.h: Define enum with indeces of databases in
42769 databases and __nss_database_custom arrays. Declare
42770 __nss_database_custom.
42771 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42772 to avoid using nscd when custom rules are installed.
42773 * nss/getXXbyYY_r.c: Likewise.
42774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42776 * nss/nss_files/files-parse.c: Whitespace fixes.
42778 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42781 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42782 * posix/fnmatch_loop.c: Likewise.
42784 2010-07-17 Andi Kleen <ak@linux.intel.com>
42786 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42787 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42788 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42789 * Versions.def [GLIBC_2.13]: Add.
42791 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42793 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42794 Also fail if tpwd after pwuid call is NULL.
42796 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42798 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42799 when converting to ms.
42801 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42803 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42804 EOPNOTSUPP errors with ENOTTY.
42805 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42806 EOPNOTSUPP errors with ENOTTY.
42808 2010-07-31 Ulrich Drepper <drepper@redhat.com>
42810 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42811 Add strcasecmp_l-ssse3.
42812 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42814 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42815 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42816 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42818 2010-07-30 Ulrich Drepper <drepper@redhat.com>
42820 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42822 * string/Makefile (strop-tests): Add strcasecmp.
42823 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42824 strcasecmp_l-nonascii.
42825 (gen-as-const-headers): Add locale-defines.sym.
42826 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42827 * sysdeps/x86_64/strcasecmp.S: New file.
42828 * sysdeps/x86_64/strcasecmp_l.S: New file.
42829 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42830 * sysdeps/x86_64/locale-defines.sym: New file.
42831 * string/test-strcasecmp.c: New file.
42833 * string/test-strcasestr.c: Test both ends of the range of characters.
42834 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42836 2010-07-29 Roland McGrath <roland@redhat.com>
42839 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42841 2010-07-27 Ulrich Drepper <drepper@redhat.com>
42843 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42846 2010-07-27 Andreas Schwab <schwab@redhat.com>
42848 * manual/memory.texi (Malloc Tunable Parameters): Document
42851 2010-07-26 Roland McGrath <roland@redhat.com>
42854 * configure.in (-fgnu89-inline check): Set and substitute
42855 gnu89_inline, not libc_cv_gnu89_inline.
42856 * configure: Regenerated.
42857 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42859 2010-07-26 Ulrich Drepper <drepper@redhat.com>
42861 * string/test-strnlen.c: New file.
42862 * string/Makefile (strop-tests): Add strnlen.
42863 * string/tester.c (test_strnlen): Add a few more test cases.
42864 * string/tst-strlen.c: Better error reporting.
42866 * sysdeps/x86_64/strnlen.S: New file.
42868 2010-07-24 Ulrich Drepper <drepper@redhat.com>
42870 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42871 lower-latency instructions.
42873 2010-07-23 Ulrich Drepper <drepper@redhat.com>
42875 * string/test-strcasestr.c: New file.
42876 * string/test-strstr.c: New file.
42877 * string/Makefile (strop-tests): Add strstr and strcasestr.
42878 * string/str-two-way.h: Don't undefine MAX.
42879 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42881 2010-07-21 Andreas Schwab <schwab@redhat.com>
42883 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42884 strcasestr-nonascii.
42885 (CFLAGS-strcasestr-nonascii.c): Define.
42886 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42887 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42888 Remove unused attribute.
42890 2010-07-20 Roland McGrath <roland@redhat.com>
42892 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42893 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42894 ld.so.cache was broken. With it, there is no way to disable dsocaps
42895 like LD_HWCAP_MASK can disable hwcaps.
42897 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42899 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42901 2010-07-16 Ulrich Drepper <drepper@redhat.com>
42903 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42904 call in strcasestr.
42905 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42906 __strcasestr_sse42_nonascii.
42907 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42908 strcasestr-nonascii.c.
42909 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42911 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
42913 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42914 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42915 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42916 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42918 2010-07-09 Ulrich Drepper <drepper@redhat.com>
42920 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42923 2010-07-06 Andreas Schwab <schwab@redhat.com>
42926 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42929 2010-07-06 Ulrich Drepper <drepper@redhat.com>
42931 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42932 _PC_PIPE_BUF using F_GETPIPE_SZ.
42934 2010-07-05 Roland McGrath <roland@redhat.com>
42936 * manual/arith.texi (Rounding Functions): Fix rint description
42937 implicit in round description.
42939 2010-07-02 Ulrich Drepper <drepper@redhat.com>
42941 * elf/Makefile: Fix linking for a few tests to make recent linker
42944 2010-06-30 Andreas Schwab <schwab@redhat.com>
42946 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42947 $(common-objpfx)libc_nonshared.a.
42949 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
42951 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42952 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42953 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42954 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42955 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42956 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42957 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42958 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42973 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42974 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42975 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42976 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42977 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42978 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42979 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42980 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42981 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42982 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42983 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42984 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43000 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43002 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43003 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43004 * string/memmove.c (memmove): Renamed to ...
43005 (MEMMOVE): ...this. Default to memmove.
43006 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43007 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43010 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43011 mempcpy-ssse3-back memmove-ssse3-back.
43012 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43013 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43014 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43015 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43016 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43017 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43018 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43019 * sysdeps/x86_64/multiarch/memmove.c: New file.
43020 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43021 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43022 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43023 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43024 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43025 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43027 (index_Fast_Copy_Backward): Define.
43028 (HAS_ARCH_FEATURE): Define.
43029 (HAS_FAST_REP_STRING): Define.
43030 (HAS_FAST_COPY_BACKWARD): Define.
43032 2010-06-21 Andreas Schwab <schwab@redhat.com>
43034 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43035 Restore proper fallback handling.
43037 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43040 * posix/group_member.c (__group_member): Correct checking loop.
43042 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43043 OOM in getpwuid_r correctly. Return error number when the caller
43044 should return, otherwise -1.
43045 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43046 call returning > 0 value.
43047 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43049 2010-06-07 Andreas Schwab <schwab@redhat.com>
43051 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43052 libc_nonshared.a from targets in modules-names.
43054 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43056 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43059 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43061 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43062 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43063 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43064 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43066 2010-06-02 Andreas Schwab <schwab@redhat.com>
43068 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43070 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43072 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43074 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43075 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43076 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43078 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43079 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43081 2010-06-14 Roland McGrath <roland@redhat.com>
43083 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43085 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43087 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43088 __REDIRECT followed by __THROW.
43089 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43090 * posix/getopt.h (getopt): Likewise.
43092 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43094 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43095 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43096 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43098 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43099 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43101 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43103 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43105 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43109 Properly check family and model.
43111 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43113 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43115 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43117 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43119 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43121 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43124 2010-05-19 Andreas Schwab <schwab@redhat.com>
43126 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43129 2010-05-21 Andreas Schwab <schwab@redhat.com>
43131 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43132 and internal_recvmmsg.
43133 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43134 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43135 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43136 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43138 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43139 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43140 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43142 2010-05-20 Andreas Schwab <schwab@redhat.com>
43144 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43146 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43148 POWER7 optimizations.
43149 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43150 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43152 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43154 * version.h: Update for 2.13 development version.
43156 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43158 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43159 exceptions. Return 0.
43161 2010-05-07 Roland McGrath <roland@redhat.com>
43163 * elf/ldconfig.c (main): Add a const.
43165 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43167 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43168 (args_options): Add no-idn option.
43169 (ahosts_keys_int): Add idn_flags to ai_flags.
43170 (parse_option): Handle 'i' option to clear idn_flags.
43172 * malloc/malloc.c (_int_free): Possible race in the most recently
43173 added check. Only act on the data if no current modification
43176 See ChangeLog.17 for earlier changes.